@ckeditor/ckeditor5-track-changes 34.2.0 → 35.0.1
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/build/track-changes.js +1 -1
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +469 -0
- package/lang/translations/bg.po +397 -0
- package/lang/translations/bn.po +423 -0
- package/lang/translations/ca.po +397 -0
- package/lang/translations/cs.po +32 -32
- package/lang/translations/da.po +34 -34
- package/lang/translations/de.po +5 -5
- package/lang/translations/el.po +3 -3
- package/lang/translations/en-au.po +3 -3
- package/lang/translations/es.po +50 -50
- package/lang/translations/et.po +100 -100
- package/lang/translations/fi.po +397 -0
- package/lang/translations/fr.po +10 -10
- package/lang/translations/gl.po +3 -3
- package/lang/translations/he.po +433 -0
- package/lang/translations/hi.po +14 -14
- package/lang/translations/hr.po +4 -4
- package/lang/translations/hu.po +397 -0
- package/lang/translations/id.po +77 -77
- package/lang/translations/it.po +4 -4
- package/lang/translations/ja.po +379 -0
- package/lang/translations/ko.po +379 -0
- package/lang/translations/lt.po +433 -0
- package/lang/translations/lv.po +77 -77
- package/lang/translations/ms.po +379 -0
- package/lang/translations/nl.po +32 -32
- package/lang/translations/no.po +397 -0
- package/lang/translations/pl.po +18 -18
- package/lang/translations/pt-br.po +4 -4
- package/lang/translations/pt.po +415 -0
- package/lang/translations/ro.po +415 -0
- package/lang/translations/ru.po +435 -0
- package/lang/translations/sk.po +5 -5
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +55 -55
- package/lang/translations/sv.po +397 -0
- package/lang/translations/th.po +379 -0
- package/lang/translations/tr.po +14 -14
- package/lang/translations/uk.po +433 -0
- package/lang/translations/vi.po +379 -0
- package/lang/translations/zh-cn.po +2 -2
- package/lang/translations/zh.po +66 -66
- package/package.json +5 -4
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +23 -0
- package/src/integrations/table.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/getrangesofblockgroups.js +1 -1
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
package/lang/translations/zh.po
CHANGED
|
@@ -22,7 +22,7 @@ msgstr "*更改成:*%0"
|
|
|
22
22
|
|
|
23
23
|
msgctxt "A suggestion for changing a content of a widget."
|
|
24
24
|
msgid "*Change %0 content*"
|
|
25
|
-
msgstr ""
|
|
25
|
+
msgstr "*變更 %0 內容*"
|
|
26
26
|
|
|
27
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
28
28
|
msgid "*Check item*"
|
|
@@ -62,7 +62,7 @@ msgstr "*移除格式:*%0"
|
|
|
62
62
|
|
|
63
63
|
msgctxt "A suggestion for removing the highlight."
|
|
64
64
|
msgid "*Remove highlight*"
|
|
65
|
-
msgstr ""
|
|
65
|
+
msgstr "*刪除亮顯*"
|
|
66
66
|
|
|
67
67
|
msgctxt "A suggestion for removing image text alternative."
|
|
68
68
|
msgid "*Remove image text alternative*"
|
|
@@ -106,274 +106,274 @@ msgstr "*設定文字背景顏色:*%0"
|
|
|
106
106
|
|
|
107
107
|
msgctxt "A suggestion for setting the font color to %0."
|
|
108
108
|
msgid "*Set font color:* %0"
|
|
109
|
-
msgstr ""
|
|
109
|
+
msgstr "*設定字型顏色:* %0"
|
|
110
110
|
|
|
111
111
|
msgctxt "A suggestion for setting the font family to %0."
|
|
112
112
|
msgid "*Set font family:* %0"
|
|
113
|
-
msgstr ""
|
|
113
|
+
msgstr "*設定字型家族:*%0"
|
|
114
114
|
|
|
115
115
|
msgctxt "A suggestion for setting the font size to %0."
|
|
116
116
|
msgid "*Set font size:* %0"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "*設定字型大小:*%0"
|
|
118
118
|
|
|
119
119
|
msgctxt "A suggestion for highlighting text."
|
|
120
120
|
msgid "*Set highlight:* %0"
|
|
121
|
-
msgstr ""
|
|
121
|
+
msgstr "*設定亮顯:*%0"
|
|
122
122
|
|
|
123
123
|
msgctxt "A suggestion for setting image text alternative to %0."
|
|
124
124
|
msgid "*Set image text alternative:* %0"
|
|
125
|
-
msgstr ""
|
|
125
|
+
msgstr "*設定影像替代文字:*%0"
|
|
126
126
|
|
|
127
127
|
msgctxt "A suggestion for setting the image width to %0."
|
|
128
128
|
msgid "*Set image width:* %0"
|
|
129
|
-
msgstr ""
|
|
129
|
+
msgstr "*設定影像寬度:*%0"
|
|
130
130
|
|
|
131
131
|
msgctxt "A suggestion for setting the link URL."
|
|
132
132
|
msgid "*Set link:* %0"
|
|
133
|
-
msgstr ""
|
|
133
|
+
msgstr "*設定連結:*%0"
|
|
134
134
|
|
|
135
135
|
msgctxt "A suggestion for splitting cells horizontally."
|
|
136
136
|
msgid "*Split cell:* horizontally"
|
|
137
|
-
msgstr ""
|
|
137
|
+
msgstr "*分割儲存格:* 水平"
|
|
138
138
|
|
|
139
139
|
msgctxt "A suggestion for splitting cells vertically."
|
|
140
140
|
msgid "*Split cell:* vertically"
|
|
141
|
-
msgstr ""
|
|
141
|
+
msgstr "*分割儲存格:* 垂直"
|
|
142
142
|
|
|
143
143
|
msgctxt "A suggestion for splitting the item."
|
|
144
144
|
msgid "*Split:* %0"
|
|
145
|
-
msgstr ""
|
|
145
|
+
msgstr "*分割:*%0"
|
|
146
146
|
|
|
147
147
|
msgctxt "A suggestion for unchecking a to-do list item."
|
|
148
148
|
msgid "*Uncheck item*"
|
|
149
|
-
msgstr ""
|
|
149
|
+
msgstr "*取消勾選項目*"
|
|
150
150
|
|
|
151
151
|
msgctxt "The label for the button which accepts all selected suggestions."
|
|
152
152
|
msgid "Accept all selected suggestions"
|
|
153
|
-
msgstr ""
|
|
153
|
+
msgstr "接受所有已選取的建議"
|
|
154
154
|
|
|
155
155
|
msgctxt "The label for the button which accepts all suggestions."
|
|
156
156
|
msgid "Accept all suggestions"
|
|
157
|
-
msgstr ""
|
|
157
|
+
msgstr "接受所有建議"
|
|
158
158
|
|
|
159
159
|
msgctxt "The label for the accept suggestion button."
|
|
160
160
|
msgid "Accept suggestion"
|
|
161
|
-
msgstr ""
|
|
161
|
+
msgstr "接受建議"
|
|
162
162
|
|
|
163
163
|
msgctxt "The label for the button which discards all selected suggestions."
|
|
164
164
|
msgid "Discard all selected suggestions"
|
|
165
|
-
msgstr ""
|
|
165
|
+
msgstr "捨棄所有選取的建議"
|
|
166
166
|
|
|
167
167
|
msgctxt "The label for the button which discards all suggestions."
|
|
168
168
|
msgid "Discard all suggestions"
|
|
169
|
-
msgstr ""
|
|
169
|
+
msgstr "捨棄所有建議"
|
|
170
170
|
|
|
171
171
|
msgctxt "The label for the discard suggestion button."
|
|
172
172
|
msgid "Discard suggestion"
|
|
173
|
-
msgstr ""
|
|
173
|
+
msgstr "捨棄建議"
|
|
174
174
|
|
|
175
175
|
msgctxt "The block quote element name displayed in the suggestion."
|
|
176
176
|
msgid "ELEMENT_BLOCK_QUOTE"
|
|
177
|
-
msgstr ""
|
|
177
|
+
msgstr "區塊引述"
|
|
178
178
|
|
|
179
179
|
msgctxt "The bulleted list element name displayed in the suggestion."
|
|
180
180
|
msgid "ELEMENT_BULLETED_LIST"
|
|
181
|
-
msgstr ""
|
|
181
|
+
msgstr "項目符號清單"
|
|
182
182
|
|
|
183
183
|
msgctxt "The caption element name displayed in the suggestion."
|
|
184
184
|
msgid "ELEMENT_CAPTION"
|
|
185
|
-
msgstr ""
|
|
185
|
+
msgstr "標號"
|
|
186
186
|
|
|
187
187
|
msgctxt "The code block element name displayed in the suggestion."
|
|
188
188
|
msgid "ELEMENT_CODE_BLOCK"
|
|
189
189
|
msgid_plural "%0 code blocks"
|
|
190
|
-
msgstr[0] ""
|
|
190
|
+
msgstr[0] "代碼區塊"
|
|
191
191
|
|
|
192
192
|
msgctxt "The heading element name displayed in the suggestion."
|
|
193
193
|
msgid "ELEMENT_HEADING"
|
|
194
194
|
msgid_plural "%0 headings (level %1)"
|
|
195
|
-
msgstr[0] ""
|
|
195
|
+
msgstr[0] "標題(層級 %1)"
|
|
196
196
|
|
|
197
197
|
msgctxt "The heading element name displayed in the suggestion with a custom title."
|
|
198
198
|
msgid "ELEMENT_HEADING_CUSTOM"
|
|
199
199
|
msgid_plural "%0 headings (%1)"
|
|
200
|
-
msgstr[0] ""
|
|
200
|
+
msgstr[0] "標題 (%1)"
|
|
201
201
|
|
|
202
202
|
msgctxt "The horizontal line element name displayed in the suggestion."
|
|
203
203
|
msgid "ELEMENT_HORIZONTAL_LINE"
|
|
204
204
|
msgid_plural "%0 horizontal lines"
|
|
205
|
-
msgstr[0] ""
|
|
205
|
+
msgstr[0] "水平線"
|
|
206
206
|
|
|
207
207
|
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
208
208
|
msgid "ELEMENT_HTML_EMBED"
|
|
209
209
|
msgid_plural "%0 HTML embeds"
|
|
210
|
-
msgstr[0] ""
|
|
210
|
+
msgstr[0] "HTML 內嵌"
|
|
211
211
|
|
|
212
212
|
msgctxt "The image element name displayed in the suggestion."
|
|
213
213
|
msgid "ELEMENT_IMAGE"
|
|
214
214
|
msgid_plural "%0 images"
|
|
215
|
-
msgstr[0] ""
|
|
215
|
+
msgstr[0] "影像"
|
|
216
216
|
|
|
217
217
|
msgctxt "The inline image element name displayed in the suggestion."
|
|
218
218
|
msgid "ELEMENT_INLINE_IMAGE"
|
|
219
219
|
msgid_plural "%0 images"
|
|
220
|
-
msgstr[0] ""
|
|
220
|
+
msgstr[0] "影像"
|
|
221
221
|
|
|
222
222
|
msgctxt "The line break element name displayed in the suggestion."
|
|
223
223
|
msgid "ELEMENT_LINE_BREAK"
|
|
224
224
|
msgid_plural "%0 line breaks"
|
|
225
|
-
msgstr[0] ""
|
|
225
|
+
msgstr[0] "分行符號"
|
|
226
226
|
|
|
227
227
|
msgctxt "The list item element name displayed in the suggestion."
|
|
228
228
|
msgid "ELEMENT_LIST_ITEM"
|
|
229
229
|
msgid_plural "%0 list items"
|
|
230
|
-
msgstr[0] ""
|
|
230
|
+
msgstr[0] "清單項目"
|
|
231
231
|
|
|
232
232
|
msgctxt "The media element name displayed in the suggestion."
|
|
233
233
|
msgid "ELEMENT_MEDIA"
|
|
234
234
|
msgid_plural "%0 media items"
|
|
235
|
-
msgstr[0] ""
|
|
235
|
+
msgstr[0] "媒體項目"
|
|
236
236
|
|
|
237
237
|
msgctxt "The numbered list element name displayed in the suggestion."
|
|
238
238
|
msgid "ELEMENT_NUMBERED_LIST"
|
|
239
|
-
msgstr ""
|
|
239
|
+
msgstr "編號清單"
|
|
240
240
|
|
|
241
241
|
msgctxt "The page break element name displayed in the suggestion."
|
|
242
242
|
msgid "ELEMENT_PAGE_BREAK"
|
|
243
243
|
msgid_plural "%0 page breaks"
|
|
244
|
-
msgstr[0] ""
|
|
244
|
+
msgstr[0] "分頁符號"
|
|
245
245
|
|
|
246
246
|
msgctxt "The paragraph element name displayed in the suggestion."
|
|
247
247
|
msgid "ELEMENT_PARAGRAPH"
|
|
248
248
|
msgid_plural "%0 paragraphs"
|
|
249
|
-
msgstr[0] ""
|
|
249
|
+
msgstr[0] "段落"
|
|
250
250
|
|
|
251
251
|
msgctxt "The space element name displayed in the suggestion."
|
|
252
252
|
msgid "ELEMENT_SPACE"
|
|
253
253
|
msgid_plural "%0 spaces"
|
|
254
|
-
msgstr[0] ""
|
|
254
|
+
msgstr[0] "間距"
|
|
255
255
|
|
|
256
256
|
msgctxt "The table element name displayed in the suggestion."
|
|
257
257
|
msgid "ELEMENT_TABLE"
|
|
258
258
|
msgid_plural "%0 tables"
|
|
259
|
-
msgstr[0] ""
|
|
259
|
+
msgstr[0] "表格"
|
|
260
260
|
|
|
261
261
|
msgctxt "The table column element name displayed in the suggestion."
|
|
262
262
|
msgid "ELEMENT_TABLE_COLUMN"
|
|
263
263
|
msgid_plural "%0 table columns"
|
|
264
|
-
msgstr[0] ""
|
|
264
|
+
msgstr[0] "表格行"
|
|
265
265
|
|
|
266
266
|
msgctxt "The table column with text element name displayed in the suggestion."
|
|
267
267
|
msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
|
|
268
268
|
msgid_plural "%0 table columns *with text* %1"
|
|
269
|
-
msgstr[0] ""
|
|
269
|
+
msgstr[0] "表格行*帶文字* %1"
|
|
270
270
|
|
|
271
271
|
msgctxt "The table row element name displayed in the suggestion."
|
|
272
272
|
msgid "ELEMENT_TABLE_ROW"
|
|
273
273
|
msgid_plural "%0 table rows"
|
|
274
|
-
msgstr[0] ""
|
|
274
|
+
msgstr[0] "表格列"
|
|
275
275
|
|
|
276
276
|
msgctxt "The table row with text element name displayed in the suggestion."
|
|
277
277
|
msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
|
|
278
278
|
msgid_plural "%0 table rows *with text* %1"
|
|
279
|
-
msgstr[0] ""
|
|
279
|
+
msgstr[0] "表格列*帶文字* %1"
|
|
280
280
|
|
|
281
281
|
msgctxt "The table with text element name displayed in the suggestion."
|
|
282
282
|
msgid "ELEMENT_TABLE_WITH_TEXT"
|
|
283
|
-
msgstr ""
|
|
283
|
+
msgstr "表格*帶文字* %0"
|
|
284
284
|
|
|
285
285
|
msgctxt "The title element name displayed in the suggestion."
|
|
286
286
|
msgid "ELEMENT_TITLE"
|
|
287
|
-
msgstr ""
|
|
287
|
+
msgstr "大標題"
|
|
288
288
|
|
|
289
289
|
msgctxt "The to-do list element name displayed in the suggestion."
|
|
290
290
|
msgid "ELEMENT_TODO_LIST"
|
|
291
|
-
msgstr ""
|
|
291
|
+
msgstr "待辦事項清單"
|
|
292
292
|
|
|
293
293
|
msgctxt "The align to center format name displayed in a format suggestion."
|
|
294
294
|
msgid "FORMAT_ALIGN_TO_CENTER"
|
|
295
|
-
msgstr ""
|
|
295
|
+
msgstr "置中"
|
|
296
296
|
|
|
297
297
|
msgctxt "The align to left format name displayed in a format suggestion."
|
|
298
298
|
msgid "FORMAT_ALIGN_TO_LEFT"
|
|
299
|
-
msgstr ""
|
|
299
|
+
msgstr "靠左對齊"
|
|
300
300
|
|
|
301
301
|
msgctxt "The align to right format name displayed in a format suggestion."
|
|
302
302
|
msgid "FORMAT_ALIGN_TO_RIGHT"
|
|
303
|
-
msgstr ""
|
|
303
|
+
msgstr "靠右對齊"
|
|
304
304
|
|
|
305
305
|
msgctxt "The bold format name displayed in a format suggestion."
|
|
306
306
|
msgid "FORMAT_BOLD"
|
|
307
|
-
msgstr ""
|
|
307
|
+
msgstr "粗體"
|
|
308
308
|
|
|
309
309
|
msgctxt "The code format name displayed in a format suggestion."
|
|
310
310
|
msgid "FORMAT_CODE"
|
|
311
|
-
msgstr ""
|
|
311
|
+
msgstr "代碼"
|
|
312
312
|
|
|
313
313
|
msgctxt "The header column format name displayed in a format suggestion."
|
|
314
314
|
msgid "FORMAT_HEADER_COLUMN"
|
|
315
|
-
msgstr ""
|
|
315
|
+
msgstr "標題行"
|
|
316
316
|
|
|
317
317
|
msgctxt "The header row format name displayed in a format suggestion."
|
|
318
318
|
msgid "FORMAT_HEADER_ROW"
|
|
319
|
-
msgstr ""
|
|
319
|
+
msgstr "標題列"
|
|
320
320
|
|
|
321
321
|
msgctxt "The highlight format name displayed in a format suggestion."
|
|
322
322
|
msgid "FORMAT_HIGHLIGHT"
|
|
323
|
-
msgstr ""
|
|
323
|
+
msgstr "亮顯"
|
|
324
324
|
|
|
325
325
|
msgctxt "The italic format name displayed in a format suggestion."
|
|
326
326
|
msgid "FORMAT_ITALIC"
|
|
327
|
-
msgstr ""
|
|
327
|
+
msgstr "斜體"
|
|
328
328
|
|
|
329
329
|
msgctxt "The justify text format name displayed in a format suggestion."
|
|
330
330
|
msgid "FORMAT_JUSTIFY_TEXT"
|
|
331
|
-
msgstr ""
|
|
331
|
+
msgstr "左右對齊"
|
|
332
332
|
|
|
333
333
|
msgctxt "The regular column format name displayed in a format suggestion."
|
|
334
334
|
msgid "FORMAT_REGULAR_COLUMN"
|
|
335
|
-
msgstr ""
|
|
335
|
+
msgstr "標準行"
|
|
336
336
|
|
|
337
337
|
msgctxt "The regular row format name displayed in a format suggestion."
|
|
338
338
|
msgid "FORMAT_REGULAR_ROW"
|
|
339
|
-
msgstr ""
|
|
339
|
+
msgstr "標準列"
|
|
340
340
|
|
|
341
341
|
msgctxt "The label for area disabled in restricted editing area in a format suggestion."
|
|
342
342
|
msgid "FORMAT_RESTRICTED_DISABLED"
|
|
343
|
-
msgstr ""
|
|
343
|
+
msgstr "*在受限編輯模式下禁用*"
|
|
344
344
|
|
|
345
345
|
msgctxt "The label for area enabled in restricted editing area in a format suggestion."
|
|
346
346
|
msgid "FORMAT_RESTRICTED_ENABLED"
|
|
347
|
-
msgstr ""
|
|
347
|
+
msgstr "*在受限編輯模式下啟用*"
|
|
348
348
|
|
|
349
349
|
msgctxt "The side image format name displayed in a format suggestion."
|
|
350
350
|
msgid "FORMAT_SIDE_IMAGE"
|
|
351
|
-
msgstr ""
|
|
351
|
+
msgstr "側邊影像"
|
|
352
352
|
|
|
353
353
|
msgctxt "The strikethrough format name displayed in a format suggestion."
|
|
354
354
|
msgid "FORMAT_STRIKETHROUGH"
|
|
355
|
-
msgstr ""
|
|
355
|
+
msgstr "刪除線"
|
|
356
356
|
|
|
357
357
|
msgctxt "The subscript format name displayed in a format suggestion."
|
|
358
358
|
msgid "FORMAT_SUBSCRIPT"
|
|
359
|
-
msgstr ""
|
|
359
|
+
msgstr "下標"
|
|
360
360
|
|
|
361
361
|
msgctxt "The superscript format name displayed in a format suggestion."
|
|
362
362
|
msgid "FORMAT_SUPERSCRIPT"
|
|
363
|
-
msgstr ""
|
|
363
|
+
msgstr "上標"
|
|
364
364
|
|
|
365
365
|
msgctxt "The underline format name displayed in a format suggestion."
|
|
366
366
|
msgid "FORMAT_UNDERLINE"
|
|
367
|
-
msgstr ""
|
|
367
|
+
msgstr "底線"
|
|
368
368
|
|
|
369
369
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
370
370
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
371
|
-
msgstr ""
|
|
371
|
+
msgstr "建議中未儲存的變更。"
|
|
372
372
|
|
|
373
373
|
msgctxt "A suggestion for replacing one text with another."
|
|
374
374
|
msgid "REPLACE_TEXT"
|
|
375
|
-
msgstr ""
|
|
375
|
+
msgstr "*取代:*%0 *變更為* %1"
|
|
376
376
|
|
|
377
377
|
msgctxt "The label for the dropdown containing some options related to track changes."
|
|
378
378
|
msgid "Track changes"
|
|
379
|
-
msgstr ""
|
|
379
|
+
msgstr "追蹤變更"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "35.0.1",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -27,8 +27,9 @@
|
|
|
27
27
|
],
|
|
28
28
|
"main": "src/index.js",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"ckeditor5": "^
|
|
31
|
-
"ckeditor5-collaboration": "^
|
|
32
|
-
"lodash-es": "^4.17.11"
|
|
30
|
+
"ckeditor5": "^35.0.1",
|
|
31
|
+
"ckeditor5-collaboration": "^35.0.1",
|
|
32
|
+
"lodash-es": "^4.17.11",
|
|
33
|
+
"@ckeditor/ckeditor5-style": "^35.0.1"
|
|
33
34
|
}
|
|
34
35
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe89f=['some','isInContent','_acceptSuggestionCommand','from','isEnabled','editor','execute','model','_suggestions','values','refresh'];(function(_0x3b6782,_0xe89fe6){const _0x527053=function(_0x23dc7c){while(--_0x23dc7c){_0x3b6782['push'](_0x3b6782['shift']());}};_0x527053(++_0xe89fe6);}(_0xe89f,0x15d));const _0x5270=function(_0x3b6782,_0xe89fe6){_0x3b6782=_0x3b6782-0x0;let _0x527053=_0xe89f[_0x3b6782];return _0x527053;};import{Command as _0x14377b}from'ckeditor5/src/core';import _0xeb1157 from'../utils/sortsuggestions';export default class R extends _0x14377b{constructor(_0x461e6a,_0x55c9b0,_0x3521eb){super(_0x461e6a),this[_0x5270('0x5')]=_0x55c9b0,this[_0x5270('0x0')]=_0x3521eb,this[_0x5270('0x2')]();}['refresh'](){const _0x2857ef=this[_0x5270('0x5')];this[_0x5270('0x7')]=_0x2857ef['isEnabled']&&Array['from'](this['_suggestions'][_0x5270('0x1')]())[_0x5270('0x3')](_0x262dec=>_0x262dec[_0x5270('0x4')]);}[_0x5270('0x9')](){this[_0x5270('0x8')][_0x5270('0xa')]['change'](()=>{const _0x134cfc=_0xeb1157(Array[_0x5270('0x6')](this[_0x5270('0x0')]['values']()));for(const _0x3b3f4d of _0x134cfc)_0x3b3f4d[_0x5270('0x4')]&&this[_0x5270('0x5')]['execute'](_0x3b3f4d['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x473c=['execute','editor','from','selection','_selectedSuggestions','refresh','change','isEnabled','_acceptSuggestionCommand','model'];(function(_0x357581,_0x473cce){const _0x6cafe3=function(_0x5cc5fc){while(--_0x5cc5fc){_0x357581['push'](_0x357581['shift']());}};_0x6cafe3(++_0x473cce);}(_0x473c,0x72));const _0x6caf=function(_0x357581,_0x473cce){_0x357581=_0x357581-0x0;let _0x6cafe3=_0x473c[_0x357581];return _0x6cafe3;};import{Command as _0x4cb2e5}from'ckeditor5/src/core';import _0xc647de from'../utils/sortsuggestions';import _0x21f6e2 from'../utils/getselectedsuggestions';export default class j extends _0x4cb2e5{constructor(_0xd0b186,_0x1e9a67,_0x5b6fe8){super(_0xd0b186),this[_0x6caf('0x4')]=_0x1e9a67,this['_suggestions']=_0x5b6fe8,this[_0x6caf('0x0')]=new Set(),this[_0x6caf('0x1')]();}[_0x6caf('0x1')](){const _0x11e402=this[_0x6caf('0x4')],_0x2cb33f=this[_0x6caf('0x7')][_0x6caf('0x5')]['document'][_0x6caf('0x9')],_0x3c16e0=Array[_0x6caf('0x8')](this['_suggestions']['values']());this[_0x6caf('0x0')]=_0x21f6e2(_0x2cb33f,_0x3c16e0),this[_0x6caf('0x3')]=_0x11e402[_0x6caf('0x3')]&&!!this[_0x6caf('0x0')]['size'];}[_0x6caf('0x6')](){this[_0x6caf('0x7')]['model'][_0x6caf('0x2')](()=>{const _0x4c2e5e=_0xc647de(Array[_0x6caf('0x8')](this[_0x6caf('0x0')]));for(const _0x4f4b75 of _0x4c2e5e)this[_0x6caf('0x4')]['execute'](_0x4f4b75['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41f1=['track-changes-accept-suggestion-not-found','_suggestions','TrackChangesEditing','editor','acceptSuggestion','isEnabled','get','refresh'];(function(_0x400269,_0x41f1ab){const _0x32acaa=function(_0x1f31b0){while(--_0x1f31b0){_0x400269['push'](_0x400269['shift']());}};_0x32acaa(++_0x41f1ab);}(_0x41f1,0x74));const _0x32ac=function(_0x400269,_0x41f1ab){_0x400269=_0x400269-0x0;let _0x32acaa=_0x41f1[_0x400269];return _0x32acaa;};import{Command as _0x32666a}from'ckeditor5/src/core';import{CKEditorError as _0x2c28ef}from'ckeditor5/src/utils';export default class $ extends _0x32666a{constructor(_0x1dd577,_0x32e5cf){super(_0x1dd577),this[_0x32ac('0x5')]=_0x32e5cf,this[_0x32ac('0x3')]();}[_0x32ac('0x3')](){this[_0x32ac('0x1')]=!0x0;}['execute'](_0x49ee4d){const _0x547141=this[_0x32ac('0x5')][_0x32ac('0x2')](_0x49ee4d);if(!_0x547141)throw new _0x2c28ef(_0x32ac('0x4'),this);this[_0x32ac('0x7')]['plugins'][_0x32ac('0x2')](_0x32ac('0x6'))[_0x32ac('0x0')](_0x547141);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19c8=['_suggestions','model','isEnabled','from','change','some','execute','refresh','values','isInContent','editor','_discardSuggestionCommand'];(function(_0x462aa6,_0x19c8cf){const _0x1b2edb=function(_0x278f8b){while(--_0x278f8b){_0x462aa6['push'](_0x462aa6['shift']());}};_0x1b2edb(++_0x19c8cf);}(_0x19c8,0x18b));const _0x1b2e=function(_0x462aa6,_0x19c8cf){_0x462aa6=_0x462aa6-0x0;let _0x1b2edb=_0x19c8[_0x462aa6];return _0x1b2edb;};import{Command as _0x1c5f83}from'ckeditor5/src/core';export default class U extends _0x1c5f83{constructor(_0x3a2b73,_0x575429,_0x1154c){super(_0x3a2b73),this[_0x1b2e('0x0')]=_0x575429,this[_0x1b2e('0x1')]=_0x1154c,this['refresh']();}[_0x1b2e('0x8')](){const _0x535b5c=this[_0x1b2e('0x0')];this[_0x1b2e('0x3')]=_0x535b5c[_0x1b2e('0x3')]&&Array[_0x1b2e('0x4')](this['_suggestions'][_0x1b2e('0x9')]())[_0x1b2e('0x6')](_0x341055=>_0x341055[_0x1b2e('0xa')]);}[_0x1b2e('0x7')](){this[_0x1b2e('0xb')][_0x1b2e('0x2')][_0x1b2e('0x5')](()=>{for(const _0x159b3e of this[_0x1b2e('0x1')][_0x1b2e('0x9')]())_0x159b3e['isInContent']&&this['_discardSuggestionCommand'][_0x1b2e('0x7')](_0x159b3e['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1edc=['_suggestions','_discardSuggestionCommand','editor','selection','_selectedSuggestions','from','refresh','model','execute','change','values','isEnabled'];(function(_0x128abe,_0x1edc5e){const _0x69cea2=function(_0x1b1a8b){while(--_0x1b1a8b){_0x128abe['push'](_0x128abe['shift']());}};_0x69cea2(++_0x1edc5e);}(_0x1edc,0xb1));const _0x69ce=function(_0x128abe,_0x1edc5e){_0x128abe=_0x128abe-0x0;let _0x69cea2=_0x1edc[_0x128abe];return _0x69cea2;};import{Command as _0x2b1f3a}from'ckeditor5/src/core';import _0x1bc42c from'../utils/getselectedsuggestions';export default class x extends _0x2b1f3a{constructor(_0x568a60,_0x3e2518,_0x485a48){super(_0x568a60),this[_0x69ce('0x4')]=_0x3e2518,this[_0x69ce('0x3')]=_0x485a48,this[_0x69ce('0x7')]=new Set(),this[_0x69ce('0x9')]();}[_0x69ce('0x9')](){const _0x20f1ec=this[_0x69ce('0x4')],_0xa21b30=this[_0x69ce('0x5')][_0x69ce('0xa')]['document'][_0x69ce('0x6')],_0x2337d4=Array[_0x69ce('0x8')](this[_0x69ce('0x3')][_0x69ce('0x1')]());this['_selectedSuggestions']=_0x1bc42c(_0xa21b30,_0x2337d4),this[_0x69ce('0x2')]=_0x20f1ec[_0x69ce('0x2')]&&!!this[_0x69ce('0x7')]['size'];}[_0x69ce('0xb')](){this[_0x69ce('0x5')][_0x69ce('0xa')][_0x69ce('0x0')](()=>{for(const _0x221d2b of this[_0x69ce('0x7')])this['_discardSuggestionCommand']['execute'](_0x221d2b['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1020=['TrackChangesEditing','refresh','isEnabled','_suggestions','execute','get','track-changes-discard-suggestion-not-found','editor','discardSuggestion','plugins'];(function(_0x468d8c,_0x1020c0){const _0x44c70f=function(_0x52babb){while(--_0x52babb){_0x468d8c['push'](_0x468d8c['shift']());}};_0x44c70f(++_0x1020c0);}(_0x1020,0x18c));const _0x44c7=function(_0x468d8c,_0x1020c0){_0x468d8c=_0x468d8c-0x0;let _0x44c70f=_0x1020[_0x468d8c];return _0x44c70f;};import{Command as _0x414f67}from'ckeditor5/src/core';import{CKEditorError as _0x11aa8a}from'ckeditor5/src/utils';export default class N extends _0x414f67{constructor(_0x45fe6b,_0x58229e){super(_0x45fe6b),this[_0x44c7('0x7')]=_0x58229e,this[_0x44c7('0x5')]();}['refresh'](){this[_0x44c7('0x6')]=!0x0;}[_0x44c7('0x8')](_0x11db10){const _0x143c07=this[_0x44c7('0x7')][_0x44c7('0x9')](_0x11db10);if(!_0x143c07)throw new _0x11aa8a(_0x44c7('0x0'),this);this[_0x44c7('0x1')][_0x44c7('0x3')][_0x44c7('0x9')](_0x44c7('0x4'))[_0x44c7('0x2')](_0x143c07);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57d8=['refresh','_disableUnsupportedCommands','isEnabled','affectsData','commands','has','editor','TrackChangesCommand','value','_enabledCommands','execute','_enableCommands','clearForceDisabled'];(function(_0x336dc1,_0x57d81e){const _0x658c8f=function(_0x1ae107){while(--_0x1ae107){_0x336dc1['push'](_0x336dc1['shift']());}};_0x658c8f(++_0x57d81e);}(_0x57d8,0x13c));const _0x658c=function(_0x336dc1,_0x57d81e){_0x336dc1=_0x336dc1-0x0;let _0x658c8f=_0x57d8[_0x336dc1];return _0x658c8f;};import{Command as _0x3d3f2f}from'ckeditor5/src/core';export default class M extends _0x3d3f2f{constructor(_0x540d93,_0x584fe9){super(_0x540d93),this[_0x658c('0x5')]=_0x584fe9,this[_0x658c('0x4')]=!0x1,this[_0x658c('0x9')]();}[_0x658c('0x9')](){this[_0x658c('0xb')]=!0x0;}[_0x658c('0x6')](){this[_0x658c('0x4')]=!this[_0x658c('0x4')],this['value']?this[_0x658c('0xa')]():this['_enableCommands']();}[_0x658c('0xa')](){for(const _0x499a6b of this[_0x658c('0x2')][_0x658c('0x0')][_0x658c('0x0')]())_0x499a6b[_0x658c('0xc')]&&!this[_0x658c('0x5')][_0x658c('0x1')](_0x499a6b)&&_0x499a6b['forceDisabled'](_0x658c('0x3'));}[_0x658c('0x7')](){for(const _0x4ea576 of this[_0x658c('0x2')][_0x658c('0x0')][_0x658c('0x0')]())_0x4ea576[_0x658c('0xc')]&&!this[_0x658c('0x5')]['has'](_0x4ea576)&&_0x4ea576[_0x658c('0x8')](_0x658c('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x256d=['model','from','ltr','justify','change','locale','document','selection','FORMAT_ALIGN_TO_LEFT','FORMAT_ALIGN_TO_RIGHT','getSelectedBlocks','AlignmentEditing','left','center','alignment','editor','FORMAT_ALIGN_TO_CENTER','contentLanguageDirection','enableCommand','plugins','registerDescriptionCallback','*Format:*\x20%0','right','afterInit','has','schema','checkAttribute','value','filter','commandParams','_descriptionFactory','TrackChangesEditing'];(function(_0x53102c,_0x256dcc){const _0x1778eb=function(_0x4b0e72){while(--_0x4b0e72){_0x53102c['push'](_0x53102c['shift']());}};_0x1778eb(++_0x256dcc);}(_0x256d,0x1c1));const _0x1778=function(_0x53102c,_0x256dcc){_0x53102c=_0x53102c-0x0;let _0x1778eb=_0x256d[_0x53102c];return _0x1778eb;};import{Plugin as _0x52351f}from'ckeditor5/src/core';import{getTranslation as _0x289a4d}from'../utils/common-translations';export default class E extends _0x52351f{[_0x1778('0x16')](){const _0xf8ba44=this[_0x1778('0xe')],_0x49eff1=_0xf8ba44[_0x1778('0x4')];if(!_0xf8ba44[_0x1778('0x12')][_0x1778('0x17')](_0x1778('0xa')))return;const _0x1727b1=_0xf8ba44[_0x1778('0x12')]['get'](_0x1778('0x1e'));_0x1727b1[_0x1778('0x11')](_0x1778('0xd'),(_0x2068b5,_0xf1e223={})=>{let _0x544e5d=_0xf1e223['value'];_0xf1e223[_0x1778('0x1a')]||(_0x544e5d=_0x1778('0x1')===_0xf8ba44[_0x1778('0x4')][_0x1778('0x10')]?_0x1778('0xb'):_0x1778('0x15'));const _0x36974e=Array[_0x1778('0x0')](this['editor'][_0x1778('0x1f')][_0x1778('0x5')][_0x1778('0x6')][_0x1778('0x9')]())[_0x1778('0x1b')](_0x194978=>function(_0x206f30,_0x504f94,_0x5d9b43){const _0xb5e52=_0x206f30['getAttribute'](_0x1778('0xd'))||null;return _0x504f94[_0x1778('0x19')](_0x206f30,_0x1778('0xd'))&&_0x5d9b43!=_0xb5e52;}(_0x194978,this[_0x1778('0xe')][_0x1778('0x1f')][_0x1778('0x18')],_0x544e5d));_0xf8ba44[_0x1778('0x1f')][_0x1778('0x3')](()=>{for(const _0x14c9a0 of _0x36974e)_0x1727b1['markBlockFormat'](_0x14c9a0,{'commandName':'alignment','commandParams':[{'value':_0x544e5d}]});});}),_0x1727b1[_0x1778('0x1d')][_0x1778('0x13')](_0x17194b=>{const {data:_0x13d024}=_0x17194b;if(_0x13d024&&_0x1778('0xd')==_0x13d024['commandName']){const _0x596fbf=_0x13d024[_0x1778('0x1c')][0x0]['value'];return{'type':'format','content':_0x289a4d(_0x49eff1,_0x1778('0x14'),function(_0x28efd6){switch(_0x28efd6){case'left':return _0x289a4d(_0x49eff1,_0x1778('0x7'));case _0x1778('0x15'):return _0x289a4d(_0x49eff1,_0x1778('0x8'));case _0x1778('0xc'):return _0x289a4d(_0x49eff1,_0x1778('0xf'));case _0x1778('0x2'):return _0x289a4d(_0x49eff1,'FORMAT_JUSTIFY_TEXT');}}(_0x596fbf))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1232=['markInlineFormat','editor','FORMAT_STRIKETHROUGH','FORMAT_SUBSCRIPT','UnderlineEditing','locale','slice','italic','bold','enableCommand','has','change','*Remove\x20format:*\x20%0','FORMAT_UNDERLINE','underline','FORMAT_CODE','FORMAT_BOLD','registerDescriptionCallback','FORMAT_ITALIC','format','*Format:*\x20%0','superscript','selection','TrackChangesEditing','get','plugins','SubscriptEditing','strikethrough','afterInit','SuperscriptEditing','isCollapsed','value','toLowerCase','forceValue','model','commands','commandParams'];(function(_0x2221f9,_0x12327b){const _0x391fea=function(_0x4ca88c){while(--_0x4ca88c){_0x2221f9['push'](_0x2221f9['shift']());}};_0x391fea(++_0x12327b);}(_0x1232,0xf3));const _0x391f=function(_0x2221f9,_0x12327b){_0x2221f9=_0x2221f9-0x0;let _0x391fea=_0x1232[_0x2221f9];return _0x391fea;};import{Plugin as _0x4f04a4}from'ckeditor5/src/core';import{getTranslation as _0x2394d5}from'../utils/common-translations';import{getRangesWithAttribute as _0x4c622c}from'./utils';const Ft=['BoldEditing','ItalicEditing',_0x391f('0x14'),'CodeEditing','StrikethroughEditing',_0x391f('0x5'),_0x391f('0x8')];export default class O extends _0x4f04a4{[_0x391f('0x7')](){const _0x77cf93=this[_0x391f('0x11')],_0x277508=_0x77cf93[_0x391f('0xd')],_0xc454d3=_0x77cf93[_0x391f('0x4')][_0x391f('0x3')](_0x391f('0x2')),_0xf137e6=_0x77cf93[_0x391f('0x15')];for(const _0x76153d of Ft){if(!_0x77cf93['plugins'][_0x391f('0x1a')](_0x76153d))continue;const _0x820bf=_0x76153d[_0x391f('0x16')](0x0,-0x7)[_0x391f('0xb')](),_0x299e09=_0x77cf93[_0x391f('0xe')][_0x391f('0x3')](_0x820bf);_0xc454d3[_0x391f('0x19')](_0x820bf,(_0x17a4dc,_0x3ae679={})=>{const _0x5707cd=_0x277508['document'][_0x391f('0x1')];if(_0x5707cd[_0x391f('0x9')])return void _0x17a4dc(_0x3ae679);const _0x5caf49=void 0x0!==_0x3ae679[_0x391f('0xc')]?_0x3ae679[_0x391f('0xc')]:!_0x299e09[_0x391f('0xa')];_0x277508[_0x391f('0x1b')](()=>{const _0x3f4feb=Array['from'](_0x5707cd['getRanges']());for(const _0x3b731a of _0x3f4feb){const _0x3a6353=_0x5caf49?[_0x3b731a]:_0x4c622c(_0x820bf,_0x3b731a,_0x277508);for(const _0x4cd839 of _0x3a6353)_0xc454d3[_0x391f('0x10')](_0x4cd839,{'commandName':_0x820bf,'commandParams':[{'forceValue':_0x5caf49}]});}});});}function _0x5112b9(_0x396c87,_0x38dd10){_0xc454d3['_descriptionFactory'][_0x391f('0x21')](_0x1a4327=>{const {data:_0x34e0e6}=_0x1a4327;if(_0x34e0e6&&_0x34e0e6['commandName']===_0x396c87)return _0x34e0e6[_0x391f('0xf')][0x0][_0x391f('0xc')]?{'type':_0x391f('0x23'),'content':_0x2394d5(_0xf137e6,_0x391f('0x24'),_0x38dd10)}:{'type':'format','content':_0x2394d5(_0xf137e6,_0x391f('0x1c'),_0x38dd10)};});}_0x5112b9(_0x391f('0x18'),_0x2394d5(_0xf137e6,_0x391f('0x20'))),_0x5112b9(_0x391f('0x17'),_0x2394d5(_0xf137e6,_0x391f('0x22'))),_0x5112b9(_0x391f('0x1e'),_0x2394d5(_0xf137e6,_0x391f('0x1d'))),_0x5112b9('code',_0x2394d5(_0xf137e6,_0x391f('0x1f'))),_0x5112b9(_0x391f('0x6'),_0x2394d5(_0xf137e6,_0x391f('0x12'))),_0x5112b9('subscript',_0x2394d5(_0xf137e6,_0x391f('0x13'))),_0x5112b9(_0x391f('0x0'),_0x2394d5(_0xf137e6,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x454f=['TrackChangesEditing','*Remove\x20format:*\x20%0','forceValue','ELEMENT_BLOCK_QUOTE','commandParams','getSelectedBlocks','get','format','blockQuote','plugins','commandName','model','registerDescriptionCallback','editor','$root','value','enableCommand','change','filter','parent','*Format:*\x20%0','checkChild','markBlockFormat'];(function(_0x5817b1,_0x454fb1){const _0x332585=function(_0x1cbcbb){while(--_0x1cbcbb){_0x5817b1['push'](_0x5817b1['shift']());}};_0x332585(++_0x454fb1);}(_0x454f,0x1d6));const _0x3325=function(_0x5817b1,_0x454fb1){_0x5817b1=_0x5817b1-0x0;let _0x332585=_0x454f[_0x5817b1];return _0x332585;};import{Plugin as _0x3791d5}from'ckeditor5/src/core';import{getTranslation as _0x5c867a}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2b1ca6}from'../utils/getrangesofblockgroups';export default class P extends _0x3791d5{['afterInit'](){const _0x3f1158=this[_0x3325('0x3')],_0x5b5b54=_0x3f1158['locale'];if(!_0x3f1158[_0x3325('0x16')]['has']('BlockQuoteEditing'))return;const _0x284262=_0x3f1158['plugins'][_0x3325('0x13')](_0x3325('0xd')),_0xa01c51=this['editor']['commands'][_0x3325('0x13')](_0x3325('0x15'));_0x284262[_0x3325('0x6')](_0x3325('0x15'),(_0x28bcdf,_0x32d3ab={})=>{const _0x24a630=this['editor'][_0x3325('0x1')]['document']['selection'],_0x2db696=_0x32d3ab&&void 0x0!==_0x32d3ab[_0x3325('0xf')]?_0x32d3ab[_0x3325('0xf')]:!_0xa01c51[_0x3325('0x5')];let _0x151132=[];if(_0x2db696){const _0x59c2a8=Array['from'](_0x24a630['getSelectedBlocks']())[_0x3325('0x8')](_0x5506ae=>to(_0x5506ae)||function(_0x104034,_0x1b00a9){const _0x513d7d=_0x1b00a9['checkChild'](_0x104034[_0x3325('0x9')],_0x3325('0x15')),_0x15f3ef=_0x1b00a9[_0x3325('0xb')]([_0x3325('0x4'),_0x3325('0x15')],_0x104034);return _0x513d7d&&_0x15f3ef;}(_0x5506ae,this[_0x3325('0x3')][_0x3325('0x1')]['schema']));_0x151132=_0x2b1ca6(_0x59c2a8,_0x3f1158[_0x3325('0x1')]);}else{const _0x1ee0f2=Array['from'](_0x24a630[_0x3325('0x12')]())[_0x3325('0x8')](_0xf34871=>to(_0xf34871));_0x151132=_0x2b1ca6(_0x1ee0f2,_0x3f1158['model']);}_0x3f1158['model'][_0x3325('0x7')](()=>{for(const _0x28c5ca of _0x151132)_0x284262[_0x3325('0xc')](_0x28c5ca,{'commandName':_0x3325('0x15'),'commandParams':[{'forceValue':_0x2db696}]});});}),_0x284262['_descriptionFactory'][_0x3325('0x2')](_0x4a9e13=>{const {data:_0x2fdea1}=_0x4a9e13;if(_0x2fdea1&&'blockQuote'==_0x2fdea1[_0x3325('0x0')]){const _0x3523aa=_0x5c867a(_0x5b5b54,_0x3325('0x10'));return _0x2fdea1[_0x3325('0x11')][0x0][_0x3325('0xf')]?{'type':_0x3325('0x14'),'content':_0x5c867a(_0x5b5b54,_0x3325('0xa'),_0x3523aa)}:{'type':_0x3325('0x14'),'content':_0x5c867a(_0x5b5b54,_0x3325('0xe'),_0x3523aa)};}});}}function to(_0x7933a6){return _0x3325('0x15')==_0x7933a6[_0x3325('0x9')]['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fe8=['plugins','afterInit','commands','editor','get','enableCommand','TrackChangesEditing'];(function(_0x16bc69,_0x2fe82d){const _0x4cef02=function(_0xbbb865){while(--_0xbbb865){_0x16bc69['push'](_0x16bc69['shift']());}};_0x4cef02(++_0x2fe82d);}(_0x2fe8,0xc3));const _0x4cef=function(_0x16bc69,_0x2fe82d){_0x16bc69=_0x16bc69-0x0;let _0x4cef02=_0x2fe8[_0x16bc69];return _0x4cef02;};import{Plugin as _0x19af3c}from'ckeditor5/src/core';export default class G extends _0x19af3c{[_0x4cef('0x2')](){const _0xcc2454=this[_0x4cef('0x4')];_0xcc2454[_0x4cef('0x3')][_0x4cef('0x5')]('ckbox')&&_0xcc2454[_0x4cef('0x1')]['get'](_0x4cef('0x0'))[_0x4cef('0x6')]('ckbox');}}
|