Skip to content

Commit f6e0888

Browse files
authored
Merge pull request #40 from chr15m/documentation-updates
Documentation updates
2 parents a47f3e5 + aa2110e commit f6e0888

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

01-deep-dive.md

Lines changed: 21 additions & 1 deletion
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 %}
@@ -99,13 +115,17 @@ You can also setup buttons of the other popovers in the same way. The below sett
99115
{% highlight javascript %}
100116
popover: {
101117
image: [
102-
['imagesize', ['imageSize100', 'imageSize50', 'imageSize25']],
118+
['image', ['resizeFull', 'resizeHalf', 'resizeQuarter', 'resizeNone']],
103119
['float', ['floatLeft', 'floatRight', 'floatNone']],
104120
['remove', ['removeMedia']]
105121
],
106122
link: [
107123
['link', ['linkDialogShow', 'unlink']]
108124
],
125+
table: [
126+
['add', ['addRowDown', 'addRowUp', 'addColLeft', 'addColRight']],
127+
['delete', ['deleteRow', 'deleteCol', 'deleteTable']],
128+
],
109129
air: [
110130
['color', ['color']],
111131
['font', ['bold', 'underline', 'clear']],

0 commit comments

Comments
 (0)