Parcourir la source

Other: Rename ImageStyle options, UI components and merge commands into one command.

Maciej Gołaszewski il y a 7 ans
Parent
commit
9c3d7d7769

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

@@ -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.

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

@@ -59,8 +59,8 @@ ClassicEditor.build = {
 		},
 		image: {
 			toolbar: [
-				'imageStyleFull',
-				'imageStyleSide',
+				'imageStyle:full',
+				'imageStyle:side',
 				'|',
 				'imageTextAlternative'
 			]