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 1e8c2c6 commit 2d43ff3
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,19 @@ ClassicEditor
cloudServices: CS_CONFIG,
toolbar: {
items: [
'heading', '|', 'fontColor', 'fontBackgroundColor', 'bulletedList', 'numberedList', 'undo', 'redo'
'heading',
'|',
'fontColor',
'fontBackgroundColor',
'|',
'bulletedList',
'numberedList',
'|',
'outdent',
'indent',
'|',
'undo',
'redo'
],
viewportTopOffset: window.getViewportTopOffsetConfig()
},
Expand Down
13 changes: 12 additions & 1 deletion docs/_snippets/features/custom-font-family-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,18 @@ ClassicEditor
cloudServices: CS_CONFIG,
toolbar: {
items: [
'heading', '|', 'fontFamily', 'bulletedList', 'numberedList', 'undo', 'redo'
'heading',
'|',
'fontFamily',
'|',
'bulletedList',
'numberedList',
'|',
'outdent',
'indent',
'|',
'undo',
'redo'
],
viewportTopOffset: window.getViewportTopOffsetConfig()
},
Expand Down
13 changes: 12 additions & 1 deletion docs/_snippets/features/custom-font-size-numeric-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,18 @@ ClassicEditor
cloudServices: CS_CONFIG,
toolbar: {
items: [
'heading', '|', 'fontSize', 'bulletedList', 'numberedList', 'undo', 'redo'
'heading',
'|',
'fontSize',
'|',
'bulletedList',
'numberedList',
'|',
'outdent',
'indent',
'|',
'undo',
'redo'
],
viewportTopOffset: window.getViewportTopOffsetConfig()
},
Expand Down
4 changes: 4 additions & 0 deletions docs/_snippets/features/font.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ ClassicEditor
'|',
'bulletedList',
'numberedList',
'|',
'outdent',
'indent',
'|',
'undo',
'redo'
],
Expand Down

0 comments on commit 2d43ff3

Please sign in to comment.