@ckeditor/ckeditor5-track-changes 33.0.0 → 34.2.0
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/LICENSE.md +2 -2
- package/README.md +5 -2
- package/build/track-changes.js +2 -2
- package/build/translations/az.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/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -1
- package/build/translations/lv.js +1 -0
- package/build/translations/nl.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- 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/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +2 -0
- package/lang/translations/az.po +397 -0
- package/lang/translations/cs.po +40 -28
- package/lang/translations/da.po +10 -0
- package/lang/translations/de.po +10 -0
- package/lang/translations/el.po +10 -0
- package/lang/translations/en-au.po +15 -5
- package/lang/translations/en.po +10 -0
- package/lang/translations/es.po +29 -1
- package/lang/translations/et.po +10 -0
- package/lang/translations/fr.po +29 -1
- package/lang/translations/gl.po +13 -3
- package/lang/translations/hi.po +10 -0
- package/lang/translations/hr.po +24 -13
- package/lang/translations/id.po +379 -0
- package/lang/translations/it.po +29 -1
- package/lang/translations/lv.po +415 -0
- package/lang/translations/nl.po +19 -9
- package/lang/translations/pl.po +12 -0
- package/lang/translations/pt-br.po +29 -1
- package/lang/translations/sk.po +69 -57
- package/lang/translations/sr-latn.po +11 -0
- package/lang/translations/sr.po +11 -0
- package/lang/translations/tk.po +10 -0
- package/lang/translations/tr.po +10 -0
- package/lang/translations/zh-cn.po +13 -4
- package/lang/translations/zh.po +9 -0
- package/package.json +3 -3
- 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 +23 -0
- 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 +23 -0
- 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/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 +23 -0
- package/src/utils/getrangesofblockgroups.js +23 -0
- 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/theme/integrations/horizontalline.css +0 -15
- package/theme/integrations/image.css +0 -55
- package/theme/integrations/mediaembed.css +0 -19
- package/theme/integrations/pagebreak.css +0 -15
- package/theme/integrations/table.css +0 -147
- package/theme/suggestion.css +0 -87
- package/theme/suggestionmarker.css +0 -161
package/lang/translations/sk.po
CHANGED
|
@@ -20,6 +20,10 @@ msgctxt "A suggestion for changing an item to the provided one."
|
|
|
20
20
|
msgid "*Change to:* %0"
|
|
21
21
|
msgstr "*Zmeniť na:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Označiť položku*"
|
|
@@ -58,7 +62,7 @@ msgstr "*Odstrániť formátovanie:* %0"
|
|
|
58
62
|
|
|
59
63
|
msgctxt "A suggestion for removing the highlight."
|
|
60
64
|
msgid "*Remove highlight*"
|
|
61
|
-
msgstr ""
|
|
65
|
+
msgstr "*Odstrániť zvýraznenie*"
|
|
62
66
|
|
|
63
67
|
msgctxt "A suggestion for removing image text alternative."
|
|
64
68
|
msgid "*Remove image text alternative*"
|
|
@@ -114,7 +118,7 @@ msgstr "*Nastaviť veľkosť písma:* %0"
|
|
|
114
118
|
|
|
115
119
|
msgctxt "A suggestion for highlighting text."
|
|
116
120
|
msgid "*Set highlight:* %0"
|
|
117
|
-
msgstr ""
|
|
121
|
+
msgstr "*Nastaviť zvýraznenie:* %0"
|
|
118
122
|
|
|
119
123
|
msgctxt "A suggestion for setting image text alternative to %0."
|
|
120
124
|
msgid "*Set image text alternative:* %0"
|
|
@@ -178,7 +182,7 @@ msgstr "Odrážkový zoznam"
|
|
|
178
182
|
|
|
179
183
|
msgctxt "The caption element name displayed in the suggestion."
|
|
180
184
|
msgid "ELEMENT_CAPTION"
|
|
181
|
-
msgstr ""
|
|
185
|
+
msgstr "titulok"
|
|
182
186
|
|
|
183
187
|
msgctxt "The code block element name displayed in the suggestion."
|
|
184
188
|
msgid "ELEMENT_CODE_BLOCK"
|
|
@@ -199,10 +203,10 @@ msgstr[3] "%0 nadpisov (level %1)"
|
|
|
199
203
|
msgctxt "The heading element name displayed in the suggestion with a custom title."
|
|
200
204
|
msgid "ELEMENT_HEADING_CUSTOM"
|
|
201
205
|
msgid_plural "%0 headings (%1)"
|
|
202
|
-
msgstr[0] ""
|
|
203
|
-
msgstr[1] ""
|
|
204
|
-
msgstr[2] ""
|
|
205
|
-
msgstr[3] ""
|
|
206
|
+
msgstr[0] "%0 nadpis (%1)"
|
|
207
|
+
msgstr[1] "%0 nadpisy (%1)"
|
|
208
|
+
msgstr[2] "%0 nadpisov (%1)"
|
|
209
|
+
msgstr[3] "%0 nadpisov (%1)"
|
|
206
210
|
|
|
207
211
|
msgctxt "The horizontal line element name displayed in the suggestion."
|
|
208
212
|
msgid "ELEMENT_HORIZONTAL_LINE"
|
|
@@ -212,6 +216,14 @@ msgstr[1] "%0 horizontálne čiary"
|
|
|
212
216
|
msgstr[2] "%0 horizontálnych čiar"
|
|
213
217
|
msgstr[3] "%0 horizontálnych čiar"
|
|
214
218
|
|
|
219
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
220
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
221
|
+
msgid_plural "%0 HTML embeds"
|
|
222
|
+
msgstr[0] ""
|
|
223
|
+
msgstr[1] ""
|
|
224
|
+
msgstr[2] ""
|
|
225
|
+
msgstr[3] ""
|
|
226
|
+
|
|
215
227
|
msgctxt "The image element name displayed in the suggestion."
|
|
216
228
|
msgid "ELEMENT_IMAGE"
|
|
217
229
|
msgid_plural "%0 images"
|
|
@@ -223,34 +235,34 @@ msgstr[3] "%0 obrázkov"
|
|
|
223
235
|
msgctxt "The inline image element name displayed in the suggestion."
|
|
224
236
|
msgid "ELEMENT_INLINE_IMAGE"
|
|
225
237
|
msgid_plural "%0 images"
|
|
226
|
-
msgstr[0] ""
|
|
227
|
-
msgstr[1] ""
|
|
228
|
-
msgstr[2] ""
|
|
229
|
-
msgstr[3] ""
|
|
238
|
+
msgstr[0] "%0 obrázok"
|
|
239
|
+
msgstr[1] "%0 obrázky"
|
|
240
|
+
msgstr[2] "%0 obrázkov"
|
|
241
|
+
msgstr[3] "%0 obrázkov"
|
|
230
242
|
|
|
231
243
|
msgctxt "The line break element name displayed in the suggestion."
|
|
232
244
|
msgid "ELEMENT_LINE_BREAK"
|
|
233
245
|
msgid_plural "%0 line breaks"
|
|
234
|
-
msgstr[0] ""
|
|
235
|
-
msgstr[1] ""
|
|
236
|
-
msgstr[2] ""
|
|
237
|
-
msgstr[3] ""
|
|
246
|
+
msgstr[0] "%0 zalomenie riadku"
|
|
247
|
+
msgstr[1] "%0 zalomenie riadkov"
|
|
248
|
+
msgstr[2] "%0 zalomenie riadkov"
|
|
249
|
+
msgstr[3] "%0 zalomenie riadkov"
|
|
238
250
|
|
|
239
251
|
msgctxt "The list item element name displayed in the suggestion."
|
|
240
252
|
msgid "ELEMENT_LIST_ITEM"
|
|
241
253
|
msgid_plural "%0 list items"
|
|
242
|
-
msgstr[0] ""
|
|
243
|
-
msgstr[1] ""
|
|
244
|
-
msgstr[2] ""
|
|
245
|
-
msgstr[3] ""
|
|
254
|
+
msgstr[0] "%0 položka zoznamu"
|
|
255
|
+
msgstr[1] "%0 položky zoznamu"
|
|
256
|
+
msgstr[2] "%0 položiek zoznamu"
|
|
257
|
+
msgstr[3] "%0 položiek zoznamu"
|
|
246
258
|
|
|
247
259
|
msgctxt "The media element name displayed in the suggestion."
|
|
248
260
|
msgid "ELEMENT_MEDIA"
|
|
249
261
|
msgid_plural "%0 media items"
|
|
250
|
-
msgstr[0] ""
|
|
251
|
-
msgstr[1] ""
|
|
252
|
-
msgstr[2] ""
|
|
253
|
-
msgstr[3] ""
|
|
262
|
+
msgstr[0] "%0 mediálny súbor"
|
|
263
|
+
msgstr[1] "%0 mediálne súbory"
|
|
264
|
+
msgstr[2] "%0 mediálnych súborov"
|
|
265
|
+
msgstr[3] "%0 mediálnych súborov"
|
|
254
266
|
|
|
255
267
|
msgctxt "The numbered list element name displayed in the suggestion."
|
|
256
268
|
msgid "ELEMENT_NUMBERED_LIST"
|
|
@@ -259,66 +271,66 @@ msgstr "číslovaný zoznam"
|
|
|
259
271
|
msgctxt "The page break element name displayed in the suggestion."
|
|
260
272
|
msgid "ELEMENT_PAGE_BREAK"
|
|
261
273
|
msgid_plural "%0 page breaks"
|
|
262
|
-
msgstr[0] ""
|
|
263
|
-
msgstr[1] ""
|
|
264
|
-
msgstr[2] ""
|
|
265
|
-
msgstr[3] ""
|
|
274
|
+
msgstr[0] "%0 zalomenie strany"
|
|
275
|
+
msgstr[1] "%0 zalomenie strán"
|
|
276
|
+
msgstr[2] "%0 zalomenie strán"
|
|
277
|
+
msgstr[3] "%0 zalomenie strán"
|
|
266
278
|
|
|
267
279
|
msgctxt "The paragraph element name displayed in the suggestion."
|
|
268
280
|
msgid "ELEMENT_PARAGRAPH"
|
|
269
281
|
msgid_plural "%0 paragraphs"
|
|
270
|
-
msgstr[0] ""
|
|
271
|
-
msgstr[1] ""
|
|
272
|
-
msgstr[2] ""
|
|
273
|
-
msgstr[3] ""
|
|
282
|
+
msgstr[0] "%0 odstavec"
|
|
283
|
+
msgstr[1] "%0 odstavce"
|
|
284
|
+
msgstr[2] "%0 odstavcov"
|
|
285
|
+
msgstr[3] "%0 odstavcov"
|
|
274
286
|
|
|
275
287
|
msgctxt "The space element name displayed in the suggestion."
|
|
276
288
|
msgid "ELEMENT_SPACE"
|
|
277
289
|
msgid_plural "%0 spaces"
|
|
278
|
-
msgstr[0] ""
|
|
279
|
-
msgstr[1] ""
|
|
280
|
-
msgstr[2] ""
|
|
281
|
-
msgstr[3] ""
|
|
290
|
+
msgstr[0] "%0 medzera"
|
|
291
|
+
msgstr[1] "%0 medzery"
|
|
292
|
+
msgstr[2] "%0 medzier"
|
|
293
|
+
msgstr[3] "%0 medzier"
|
|
282
294
|
|
|
283
295
|
msgctxt "The table element name displayed in the suggestion."
|
|
284
296
|
msgid "ELEMENT_TABLE"
|
|
285
297
|
msgid_plural "%0 tables"
|
|
286
|
-
msgstr[0] ""
|
|
287
|
-
msgstr[1] ""
|
|
288
|
-
msgstr[2] ""
|
|
289
|
-
msgstr[3] ""
|
|
298
|
+
msgstr[0] "%0 tabuľka"
|
|
299
|
+
msgstr[1] "%0 tabulky"
|
|
300
|
+
msgstr[2] "%0 tabuliek"
|
|
301
|
+
msgstr[3] "%0 tabuliek"
|
|
290
302
|
|
|
291
303
|
msgctxt "The table column element name displayed in the suggestion."
|
|
292
304
|
msgid "ELEMENT_TABLE_COLUMN"
|
|
293
305
|
msgid_plural "%0 table columns"
|
|
294
|
-
msgstr[0] ""
|
|
295
|
-
msgstr[1] ""
|
|
296
|
-
msgstr[2] ""
|
|
297
|
-
msgstr[3] ""
|
|
306
|
+
msgstr[0] "%0 stĺpec tabuľky"
|
|
307
|
+
msgstr[1] "%0 stĺpce tabuľky"
|
|
308
|
+
msgstr[2] "%0 stĺpcov tabuľky"
|
|
309
|
+
msgstr[3] "%0 stĺpcov tabuľky"
|
|
298
310
|
|
|
299
311
|
msgctxt "The table column with text element name displayed in the suggestion."
|
|
300
312
|
msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
|
|
301
313
|
msgid_plural "%0 table columns *with text* %1"
|
|
302
|
-
msgstr[0] ""
|
|
303
|
-
msgstr[1] ""
|
|
304
|
-
msgstr[2] ""
|
|
305
|
-
msgstr[3] ""
|
|
314
|
+
msgstr[0] "%0 stĺpec tabuľky *s textom* %1"
|
|
315
|
+
msgstr[1] "%0 stĺpce tabuľky *s textom* %1"
|
|
316
|
+
msgstr[2] "%0 stĺpcov tabuľky *s textom* %1"
|
|
317
|
+
msgstr[3] "%0 stĺpcov tabuľky *s textom* %1"
|
|
306
318
|
|
|
307
319
|
msgctxt "The table row element name displayed in the suggestion."
|
|
308
320
|
msgid "ELEMENT_TABLE_ROW"
|
|
309
321
|
msgid_plural "%0 table rows"
|
|
310
|
-
msgstr[0] ""
|
|
311
|
-
msgstr[1] ""
|
|
312
|
-
msgstr[2] ""
|
|
313
|
-
msgstr[3] ""
|
|
322
|
+
msgstr[0] "%0 riadok tabuľky"
|
|
323
|
+
msgstr[1] "%0 riadky tabuľky"
|
|
324
|
+
msgstr[2] "%0 riadkov tabuľky"
|
|
325
|
+
msgstr[3] "%0 riadkov tabuľky"
|
|
314
326
|
|
|
315
327
|
msgctxt "The table row with text element name displayed in the suggestion."
|
|
316
328
|
msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
|
|
317
329
|
msgid_plural "%0 table rows *with text* %1"
|
|
318
|
-
msgstr[0] ""
|
|
319
|
-
msgstr[1] ""
|
|
320
|
-
msgstr[2] ""
|
|
321
|
-
msgstr[3] ""
|
|
330
|
+
msgstr[0] "%0 riadok tabuľky *s textom* %1"
|
|
331
|
+
msgstr[1] "%0 riadky tabuľky *s textom* %1"
|
|
332
|
+
msgstr[2] "%0 riadkov tabuľky *s textom* %1"
|
|
333
|
+
msgstr[3] "%0 riadkov tabuľky *s textom* %1"
|
|
322
334
|
|
|
323
335
|
msgctxt "The table with text element name displayed in the suggestion."
|
|
324
336
|
msgid "ELEMENT_TABLE_WITH_TEXT"
|
|
@@ -382,11 +394,11 @@ msgstr "Klasický riadok"
|
|
|
382
394
|
|
|
383
395
|
msgctxt "The label for area disabled in restricted editing area in a format suggestion."
|
|
384
396
|
msgid "FORMAT_RESTRICTED_DISABLED"
|
|
385
|
-
msgstr ""
|
|
397
|
+
msgstr "*Zakázať v režime obmedzených úprav*"
|
|
386
398
|
|
|
387
399
|
msgctxt "The label for area enabled in restricted editing area in a format suggestion."
|
|
388
400
|
msgid "FORMAT_RESTRICTED_ENABLED"
|
|
389
|
-
msgstr ""
|
|
401
|
+
msgstr "*Povoliť v režime obmedzených úprav*"
|
|
390
402
|
|
|
391
403
|
msgctxt "The side image format name displayed in a format suggestion."
|
|
392
404
|
msgid "FORMAT_SIDE_IMAGE"
|
|
@@ -20,6 +20,10 @@ msgctxt "A suggestion for changing an item to the provided one."
|
|
|
20
20
|
msgid "*Change to:* %0"
|
|
21
21
|
msgstr "*Promenite na:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Proverite stavku*"
|
|
@@ -208,6 +212,13 @@ msgstr[0] ""
|
|
|
208
212
|
msgstr[1] ""
|
|
209
213
|
msgstr[2] ""
|
|
210
214
|
|
|
215
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
216
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
217
|
+
msgid_plural "%0 HTML embeds"
|
|
218
|
+
msgstr[0] ""
|
|
219
|
+
msgstr[1] ""
|
|
220
|
+
msgstr[2] ""
|
|
221
|
+
|
|
211
222
|
msgctxt "The image element name displayed in the suggestion."
|
|
212
223
|
msgid "ELEMENT_IMAGE"
|
|
213
224
|
msgid_plural "%0 images"
|
package/lang/translations/sr.po
CHANGED
|
@@ -20,6 +20,10 @@ msgctxt "A suggestion for changing an item to the provided one."
|
|
|
20
20
|
msgid "*Change to:* %0"
|
|
21
21
|
msgstr "*Промените на:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Проверите ставку* "
|
|
@@ -208,6 +212,13 @@ msgstr[0] ""
|
|
|
208
212
|
msgstr[1] ""
|
|
209
213
|
msgstr[2] ""
|
|
210
214
|
|
|
215
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
216
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
217
|
+
msgid_plural "%0 HTML embeds"
|
|
218
|
+
msgstr[0] ""
|
|
219
|
+
msgstr[1] ""
|
|
220
|
+
msgstr[2] ""
|
|
221
|
+
|
|
211
222
|
msgctxt "The image element name displayed in the suggestion."
|
|
212
223
|
msgid "ELEMENT_IMAGE"
|
|
213
224
|
msgid_plural "%0 images"
|
package/lang/translations/tk.po
CHANGED
|
@@ -20,6 +20,10 @@ msgctxt "A suggestion for changing an item to the provided one."
|
|
|
20
20
|
msgid "*Change to:* %0"
|
|
21
21
|
msgstr "*Şuňa üýtget:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Elementi barlaň*"
|
|
@@ -204,6 +208,12 @@ msgid_plural "%0 horizontal lines"
|
|
|
204
208
|
msgstr[0] ""
|
|
205
209
|
msgstr[1] ""
|
|
206
210
|
|
|
211
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
212
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
213
|
+
msgid_plural "%0 HTML embeds"
|
|
214
|
+
msgstr[0] ""
|
|
215
|
+
msgstr[1] ""
|
|
216
|
+
|
|
207
217
|
msgctxt "The image element name displayed in the suggestion."
|
|
208
218
|
msgid "ELEMENT_IMAGE"
|
|
209
219
|
msgid_plural "%0 images"
|
package/lang/translations/tr.po
CHANGED
|
@@ -20,6 +20,10 @@ msgctxt "A suggestion for changing an item to the provided one."
|
|
|
20
20
|
msgid "*Change to:* %0"
|
|
21
21
|
msgstr "*Değiştir:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Öğeyi kontrol et*"
|
|
@@ -204,6 +208,12 @@ msgid_plural "%0 horizontal lines"
|
|
|
204
208
|
msgstr[0] "yatay çizgi"
|
|
205
209
|
msgstr[1] "%0 yatay çizgi"
|
|
206
210
|
|
|
211
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
212
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
213
|
+
msgid_plural "%0 HTML embeds"
|
|
214
|
+
msgstr[0] ""
|
|
215
|
+
msgstr[1] ""
|
|
216
|
+
|
|
207
217
|
msgctxt "The image element name displayed in the suggestion."
|
|
208
218
|
msgid "ELEMENT_IMAGE"
|
|
209
219
|
msgid_plural "%0 images"
|
|
@@ -20,6 +20,10 @@ msgctxt "A suggestion for changing an item to the provided one."
|
|
|
20
20
|
msgid "*Change to:* %0"
|
|
21
21
|
msgstr "*更改至:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*勾选项目*"
|
|
@@ -58,7 +62,7 @@ msgstr "*移除格式:* %0"
|
|
|
58
62
|
|
|
59
63
|
msgctxt "A suggestion for removing the highlight."
|
|
60
64
|
msgid "*Remove highlight*"
|
|
61
|
-
msgstr ""
|
|
65
|
+
msgstr "*移除高亮*"
|
|
62
66
|
|
|
63
67
|
msgctxt "A suggestion for removing image text alternative."
|
|
64
68
|
msgid "*Remove image text alternative*"
|
|
@@ -114,7 +118,7 @@ msgstr "*设置字号:* %0"
|
|
|
114
118
|
|
|
115
119
|
msgctxt "A suggestion for highlighting text."
|
|
116
120
|
msgid "*Set highlight:* %0"
|
|
117
|
-
msgstr ""
|
|
121
|
+
msgstr "*设置高亮:* %0"
|
|
118
122
|
|
|
119
123
|
msgctxt "A suggestion for setting image text alternative to %0."
|
|
120
124
|
msgid "*Set image text alternative:* %0"
|
|
@@ -178,7 +182,7 @@ msgstr "项目符号列表"
|
|
|
178
182
|
|
|
179
183
|
msgctxt "The caption element name displayed in the suggestion."
|
|
180
184
|
msgid "ELEMENT_CAPTION"
|
|
181
|
-
msgstr ""
|
|
185
|
+
msgstr "标题"
|
|
182
186
|
|
|
183
187
|
msgctxt "The code block element name displayed in the suggestion."
|
|
184
188
|
msgid "ELEMENT_CODE_BLOCK"
|
|
@@ -200,6 +204,11 @@ msgid "ELEMENT_HORIZONTAL_LINE"
|
|
|
200
204
|
msgid_plural "%0 horizontal lines"
|
|
201
205
|
msgstr[0] "%0 水平线"
|
|
202
206
|
|
|
207
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
208
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
209
|
+
msgid_plural "%0 HTML embeds"
|
|
210
|
+
msgstr[0] ""
|
|
211
|
+
|
|
203
212
|
msgctxt "The image element name displayed in the suggestion."
|
|
204
213
|
msgid "ELEMENT_IMAGE"
|
|
205
214
|
msgid_plural "%0 images"
|
|
@@ -208,7 +217,7 @@ msgstr[0] "%0 图片"
|
|
|
208
217
|
msgctxt "The inline image element name displayed in the suggestion."
|
|
209
218
|
msgid "ELEMENT_INLINE_IMAGE"
|
|
210
219
|
msgid_plural "%0 images"
|
|
211
|
-
msgstr[0] ""
|
|
220
|
+
msgstr[0] "%0 图片"
|
|
212
221
|
|
|
213
222
|
msgctxt "The line break element name displayed in the suggestion."
|
|
214
223
|
msgid "ELEMENT_LINE_BREAK"
|
package/lang/translations/zh.po
CHANGED
|
@@ -20,6 +20,10 @@ msgctxt "A suggestion for changing an item to the provided one."
|
|
|
20
20
|
msgid "*Change to:* %0"
|
|
21
21
|
msgstr "*更改成:*%0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*勾選項目*"
|
|
@@ -200,6 +204,11 @@ msgid "ELEMENT_HORIZONTAL_LINE"
|
|
|
200
204
|
msgid_plural "%0 horizontal lines"
|
|
201
205
|
msgstr[0] ""
|
|
202
206
|
|
|
207
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
208
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
209
|
+
msgid_plural "%0 HTML embeds"
|
|
210
|
+
msgstr[0] ""
|
|
211
|
+
|
|
203
212
|
msgctxt "The image element name displayed in the suggestion."
|
|
204
213
|
msgid "ELEMENT_IMAGE"
|
|
205
214
|
msgid_plural "%0 images"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "34.2.0",
|
|
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,8 @@
|
|
|
27
27
|
],
|
|
28
28
|
"main": "src/index.js",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"ckeditor5": "^
|
|
31
|
-
"ckeditor5-collaboration": "^
|
|
30
|
+
"ckeditor5": "^34.2.0",
|
|
31
|
+
"ckeditor5-collaboration": "^34.2.0",
|
|
32
32
|
"lodash-es": "^4.17.11"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cba=['model','isInContent','editor','change','values','from','refresh','_suggestions','isEnabled','execute','_acceptSuggestionCommand','some'];(function(_0xde00b7,_0x5cba31){const _0x27207c=function(_0xe2cd1f){while(--_0xe2cd1f){_0xde00b7['push'](_0xde00b7['shift']());}};_0x27207c(++_0x5cba31);}(_0x5cba,0x9e));const _0x2720=function(_0xde00b7,_0x5cba31){_0xde00b7=_0xde00b7-0x0;let _0x27207c=_0x5cba[_0xde00b7];return _0x27207c;};import{Command as _0x391cbd}from'ckeditor5/src/core';import _0x13783f from'../utils/sortsuggestions';export default class N extends _0x391cbd{constructor(_0x4f71d8,_0x1e2e4d,_0x64e63f){super(_0x4f71d8),this[_0x2720('0x8')]=_0x1e2e4d,this[_0x2720('0x5')]=_0x64e63f,this[_0x2720('0x4')]();}[_0x2720('0x4')](){const _0x193d45=this[_0x2720('0x8')];this['isEnabled']=_0x193d45[_0x2720('0x6')]&&Array[_0x2720('0x3')](this[_0x2720('0x5')]['values']())[_0x2720('0x9')](_0x1ff8f1=>_0x1ff8f1[_0x2720('0xb')]);}[_0x2720('0x7')](){this[_0x2720('0x0')][_0x2720('0xa')][_0x2720('0x1')](()=>{const _0xee28db=_0x13783f(Array['from'](this[_0x2720('0x5')][_0x2720('0x2')]()));for(const _0x385ff1 of _0xee28db)_0x385ff1[_0x2720('0xb')]&&this[_0x2720('0x8')][_0x2720('0x7')](_0x385ff1['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59cf=['editor','from','refresh','size','selection','execute','_suggestions','_selectedSuggestions','isEnabled','model','_acceptSuggestionCommand'];(function(_0x512357,_0x59cfff){const _0x9b3971=function(_0x279b7){while(--_0x279b7){_0x512357['push'](_0x512357['shift']());}};_0x9b3971(++_0x59cfff);}(_0x59cf,0x1b9));const _0x9b39=function(_0x512357,_0x59cfff){_0x512357=_0x512357-0x0;let _0x9b3971=_0x59cf[_0x512357];return _0x9b3971;};import{Command as _0x537c91}from'ckeditor5/src/core';import _0xe9bf74 from'../utils/sortsuggestions';import _0x4dd729 from'../utils/getselectedsuggestions';export default class R extends _0x537c91{constructor(_0x2b84d5,_0x4a7072,_0x211c6b){super(_0x2b84d5),this[_0x9b39('0x9')]=_0x4a7072,this[_0x9b39('0x5')]=_0x211c6b,this[_0x9b39('0x6')]=new Set(),this[_0x9b39('0x1')]();}[_0x9b39('0x1')](){const _0x469d28=this['_acceptSuggestionCommand'],_0x156e9d=this[_0x9b39('0xa')][_0x9b39('0x8')]['document'][_0x9b39('0x3')],_0xfbb5fc=Array[_0x9b39('0x0')](this[_0x9b39('0x5')]['values']());this[_0x9b39('0x6')]=_0x4dd729(_0x156e9d,_0xfbb5fc),this[_0x9b39('0x7')]=_0x469d28[_0x9b39('0x7')]&&!!this[_0x9b39('0x6')][_0x9b39('0x2')];}[_0x9b39('0x4')](){this[_0x9b39('0xa')][_0x9b39('0x8')]['change'](()=>{const _0x2757d8=_0xe9bf74(Array[_0x9b39('0x0')](this[_0x9b39('0x6')]));for(const _0x406468 of _0x2757d8)this[_0x9b39('0x9')][_0x9b39('0x4')](_0x406468['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12db=['_suggestions','plugins','track-changes-accept-suggestion-not-found','refresh','editor','get'];(function(_0x3dbd88,_0x12dba7){const _0x55ce80=function(_0x2356ba){while(--_0x2356ba){_0x3dbd88['push'](_0x3dbd88['shift']());}};_0x55ce80(++_0x12dba7);}(_0x12db,0x167));const _0x55ce=function(_0x3dbd88,_0x12dba7){_0x3dbd88=_0x3dbd88-0x0;let _0x55ce80=_0x12db[_0x3dbd88];return _0x55ce80;};import{Command as _0x2895ce}from'ckeditor5/src/core';import{CKEditorError as _0xa2b360}from'ckeditor5/src/utils';export default class M extends _0x2895ce{constructor(_0x361985,_0x2265a1){super(_0x361985),this[_0x55ce('0x1')]=_0x2265a1,this[_0x55ce('0x4')]();}[_0x55ce('0x4')](){this['isEnabled']=!0x0;}['execute'](_0x4869a2){const _0xbab3d4=this['_suggestions'][_0x55ce('0x0')](_0x4869a2);if(!_0xbab3d4)throw new _0xa2b360(_0x55ce('0x3'),this);this[_0x55ce('0x5')][_0x55ce('0x2')][_0x55ce('0x0')]('TrackChangesEditing')['acceptSuggestion'](_0xbab3d4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1794=['editor','execute','model','isInContent','_suggestions','change','from','_discardSuggestionCommand','values','isEnabled','refresh','some'];(function(_0xf0b921,_0x179416){const _0x3c9b16=function(_0x125c83){while(--_0x125c83){_0xf0b921['push'](_0xf0b921['shift']());}};_0x3c9b16(++_0x179416);}(_0x1794,0xa3));const _0x3c9b=function(_0xf0b921,_0x179416){_0xf0b921=_0xf0b921-0x0;let _0x3c9b16=_0x1794[_0xf0b921];return _0x3c9b16;};import{Command as _0x517b43}from'ckeditor5/src/core';export default class j extends _0x517b43{constructor(_0x3d35b0,_0x1df6cf,_0x5bdb27){super(_0x3d35b0),this[_0x3c9b('0x0')]=_0x1df6cf,this['_suggestions']=_0x5bdb27,this[_0x3c9b('0x3')]();}[_0x3c9b('0x3')](){const _0x4d23e5=this[_0x3c9b('0x0')];this['isEnabled']=_0x4d23e5[_0x3c9b('0x2')]&&Array[_0x3c9b('0xb')](this[_0x3c9b('0x9')][_0x3c9b('0x1')]())[_0x3c9b('0x4')](_0x51eb37=>_0x51eb37[_0x3c9b('0x8')]);}[_0x3c9b('0x6')](){this[_0x3c9b('0x5')][_0x3c9b('0x7')][_0x3c9b('0xa')](()=>{for(const _0x5d2c4f of this[_0x3c9b('0x9')][_0x3c9b('0x1')]())_0x5d2c4f[_0x3c9b('0x8')]&&this['_discardSuggestionCommand'][_0x3c9b('0x6')](_0x5d2c4f['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11a6=['isEnabled','_suggestions','execute','change','editor','model','size','_discardSuggestionCommand','refresh','selection','values','_selectedSuggestions'];(function(_0x52a50e,_0x11a694){const _0x34e9e1=function(_0x1f3ec3){while(--_0x1f3ec3){_0x52a50e['push'](_0x52a50e['shift']());}};_0x34e9e1(++_0x11a694);}(_0x11a6,0x1bf));const _0x34e9=function(_0x52a50e,_0x11a694){_0x52a50e=_0x52a50e-0x0;let _0x34e9e1=_0x11a6[_0x52a50e];return _0x34e9e1;};import{Command as _0x47dc01}from'ckeditor5/src/core';import _0x26432a from'../utils/getselectedsuggestions';export default class U extends _0x47dc01{constructor(_0x215050,_0x3d9baf,_0x5b94d4){super(_0x215050),this[_0x34e9('0x4')]=_0x3d9baf,this['_suggestions']=_0x5b94d4,this[_0x34e9('0x8')]=new Set(),this[_0x34e9('0x5')]();}[_0x34e9('0x5')](){const _0x17c316=this['_discardSuggestionCommand'],_0x3d3d87=this[_0x34e9('0x1')]['model']['document'][_0x34e9('0x6')],_0x3a3fce=Array['from'](this[_0x34e9('0xa')][_0x34e9('0x7')]());this[_0x34e9('0x8')]=_0x26432a(_0x3d3d87,_0x3a3fce),this[_0x34e9('0x9')]=_0x17c316['isEnabled']&&!!this['_selectedSuggestions'][_0x34e9('0x3')];}[_0x34e9('0xb')](){this[_0x34e9('0x1')][_0x34e9('0x2')][_0x34e9('0x0')](()=>{for(const _0xee7116 of this[_0x34e9('0x8')])this['_discardSuggestionCommand'][_0x34e9('0xb')](_0xee7116['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35b4=['editor','track-changes-discard-suggestion-not-found','execute','get','discardSuggestion','TrackChangesEditing','isEnabled','refresh','_suggestions','plugins'];(function(_0x27cfea,_0x35b433){const _0x435f57=function(_0x4a3fe3){while(--_0x4a3fe3){_0x27cfea['push'](_0x27cfea['shift']());}};_0x435f57(++_0x35b433);}(_0x35b4,0x10b));const _0x435f=function(_0x27cfea,_0x35b433){_0x27cfea=_0x27cfea-0x0;let _0x435f57=_0x35b4[_0x27cfea];return _0x435f57;};import{Command as _0x19d369}from'ckeditor5/src/core';import{CKEditorError as _0xd509e3}from'ckeditor5/src/utils';export default class $ extends _0x19d369{constructor(_0x366b7b,_0x28dee1){super(_0x366b7b),this['_suggestions']=_0x28dee1,this[_0x435f('0x0')]();}[_0x435f('0x0')](){this[_0x435f('0x9')]=!0x0;}[_0x435f('0x5')](_0x3f1a40){const _0x4894c5=this[_0x435f('0x1')][_0x435f('0x6')](_0x3f1a40);if(!_0x4894c5)throw new _0xd509e3(_0x435f('0x4'),this);this[_0x435f('0x3')][_0x435f('0x2')][_0x435f('0x6')](_0x435f('0x8'))[_0x435f('0x7')](_0x4894c5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fab=['has','_disableUnsupportedCommands','_enabledCommands','refresh','_enableCommands','commands','clearForceDisabled','editor','forceDisabled','isEnabled'];(function(_0x1721ac,_0x4fab17){const _0xff7787=function(_0xe3c1c7){while(--_0xe3c1c7){_0x1721ac['push'](_0x1721ac['shift']());}};_0xff7787(++_0x4fab17);}(_0x4fab,0xc5));const _0xff77=function(_0x1721ac,_0x4fab17){_0x1721ac=_0x1721ac-0x0;let _0xff7787=_0x4fab[_0x1721ac];return _0xff7787;};import{Command as _0x1f6b21}from'ckeditor5/src/core';export default class B extends _0x1f6b21{constructor(_0x564990,_0x539a40){super(_0x564990),this['_enabledCommands']=_0x539a40,this['value']=!0x1,this[_0xff77('0x6')]();}['refresh'](){this[_0xff77('0x2')]=!0x0;}['execute'](){this['value']=!this['value'],this['value']?this[_0xff77('0x4')]():this[_0xff77('0x7')]();}['_disableUnsupportedCommands'](){for(const _0x4587f8 of this[_0xff77('0x0')][_0xff77('0x8')]['commands']())_0x4587f8['affectsData']&&!this[_0xff77('0x5')][_0xff77('0x3')](_0x4587f8)&&_0x4587f8[_0xff77('0x1')]('TrackChangesCommand');}[_0xff77('0x7')](){for(const _0x1dee34 of this[_0xff77('0x0')][_0xff77('0x8')][_0xff77('0x8')]())_0x1dee34['affectsData']&&!this[_0xff77('0x5')]['has'](_0x1dee34)&&_0x1dee34[_0xff77('0x9')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x98f4=['right','getSelectedBlocks','registerDescriptionCallback','center','FORMAT_ALIGN_TO_LEFT','from','TrackChangesEditing','format','commandName','_descriptionFactory','commandParams','enableCommand','locale','checkAttribute','alignment','editor','justify','FORMAT_ALIGN_TO_RIGHT','value','document','get','schema','has','plugins','ltr','afterInit','AlignmentEditing','model','contentLanguageDirection'];(function(_0x5a2a8f,_0x98f46b){const _0x3e5ee3=function(_0x6bd256){while(--_0x6bd256){_0x5a2a8f['push'](_0x5a2a8f['shift']());}};_0x3e5ee3(++_0x98f46b);}(_0x98f4,0x1df));const _0x3e5e=function(_0x5a2a8f,_0x98f46b){_0x5a2a8f=_0x5a2a8f-0x0;let _0x3e5ee3=_0x98f4[_0x5a2a8f];return _0x3e5ee3;};import{Plugin as _0x182659}from'ckeditor5/src/core';import{getTranslation as _0xd94284}from'../utils/common-translations';export default class x extends _0x182659{[_0x3e5e('0xa')](){const _0x13b520=this[_0x3e5e('0x0')],_0x59fe49=_0x13b520[_0x3e5e('0x1a')];if(!_0x13b520[_0x3e5e('0x8')][_0x3e5e('0x7')](_0x3e5e('0xb')))return;const _0x549e98=_0x13b520[_0x3e5e('0x8')][_0x3e5e('0x5')](_0x3e5e('0x14'));_0x549e98[_0x3e5e('0x19')]('alignment',(_0x59407b,_0x384ffb={})=>{let _0x4d6c9f=_0x384ffb['value'];_0x384ffb['value']||(_0x4d6c9f=_0x3e5e('0x9')===_0x13b520['locale'][_0x3e5e('0xd')]?'left':_0x3e5e('0xe'));const _0x400fe1=Array[_0x3e5e('0x13')](this[_0x3e5e('0x0')][_0x3e5e('0xc')][_0x3e5e('0x4')]['selection'][_0x3e5e('0xf')]())['filter'](_0x32f582=>function(_0x199eb9,_0x1151e7,_0x131289){const _0x2f5ed9=_0x199eb9['getAttribute'](_0x3e5e('0x1c'))||null;return _0x1151e7[_0x3e5e('0x1b')](_0x199eb9,'alignment')&&_0x131289!=_0x2f5ed9;}(_0x32f582,this[_0x3e5e('0x0')]['model'][_0x3e5e('0x6')],_0x4d6c9f));_0x13b520[_0x3e5e('0xc')]['change'](()=>{for(const _0x5554d6 of _0x400fe1)_0x549e98['markBlockFormat'](_0x5554d6,{'commandName':_0x3e5e('0x1c'),'commandParams':[{'value':_0x4d6c9f}]});});}),_0x549e98[_0x3e5e('0x17')][_0x3e5e('0x10')](_0x100b24=>{const {data:_0x510723}=_0x100b24;if(_0x510723&&_0x3e5e('0x1c')==_0x510723[_0x3e5e('0x16')]){const _0x14069f=_0x510723[_0x3e5e('0x18')][0x0][_0x3e5e('0x3')];return{'type':_0x3e5e('0x15'),'content':_0xd94284(_0x59fe49,'*Format:*\x20%0',function(_0x1c1ed3){switch(_0x1c1ed3){case'left':return _0xd94284(_0x59fe49,_0x3e5e('0x12'));case _0x3e5e('0xe'):return _0xd94284(_0x59fe49,_0x3e5e('0x2'));case _0x3e5e('0x11'):return _0xd94284(_0x59fe49,'FORMAT_ALIGN_TO_CENTER');case _0x3e5e('0x1'):return _0xd94284(_0x59fe49,'FORMAT_JUSTIFY_TEXT');}}(_0x14069f))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x248f=['format','editor','commandParams','commandName','toLowerCase','model','plugins','FORMAT_SUBSCRIPT','bold','_descriptionFactory','StrikethroughEditing','*Format:*\x20%0','ItalicEditing','SubscriptEditing','strikethrough','enableCommand','FORMAT_ITALIC','BoldEditing','FORMAT_SUPERSCRIPT','get','has','FORMAT_STRIKETHROUGH','underline','isCollapsed','UnderlineEditing','*Remove\x20format:*\x20%0','FORMAT_UNDERLINE','getRanges','FORMAT_BOLD','document','italic','code','from','forceValue','value'];(function(_0xc1ecef,_0x248ff5){const _0x1a8a94=function(_0x428657){while(--_0x428657){_0xc1ecef['push'](_0xc1ecef['shift']());}};_0x1a8a94(++_0x248ff5);}(_0x248f,0x96));const _0x1a8a=function(_0xc1ecef,_0x248ff5){_0xc1ecef=_0xc1ecef-0x0;let _0x1a8a94=_0x248f[_0xc1ecef];return _0x1a8a94;};import{Plugin as _0x3949ee}from'ckeditor5/src/core';import{getTranslation as _0x20b132}from'../utils/common-translations';import{getRangesWithAttribute as _0x37ac8c}from'./utils';const Ot=[_0x1a8a('0x7'),_0x1a8a('0x2'),_0x1a8a('0xe'),'CodeEditing',_0x1a8a('0x0'),_0x1a8a('0x3'),'SuperscriptEditing'];export default class E extends _0x3949ee{['afterInit'](){const _0x41c4fa=this[_0x1a8a('0x1a')],_0x4b27e9=_0x41c4fa[_0x1a8a('0x1e')],_0x206825=_0x41c4fa[_0x1a8a('0x1f')][_0x1a8a('0x9')]('TrackChangesEditing'),_0x2b900b=_0x41c4fa['locale'];for(const _0x50b29d of Ot){if(!_0x41c4fa[_0x1a8a('0x1f')][_0x1a8a('0xa')](_0x50b29d))continue;const _0xd6f799=_0x50b29d['slice'](0x0,-0x7)[_0x1a8a('0x1d')](),_0x18e77d=_0x41c4fa['commands']['get'](_0xd6f799);_0x206825[_0x1a8a('0x5')](_0xd6f799,(_0xfb8c46,_0x298f84={})=>{const _0x3316d4=_0x4b27e9[_0x1a8a('0x13')]['selection'];if(_0x3316d4[_0x1a8a('0xd')])return void _0xfb8c46(_0x298f84);const _0x57081e=void 0x0!==_0x298f84['forceValue']?_0x298f84[_0x1a8a('0x17')]:!_0x18e77d[_0x1a8a('0x18')];_0x4b27e9['change'](()=>{const _0x2c86cf=Array[_0x1a8a('0x16')](_0x3316d4[_0x1a8a('0x11')]());for(const _0x331cf0 of _0x2c86cf){const _0x54df4e=_0x57081e?[_0x331cf0]:_0x37ac8c(_0xd6f799,_0x331cf0,_0x4b27e9);for(const _0x232eb0 of _0x54df4e)_0x206825['markInlineFormat'](_0x232eb0,{'commandName':_0xd6f799,'commandParams':[{'forceValue':_0x57081e}]});}});});}function _0x457c7d(_0x31e84a,_0x22a4bf){_0x206825[_0x1a8a('0x22')]['registerDescriptionCallback'](_0x18ece6=>{const {data:_0x3e53cb}=_0x18ece6;if(_0x3e53cb&&_0x3e53cb[_0x1a8a('0x1c')]===_0x31e84a)return _0x3e53cb[_0x1a8a('0x1b')][0x0]['forceValue']?{'type':_0x1a8a('0x19'),'content':_0x20b132(_0x2b900b,_0x1a8a('0x1'),_0x22a4bf)}:{'type':_0x1a8a('0x19'),'content':_0x20b132(_0x2b900b,_0x1a8a('0xf'),_0x22a4bf)};});}_0x457c7d(_0x1a8a('0x21'),_0x20b132(_0x2b900b,_0x1a8a('0x12'))),_0x457c7d(_0x1a8a('0x14'),_0x20b132(_0x2b900b,_0x1a8a('0x6'))),_0x457c7d(_0x1a8a('0xc'),_0x20b132(_0x2b900b,_0x1a8a('0x10'))),_0x457c7d(_0x1a8a('0x15'),_0x20b132(_0x2b900b,'FORMAT_CODE')),_0x457c7d(_0x1a8a('0x4'),_0x20b132(_0x2b900b,_0x1a8a('0xb'))),_0x457c7d('subscript',_0x20b132(_0x2b900b,_0x1a8a('0x20'))),_0x457c7d('superscript',_0x20b132(_0x2b900b,_0x1a8a('0x8')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x3b48=['has','_descriptionFactory','registerDescriptionCallback','commandParams','*Format:*\x20%0','from','model','editor','format','change','blockQuote','filter','checkChild','TrackChangesEditing','schema','$root','BlockQuoteEditing','getSelectedBlocks','name','afterInit','plugins','commands','get','forceValue','selection','value','parent'];(function(_0x57d921,_0x3b4888){const _0x7068a2=function(_0x45e6b2){while(--_0x45e6b2){_0x57d921['push'](_0x57d921['shift']());}};_0x7068a2(++_0x3b4888);}(_0x3b48,0x1d5));const _0x7068=function(_0x57d921,_0x3b4888){_0x57d921=_0x57d921-0x0;let _0x7068a2=_0x3b48[_0x57d921];return _0x7068a2;};import{Plugin as _0x345701}from'ckeditor5/src/core';import{getTranslation as _0x1f843b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xeddda6}from'../utils/getrangesofblockgroups';export default class O extends _0x345701{[_0x7068('0x9')](){const _0x1ecbdb=this[_0x7068('0x18')],_0x16a0a4=_0x1ecbdb['locale'];if(!_0x1ecbdb[_0x7068('0xa')][_0x7068('0x11')](_0x7068('0x6')))return;const _0xe152d4=_0x1ecbdb[_0x7068('0xa')][_0x7068('0xc')](_0x7068('0x3')),_0x45ae2a=this[_0x7068('0x18')][_0x7068('0xb')]['get'](_0x7068('0x0'));_0xe152d4['enableCommand'](_0x7068('0x0'),(_0x237ac2,_0x6b7cda={})=>{const _0x581773=this[_0x7068('0x18')][_0x7068('0x17')]['document'][_0x7068('0xe')],_0x336218=_0x6b7cda&&void 0x0!==_0x6b7cda[_0x7068('0xd')]?_0x6b7cda[_0x7068('0xd')]:!_0x45ae2a[_0x7068('0xf')];let _0x595696=[];if(_0x336218){const _0x17d858=Array[_0x7068('0x16')](_0x581773['getSelectedBlocks']())['filter'](_0x5df697=>to(_0x5df697)||function(_0x12a59e,_0x3c3a68){const _0x2682ee=_0x3c3a68[_0x7068('0x2')](_0x12a59e[_0x7068('0x10')],_0x7068('0x0')),_0xa30602=_0x3c3a68[_0x7068('0x2')]([_0x7068('0x5'),_0x7068('0x0')],_0x12a59e);return _0x2682ee&&_0xa30602;}(_0x5df697,this[_0x7068('0x18')][_0x7068('0x17')][_0x7068('0x4')]));_0x595696=_0xeddda6(_0x17d858,_0x1ecbdb[_0x7068('0x17')]);}else{const _0x1945e8=Array[_0x7068('0x16')](_0x581773[_0x7068('0x7')]())[_0x7068('0x1')](_0x3b6bfa=>to(_0x3b6bfa));_0x595696=_0xeddda6(_0x1945e8,_0x1ecbdb[_0x7068('0x17')]);}_0x1ecbdb['model'][_0x7068('0x1a')](()=>{for(const _0x213bfd of _0x595696)_0xe152d4['markBlockFormat'](_0x213bfd,{'commandName':_0x7068('0x0'),'commandParams':[{'forceValue':_0x336218}]});});}),_0xe152d4[_0x7068('0x12')][_0x7068('0x13')](_0x45741a=>{const {data:_0x204bcf}=_0x45741a;if(_0x204bcf&&_0x7068('0x0')==_0x204bcf['commandName']){const _0xee0a2e=_0x1f843b(_0x16a0a4,'ELEMENT_BLOCK_QUOTE');return _0x204bcf[_0x7068('0x14')][0x0][_0x7068('0xd')]?{'type':_0x7068('0x19'),'content':_0x1f843b(_0x16a0a4,_0x7068('0x15'),_0xee0a2e)}:{'type':_0x7068('0x19'),'content':_0x1f843b(_0x16a0a4,'*Remove\x20format:*\x20%0',_0xee0a2e)};}});}}function to(_0x1b0389){return _0x7068('0x0')==_0x1b0389['parent'][_0x7068('0x8')];}
|