diff options
Diffstat (limited to 'lib/ckeditor5/src/ckeditor.js')
-rw-r--r-- | lib/ckeditor5/src/ckeditor.js | 104 |
1 files changed, 51 insertions, 53 deletions
diff --git a/lib/ckeditor5/src/ckeditor.js b/lib/ckeditor5/src/ckeditor.js index 9c89fd5..1ad3c0f 100644 --- a/lib/ckeditor5/src/ckeditor.js +++ b/lib/ckeditor5/src/ckeditor.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2014-2022, CKSource Holding sp. z o.o. All rights reserved. | 2 | * @license Copyright (c) 2014-2023, CKSource Holding sp. z o.o. All rights reserved. |
3 | * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | 3 | * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license |
4 | */ | 4 | */ |
5 | import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor.js'; | 5 | import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor.js'; |
@@ -16,7 +16,6 @@ import FontSize from '@ckeditor/ckeditor5-font/src/fontsize.js'; | |||
16 | import Heading from '@ckeditor/ckeditor5-heading/src/heading.js'; | 16 | import Heading from '@ckeditor/ckeditor5-heading/src/heading.js'; |
17 | import Highlight from '@ckeditor/ckeditor5-highlight/src/highlight.js'; | 17 | import Highlight from '@ckeditor/ckeditor5-highlight/src/highlight.js'; |
18 | import HorizontalLine from '@ckeditor/ckeditor5-horizontal-line/src/horizontalline.js'; | 18 | import HorizontalLine from '@ckeditor/ckeditor5-horizontal-line/src/horizontalline.js'; |
19 | import HtmlEmbed from '@ckeditor/ckeditor5-html-embed/src/htmlembed.js'; | ||
20 | import Image from '@ckeditor/ckeditor5-image/src/image.js'; | 19 | import Image from '@ckeditor/ckeditor5-image/src/image.js'; |
21 | import ImageCaption from '@ckeditor/ckeditor5-image/src/imagecaption.js'; | 20 | import ImageCaption from '@ckeditor/ckeditor5-image/src/imagecaption.js'; |
22 | import ImageInsert from '@ckeditor/ckeditor5-image/src/imageinsert.js'; | 21 | import ImageInsert from '@ckeditor/ckeditor5-image/src/imageinsert.js'; |
@@ -31,9 +30,9 @@ import List from '@ckeditor/ckeditor5-list/src/list.js'; | |||
31 | import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph.js'; | 30 | import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph.js'; |
32 | import PasteFromOffice from '@ckeditor/ckeditor5-paste-from-office/src/pastefromoffice.js'; | 31 | import PasteFromOffice from '@ckeditor/ckeditor5-paste-from-office/src/pastefromoffice.js'; |
33 | import SimpleUploadAdapter from '@ckeditor/ckeditor5-upload/src/adapters/simpleuploadadapter.js'; | 32 | import SimpleUploadAdapter from '@ckeditor/ckeditor5-upload/src/adapters/simpleuploadadapter.js'; |
33 | import Strikethrough from '@ckeditor/ckeditor5-basic-styles/src/strikethrough.js'; | ||
34 | import Table from '@ckeditor/ckeditor5-table/src/table.js'; | 34 | import Table from '@ckeditor/ckeditor5-table/src/table.js'; |
35 | import TableCellProperties from '@ckeditor/ckeditor5-table/src/tablecellproperties'; | 35 | import TableCellProperties from '@ckeditor/ckeditor5-table/src/tablecellproperties'; |
36 | import TableProperties from '@ckeditor/ckeditor5-table/src/tableproperties'; | ||
37 | import TableToolbar from '@ckeditor/ckeditor5-table/src/tabletoolbar.js'; | 36 | import TableToolbar from '@ckeditor/ckeditor5-table/src/tabletoolbar.js'; |
38 | import TodoList from '@ckeditor/ckeditor5-list/src/todolist'; | 37 | import TodoList from '@ckeditor/ckeditor5-list/src/todolist'; |
39 | import Underline from '@ckeditor/ckeditor5-basic-styles/src/underline.js'; | 38 | import Underline from '@ckeditor/ckeditor5-basic-styles/src/underline.js'; |
@@ -55,7 +54,6 @@ Editor.builtinPlugins = [ | |||
55 | Heading, | 54 | Heading, |
56 | Highlight, | 55 | Highlight, |
57 | HorizontalLine, | 56 | HorizontalLine, |
58 | HtmlEmbed, | ||
59 | Image, | 57 | Image, |
60 | ImageCaption, | 58 | ImageCaption, |
61 | ImageInsert, | 59 | ImageInsert, |
@@ -70,62 +68,62 @@ Editor.builtinPlugins = [ | |||
70 | Paragraph, | 68 | Paragraph, |
71 | PasteFromOffice, | 69 | PasteFromOffice, |
72 | SimpleUploadAdapter, | 70 | SimpleUploadAdapter, |
71 | Strikethrough, | ||
73 | Table, | 72 | Table, |
74 | TableCellProperties, | 73 | TableCellProperties, |
75 | TableProperties, | ||
76 | TableToolbar, | 74 | TableToolbar, |
77 | TodoList, | 75 | TodoList, |
78 | Underline | 76 | Underline |
79 | ]; | 77 | ]; |
80 | 78 | ||
81 | // Editor configuration. | 79 | // Editor configuration. |
82 | //Editor.defaultConfig = { | 80 | Editor.defaultConfig = { |
83 | //toolbar: { | 81 | toolbar: { |
84 | //items: [ | 82 | items: [ |
85 | //'undo', | 83 | 'undo', |
86 | //'redo', | 84 | 'redo', |
87 | //'|', | 85 | '|', |
88 | //'heading', | 86 | 'heading', |
89 | //'|', | 87 | '|', |
90 | //'alignment', | 88 | 'alignment', |
91 | //'bulletedList', | 89 | 'bulletedList', |
92 | //'numberedList', | 90 | 'numberedList', |
93 | //'todoList', | 91 | 'blockQuote', |
94 | //'blockQuote', | 92 | 'horizontalLine', |
95 | //'horizontalLine', | 93 | '-', |
96 | //'|', | 94 | 'bold', |
97 | //'bold', | 95 | 'italic', |
98 | //'italic', | 96 | 'underline', |
99 | //'underline', | 97 | '|', |
100 | //'|', | 98 | 'fontColor', |
101 | //'fontColor', | 99 | 'fontSize', |
102 | //'fontSize', | 100 | 'highlight', |
103 | //'highlight', | 101 | '|', |
104 | //'link', | 102 | 'imageInsert', |
105 | //'|', | 103 | 'link', |
106 | //'imageInsert', | 104 | 'insertTable' |
107 | //'insertTable' | 105 | ], |
108 | //] | 106 | shouldNotGroupWhenFull: true |
109 | //}, | 107 | }, |
110 | //language: 'fr', | 108 | language: 'fr', |
111 | //image: { | 109 | image: { |
112 | //toolbar: [ | 110 | toolbar: [ |
113 | //'imageTextAlternative', | 111 | 'imageTextAlternative', |
114 | //'imageStyle:inline', | 112 | 'toggleImageCaption', |
115 | //'imageStyle:block', | 113 | 'imageStyle:inline', |
116 | //'imageStyle:side', | 114 | 'imageStyle:block', |
117 | //'linkImage' | 115 | 'imageStyle:side', |
118 | //] | 116 | 'linkImage' |
119 | //}, | 117 | ] |
120 | //table: { | 118 | }, |
121 | //contentToolbar: [ | 119 | table: { |
122 | //'tableColumn', | 120 | contentToolbar: [ |
123 | //'tableRow', | 121 | 'tableColumn', |
124 | //'mergeTableCells', | 122 | 'tableRow', |
125 | //'tableCellProperties', | 123 | 'mergeTableCells', |
126 | //'tableProperties' | 124 | 'tableCellProperties' |
127 | //] | 125 | ] |
128 | //} | 126 | } |
129 | //}; | 127 | }; |
130 | 128 | ||
131 | export default Editor; | 129 | export default Editor; |