浏览代码

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

Maciej Gołaszewski 7 年之前
父节点
当前提交
dd7a075734

+ 1 - 1
docs/_snippets/examples/inline-editor.js

@@ -34,7 +34,7 @@ Array.from( inlineInjectElements ).forEach( inlineElement => {
 			'EasyImage',
 			'CKFinderUploadAdapter'
 		];
-		config.toolbar.items = [ 'headings', '|', 'bold', 'italic', 'link' ];
+		config.toolbar.items = [ 'heading', '|', 'bold', 'italic', 'link' ];
 	}
 
 	InlineEditor

+ 1 - 1
docs/builds/guides/development/custom-builds.md

@@ -112,7 +112,7 @@ module.exports = {
 
 	// Editor configuration.
 	config: {
-		toolbar: [ 'headings', '|', 'bold', 'italic', 'custombutton' ],
+		toolbar: [ 'heading', '|', 'bold', 'italic', 'custombutton' ],
 
 		// UI language. Language codes follow the https://en.wikipedia.org/wiki/ISO_639-1 format.
 		language: 'en'

+ 2 - 2
docs/builds/guides/development/installing-plugins.md

@@ -71,7 +71,7 @@ module.exports = {
 	config: {
 		toolbar: {
 			items: [
-				'headings',
+				'heading',
 				'alignmentDropdown', //                      <--- ADDED
 				'bold',
 				'italic',
@@ -201,7 +201,7 @@ ClassicEditor.build = {
 	config: {
 		toolbar: {
 			items: [
-				'headings',
+				'heading',
 				'bold',
 				// ...
 			]

+ 2 - 2
docs/builds/guides/integration/advanced-setup.md

@@ -196,7 +196,7 @@ ClassicEditor.build = {
 	],
 	config: {
 		toolbar: [
-			'headings',
+			'heading',
 			'bold',
 			'italic',
 			'link',
@@ -275,7 +275,7 @@ ClassicEditor
 
 		// So is the rest of the default configuration.
 		toolbar: [
-			'headings',
+			'heading',
 			'bold',
 			'italic',
 			'link',

+ 1 - 1
docs/builds/guides/integration/configuration.md

@@ -15,7 +15,7 @@ When creating an editor in your page, it is possible to set up {@link module:cor
 ```js
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
-		toolbar: [ 'headings', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote' ],
+		toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote' ],
 		heading: {
 			options: [
 				{ modelElement: 'paragraph', title: 'Paragraph', class: 'ck-heading_paragraph' },