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

Commit

Permalink
Add docs entry with toolbar.label
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Samsel committed May 20, 2019
1 parent b9ed5af commit 1b44090
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/editor/editorconfig.jsdoc
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@
* toolbar: {
* items: [ 'bold', 'italic', '|', 'undo', 'redo' ],
*
* viewportTopOffset: 30
* viewportTopOffset: 30,
*
* label: 'Text formatting'
* }
* };
*
Expand All @@ -163,6 +165,9 @@
* Useful when a page with which the editor is being integrated has some other sticky or fixed elements
* (e.g. the top menu). Thanks to setting the toolbar offset the toolbar will not be positioned underneath or above the page's UI.
*
* * **`toolbar.label`** – Label used to describe toolbar element for screen readers. If it's not present,
* then takes "Editor's toolbar" value by default.
*
* @member {Array.<String>|Object} module:core/editor/editorconfig~EditorConfig#toolbar
*/

Expand Down

0 comments on commit 1b44090

Please sign in to comment.