Kaynağa Gözat

Merge pull request #21 from ckeditor/t/ckeditor5-alignment/16

Tests: Aligned code to the changes in naming UI components & commands.
Piotrek Koszuliński 7 yıl önce
ebeveyn
işleme
2480732511

+ 2 - 2
packages/ckeditor5-markdown-gfm/docs/_snippets/features/markdown.js

@@ -20,9 +20,9 @@ function Markdown( editor ) {
 ClassicEditor
 	.create( document.querySelector( '#snippet-markdown' ), {
 		plugins: [ ArticlePluginSet, EasyImage, Markdown ],
-		toolbar: [ 'headings', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
+		toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
 		image: {
-			toolbar: [ 'imageStyleFull', 'imageStyleSide', '|', 'imageTextAlternative' ]
+			toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
 		},
 		cloudServices: CS_CONFIG
 	} )