Sfoglia il codice sorgente

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

Maciej Gołaszewski 7 anni fa
parent
commit
8d51fc77ae

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

@@ -14,7 +14,7 @@ ClassicEditor
 		plugins: ClassicEditor.build.plugins.concat( [ Code ] ),
 		toolbar: {
 			items: [
-				'headings',
+				'heading',
 				'|',
 				'bold',
 				'italic',

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

@@ -21,7 +21,7 @@ import Italic from '@ckeditor/ckeditor5-basic-styles/src/italic';
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ Enter, Typing, Paragraph, Undo, Bold, Italic, Code, Heading, List, Autoformat, BlockQuote ],
-		toolbar: [ 'headings', '|', 'numberedList', 'bulletedList', 'blockQuote', 'bold', 'italic', 'code', 'undo', 'redo' ]
+		toolbar: [ 'heading', '|', 'numberedList', 'bulletedList', 'blockQuote', 'bold', 'italic', 'code', 'undo', 'redo' ]
 	} )
 	.then( editor => {
 		window.editor = editor;