@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.
Files changed (118) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +5 -2
  3. package/build/track-changes.js +2 -2
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/cs.js +1 -1
  6. package/build/translations/da.js +1 -1
  7. package/build/translations/de.js +1 -1
  8. package/build/translations/el.js +1 -1
  9. package/build/translations/en-au.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fr.js +1 -1
  13. package/build/translations/gl.js +1 -1
  14. package/build/translations/hi.js +1 -1
  15. package/build/translations/hr.js +1 -1
  16. package/build/translations/id.js +1 -0
  17. package/build/translations/it.js +1 -1
  18. package/build/translations/lv.js +1 -0
  19. package/build/translations/nl.js +1 -1
  20. package/build/translations/pl.js +1 -1
  21. package/build/translations/pt-br.js +1 -1
  22. package/build/translations/sk.js +1 -1
  23. package/build/translations/sr-latn.js +1 -1
  24. package/build/translations/sr.js +1 -1
  25. package/build/translations/tk.js +1 -1
  26. package/build/translations/tr.js +1 -1
  27. package/build/translations/zh-cn.js +1 -1
  28. package/build/translations/zh.js +1 -1
  29. package/lang/contexts.json +2 -0
  30. package/lang/translations/az.po +397 -0
  31. package/lang/translations/cs.po +40 -28
  32. package/lang/translations/da.po +10 -0
  33. package/lang/translations/de.po +10 -0
  34. package/lang/translations/el.po +10 -0
  35. package/lang/translations/en-au.po +15 -5
  36. package/lang/translations/en.po +10 -0
  37. package/lang/translations/es.po +29 -1
  38. package/lang/translations/et.po +10 -0
  39. package/lang/translations/fr.po +29 -1
  40. package/lang/translations/gl.po +13 -3
  41. package/lang/translations/hi.po +10 -0
  42. package/lang/translations/hr.po +24 -13
  43. package/lang/translations/id.po +379 -0
  44. package/lang/translations/it.po +29 -1
  45. package/lang/translations/lv.po +415 -0
  46. package/lang/translations/nl.po +19 -9
  47. package/lang/translations/pl.po +12 -0
  48. package/lang/translations/pt-br.po +29 -1
  49. package/lang/translations/sk.po +69 -57
  50. package/lang/translations/sr-latn.po +11 -0
  51. package/lang/translations/sr.po +11 -0
  52. package/lang/translations/tk.po +10 -0
  53. package/lang/translations/tr.po +10 -0
  54. package/lang/translations/zh-cn.po +13 -4
  55. package/lang/translations/zh.po +9 -0
  56. package/package.json +3 -3
  57. package/src/commands/acceptallsuggestionscommand.js +1 -1
  58. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  59. package/src/commands/acceptsuggestioncommand.js +1 -1
  60. package/src/commands/discardallsuggestionscommand.js +1 -1
  61. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  62. package/src/commands/discardsuggestioncommand.js +1 -1
  63. package/src/commands/trackchangescommand.js +1 -1
  64. package/src/integrations/alignment.js +1 -1
  65. package/src/integrations/basicstyles.js +1 -1
  66. package/src/integrations/blockquote.js +1 -1
  67. package/src/integrations/ckbox.js +23 -0
  68. package/src/integrations/codeblock.js +1 -1
  69. package/src/integrations/comments.js +1 -1
  70. package/src/integrations/deletecommand.js +1 -1
  71. package/src/integrations/entercommand.js +1 -1
  72. package/src/integrations/font.js +1 -1
  73. package/src/integrations/heading.js +1 -1
  74. package/src/integrations/highlight.js +1 -1
  75. package/src/integrations/horizontalline.js +1 -1
  76. package/src/integrations/htmlembed.js +23 -0
  77. package/src/integrations/image.js +1 -1
  78. package/src/integrations/indent.js +1 -1
  79. package/src/integrations/inputcommand.js +1 -1
  80. package/src/integrations/link.js +1 -1
  81. package/src/integrations/list.js +1 -1
  82. package/src/integrations/mediaembed.js +1 -1
  83. package/src/integrations/mention.js +1 -1
  84. package/src/integrations/pagebreak.js +1 -1
  85. package/src/integrations/paragraph.js +1 -1
  86. package/src/integrations/removeformat.js +1 -1
  87. package/src/integrations/restrictededitingmode.js +1 -1
  88. package/src/integrations/shiftentercommand.js +1 -1
  89. package/src/integrations/standardeditingmode.js +1 -1
  90. package/src/integrations/table.js +1 -1
  91. package/src/integrations/tableclipboard.js +1 -1
  92. package/src/integrations/tableheadings.js +1 -1
  93. package/src/integrations/tablemergesplit.js +1 -1
  94. package/src/integrations/title.js +1 -1
  95. package/src/integrations/undo.js +1 -1
  96. package/src/integrations/utils.js +1 -1
  97. package/src/suggestion.js +1 -1
  98. package/src/suggestiondescriptionfactory.js +1 -1
  99. package/src/trackchanges.js +1 -1
  100. package/src/trackchangesdata.js +1 -1
  101. package/src/trackchangesediting.js +1 -1
  102. package/src/trackchangesui.js +1 -1
  103. package/src/ui/suggestioncontroller.js +1 -1
  104. package/src/ui/view/basesuggestionthreadview.js +1 -1
  105. package/src/ui/view/suggestionthreadview.js +1 -1
  106. package/src/utils/common-translations.js +23 -0
  107. package/src/utils/getrangesofblockgroups.js +23 -0
  108. package/src/utils/getselectedsuggestions.js +1 -1
  109. package/src/utils/hashobject.js +1 -1
  110. package/src/utils/normalizedescription.js +1 -1
  111. package/src/utils/sortsuggestions.js +1 -1
  112. package/theme/integrations/horizontalline.css +0 -15
  113. package/theme/integrations/image.css +0 -55
  114. package/theme/integrations/mediaembed.css +0 -19
  115. package/theme/integrations/pagebreak.css +0 -15
  116. package/theme/integrations/table.css +0 -147
  117. package/theme/suggestion.css +0 -87
  118. package/theme/suggestionmarker.css +0 -161
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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": "33.0.0",
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": "^33.0.0",
31
- "ckeditor5-collaboration": "^33.0.0",
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 _0x4a65=['isEnabled','editor','change','refresh','model','_acceptSuggestionCommand','isInContent','execute','_suggestions','from','some','values'];(function(_0x52e07a,_0x4a65e9){const _0x4d0246=function(_0xae9ffb){while(--_0xae9ffb){_0x52e07a['push'](_0x52e07a['shift']());}};_0x4d0246(++_0x4a65e9);}(_0x4a65,0x1c0));const _0x4d02=function(_0x52e07a,_0x4a65e9){_0x52e07a=_0x52e07a-0x0;let _0x4d0246=_0x4a65[_0x52e07a];return _0x4d0246;};import{Command as _0x4da45b}from'ckeditor5/src/core';import _0x4c793d from'../utils/sortsuggestions';export default class $ extends _0x4da45b{constructor(_0x842d04,_0x4ea60b,_0x150fc7){super(_0x842d04),this[_0x4d02('0x1')]=_0x4ea60b,this[_0x4d02('0x4')]=_0x150fc7,this['refresh']();}[_0x4d02('0xb')](){const _0x1d801f=this[_0x4d02('0x1')];this['isEnabled']=_0x1d801f[_0x4d02('0x8')]&&Array[_0x4d02('0x5')](this[_0x4d02('0x4')][_0x4d02('0x7')]())[_0x4d02('0x6')](_0x51df28=>_0x51df28[_0x4d02('0x2')]);}[_0x4d02('0x3')](){this[_0x4d02('0x9')][_0x4d02('0x0')][_0x4d02('0xa')](()=>{const _0x26399e=_0x4c793d(Array[_0x4d02('0x5')](this['_suggestions'][_0x4d02('0x7')]()));for(const _0x279c03 of _0x26399e)_0x279c03['isInContent']&&this[_0x4d02('0x1')][_0x4d02('0x3')](_0x279c03['id']);});}}
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 _0x3dbf=['editor','_suggestions','from','execute','size','selection','isEnabled','model','document','_acceptSuggestionCommand','_selectedSuggestions','refresh','change','values'];(function(_0x49c26d,_0x3dbf0a){const _0x2fe0b5=function(_0x12bb4a){while(--_0x12bb4a){_0x49c26d['push'](_0x49c26d['shift']());}};_0x2fe0b5(++_0x3dbf0a);}(_0x3dbf,0x19a));const _0x2fe0=function(_0x49c26d,_0x3dbf0a){_0x49c26d=_0x49c26d-0x0;let _0x2fe0b5=_0x3dbf[_0x49c26d];return _0x2fe0b5;};import{Command as _0x31d43a}from'ckeditor5/src/core';import _0x136a19 from'../utils/sortsuggestions';import _0x151f60 from'../utils/getselectedsuggestions';export default class N extends _0x31d43a{constructor(_0x48c048,_0x798cb7,_0x1c8514){super(_0x48c048),this[_0x2fe0('0x5')]=_0x798cb7,this[_0x2fe0('0xb')]=_0x1c8514,this['_selectedSuggestions']=new Set(),this[_0x2fe0('0x7')]();}[_0x2fe0('0x7')](){const _0x32abfc=this[_0x2fe0('0x5')],_0x163afe=this[_0x2fe0('0xa')]['model'][_0x2fe0('0x4')][_0x2fe0('0x1')],_0x39dff9=Array['from'](this[_0x2fe0('0xb')][_0x2fe0('0x9')]());this[_0x2fe0('0x6')]=_0x151f60(_0x163afe,_0x39dff9),this['isEnabled']=_0x32abfc[_0x2fe0('0x2')]&&!!this[_0x2fe0('0x6')][_0x2fe0('0x0')];}[_0x2fe0('0xd')](){this[_0x2fe0('0xa')][_0x2fe0('0x3')][_0x2fe0('0x8')](()=>{const _0x573924=_0x136a19(Array[_0x2fe0('0xc')](this[_0x2fe0('0x6')]));for(const _0x8de885 of _0x573924)this['_acceptSuggestionCommand'][_0x2fe0('0xd')](_0x8de885['id']);});}}
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 _0x2d8f=['refresh','isEnabled','get','TrackChangesEditing','acceptSuggestion','_suggestions','track-changes-accept-suggestion-not-found','plugins','execute'];(function(_0x49641c,_0x2d8f79){const _0x5cf288=function(_0x151059){while(--_0x151059){_0x49641c['push'](_0x49641c['shift']());}};_0x5cf288(++_0x2d8f79);}(_0x2d8f,0x198));const _0x5cf2=function(_0x49641c,_0x2d8f79){_0x49641c=_0x49641c-0x0;let _0x5cf288=_0x2d8f[_0x49641c];return _0x5cf288;};import{Command as _0xc11632}from'ckeditor5/src/core';import{CKEditorError as _0x54d2d1}from'ckeditor5/src/utils';export default class B extends _0xc11632{constructor(_0x33c86f,_0x4465dd){super(_0x33c86f),this[_0x5cf2('0x2')]=_0x4465dd,this['refresh']();}[_0x5cf2('0x6')](){this[_0x5cf2('0x7')]=!0x0;}[_0x5cf2('0x5')](_0x4ddcd4){const _0x36629a=this[_0x5cf2('0x2')]['get'](_0x4ddcd4);if(!_0x36629a)throw new _0x54d2d1(_0x5cf2('0x3'),this);this['editor'][_0x5cf2('0x4')][_0x5cf2('0x8')](_0x5cf2('0x0'))[_0x5cf2('0x1')](_0x36629a);}}
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 _0x5b17=['some','from','editor','refresh','change','isEnabled','_suggestions','_discardSuggestionCommand','isInContent','values','execute'];(function(_0x25b82e,_0x5b1774){const _0xf3a840=function(_0x49a3a4){while(--_0x49a3a4){_0x25b82e['push'](_0x25b82e['shift']());}};_0xf3a840(++_0x5b1774);}(_0x5b17,0x102));const _0xf3a8=function(_0x25b82e,_0x5b1774){_0x25b82e=_0x25b82e-0x0;let _0xf3a840=_0x5b17[_0x25b82e];return _0xf3a840;};import{Command as _0x10f59c}from'ckeditor5/src/core';export default class R extends _0x10f59c{constructor(_0x2fa294,_0x41e76d,_0x5bab82){super(_0x2fa294),this[_0xf3a8('0x2')]=_0x41e76d,this[_0xf3a8('0x1')]=_0x5bab82,this[_0xf3a8('0x9')]();}['refresh'](){const _0x253e25=this[_0xf3a8('0x2')];this['isEnabled']=_0x253e25[_0xf3a8('0x0')]&&Array[_0xf3a8('0x7')](this['_suggestions'][_0xf3a8('0x4')]())[_0xf3a8('0x6')](_0x3dcef5=>_0x3dcef5[_0xf3a8('0x3')]);}['execute'](){this[_0xf3a8('0x8')]['model'][_0xf3a8('0xa')](()=>{for(const _0x183141 of this[_0xf3a8('0x1')][_0xf3a8('0x4')]())_0x183141[_0xf3a8('0x3')]&&this['_discardSuggestionCommand'][_0xf3a8('0x5')](_0x183141['id']);});}}
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 _0x280f=['_discardSuggestionCommand','values','isEnabled','editor','_selectedSuggestions','model','refresh','change','size','from','_suggestions','execute'];(function(_0x64148c,_0x280f63){const _0x33ffba=function(_0x4416db){while(--_0x4416db){_0x64148c['push'](_0x64148c['shift']());}};_0x33ffba(++_0x280f63);}(_0x280f,0x7e));const _0x33ff=function(_0x64148c,_0x280f63){_0x64148c=_0x64148c-0x0;let _0x33ffba=_0x280f[_0x64148c];return _0x33ffba;};import{Command as _0x2e9050}from'ckeditor5/src/core';import _0x24127a from'../utils/getselectedsuggestions';export default class j extends _0x2e9050{constructor(_0x1b085f,_0x3a5c4c,_0x1ed7a8){super(_0x1b085f),this[_0x33ff('0x6')]=_0x3a5c4c,this[_0x33ff('0x4')]=_0x1ed7a8,this['_selectedSuggestions']=new Set(),this['refresh']();}[_0x33ff('0x0')](){const _0x424d55=this['_discardSuggestionCommand'],_0x41817d=this[_0x33ff('0x9')][_0x33ff('0xb')]['document']['selection'],_0x41455e=Array[_0x33ff('0x3')](this[_0x33ff('0x4')][_0x33ff('0x7')]());this[_0x33ff('0xa')]=_0x24127a(_0x41817d,_0x41455e),this[_0x33ff('0x8')]=_0x424d55['isEnabled']&&!!this[_0x33ff('0xa')][_0x33ff('0x2')];}[_0x33ff('0x5')](){this[_0x33ff('0x9')][_0x33ff('0xb')][_0x33ff('0x1')](()=>{for(const _0x43dd86 of this[_0x33ff('0xa')])this[_0x33ff('0x6')][_0x33ff('0x5')](_0x43dd86['id']);});}}
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 _0x1c86=['refresh','discardSuggestion','get','_suggestions','plugins','TrackChangesEditing','isEnabled'];(function(_0x2a0d9c,_0x1c8650){const _0x4e75b1=function(_0x2b35bf){while(--_0x2b35bf){_0x2a0d9c['push'](_0x2a0d9c['shift']());}};_0x4e75b1(++_0x1c8650);}(_0x1c86,0x114));const _0x4e75=function(_0x2a0d9c,_0x1c8650){_0x2a0d9c=_0x2a0d9c-0x0;let _0x4e75b1=_0x1c86[_0x2a0d9c];return _0x4e75b1;};import{Command as _0x4fabf3}from'ckeditor5/src/core';import{CKEditorError as _0x56aee5}from'ckeditor5/src/utils';export default class M extends _0x4fabf3{constructor(_0x8259d0,_0x44652b){super(_0x8259d0),this[_0x4e75('0x0')]=_0x44652b,this[_0x4e75('0x4')]();}[_0x4e75('0x4')](){this[_0x4e75('0x3')]=!0x0;}['execute'](_0x4d3fdd){const _0x48e5cd=this[_0x4e75('0x0')][_0x4e75('0x6')](_0x4d3fdd);if(!_0x48e5cd)throw new _0x56aee5('track-changes-discard-suggestion-not-found',this);this['editor'][_0x4e75('0x1')][_0x4e75('0x6')](_0x4e75('0x2'))[_0x4e75('0x5')](_0x48e5cd);}}
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 _0x985a=['affectsData','refresh','_enabledCommands','value','forceDisabled','execute','TrackChangesCommand','isEnabled','_disableUnsupportedCommands','commands','editor','has'];(function(_0xa389ce,_0x985ac6){const _0x5df925=function(_0x48c39b){while(--_0x48c39b){_0xa389ce['push'](_0xa389ce['shift']());}};_0x5df925(++_0x985ac6);}(_0x985a,0x8e));const _0x5df9=function(_0xa389ce,_0x985ac6){_0xa389ce=_0xa389ce-0x0;let _0x5df925=_0x985a[_0xa389ce];return _0x5df925;};import{Command as _0x22a5de}from'ckeditor5/src/core';export default class _ extends _0x22a5de{constructor(_0x55d65c,_0x38cb17){super(_0x55d65c),this[_0x5df9('0x4')]=_0x38cb17,this['value']=!0x1,this['refresh']();}[_0x5df9('0x3')](){this[_0x5df9('0x9')]=!0x0;}[_0x5df9('0x7')](){this['value']=!this[_0x5df9('0x5')],this['value']?this[_0x5df9('0xa')]():this['_enableCommands']();}[_0x5df9('0xa')](){for(const _0x4a62a4 of this[_0x5df9('0x0')]['commands'][_0x5df9('0xb')]())_0x4a62a4[_0x5df9('0x2')]&&!this[_0x5df9('0x4')][_0x5df9('0x1')](_0x4a62a4)&&_0x4a62a4[_0x5df9('0x6')](_0x5df9('0x8'));}['_enableCommands'](){for(const _0x5f49ab of this[_0x5df9('0x0')][_0x5df9('0xb')][_0x5df9('0xb')]())_0x5f49ab[_0x5df9('0x2')]&&!this[_0x5df9('0x4')][_0x5df9('0x1')](_0x5f49ab)&&_0x5f49ab['clearForceDisabled']('TrackChangesCommand');}}
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 _0x26505d}from'ckeditor5/src/core';export default class U extends _0x26505d{['afterInit'](){const _0x3ecd8a=this['editor'],{t:t}=_0x3ecd8a['locale'];if(!_0x3ecd8a['plugins']['has']('AlignmentEditing'))return;const _0x28d630=_0x3ecd8a['plugins']['get']('TrackChangesEditing');_0x28d630['enableCommand']('alignment',(_0x411fab,_0x5acaf3={})=>{let _0x370255=_0x5acaf3['value'];_0x5acaf3['value']||(_0x370255='ltr'===_0x3ecd8a['locale']['contentLanguageDirection']?'left':'right');const _0x10df93=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x4d64c0=>function(_0x2345a1,_0x18dfd2,_0x3230e7){const _0x21c14=_0x2345a1['getAttribute']('alignment')||null;return _0x18dfd2['checkAttribute'](_0x2345a1,'alignment')&&_0x3230e7!=_0x21c14;}(_0x4d64c0,this['editor']['model']['schema'],_0x370255));_0x3ecd8a['model']['change'](()=>{for(const _0x39f751 of _0x10df93)_0x28d630['markBlockFormat'](_0x39f751,{'commandName':'alignment','commandParams':[{'value':_0x370255}]});});}),_0x28d630['_descriptionFactory']['registerDescriptionCallback'](_0x458dea=>{const {data:_0x1b1cb2}=_0x458dea;if(_0x1b1cb2&&'alignment'==_0x1b1cb2['commandName']){const _0x52da6f=_0x1b1cb2['commandParams'][0x0]['value'];return{'type':'format','content':t('*Format:*\x20%0',function(_0x19de5a){switch(_0x19de5a){case'left':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'right':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'center':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'justify':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});}}(_0x52da6f))};}});}}
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 _0x3f1968}from'ckeditor5/src/core';import{getRangesWithAttribute as Rt}from'./utils';const Ot=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class E extends _0x3f1968{['afterInit'](){const _0x578655=this['editor'],_0x2a1c60=_0x578655['model'],_0x32b654=_0x578655['plugins']['get']('TrackChangesEditing'),{t:t}=_0x578655['locale'];for(const _0x1ad341 of Ot){if(!_0x578655['plugins']['has'](_0x1ad341))continue;const _0x2cddcc=_0x1ad341['slice'](0x0,-0x7)['toLowerCase'](),_0x298bef=_0x578655['commands']['get'](_0x2cddcc);_0x32b654['enableCommand'](_0x2cddcc,(_0x5b437d,_0x3dcd31={})=>{const _0x4cf1fc=_0x2a1c60['document']['selection'];if(_0x4cf1fc['isCollapsed'])return void _0x5b437d(_0x3dcd31);const _0x4b15ca=void 0x0!==_0x3dcd31['forceValue']?_0x3dcd31['forceValue']:!_0x298bef['value'];_0x2a1c60['change'](()=>{const _0x5b97d9=Array['from'](_0x4cf1fc['getRanges']());for(const _0x5b849a of _0x5b97d9){const _0x5c6476=_0x4b15ca?[_0x5b849a]:Rt(_0x2cddcc,_0x5b849a,_0x2a1c60);for(const _0x36ca9c of _0x5c6476)_0x32b654['markInlineFormat'](_0x36ca9c,{'commandName':_0x2cddcc,'commandParams':[{'forceValue':_0x4b15ca}]});}});});}function _0x157963(_0x2d60e4,_0x2ac854){_0x32b654['_descriptionFactory']['registerDescriptionCallback'](_0x39a668=>{const {data:_0x210f95}=_0x39a668;if(_0x210f95&&_0x210f95['commandName']===_0x2d60e4)return _0x210f95['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x2ac854)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x2ac854)};});}_0x157963('bold',t({'string':'bold','id':'FORMAT_BOLD'})),_0x157963('italic',t({'string':'italic','id':'FORMAT_ITALIC'})),_0x157963('underline',t({'string':'underline','id':'FORMAT_UNDERLINE'})),_0x157963('code',t({'string':'code','id':'FORMAT_CODE'})),_0x157963('strikethrough',t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'})),_0x157963('subscript',t({'string':'subscript','id':'FORMAT_SUBSCRIPT'})),_0x157963('superscript',t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'}));}}
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 _0x29bed9}from'ckeditor5/src/core';import{TreeWalker as Qt}from'ckeditor5/src/engine';export default class x extends _0x29bed9{['afterInit'](){const _0x3cad1e=this['editor'],{t:t}=_0x3cad1e['locale'];if(!_0x3cad1e['plugins']['has']('BlockQuoteEditing'))return;const _0x35bf66=_0x3cad1e['plugins']['get']('TrackChangesEditing'),_0x3ef524=this['editor']['commands']['get']('blockQuote');_0x35bf66['enableCommand']('blockQuote',(_0x294c90,_0x154ef2={})=>{const _0xd0731a=this['editor']['model']['document']['selection'],_0x224354=_0x154ef2&&void 0x0!==_0x154ef2['forceValue']?_0x154ef2['forceValue']:!_0x3ef524['value'];let _0x151b87=[];if(_0x224354){const _0x1116d9=Array['from'](_0xd0731a['getSelectedBlocks']())['filter'](_0x47fa7b=>Bt(_0x47fa7b)||function(_0x583422,_0x20dca7){const _0x162f36=_0x20dca7['checkChild'](_0x583422['parent'],'blockQuote'),_0x35bc4f=_0x20dca7['checkChild'](['$root','blockQuote'],_0x583422);return _0x162f36&&_0x35bc4f;}(_0x47fa7b,this['editor']['model']['schema']));_0x151b87=Lt(_0x1116d9,_0x3cad1e['model']);}else{const _0x3b89d4=Array['from'](_0xd0731a['getSelectedBlocks']())['filter'](_0x1ba52a=>Bt(_0x1ba52a));_0x151b87=Lt(_0x3b89d4,_0x3cad1e['model']);}_0x3cad1e['model']['change'](()=>{for(const _0x13f343 of _0x151b87)_0x35bf66['markBlockFormat'](_0x13f343,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x224354}]});});}),_0x35bf66['_descriptionFactory']['registerDescriptionCallback'](_0x55b8d5=>{const {data:_0xa2cd1f}=_0x55b8d5;if(_0xa2cd1f&&'blockQuote'==_0xa2cd1f['commandName']){const _0x514a91=t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});return _0xa2cd1f['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x514a91)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x514a91)};}});}}function Bt(_0x54d626){return'blockQuote'==_0x54d626['parent']['name'];}function Lt(_0x282a0b,_0x378c85){let _0x1becb3,_0x509885=0x0;const _0xe23400=[],_0x5050d0=_0x378c85['schema'];for(;_0x509885<_0x282a0b['length'];){const _0x1e1015=_0x282a0b[_0x509885],_0x505ac1=_0x282a0b[_0x509885+0x1];_0x1becb3||(_0x1becb3=_0x378c85['createPositionBefore'](_0x1e1015)),_t(_0x378c85,_0x1e1015,_0x505ac1)||(_0xe23400['push'](_0x378c85['createRange'](_0x1becb3,_0x5050d0['isObject'](_0x1e1015)?_0x378c85['createPositionAfter'](_0x1e1015):_0x378c85['createPositionAt'](_0x1e1015,'end'))),_0x1becb3=null),_0x509885++;}return _0xe23400;}function _t(_0x31894d,_0x48925e,_0x83c14d){if(!_0x83c14d)return!0x1;const _0x445ff0=_0x31894d['createPositionAfter'](_0x48925e),_0x3696d1=_0x31894d['createPositionBefore'](_0x83c14d),_0x263b4f=new Qt({'boundaries':_0x31894d['createRange'](_0x445ff0,_0x3696d1)});for(const _0x407d15 of _0x263b4f)if('text'==_0x407d15['type']||_0x31894d['schema']['isLimit'](_0x407d15['item']))return!0x1;return!0x0;}
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')];}