Explorar el Código

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

Piotrek Koszuliński hace 6 años
padre
commit
56119de4ef
Se han modificado 1 ficheros con 12 adiciones y 1 borrados
  1. 12 1
      packages/ckeditor5-heading/docs/_snippets/features/title.js

+ 12 - 1
packages/ckeditor5-heading/docs/_snippets/features/title.js

@@ -15,7 +15,18 @@ BaloonBlockEditor.builtinPlugins.push( Title );
 BaloonBlockEditor
 	.create( document.querySelector( '#snippet-title' ), {
 		cloudServices: CS_CONFIG,
-		blockToolbar: [ 'bulletedList', 'numberedList', 'imageUpload', 'blockQuote', 'insertTable', 'mediaEmbed' ]
+		blockToolbar: [
+			'bulletedList',
+			'numberedList',
+			'|',
+			'outdent',
+			'indent',
+			'|',
+			'imageUpload',
+			'blockQuote',
+			'insertTable',
+			'mediaEmbed'
+		]
 	} )
 	.then( editor => {
 		window.editor = editor;