8
0
Quellcode durchsuchen

Adjusted manual test to the recent changes in the core.

Piotrek Koszuliński vor 9 Jahren
Ursprung
Commit
8b3551348b
1 geänderte Dateien mit 10 neuen und 7 gelöschten Zeilen
  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 */
 
 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' ), {
-	features: [ 'enter', 'typing', 'paragraph' ],
+	features: [ Enter, Typing, Paragraph ],
 	toolbar: []
 } )
-	.then( editor => {
-		window.editor = editor;
-	} )
-	.catch( err => {
-		console.error( err.stack );
-	} );
+.then( editor => {
+	window.editor = editor;
+} )
+.catch( err => {
+	console.error( err.stack );
+} );