8
0
Просмотр исходного кода

Added Clipoard plugin to manual test.

Szymon Kupś 9 лет назад
Родитель
Сommit
31a57724e1
2 измененных файлов с 3 добавлено и 1 удалено
  1. 1 0
      packages/ckeditor5-image/package.json
  2. 2 1
      packages/ckeditor5-image/tests/manual/image.js

+ 1 - 0
packages/ckeditor5-image/package.json

@@ -11,6 +11,7 @@
   },
   },
   "devDependencies": {
   "devDependencies": {
     "@ckeditor/ckeditor5-dev-lint": "^1.0.1",
     "@ckeditor/ckeditor5-dev-lint": "^1.0.1",
+    "ckeditor5-clipboard": "ckeditor/ckeditor5-clipboard",
     "ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic",
     "ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic",
     "ckeditor5-enter": "ckeditor/ckeditor5-enter",
     "ckeditor5-enter": "ckeditor/ckeditor5-enter",
     "ckeditor5-typing": "ckeditor/ckeditor5-typing",
     "ckeditor5-typing": "ckeditor/ckeditor5-typing",

+ 2 - 1
packages/ckeditor5-image/tests/manual/image.js

@@ -12,9 +12,10 @@ import ParagraphPlugin from '/ckeditor5/paragraph/paragraph.js';
 import HeadingPlugin from '/ckeditor5/heading/heading.js';
 import HeadingPlugin from '/ckeditor5/heading/heading.js';
 import ImagePlugin from '/ckeditor5/image/image.js';
 import ImagePlugin from '/ckeditor5/image/image.js';
 import UndoPlugin from '/ckeditor5/undo/undo.js';
 import UndoPlugin from '/ckeditor5/undo/undo.js';
+import ClipboardPlugin from '/ckeditor5/clipboard/clipboard.js';
 
 
 ClassicEditor.create( document.querySelector( '#editor' ), {
 ClassicEditor.create( document.querySelector( '#editor' ), {
-	plugins: [ EnterPlugin, TypingPlugin, ParagraphPlugin, HeadingPlugin, ImagePlugin, UndoPlugin ],
+	plugins: [ EnterPlugin, TypingPlugin, ParagraphPlugin, HeadingPlugin, ImagePlugin, UndoPlugin, ClipboardPlugin ],
 	toolbar: [ 'headings', 'undo', 'redo' ]
 	toolbar: [ 'headings', 'undo', 'redo' ]
 } )
 } )
 .then( editor => {
 .then( editor => {