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

Code style: Switched to ESLint.

Kamil Piechaczek 8 лет назад
Родитель
Сommit
cd484d781e

+ 1 - 3
packages/ckeditor5-essentials/tests/article.js

@@ -29,9 +29,7 @@ describe( 'Article preset', () => {
 		editorElement = document.createElement( 'div' );
 		document.body.appendChild( editorElement );
 
-		return ClassicTestEditor.create( editorElement, {
-				plugins: [ ArticlePreset ]
-			} )
+		return ClassicTestEditor.create( editorElement, { plugins: [ ArticlePreset ] } )
 			.then( newEditor => {
 				editor = newEditor;
 			} );

+ 1 - 3
packages/ckeditor5-essentials/tests/essentials.js

@@ -20,9 +20,7 @@ describe( 'Essentials preset', () => {
 		editorElement = document.createElement( 'div' );
 		document.body.appendChild( editorElement );
 
-		return ClassicTestEditor.create( editorElement, {
-				plugins: [ EssentialsPreset ]
-			} )
+		return ClassicTestEditor.create( editorElement, { plugins: [ EssentialsPreset ] } )
 			.then( newEditor => {
 				editor = newEditor;
 			} );

+ 1 - 1
packages/ckeditor5-essentials/tests/manual/article.js

@@ -13,7 +13,7 @@ ClassicEditor.create( document.querySelector( '#editor' ), {
 	plugins: [ ArticlePreset ],
 	toolbar: [ 'headings', 'bold', 'italic', 'link', 'unlink', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
 	image: {
-		toolbar: [ 'imageStyleFull', 'imageStyleSide', '|' , 'imageTextAlternative' ]
+		toolbar: [ 'imageStyleFull', 'imageStyleSide', '|', 'imageTextAlternative' ]
 	}
 } )
 .then( editor => {