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 824dcc1 commit f8dbf51
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 6 deletions.
12 changes: 11 additions & 1 deletion docs/_snippets/features/custom-highlight-colors-inline.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ ClassicEditor
cloudServices: CS_CONFIG,
toolbar: {
items: [
'heading', '|', 'bulletedList', 'numberedList', 'highlight', 'undo', 'redo'
'heading',
'|',
'bulletedList',
'numberedList',
'|',
'outdent',
'indent',
'|',
'highlight',
'undo',
'redo'
],
viewportTopOffset: window.getViewportTopOffsetConfig()
},
Expand Down
12 changes: 11 additions & 1 deletion docs/_snippets/features/custom-highlight-colors-variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ ClassicEditor
cloudServices: CS_CONFIG,
toolbar: {
items: [
'heading', '|', 'bulletedList', 'numberedList', 'highlight', 'undo', 'redo'
'heading',
'|',
'bulletedList',
'numberedList',
'|',
'outdent',
'indent',
'|',
'highlight',
'undo',
'redo'
],
viewportTopOffset: window.getViewportTopOffsetConfig()
},
Expand Down
12 changes: 11 additions & 1 deletion docs/_snippets/features/custom-highlight-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ ClassicEditor
cloudServices: CS_CONFIG,
toolbar: {
items: [
'heading', '|', 'bulletedList', 'numberedList', 'highlight', 'undo', 'redo'
'heading',
'|',
'bulletedList',
'numberedList',
'|',
'outdent',
'indent',
'|',
'highlight',
'undo',
'redo'
],
viewportTopOffset: window.getViewportTopOffsetConfig()
},
Expand Down
13 changes: 11 additions & 2 deletions docs/_snippets/features/highlight-buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,17 @@ ClassicEditor
cloudServices: CS_CONFIG,
toolbar: {
items: [
'heading', '|', 'highlight:yellowMarker', 'highlight:greenMarker', 'highlight:pinkMarker',
'highlight:greenPen', 'highlight:redPen', 'removeHighlight', '|', 'undo', 'redo'
'heading',
'|',
'highlight:yellowMarker',
'highlight:greenMarker',
'highlight:pinkMarker',
'highlight:greenPen',
'highlight:redPen',
'removeHighlight',
'|',
'undo',
'redo'
],
viewportTopOffset: window.getViewportTopOffsetConfig()
}
Expand Down
12 changes: 11 additions & 1 deletion docs/_snippets/features/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ ClassicEditor
cloudServices: CS_CONFIG,
toolbar: {
items: [
'heading', '|', 'bulletedList', 'numberedList', 'highlight', 'undo', 'redo'
'heading',
'|',
'bulletedList',
'numberedList',
'|',
'outdent',
'indent',
'|',
'highlight',
'undo',
'redo'
],
viewportTopOffset: window.getViewportTopOffsetConfig()
}
Expand Down

0 comments on commit f8dbf51

Please sign in to comment.