|
@@ -5,14 +5,14 @@
|
|
|
|
|
|
|
|
/* global document, console, window */
|
|
/* global document, console, window */
|
|
|
|
|
|
|
|
-import ClassicEditor from 'ckeditor5/editor-classic/classic.js';
|
|
|
|
|
-import EnterPlugin from 'ckeditor5/enter/enter.js';
|
|
|
|
|
-import TypingPlugin from 'ckeditor5/typing/typing.js';
|
|
|
|
|
-import ParagraphPlugin from 'ckeditor5/paragraph/paragraph.js';
|
|
|
|
|
-import HeadingPlugin from 'ckeditor5/heading/heading.js';
|
|
|
|
|
-import ImagePlugin from 'ckeditor5/image/image.js';
|
|
|
|
|
-import UndoPlugin from 'ckeditor5/undo/undo.js';
|
|
|
|
|
-import ClipboardPlugin from 'ckeditor5/clipboard/clipboard.js';
|
|
|
|
|
|
|
+import ClassicEditor from 'ckeditor5-editor-classic/src/classic';
|
|
|
|
|
+import EnterPlugin from 'ckeditor5-enter/src/enter';
|
|
|
|
|
+import TypingPlugin from 'ckeditor5-typing/src/typing';
|
|
|
|
|
+import ParagraphPlugin from 'ckeditor5-paragraph/src/paragraph';
|
|
|
|
|
+import HeadingPlugin from 'ckeditor5-heading/src/heading';
|
|
|
|
|
+import ImagePlugin from 'ckeditor5-image/src/image';
|
|
|
|
|
+import UndoPlugin from 'ckeditor5-undo/src/undo';
|
|
|
|
|
+import ClipboardPlugin from 'ckeditor5-clipboard/src/clipboard';
|
|
|
|
|
|
|
|
ClassicEditor.create( document.querySelector( '#editor' ), {
|
|
ClassicEditor.create( document.querySelector( '#editor' ), {
|
|
|
plugins: [ EnterPlugin, TypingPlugin, ParagraphPlugin, HeadingPlugin, ImagePlugin, UndoPlugin, ClipboardPlugin ],
|
|
plugins: [ EnterPlugin, TypingPlugin, ParagraphPlugin, HeadingPlugin, ImagePlugin, UndoPlugin, ClipboardPlugin ],
|