浏览代码

Adjusted manual test to the recent changes in the core.

Piotrek Koszuliński 9 年之前
父节点
当前提交
8b3551348b
共有 1 个文件被更改,包括 10 次插入7 次删除
  1. 10 7
      packages/ckeditor5-typing/tests/manual/unicode.js

+ 10 - 7
packages/ckeditor5-typing/tests/manual/unicode.js

@@ -6,14 +6,17 @@
 /* globals console, window, document */
 /* globals console, window, document */
 
 
 import ClassicEditor from '/ckeditor5/editor-classic/classic.js';
 import ClassicEditor from '/ckeditor5/editor-classic/classic.js';
+import Enter from '/ckeditor5/enter/enter.js';
+import Typing from '/ckeditor5/typing/typing.js';
+import Paragraph from '/ckeditor5/paragraph/paragraph.js';
 
 
 ClassicEditor.create( document.querySelector( '#editor' ), {
 ClassicEditor.create( document.querySelector( '#editor' ), {
-	features: [ 'enter', 'typing', 'paragraph' ],
+	features: [ Enter, Typing, Paragraph ],
 	toolbar: []
 	toolbar: []
 } )
 } )
-	.then( editor => {
-		window.editor = editor;
-	} )
-	.catch( err => {
-		console.error( err.stack );
-	} );
+.then( editor => {
+	window.editor = editor;
+} )
+.catch( err => {
+	console.error( err.stack );
+} );