浏览代码

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

Internal: Aligned code to the changes in naming UI components & commands.
Piotrek Koszuliński 7 年之前
父节点
当前提交
970562ca2f

+ 1 - 1
packages/ckeditor5-font/docs/_snippets/features/custom-font-family-options.js

@@ -8,7 +8,7 @@ ClassicEditor
 	.create( document.querySelector( '#snippet-custom-font-family-options' ), {
 		toolbar: {
 			items: [
-				'headings', '|', 'fontFamily', 'bulletedList', 'numberedList', 'undo', 'redo'
+				'heading', '|', 'fontFamily', 'bulletedList', 'numberedList', 'undo', 'redo'
 			],
 			viewportTopOffset: 60
 		},

+ 1 - 1
packages/ckeditor5-font/docs/_snippets/features/custom-font-size-named-options.js

@@ -12,7 +12,7 @@ ClassicEditor
 		cloudServices: CS_CONFIG,
 		toolbar: {
 			items: [
-				'headings', '|', 'fontSize', 'bulletedList', 'numberedList', 'undo', 'redo'
+				'heading', '|', 'fontSize', 'bulletedList', 'numberedList', 'undo', 'redo'
 			],
 			viewportTopOffset: 60
 		},

+ 1 - 1
packages/ckeditor5-font/docs/_snippets/features/custom-font-size-numeric-options.js

@@ -12,7 +12,7 @@ ClassicEditor
 		cloudServices: CS_CONFIG,
 		toolbar: {
 			items: [
-				'headings', '|', 'fontSize', 'bulletedList', 'numberedList', 'undo', 'redo'
+				'heading', '|', 'fontSize', 'bulletedList', 'numberedList', 'undo', 'redo'
 			],
 			viewportTopOffset: 60
 		},

+ 1 - 1
packages/ckeditor5-font/docs/_snippets/features/font.js

@@ -12,7 +12,7 @@ ClassicEditor
 		cloudServices: CS_CONFIG,
 		toolbar: {
 			items: [
-				'headings', '|', 'fontSize', 'fontFamily', '|', 'bulletedList', 'numberedList', 'undo', 'redo'
+				'heading', '|', 'fontSize', 'fontFamily', '|', 'bulletedList', 'numberedList', 'undo', 'redo'
 			],
 			viewportTopOffset: 60
 		}

+ 3 - 3
packages/ckeditor5-font/docs/features/font.md

@@ -32,7 +32,7 @@ ClassicEditor
 			]
 		},
 		toolbar: [
-			'headings', 'bulletedList', 'numberedList', 'fontFamily', 'undo', 'redo'
+			'heading', 'bulletedList', 'numberedList', 'fontFamily', 'undo', 'redo'
 		]
 	} )
 	.then( ... )
@@ -100,7 +100,7 @@ ClassicEditor
 			]
 		},
 		toolbar: [
-			'headings', 'bulletedList', 'numberedList', 'fontSize', 'undo', 'redo'
+			'heading', 'bulletedList', 'numberedList', 'fontSize', 'undo', 'redo'
 		]
 	} )
 	.then( ... )
@@ -137,7 +137,7 @@ ClassicEditor
 			]
 		},
 		toolbar: [
-			'headings', 'bulletedList', 'numberedList', 'fontSize', 'undo', 'redo'
+			'heading', 'bulletedList', 'numberedList', 'fontSize', 'undo', 'redo'
 		]
 	} )
 	.then( ... )

+ 1 - 1
packages/ckeditor5-font/tests/manual/font-family.js

@@ -13,7 +13,7 @@ ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ ArticlePluginSet, FontFamily ],
 		toolbar: [
-			'headings', '|', 'fontFamily', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo'
+			'heading', '|', 'fontFamily', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo'
 		]
 	} )
 	.then( editor => {

+ 1 - 1
packages/ckeditor5-font/tests/manual/font-size-numeric.js

@@ -13,7 +13,7 @@ ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ ArticlePluginSet, FontSize ],
 		toolbar: [
-			'headings', '|', 'fontSize', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo'
+			'heading', '|', 'fontSize', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo'
 		],
 		fontSize: { options: [ 10, 12, 14, 'default', 18, 20, 22 ] }
 	} )

+ 1 - 1
packages/ckeditor5-font/tests/manual/font-size-presets.js

@@ -13,7 +13,7 @@ ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ ArticlePluginSet, FontSize ],
 		toolbar: [
-			'headings', '|', 'fontSize', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo'
+			'heading', '|', 'fontSize', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo'
 		]
 	} )
 	.then( editor => {