Browse Source

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

Maciej Gołaszewski 7 years ago
parent
commit
d96cd6e15f

+ 2 - 2
packages/ckeditor5-ui/src/toolbar/normalizetoolbarconfig.js

@@ -12,12 +12,12 @@
  *
  * * may be defined as an `Array`:
  *
- * 		toolbar: [ 'headings', 'bold', 'italic', 'link', ... ]
+ * 		toolbar: [ 'heading', 'bold', 'italic', 'link', ... ]
  *
  * * or an `Object`:
  *
  *		toolbar: {
- *			items: [ 'headings', 'bold', 'italic', 'link', ... ],
+ *			items: [ 'heading', 'bold', 'italic', 'link', ... ],
  *			...
  *		}
  *

+ 1 - 1
packages/ckeditor5-ui/tests/manual/tickets/228/1.js

@@ -11,6 +11,6 @@ import ArticlePluginSet from '@ckeditor/ckeditor5-core/tests/_utils/articleplugi
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ ArticlePluginSet ],
-		toolbar: [ 'headings' ],
+		toolbar: [ 'heading' ],
 	} )
 	.catch( err => console.error( err.stack ) );