Przeglądaj źródła

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

Maciej Gołaszewski 7 lat temu
rodzic
commit
3f1392eeac

+ 1 - 1
packages/ckeditor5-editor-inline/tests/manual/inlineeditor.js

@@ -21,7 +21,7 @@ function initEditors() {
 		InlineEditor
 			.create( document.querySelector( selector ), {
 				plugins: [ ArticlePluginSet ],
-				toolbar: [ 'headings', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ]
+				toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ]
 			} )
 			.then( editor => {
 				console.log( `${ selector } has been initialized`, editor );

+ 1 - 1
packages/ckeditor5-editor-inline/tests/manual/tickets/23/1.js

@@ -18,7 +18,7 @@ InlineEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ Enter, Typing, Paragraph, Undo, Heading, Bold, Italic ],
 		toolbar: {
-			items: [ 'headings', '|', 'bold', 'italic', 'undo', 'redo' ],
+			items: [ 'heading', '|', 'bold', 'italic', 'undo', 'redo' ],
 			viewportTopOffset: 100
 		}
 	} )

+ 1 - 1
packages/ckeditor5-editor-inline/tests/manual/tickets/4/1.js

@@ -11,7 +11,7 @@ import ArticlePluginSet from '@ckeditor/ckeditor5-core/tests/_utils/articleplugi
 InlineEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ ArticlePluginSet ],
-		toolbar: [ 'headings', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ]
+		toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ]
 	} )
 	.then( editor => {
 		window.editor = editor;