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

Commit

Permalink
Docs: Fixed an error due to an invalid highlight button in the toolba…
Browse files Browse the repository at this point in the history
…r configuration.
  • Loading branch information
oleq committed Mar 1, 2018
1 parent 46b259f commit 5709c8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/_snippets/features/highlight-buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ClassicEditor
.create( document.querySelector( '#snippet-highlight-buttons' ), {
toolbar: {
items: [
'headings', '|', 'highlight:marker', 'highlight:greenMarker', 'highlight:pinkMarker',
'headings', '|', 'highlight:yellowMarker', 'highlight:greenMarker', 'highlight:pinkMarker',
'highlight:greenPen', 'highlight:redPen', 'removeHighlight', '|', 'undo', 'redo'
],
viewportTopOffset: 60
Expand Down
2 changes: 1 addition & 1 deletion docs/features/highlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ ClassicEditor
.create( document.querySelector( '#editor' ), {
toolbar: {
items: [
'headings', '|', 'highlight:marker', 'highlight:greenMarker',
'headings', '|', 'highlight:yellowMarker', 'highlight:greenMarker',
'highlight:pinkMarker', 'highlight:greenPen',
'highlight:redPen', 'removeHighlight', 'undo', 'redo'
]
Expand Down
2 changes: 1 addition & 1 deletion src/highlightui.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import './../theme/highlight.css';
* * `'removeHighlight'` and `'highlight:*'` buttons.
*
* The default configuration includes the following buttons:
* * `'highlight:marker'`
* * `'highlight:yellowMarker'`
* * `'highlight:greenMarker'`
* * `'highlight:pinkMarker'`
* * `'highlight:blueMarker'`
Expand Down

0 comments on commit 5709c8b

Please sign in to comment.