Przeglądaj źródła

Docs: Added indent/outdent buttons. See ckeditor/ckeditor5#1844.

Piotrek Koszuliński 6 lat temu
rodzic
commit
2cc6a3df76

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

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