8
0
فهرست منبع

Tests: Added list feature to the manual test.

Piotrek Koszuliński 9 سال پیش
والد
کامیت
410385a254
1فایلهای تغییر یافته به همراه11 افزوده شده و 10 حذف شده
  1. 11 10
      packages/ckeditor5-image/tests/manual/caption.js

+ 11 - 10
packages/ckeditor5-image/tests/manual/caption.js

@@ -6,25 +6,26 @@
 /* global document, console, window */
 /* global document, console, window */
 
 
 import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classic';
 import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classic';
-import EnterPlugin from '@ckeditor/ckeditor5-enter/src/enter';
-import TypingPlugin from '@ckeditor/ckeditor5-typing/src/typing';
-import ParagraphPlugin from '@ckeditor/ckeditor5-paragraph/src/paragraph';
-import HeadingPlugin from '@ckeditor/ckeditor5-heading/src/heading';
-import ImagePlugin from '../../src/image';
+import Enter from '@ckeditor/ckeditor5-enter/src/enter';
+import Typing from '@ckeditor/ckeditor5-typing/src/typing';
+import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';
+import Heading from '@ckeditor/ckeditor5-heading/src/heading';
+import Image from '../../src/image';
 import ImageCaption from '../../src/imagecaption/imagecaption';
 import ImageCaption from '../../src/imagecaption/imagecaption';
-import UndoPlugin from '@ckeditor/ckeditor5-undo/src/undo';
-import ClipboardPlugin from '@ckeditor/ckeditor5-clipboard/src/clipboard';
+import Undo from '@ckeditor/ckeditor5-undo/src/undo';
+import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
 import ImageToolbar from '../../src/imagetoolbar';
 import ImageToolbar from '../../src/imagetoolbar';
 import ImageStyle from '../../src/imagestyle/imagestyle';
 import ImageStyle from '../../src/imagestyle/imagestyle';
 import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';
 import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';
 import Italic from '@ckeditor/ckeditor5-basic-styles/src/italic';
 import Italic from '@ckeditor/ckeditor5-basic-styles/src/italic';
+import List from '@ckeditor/ckeditor5-list/src/list';
 
 
 ClassicEditor.create( document.querySelector( '#editor' ), {
 ClassicEditor.create( document.querySelector( '#editor' ), {
 	plugins: [
 	plugins: [
-		EnterPlugin, TypingPlugin, ParagraphPlugin, HeadingPlugin, ImagePlugin, ImageToolbar,
-		UndoPlugin, ClipboardPlugin, ImageCaption, ImageStyle, Bold, Italic
+		Enter, Typing, Paragraph, Heading, Image, ImageToolbar,
+		Undo, Clipboard, ImageCaption, ImageStyle, Bold, Italic, Heading, List
 	],
 	],
-	toolbar: [ 'headings', 'undo', 'redo', 'bold', 'italic' ]
+	toolbar: [ 'headings', 'undo', 'redo', 'bold', 'italic', 'bulletedList', 'numberedList' ]
 } )
 } )
 	.then( editor => {
 	.then( editor => {
 		window.editor = editor;
 		window.editor = editor;