8
0
Quellcode durchsuchen

Merge pull request #156 from ckeditor/t/ckeditor5-alignment/16

Tests: Aligned code to the changes in naming UI components & commands.
Piotrek Koszuliński vor 7 Jahren
Ursprung
Commit
0bd0255959

+ 2 - 2
packages/ckeditor5-theme-lark/docs/_snippets/examples/theme-lark.js

@@ -15,11 +15,11 @@ ClassicEditor
 	.create( document.querySelector( '#snippet-classic-editor' ), {
 		plugins: [ ArticlePluginSet, EasyImage ],
 		toolbar: {
-			items: [ 'headings', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
+			items: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
 			viewportTopOffset: 60
 		},
 		image: {
-			toolbar: [ 'imageStyleFull', 'imageStyleSide', '|', 'imageTextAlternative' ]
+			toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
 		},
 		cloudServices: CS_CONFIG
 	} )

+ 1 - 1
packages/ckeditor5-theme-lark/tests/manual/inverted.js

@@ -14,7 +14,7 @@ import Code from '@ckeditor/ckeditor5-basic-styles/src/code';
 
 const config = {
 	plugins: [ ArticlePluginSet, Strikethrough, Code ],
-	toolbar: [ 'headings', '|', 'bold', 'italic', 'strikethrough', 'code', 'link', '|', 'undo', 'redo' ]
+	toolbar: [ 'heading', '|', 'bold', 'italic', 'strikethrough', 'code', 'link', '|', 'undo', 'redo' ]
 };
 
 ClassicEditor