@@ -81,6 +81,22 @@ You can compose a toolbar with pre-shipped buttons.
81
81
* ` redo ` : redo
82
82
* ` help ` : open help dialog
83
83
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
+
84
100
Air-mode has its own popover, not toolbar. You can customize it with <code >popover.air</code > option.
85
101
86
102
{% highlight javascript %}
@@ -99,13 +115,17 @@ You can also setup buttons of the other popovers in the same way. The below sett
99
115
{% highlight javascript %}
100
116
popover: {
101
117
image: [
102
- [ 'imagesize ', [ 'imageSize100 ', 'imageSize50 ', 'imageSize25 ']] ,
118
+ [ 'image ', [ 'resizeFull ', 'resizeHalf ', 'resizeQuarter', 'resizeNone ']] ,
103
119
[ 'float', [ 'floatLeft', 'floatRight', 'floatNone']] ,
104
120
[ 'remove', [ 'removeMedia']]
105
121
] ,
106
122
link: [
107
123
[ 'link', [ 'linkDialogShow', 'unlink']]
108
124
] ,
125
+ table: [
126
+ [ 'add', [ 'addRowDown', 'addRowUp', 'addColLeft', 'addColRight']] ,
127
+ [ 'delete', [ 'deleteRow', 'deleteCol', 'deleteTable']] ,
128
+ ] ,
109
129
air: [
110
130
[ 'color', [ 'color']] ,
111
131
[ 'font', [ 'bold', 'underline', 'clear']] ,
0 commit comments