|
|
@@ -12,9 +12,10 @@ 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';
|
|
|
|
|
|
ClassicEditor.create( document.querySelector( '#editor' ), {
|
|
|
- plugins: [ EnterPlugin, TypingPlugin, ParagraphPlugin, HeadingPlugin, ImagePlugin, UndoPlugin ],
|
|
|
+ plugins: [ EnterPlugin, TypingPlugin, ParagraphPlugin, HeadingPlugin, ImagePlugin, UndoPlugin, ClipboardPlugin ],
|
|
|
toolbar: [ 'headings', 'undo', 'redo' ]
|
|
|
} )
|
|
|
.then( editor => {
|