@seafile/seafile-editor 2.0.18 → 2.0.20-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/event-types.js +4 -2
- package/dist/editors/inline-editor/index.js +34 -0
- package/dist/extension/commons/dropdown-menu-item/index.css +54 -0
- package/dist/extension/commons/dropdown-menu-item/index.js +60 -0
- package/dist/extension/commons/insert-element-dialog/index.js +50 -18
- package/dist/extension/commons/menu/menu-drop-down.js +1 -1
- package/dist/extension/commons/menu-shortcut-indicator/index.js +22 -0
- package/dist/extension/commons/menu-shortcut-indicator/style.css +18 -0
- package/dist/extension/constants/menus-config.js +7 -1
- package/dist/extension/plugins/code-block/menu/index.js +11 -12
- package/dist/extension/plugins/column/menu/index.js +14 -13
- package/dist/extension/plugins/formula/menu/formula-modal.js +2 -2
- package/dist/extension/plugins/formula/menu/index.js +15 -44
- package/dist/extension/plugins/header/menu/style.css +2 -2
- package/dist/extension/plugins/image/menu/image-menu-dialog.js +6 -6
- package/dist/extension/plugins/image/menu/image-menu-popover.js +1 -1
- package/dist/extension/plugins/image/menu/index.css +36 -0
- package/dist/extension/plugins/image/menu/index.js +57 -52
- package/dist/extension/plugins/table/constant.js +4 -1
- package/dist/extension/plugins/table/context-menu/horizontal-align-popover/index.js +77 -0
- package/dist/extension/plugins/table/context-menu/horizontal-align-popover/style.css +24 -0
- package/dist/extension/plugins/table/context-menu/index.js +20 -1
- package/dist/extension/plugins/table/context-menu/style.css +19 -0
- package/dist/extension/plugins/table/menu/index.js +14 -38
- package/dist/extension/plugins/table/menu/style.css +1 -0
- package/dist/extension/plugins/table/render-elem/index.js +6 -6
- package/dist/extension/toolbar/header-toolbar/index.js +17 -48
- package/dist/extension/toolbar/header-toolbar/insert-toolbar/index.js +100 -0
- package/dist/extension/toolbar/header-toolbar/insert-toolbar/style.css +47 -0
- package/dist/extension/toolbar/inline-toolbar/index.css +4 -0
- package/dist/extension/toolbar/inline-toolbar/index.js +17 -24
- package/dist/pages/longtext-inline-editor/fallback-editor.js +14 -0
- package/dist/slate-convert/slate-to-md/index.js +1 -7
- package/package.json +1 -1
- package/public/locales/en/seafile-editor.json +6 -1
- package/public/locales/zh-CN/seafile-editor.json +6 -1
- package/public/locales/zh_CN/seafile-editor.json +6 -1
- package/public/media/seafile-editor-font/iconfont.eot +0 -0
- package/public/media/seafile-editor-font/iconfont.svg +68 -60
- package/public/media/seafile-editor-font/iconfont.ttf +0 -0
- package/public/media/seafile-editor-font/iconfont.woff +0 -0
- package/public/media/seafile-editor-font/iconfont.woff2 +0 -0
- package/public/media/seafile-editor-font.css +139 -123
- /package/dist/extension/plugins/image/menu/{style.css → image-menu-popover.css} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "iconfont";
|
|
3
3
|
/* Project id 4375832 */
|
|
4
|
-
src: url('./seafile-editor-font/iconfont.eot?t=
|
|
4
|
+
src: url('./seafile-editor-font/iconfont.eot?t=1752721246164');
|
|
5
5
|
/* IE9 */
|
|
6
|
-
src: url('./seafile-editor-font/iconfont.eot?t=
|
|
6
|
+
src: url('./seafile-editor-font/iconfont.eot?t=1752721246164#iefix') format('embedded-opentype'),
|
|
7
7
|
/* IE6-IE8 */
|
|
8
|
-
url('./seafile-editor-font/iconfont.woff2?t=
|
|
9
|
-
url('./seafile-editor-font/iconfont.woff?t=
|
|
10
|
-
url('./seafile-editor-font/iconfont.ttf?t=
|
|
11
|
-
url('./seafile-editor-font/iconfont.svg?t=
|
|
8
|
+
url('./seafile-editor-font/iconfont.woff2?t=1752721246164') format('woff2'),
|
|
9
|
+
url('./seafile-editor-font/iconfont.woff?t=1752721246164') format('woff'),
|
|
10
|
+
url('./seafile-editor-font/iconfont.ttf?t=1752721246164') format('truetype'),
|
|
11
|
+
url('./seafile-editor-font/iconfont.svg?t=1752721246164#iconfont') format('svg');
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.iconfont {
|
|
@@ -19,244 +19,260 @@
|
|
|
19
19
|
-moz-osx-font-smoothing: grayscale;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.icon-
|
|
23
|
-
content: "\
|
|
22
|
+
.icon-sdoc-insert:before {
|
|
23
|
+
content: "\e6a6";
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.icon-
|
|
27
|
-
content: "\
|
|
26
|
+
.icon-sdoc-right-slide:before {
|
|
27
|
+
content: "\e6a7";
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.icon-
|
|
31
|
-
content: "\
|
|
30
|
+
.icon-center-horizontally:before {
|
|
31
|
+
content: "\e69f";
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.icon-
|
|
35
|
-
content: "\
|
|
34
|
+
.icon-star1:before {
|
|
35
|
+
content: "\e6a0";
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
.icon-
|
|
39
|
-
content: "\
|
|
38
|
+
.icon-drop-down:before {
|
|
39
|
+
content: "\e6a1";
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.icon-
|
|
43
|
-
content: "\
|
|
42
|
+
.icon-quote:before {
|
|
43
|
+
content: "\e6a2";
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.icon-
|
|
47
|
-
content: "\
|
|
46
|
+
.icon-image:before {
|
|
47
|
+
content: "\e6a3";
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.icon-
|
|
51
|
-
content: "\
|
|
50
|
+
.icon-choose-column:before {
|
|
51
|
+
content: "\e6a4";
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.icon-check-mark:before {
|
|
55
|
-
content: "\
|
|
55
|
+
content: "\e6a5";
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
.icon-
|
|
59
|
-
content: "\
|
|
58
|
+
.icon-quote-left:before {
|
|
59
|
+
content: "\e68a";
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.icon-
|
|
63
|
-
content: "\
|
|
62
|
+
.icon-star2:before {
|
|
63
|
+
content: "\e68b";
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.icon-
|
|
67
|
-
content: "\
|
|
66
|
+
.icon-code:before {
|
|
67
|
+
content: "\e68c";
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.icon-
|
|
71
|
-
content: "\
|
|
70
|
+
.icon-italic:before {
|
|
71
|
+
content: "\e68d";
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.icon-
|
|
75
|
-
content: "\
|
|
74
|
+
.icon-ellipsis-v:before {
|
|
75
|
+
content: "\e68e";
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.icon-
|
|
79
|
-
content: "\
|
|
78
|
+
.icon-column:before {
|
|
79
|
+
content: "\e68f";
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.icon-
|
|
83
|
-
content: "\
|
|
82
|
+
.icon-code-block:before {
|
|
83
|
+
content: "\e690";
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.icon-
|
|
87
|
-
content: "\
|
|
86
|
+
.icon-align-right:before {
|
|
87
|
+
content: "\e691";
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.icon-
|
|
91
|
-
content: "\
|
|
90
|
+
.icon-description:before {
|
|
91
|
+
content: "\e692";
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.icon-
|
|
95
|
-
content: "\
|
|
94
|
+
.icon-use-help:before {
|
|
95
|
+
content: "\e693";
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.icon-
|
|
99
|
-
content: "\
|
|
98
|
+
.icon-unlink:before {
|
|
99
|
+
content: "\e694";
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.icon-
|
|
103
|
-
content: "\
|
|
102
|
+
.icon-rename:before {
|
|
103
|
+
content: "\e695";
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.icon-
|
|
107
|
-
content: "\
|
|
106
|
+
.icon-caret-up:before {
|
|
107
|
+
content: "\e696";
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.icon-
|
|
111
|
-
content: "\
|
|
110
|
+
.icon-more:before {
|
|
111
|
+
content: "\e697";
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.icon-
|
|
115
|
-
content: "\
|
|
114
|
+
.icon-check-circle:before {
|
|
115
|
+
content: "\e698";
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.icon-
|
|
119
|
-
content: "\
|
|
118
|
+
.icon-close:before {
|
|
119
|
+
content: "\e699";
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.icon-
|
|
123
|
-
content: "\
|
|
122
|
+
.icon-file:before {
|
|
123
|
+
content: "\e69a";
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.icon-
|
|
127
|
-
content: "\
|
|
126
|
+
.icon-list-ul:before {
|
|
127
|
+
content: "\e69b";
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.icon-
|
|
131
|
-
content: "\
|
|
130
|
+
.icon-exclamation-circle:before {
|
|
131
|
+
content: "\e69c";
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
.icon-
|
|
135
|
-
content: "\
|
|
134
|
+
.icon-bold:before {
|
|
135
|
+
content: "\e69d";
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
.icon-
|
|
139
|
-
content: "\
|
|
138
|
+
.icon-exclamation-triangle:before {
|
|
139
|
+
content: "\e69e";
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.icon-
|
|
143
|
-
content: "\
|
|
142
|
+
.icon-underline:before {
|
|
143
|
+
content: "\e677";
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.icon-
|
|
147
|
-
content: "\
|
|
146
|
+
.icon-delete:before {
|
|
147
|
+
content: "\e679";
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.icon-user:before {
|
|
151
|
+
content: "\e67a";
|
|
148
152
|
}
|
|
149
153
|
|
|
150
154
|
.icon-row:before {
|
|
151
|
-
content: "\
|
|
155
|
+
content: "\e67b";
|
|
152
156
|
}
|
|
153
157
|
|
|
154
|
-
.icon-
|
|
155
|
-
content: "\
|
|
158
|
+
.icon-link:before {
|
|
159
|
+
content: "\e67c";
|
|
156
160
|
}
|
|
157
161
|
|
|
158
|
-
.icon-
|
|
159
|
-
content: "\
|
|
162
|
+
.icon-left-alignment:before {
|
|
163
|
+
content: "\e67d";
|
|
160
164
|
}
|
|
161
165
|
|
|
162
|
-
.icon-
|
|
163
|
-
content: "\
|
|
166
|
+
.icon-text-style:before {
|
|
167
|
+
content: "\e67e";
|
|
164
168
|
}
|
|
165
169
|
|
|
166
|
-
.icon-
|
|
167
|
-
content: "\
|
|
170
|
+
.icon-table:before {
|
|
171
|
+
content: "\e680";
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.icon-check-square:before {
|
|
175
|
+
content: "\e681";
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.icon-delete-table:before {
|
|
179
|
+
content: "\e682";
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.icon-fullscreen:before {
|
|
183
|
+
content: "\e685";
|
|
168
184
|
}
|
|
169
185
|
|
|
170
186
|
.icon-list-ol:before {
|
|
171
|
-
content: "\
|
|
187
|
+
content: "\e686";
|
|
172
188
|
}
|
|
173
189
|
|
|
174
|
-
.icon-
|
|
175
|
-
content: "\
|
|
190
|
+
.icon-formula:before {
|
|
191
|
+
content: "\e687";
|
|
176
192
|
}
|
|
177
193
|
|
|
178
|
-
.icon-
|
|
179
|
-
content: "\
|
|
194
|
+
.icon-eye-slash:before {
|
|
195
|
+
content: "\e688";
|
|
180
196
|
}
|
|
181
197
|
|
|
182
|
-
.icon-
|
|
183
|
-
content: "\
|
|
198
|
+
.icon-clear-format:before {
|
|
199
|
+
content: "\e689";
|
|
184
200
|
}
|
|
185
201
|
|
|
186
|
-
.icon-
|
|
187
|
-
content: "\
|
|
202
|
+
.icon-outline:before {
|
|
203
|
+
content: "\e629";
|
|
188
204
|
}
|
|
189
205
|
|
|
190
|
-
.icon-
|
|
191
|
-
content: "\
|
|
206
|
+
.icon-x:before {
|
|
207
|
+
content: "\e683";
|
|
192
208
|
}
|
|
193
209
|
|
|
194
|
-
.icon-
|
|
195
|
-
content: "\
|
|
210
|
+
.icon-full-screen:before {
|
|
211
|
+
content: "\e684";
|
|
196
212
|
}
|
|
197
213
|
|
|
198
|
-
.icon-
|
|
199
|
-
content: "\
|
|
214
|
+
.icon-edit:before {
|
|
215
|
+
content: "\e64b";
|
|
200
216
|
}
|
|
201
217
|
|
|
202
|
-
.icon-
|
|
203
|
-
content: "\
|
|
218
|
+
.icon-angle-double-left:before {
|
|
219
|
+
content: "\e64d";
|
|
204
220
|
}
|
|
205
221
|
|
|
206
|
-
.icon-
|
|
207
|
-
content: "\
|
|
222
|
+
.icon-comment:before {
|
|
223
|
+
content: "\e64f";
|
|
208
224
|
}
|
|
209
225
|
|
|
210
|
-
.icon-
|
|
211
|
-
content: "\
|
|
226
|
+
.icon-enlarge:before {
|
|
227
|
+
content: "\e658";
|
|
212
228
|
}
|
|
213
229
|
|
|
214
|
-
.icon-
|
|
215
|
-
content: "\
|
|
230
|
+
.icon-bell:before {
|
|
231
|
+
content: "\e659";
|
|
216
232
|
}
|
|
217
233
|
|
|
218
|
-
.icon-
|
|
219
|
-
content: "\
|
|
234
|
+
.icon-magic:before {
|
|
235
|
+
content: "\e65a";
|
|
220
236
|
}
|
|
221
237
|
|
|
222
|
-
.icon-right:before {
|
|
223
|
-
content: "\
|
|
238
|
+
.icon-angle-double-right:before {
|
|
239
|
+
content: "\e65d";
|
|
224
240
|
}
|
|
225
241
|
|
|
226
|
-
.icon-
|
|
227
|
-
content: "\
|
|
242
|
+
.icon-pencil:before {
|
|
243
|
+
content: "\e65f";
|
|
228
244
|
}
|
|
229
245
|
|
|
230
|
-
.icon-
|
|
231
|
-
content: "\
|
|
246
|
+
.icon-plus-circle:before {
|
|
247
|
+
content: "\e664";
|
|
232
248
|
}
|
|
233
249
|
|
|
234
|
-
.icon-
|
|
235
|
-
content: "\
|
|
250
|
+
.icon-info-circle:before {
|
|
251
|
+
content: "\e66d";
|
|
236
252
|
}
|
|
237
253
|
|
|
238
|
-
.icon-
|
|
239
|
-
content: "\
|
|
254
|
+
.icon-left:before {
|
|
255
|
+
content: "\e66f";
|
|
240
256
|
}
|
|
241
257
|
|
|
242
|
-
.icon-
|
|
243
|
-
content: "\
|
|
258
|
+
.icon-plus-square:before {
|
|
259
|
+
content: "\e671";
|
|
244
260
|
}
|
|
245
261
|
|
|
246
|
-
.icon-
|
|
247
|
-
content: "\
|
|
262
|
+
.icon-shrink:before {
|
|
263
|
+
content: "\e672";
|
|
248
264
|
}
|
|
249
265
|
|
|
250
|
-
.icon-
|
|
251
|
-
content: "\
|
|
266
|
+
.icon-right:before {
|
|
267
|
+
content: "\e675";
|
|
252
268
|
}
|
|
253
269
|
|
|
254
|
-
.icon-
|
|
255
|
-
content: "\
|
|
270
|
+
.icon-eye:before {
|
|
271
|
+
content: "\e676";
|
|
256
272
|
}
|
|
257
273
|
|
|
258
|
-
.icon-
|
|
259
|
-
content: "\
|
|
274
|
+
.icon-times-circle:before {
|
|
275
|
+
content: "\e678";
|
|
260
276
|
}
|
|
261
277
|
|
|
262
278
|
.icon-users:before {
|
|
File without changes
|