Skip to content

Commit aa2110e

Browse files
committed
Added toolbar defaults from settings.
1 parent a149969 commit aa2110e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

01-deep-dive.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,22 @@ You can compose a toolbar with pre-shipped buttons.
8181
* `redo`: redo
8282
* `help`: open help dialog
8383

84+
The following settings are default options for toolbar buttons.
85+
86+
{% highlight javascript %}
87+
toolbar: [
88+
['style', ['style']],
89+
['font', ['bold', 'underline', 'clear']],
90+
['fontname', ['fontname']],
91+
['color', ['color']],
92+
['para', ['ul', 'ol', 'paragraph']],
93+
['table', ['table']],
94+
['insert', ['link', 'picture', 'video']],
95+
['view', ['fullscreen', 'codeview', 'help']],
96+
],
97+
{% endhighlight %}
98+
99+
84100
Air-mode has its own popover, not toolbar. You can customize it with <code>popover.air</code> option.
85101

86102
{% highlight javascript %}

0 commit comments

Comments
 (0)