Procházet zdrojové kódy

Other: Renamed 'headings' ui component to 'heading'.

Maciej Gołaszewski před 8 roky
rodič
revize
25cb627d2e

+ 1 - 1
packages/ckeditor5-alignment/docs/_snippets/features/custom-text-alignment-options.js

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

+ 1 - 1
packages/ckeditor5-alignment/docs/_snippets/features/custom-text-alignment-toolbar.js

@@ -11,7 +11,7 @@ ClassicEditor
 	.create( document.querySelector( '#snippet-custom-text-alignment-toolbar' ), {
 		toolbar: {
 			items: [
-				'headings', '|', 'alignment:left', 'alignment:right', 'alignment:center', 'alignment:justify'
+				'heading', '|', 'alignment:left', 'alignment:right', 'alignment:center', 'alignment:justify'
 			],
 			viewportTopOffset: 60
 		},

+ 1 - 1
packages/ckeditor5-alignment/docs/_snippets/features/text-alignment.js

@@ -9,7 +9,7 @@ ClassicEditor
 	.create( document.querySelector( '#snippet-text-alignment' ), {
 		toolbar: {
 			items: [
-				'headings', '|', 'bulletedList', 'numberedList', 'alignmentDropdown', 'undo', 'redo'
+				'heading', '|', 'bulletedList', 'numberedList', 'alignmentDropdown', 'undo', 'redo'
 			],
 			viewportTopOffset: 60
 		}

+ 2 - 2
packages/ckeditor5-alignment/docs/features/text-alignment.md

@@ -24,7 +24,7 @@ ClassicEditor
 			options: [ 'left', 'right' ]
 		},
 		toolbar: [
-			'headings', '|', 'bulletedList', 'numberedList', 'alignment', 'undo', 'redo'
+			'heading', '|', 'bulletedList', 'numberedList', 'alignment', 'undo', 'redo'
 		]
 	} )
 	.then( ... )
@@ -41,7 +41,7 @@ You can choose to use the alignment drop-down (`'alignment'`) or configure the t
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		toolbar: [
-			'headings', '|', 'alignment:left', 'alignment:right', 'alignment:center', 'alignment:justify'
+			'heading', '|', 'alignment:left', 'alignment:right', 'alignment:center', 'alignment:justify'
 		]
 	} )
 	.then( ... )

+ 1 - 1
packages/ckeditor5-alignment/tests/manual/alignment.js

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

+ 1 - 1
packages/ckeditor5-alignment/tests/manual/alignmentbuttons.js

@@ -13,7 +13,7 @@ ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ ArticlePluginSet, Alignment ],
 		toolbar: [
-			'headings', '|', 'alignment:left', 'alignment:right', 'alignment:center', 'alignment:justify', '|',
+			'heading', '|', 'alignment:left', 'alignment:right', 'alignment:center', 'alignment:justify', '|',
 			'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo'
 		]
 	} )

+ 1 - 1
packages/ckeditor5-alignment/tests/manual/alignmentconfig.js

@@ -13,7 +13,7 @@ ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ ArticlePluginSet, Alignment ],
 		toolbar: [
-			'headings', '|', 'alignment', '|', 'alignment:left', 'alignment:right', 'alignment:center', 'alignment:justify', '|',
+			'heading', '|', 'alignment', '|', 'alignment:left', 'alignment:right', 'alignment:center', 'alignment:justify', '|',
 			'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo'
 		],
 		alignment: { options: [ 'center', 'justify' ] }