Bladeren bron

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

Internal: Align code to the changes in naming UI components & commands.
Piotrek Koszuliński 7 jaren geleden
bovenliggende
commit
5d26cbbd81

+ 2 - 2
packages/ckeditor5-build-classic/build-config.js

@@ -37,7 +37,7 @@ module.exports = {
 	config: {
 		toolbar: {
 			items: [
-				'headings',
+				'heading',
 				'|',
 				'bold',
 				'italic',
@@ -51,7 +51,7 @@ module.exports = {
 		},
 
 		image: {
-			toolbar: [ 'imageStyleFull', 'imageStyleSide', '|', 'imageTextAlternative' ]
+			toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
 		},
 
 		// UI language. Language codes follow the https://en.wikipedia.org/wiki/ISO_639-1 format.

+ 3 - 3
packages/ckeditor5-build-classic/src/ckeditor.js

@@ -45,7 +45,7 @@ ClassicEditor.build = {
 	config: {
 		toolbar: {
 			items: [
-				'headings',
+				'heading',
 				'|',
 				'bold',
 				'italic',
@@ -59,8 +59,8 @@ ClassicEditor.build = {
 		},
 		image: {
 			toolbar: [
-				'imageStyleFull',
-				'imageStyleSide',
+				'imageStyle:full',
+				'imageStyle:side',
 				'|',
 				'imageTextAlternative'
 			]