Преглед на файлове

Avoided using the same element for the creation of two editors in one test.

fredck преди 10 години
родител
ревизия
b3a0ef042f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/ckeditor5-utils/tests/ckeditor/ckeditor.js

+ 1 - 1
packages/ckeditor5-utils/tests/ckeditor/ckeditor.js

@@ -66,7 +66,7 @@ describe( 'create', function() {
 			editor1 = editor;
 
 			// Create the second editor.
-			return CKEDITOR.create( content ).then( function( editor ) {
+			return CKEDITOR.create( '.editor' ).then( function( editor ) {
 				editor2 = editor;
 
 				// It should have 2 editors.