Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Docs: Added indent/outdent buttons. See ckeditor/ckeditor5#1844.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Oct 16, 2019
1 parent 3b42798 commit 00d19f0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion docs/_snippets/features/custom-text-alignment-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,17 @@ ClassicEditor
.create( document.querySelector( '#snippet-custom-text-alignment-options' ), {
toolbar: {
items: [
'heading', '|', 'bulletedList', 'numberedList', 'alignment', 'undo', 'redo'
'heading',
'|',
'bulletedList',
'numberedList',
'|',
'outdent',
'indent',
'|',
'alignment',
'undo',
'redo'
],
viewportTopOffset: window.getViewportTopOffsetConfig()
},
Expand Down
12 changes: 11 additions & 1 deletion docs/_snippets/features/text-alignment.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,17 @@ ClassicEditor
.create( document.querySelector( '#snippet-text-alignment' ), {
toolbar: {
items: [
'heading', '|', 'bulletedList', 'numberedList', 'alignment', 'undo', 'redo'
'heading',
'|',
'bulletedList',
'numberedList',
'|',
'outdent',
'indent',
'|',
'alignment',
'undo',
'redo'
],
viewportTopOffset: window.getViewportTopOffsetConfig()
},
Expand Down

0 comments on commit 00d19f0

Please sign in to comment.