@ckeditor/ckeditor5-track-changes 31.1.0 → 34.0.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 (117) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +5 -2
  3. package/build/track-changes.js +5 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/cs.js +1 -0
  6. package/build/translations/da.js +1 -0
  7. package/build/translations/de.js +1 -0
  8. package/build/translations/el.js +1 -0
  9. package/build/translations/en-au.js +1 -0
  10. package/build/translations/es.js +1 -0
  11. package/build/translations/et.js +1 -0
  12. package/build/translations/fr.js +1 -0
  13. package/build/translations/gl.js +1 -0
  14. package/build/translations/hi.js +1 -0
  15. package/build/translations/hr.js +1 -0
  16. package/build/translations/id.js +1 -0
  17. package/build/translations/it.js +1 -0
  18. package/build/translations/nl.js +1 -0
  19. package/build/translations/pl.js +1 -0
  20. package/build/translations/pt-br.js +1 -0
  21. package/build/translations/sk.js +1 -0
  22. package/build/translations/sr-latn.js +1 -0
  23. package/build/translations/sr.js +1 -0
  24. package/build/translations/tk.js +1 -0
  25. package/build/translations/tr.js +1 -0
  26. package/build/translations/zh-cn.js +1 -0
  27. package/build/translations/zh.js +1 -0
  28. package/ckeditor5-metadata.json +3 -0
  29. package/lang/contexts.json +1 -1
  30. package/lang/translations/az.po +387 -0
  31. package/lang/translations/cs.po +32 -32
  32. package/lang/translations/da.po +2 -2
  33. package/lang/translations/de.po +2 -2
  34. package/lang/translations/el.po +387 -0
  35. package/lang/translations/en-au.po +7 -7
  36. package/lang/translations/en.po +2 -2
  37. package/lang/translations/es.po +37 -37
  38. package/lang/translations/et.po +2 -2
  39. package/lang/translations/fr.po +2 -2
  40. package/lang/translations/gl.po +5 -5
  41. package/lang/translations/hi.po +2 -2
  42. package/lang/translations/hr.po +15 -15
  43. package/lang/translations/id.po +370 -0
  44. package/lang/translations/it.po +4 -4
  45. package/lang/translations/nl.po +2 -2
  46. package/lang/translations/pl.po +2 -2
  47. package/lang/translations/pt-br.po +4 -4
  48. package/lang/translations/sk.po +59 -59
  49. package/lang/translations/sr-latn.po +4 -4
  50. package/lang/translations/sr.po +4 -4
  51. package/lang/translations/tk.po +2 -2
  52. package/lang/translations/tr.po +2 -2
  53. package/lang/translations/zh-cn.po +2 -2
  54. package/lang/translations/zh.po +2 -2
  55. package/package.json +4 -7
  56. package/src/commands/acceptallsuggestionscommand.js +2 -2
  57. package/src/commands/acceptselectedsuggestionscommand.js +2 -2
  58. package/src/commands/acceptsuggestioncommand.js +2 -2
  59. package/src/commands/discardallsuggestionscommand.js +2 -2
  60. package/src/commands/discardselectedsuggestionscommand.js +2 -2
  61. package/src/commands/discardsuggestioncommand.js +2 -2
  62. package/src/commands/trackchangescommand.js +2 -2
  63. package/src/index.js +23 -0
  64. package/src/integrations/alignment.js +2 -2
  65. package/src/integrations/basicstyles.js +2 -2
  66. package/src/integrations/blockquote.js +2 -2
  67. package/src/integrations/codeblock.js +2 -2
  68. package/src/integrations/comments.js +2 -2
  69. package/src/integrations/deletecommand.js +2 -2
  70. package/src/integrations/entercommand.js +2 -2
  71. package/src/integrations/font.js +2 -2
  72. package/src/integrations/heading.js +2 -2
  73. package/src/integrations/highlight.js +2 -2
  74. package/src/integrations/horizontalline.js +2 -2
  75. package/src/integrations/image.js +2 -2
  76. package/src/integrations/indent.js +2 -2
  77. package/src/integrations/inputcommand.js +2 -2
  78. package/src/integrations/link.js +2 -2
  79. package/src/integrations/list.js +2 -2
  80. package/src/integrations/mediaembed.js +2 -2
  81. package/src/integrations/mention.js +2 -2
  82. package/src/integrations/pagebreak.js +2 -2
  83. package/src/integrations/paragraph.js +2 -2
  84. package/src/integrations/removeformat.js +2 -2
  85. package/src/integrations/restrictededitingmode.js +2 -2
  86. package/src/integrations/shiftentercommand.js +2 -2
  87. package/src/integrations/standardeditingmode.js +2 -2
  88. package/src/integrations/table.js +2 -2
  89. package/src/integrations/tableclipboard.js +2 -2
  90. package/src/integrations/tableheadings.js +2 -2
  91. package/src/integrations/tablemergesplit.js +2 -2
  92. package/src/integrations/title.js +2 -2
  93. package/src/integrations/undo.js +2 -2
  94. package/src/integrations/utils.js +2 -2
  95. package/src/suggestion.js +2 -2
  96. package/src/suggestiondescriptionfactory.js +2 -2
  97. package/src/trackchanges.js +2 -2
  98. package/src/trackchangesdata.js +2 -2
  99. package/src/trackchangesediting.js +2 -2
  100. package/src/trackchangesui.js +2 -2
  101. package/src/ui/suggestioncontroller.js +2 -2
  102. package/src/ui/view/basesuggestionthreadview.js +2 -2
  103. package/src/ui/view/suggestionthreadview.js +2 -2
  104. package/src/utils/getselectedsuggestions.js +2 -2
  105. package/src/utils/hashobject.js +2 -2
  106. package/src/utils/normalizedescription.js +2 -2
  107. package/src/utils/sortsuggestions.js +2 -2
  108. package/theme/icons/track-changes-accept.svg +1 -1
  109. package/theme/icons/track-changes-discard.svg +1 -1
  110. package/theme/icons/track-changes.svg +1 -1
  111. package/theme/integrations/horizontalline.css +0 -15
  112. package/theme/integrations/image.css +0 -55
  113. package/theme/integrations/mediaembed.css +0 -19
  114. package/theme/integrations/pagebreak.css +0 -15
  115. package/theme/integrations/table.css +0 -147
  116. package/theme/suggestion.css +0 -87
  117. package/theme/suggestionmarker.css +0 -161
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -58,7 +58,7 @@ msgstr "*Odstrániť formátovanie:* %0"
58
58
 
59
59
  msgctxt "A suggestion for removing the highlight."
60
60
  msgid "*Remove highlight*"
61
- msgstr ""
61
+ msgstr "*Odstrániť zvýraznenie*"
62
62
 
63
63
  msgctxt "A suggestion for removing image text alternative."
64
64
  msgid "*Remove image text alternative*"
@@ -114,7 +114,7 @@ msgstr "*Nastaviť veľkosť písma:* %0"
114
114
 
115
115
  msgctxt "A suggestion for highlighting text."
116
116
  msgid "*Set highlight:* %0"
117
- msgstr ""
117
+ msgstr "*Nastaviť zvýraznenie:* %0"
118
118
 
119
119
  msgctxt "A suggestion for setting image text alternative to %0."
120
120
  msgid "*Set image text alternative:* %0"
@@ -178,7 +178,7 @@ msgstr "Odrážkový zoznam"
178
178
 
179
179
  msgctxt "The caption element name displayed in the suggestion."
180
180
  msgid "ELEMENT_CAPTION"
181
- msgstr ""
181
+ msgstr "titulok"
182
182
 
183
183
  msgctxt "The code block element name displayed in the suggestion."
184
184
  msgid "ELEMENT_CODE_BLOCK"
@@ -199,10 +199,10 @@ msgstr[3] "%0 nadpisov (level %1)"
199
199
  msgctxt "The heading element name displayed in the suggestion with a custom title."
200
200
  msgid "ELEMENT_HEADING_CUSTOM"
201
201
  msgid_plural "%0 headings (%1)"
202
- msgstr[0] ""
203
- msgstr[1] ""
204
- msgstr[2] ""
205
- msgstr[3] ""
202
+ msgstr[0] "%0 nadpis (%1)"
203
+ msgstr[1] "%0 nadpisy (%1)"
204
+ msgstr[2] "%0 nadpisov (%1)"
205
+ msgstr[3] "%0 nadpisov (%1)"
206
206
 
207
207
  msgctxt "The horizontal line element name displayed in the suggestion."
208
208
  msgid "ELEMENT_HORIZONTAL_LINE"
@@ -223,34 +223,34 @@ msgstr[3] "%0 obrázkov"
223
223
  msgctxt "The inline image element name displayed in the suggestion."
224
224
  msgid "ELEMENT_INLINE_IMAGE"
225
225
  msgid_plural "%0 images"
226
- msgstr[0] ""
227
- msgstr[1] ""
228
- msgstr[2] ""
229
- msgstr[3] ""
226
+ msgstr[0] "%0 obrázok"
227
+ msgstr[1] "%0 obrázky"
228
+ msgstr[2] "%0 obrázkov"
229
+ msgstr[3] "%0 obrázkov"
230
230
 
231
231
  msgctxt "The line break element name displayed in the suggestion."
232
232
  msgid "ELEMENT_LINE_BREAK"
233
233
  msgid_plural "%0 line breaks"
234
- msgstr[0] ""
235
- msgstr[1] ""
236
- msgstr[2] ""
237
- msgstr[3] ""
234
+ msgstr[0] "%0 zalomenie riadku"
235
+ msgstr[1] "%0 zalomenie riadkov"
236
+ msgstr[2] "%0 zalomenie riadkov"
237
+ msgstr[3] "%0 zalomenie riadkov"
238
238
 
239
239
  msgctxt "The list item element name displayed in the suggestion."
240
240
  msgid "ELEMENT_LIST_ITEM"
241
241
  msgid_plural "%0 list items"
242
- msgstr[0] ""
243
- msgstr[1] ""
244
- msgstr[2] ""
245
- msgstr[3] ""
242
+ msgstr[0] "%0 položka zoznamu"
243
+ msgstr[1] "%0 položky zoznamu"
244
+ msgstr[2] "%0 položiek zoznamu"
245
+ msgstr[3] "%0 položiek zoznamu"
246
246
 
247
247
  msgctxt "The media element name displayed in the suggestion."
248
248
  msgid "ELEMENT_MEDIA"
249
249
  msgid_plural "%0 media items"
250
- msgstr[0] ""
251
- msgstr[1] ""
252
- msgstr[2] ""
253
- msgstr[3] ""
250
+ msgstr[0] "%0 mediálny súbor"
251
+ msgstr[1] "%0 mediálne súbory"
252
+ msgstr[2] "%0 mediálnych súborov"
253
+ msgstr[3] "%0 mediálnych súborov"
254
254
 
255
255
  msgctxt "The numbered list element name displayed in the suggestion."
256
256
  msgid "ELEMENT_NUMBERED_LIST"
@@ -259,66 +259,66 @@ msgstr "číslovaný zoznam"
259
259
  msgctxt "The page break element name displayed in the suggestion."
260
260
  msgid "ELEMENT_PAGE_BREAK"
261
261
  msgid_plural "%0 page breaks"
262
- msgstr[0] ""
263
- msgstr[1] ""
264
- msgstr[2] ""
265
- msgstr[3] ""
262
+ msgstr[0] "%0 zalomenie strany"
263
+ msgstr[1] "%0 zalomenie strán"
264
+ msgstr[2] "%0 zalomenie strán"
265
+ msgstr[3] "%0 zalomenie strán"
266
266
 
267
267
  msgctxt "The paragraph element name displayed in the suggestion."
268
268
  msgid "ELEMENT_PARAGRAPH"
269
269
  msgid_plural "%0 paragraphs"
270
- msgstr[0] ""
271
- msgstr[1] ""
272
- msgstr[2] ""
273
- msgstr[3] ""
270
+ msgstr[0] "%0 odstavec"
271
+ msgstr[1] "%0 odstavce"
272
+ msgstr[2] "%0 odstavcov"
273
+ msgstr[3] "%0 odstavcov"
274
274
 
275
275
  msgctxt "The space element name displayed in the suggestion."
276
276
  msgid "ELEMENT_SPACE"
277
277
  msgid_plural "%0 spaces"
278
- msgstr[0] ""
279
- msgstr[1] ""
280
- msgstr[2] ""
281
- msgstr[3] ""
278
+ msgstr[0] "%0 medzera"
279
+ msgstr[1] "%0 medzery"
280
+ msgstr[2] "%0 medzier"
281
+ msgstr[3] "%0 medzier"
282
282
 
283
283
  msgctxt "The table element name displayed in the suggestion."
284
284
  msgid "ELEMENT_TABLE"
285
285
  msgid_plural "%0 tables"
286
- msgstr[0] ""
287
- msgstr[1] ""
288
- msgstr[2] ""
289
- msgstr[3] ""
286
+ msgstr[0] "%0 tabuľka"
287
+ msgstr[1] "%0 tabulky"
288
+ msgstr[2] "%0 tabuliek"
289
+ msgstr[3] "%0 tabuliek"
290
290
 
291
291
  msgctxt "The table column element name displayed in the suggestion."
292
292
  msgid "ELEMENT_TABLE_COLUMN"
293
293
  msgid_plural "%0 table columns"
294
- msgstr[0] ""
295
- msgstr[1] ""
296
- msgstr[2] ""
297
- msgstr[3] ""
294
+ msgstr[0] "%0 stĺpec tabuľky"
295
+ msgstr[1] "%0 stĺpce tabuľky"
296
+ msgstr[2] "%0 stĺpcov tabuľky"
297
+ msgstr[3] "%0 stĺpcov tabuľky"
298
298
 
299
299
  msgctxt "The table column with text element name displayed in the suggestion."
300
300
  msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
301
301
  msgid_plural "%0 table columns *with text* %1"
302
- msgstr[0] ""
303
- msgstr[1] ""
304
- msgstr[2] ""
305
- msgstr[3] ""
302
+ msgstr[0] "%0 stĺpec tabuľky *s textom* %1"
303
+ msgstr[1] "%0 stĺpce tabuľky *s textom* %1"
304
+ msgstr[2] "%0 stĺpcov tabuľky *s textom* %1"
305
+ msgstr[3] "%0 stĺpcov tabuľky *s textom* %1"
306
306
 
307
307
  msgctxt "The table row element name displayed in the suggestion."
308
308
  msgid "ELEMENT_TABLE_ROW"
309
309
  msgid_plural "%0 table rows"
310
- msgstr[0] ""
311
- msgstr[1] ""
312
- msgstr[2] ""
313
- msgstr[3] ""
310
+ msgstr[0] "%0 riadok tabuľky"
311
+ msgstr[1] "%0 riadky tabuľky"
312
+ msgstr[2] "%0 riadkov tabuľky"
313
+ msgstr[3] "%0 riadkov tabuľky"
314
314
 
315
315
  msgctxt "The table row with text element name displayed in the suggestion."
316
316
  msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
317
317
  msgid_plural "%0 table rows *with text* %1"
318
- msgstr[0] ""
319
- msgstr[1] ""
320
- msgstr[2] ""
321
- msgstr[3] ""
318
+ msgstr[0] "%0 riadok tabuľky *s textom* %1"
319
+ msgstr[1] "%0 riadky tabuľky *s textom* %1"
320
+ msgstr[2] "%0 riadkov tabuľky *s textom* %1"
321
+ msgstr[3] "%0 riadkov tabuľky *s textom* %1"
322
322
 
323
323
  msgctxt "The table with text element name displayed in the suggestion."
324
324
  msgid "ELEMENT_TABLE_WITH_TEXT"
@@ -382,11 +382,11 @@ msgstr "Klasický riadok"
382
382
 
383
383
  msgctxt "The label for area disabled in restricted editing area in a format suggestion."
384
384
  msgid "FORMAT_RESTRICTED_DISABLED"
385
- msgstr ""
385
+ msgstr "*Zakázať v režime obmedzených úprav*"
386
386
 
387
387
  msgctxt "The label for area enabled in restricted editing area in a format suggestion."
388
388
  msgid "FORMAT_RESTRICTED_ENABLED"
389
- msgstr ""
389
+ msgstr "*Povoliť v režime obmedzených úprav*"
390
390
 
391
391
  msgctxt "The side image format name displayed in a format suggestion."
392
392
  msgid "FORMAT_SIDE_IMAGE"
@@ -408,7 +408,7 @@ msgctxt "The underline format name displayed in a format suggestion."
408
408
  msgid "FORMAT_UNDERLINE"
409
409
  msgstr "podčiarknuť"
410
410
 
411
- msgctxt "The label for the alert shown when closing the editor with an unsaved comment change."
411
+ msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
412
412
  msgid "PENDING_ACTION_SUGGESTION"
413
413
  msgstr "Neuložená zmena v návrhu."
414
414
 
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -58,7 +58,7 @@ msgstr "*Ukloni format:* %0"
58
58
 
59
59
  msgctxt "A suggestion for removing the highlight."
60
60
  msgid "*Remove highlight*"
61
- msgstr ""
61
+ msgstr "*Ukloni isticanje*"
62
62
 
63
63
  msgctxt "A suggestion for removing image text alternative."
64
64
  msgid "*Remove image text alternative*"
@@ -114,7 +114,7 @@ msgstr "*Podesi veličinu fontova:* %0"
114
114
 
115
115
  msgctxt "A suggestion for highlighting text."
116
116
  msgid "*Set highlight:* %0"
117
- msgstr ""
117
+ msgstr "*Podesite isticanje:* %0"
118
118
 
119
119
  msgctxt "A suggestion for setting image text alternative to %0."
120
120
  msgid "*Set image text alternative:* %0"
@@ -391,7 +391,7 @@ msgctxt "The underline format name displayed in a format suggestion."
391
391
  msgid "FORMAT_UNDERLINE"
392
392
  msgstr "podvući"
393
393
 
394
- msgctxt "The label for the alert shown when closing the editor with an unsaved comment change."
394
+ msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
395
395
  msgid "PENDING_ACTION_SUGGESTION"
396
396
  msgstr "Nesačuvana promena predloga."
397
397
 
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -58,7 +58,7 @@ msgstr "*Уклони формат:* %0"
58
58
 
59
59
  msgctxt "A suggestion for removing the highlight."
60
60
  msgid "*Remove highlight*"
61
- msgstr ""
61
+ msgstr "*Уклони истицање* "
62
62
 
63
63
  msgctxt "A suggestion for removing image text alternative."
64
64
  msgid "*Remove image text alternative*"
@@ -114,7 +114,7 @@ msgstr "*Подеси величину фонта:* %0"
114
114
 
115
115
  msgctxt "A suggestion for highlighting text."
116
116
  msgid "*Set highlight:* %0"
117
- msgstr ""
117
+ msgstr "*Подесите истицање:* %0 "
118
118
 
119
119
  msgctxt "A suggestion for setting image text alternative to %0."
120
120
  msgid "*Set image text alternative:* %0"
@@ -391,7 +391,7 @@ msgctxt "The underline format name displayed in a format suggestion."
391
391
  msgid "FORMAT_UNDERLINE"
392
392
  msgstr "подвући"
393
393
 
394
- msgctxt "The label for the alert shown when closing the editor with an unsaved comment change."
394
+ msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
395
395
  msgid "PENDING_ACTION_SUGGESTION"
396
396
  msgstr "Несачувана промена предлога"
397
397
 
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -374,7 +374,7 @@ msgctxt "The underline format name displayed in a format suggestion."
374
374
  msgid "FORMAT_UNDERLINE"
375
375
  msgstr "aşagy çyzykly"
376
376
 
377
- msgctxt "The label for the alert shown when closing the editor with an unsaved comment change."
377
+ msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
378
378
  msgid "PENDING_ACTION_SUGGESTION"
379
379
  msgstr "Teklipde saklanmadyk üýtgeşiklik."
380
380
 
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -374,7 +374,7 @@ msgctxt "The underline format name displayed in a format suggestion."
374
374
  msgid "FORMAT_UNDERLINE"
375
375
  msgstr "alttan çizili"
376
376
 
377
- msgctxt "The label for the alert shown when closing the editor with an unsaved comment change."
377
+ msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
378
378
  msgid "PENDING_ACTION_SUGGESTION"
379
379
  msgstr "Öneride kaydedilmemiş değişiklik."
380
380
 
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -357,7 +357,7 @@ msgctxt "The underline format name displayed in a format suggestion."
357
357
  msgid "FORMAT_UNDERLINE"
358
358
  msgstr "下划线"
359
359
 
360
- msgctxt "The label for the alert shown when closing the editor with an unsaved comment change."
360
+ msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
361
361
  msgid "PENDING_ACTION_SUGGESTION"
362
362
  msgstr "建议中有未保存内容"
363
363
 
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -357,7 +357,7 @@ msgctxt "The underline format name displayed in a format suggestion."
357
357
  msgid "FORMAT_UNDERLINE"
358
358
  msgstr ""
359
359
 
360
- msgctxt "The label for the alert shown when closing the editor with an unsaved comment change."
360
+ msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
361
361
  msgid "PENDING_ACTION_SUGGESTION"
362
362
  msgstr ""
363
363
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "31.1.0",
3
+ "version": "34.0.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -25,13 +25,10 @@
25
25
  "realtime",
26
26
  "framework"
27
27
  ],
28
+ "main": "src/index.js",
28
29
  "dependencies": {
29
- "@ckeditor/ckeditor5-collaboration-core": "^31.1.0",
30
- "@ckeditor/ckeditor5-comments": "^31.1.0",
31
- "@ckeditor/ckeditor5-font": "^31.1.0",
32
- "@ckeditor/ckeditor5-image": "^31.1.0",
33
- "@ckeditor/ckeditor5-table": "^31.1.0",
34
- "ckeditor5": "^31.1.0",
30
+ "ckeditor5": "^34.0.0",
31
+ "ckeditor5-collaboration": "^34.0.0",
35
32
  "lodash-es": "^4.17.11"
36
33
  }
37
34
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3262=['editor','execute','isEnabled','from','change','model','_suggestions','_acceptSuggestionCommand','values','refresh','isInContent'];(function(_0x1b7828,_0x326220){const _0xf45809=function(_0x421acc){while(--_0x421acc){_0x1b7828['push'](_0x1b7828['shift']());}};_0xf45809(++_0x326220);}(_0x3262,0xd7));const _0xf458=function(_0x1b7828,_0x326220){_0x1b7828=_0x1b7828-0x0;let _0xf45809=_0x3262[_0x1b7828];return _0xf45809;};import{Command as _0x5b0106}from'ckeditor5/src/core';import _0x394560 from'../utils/sortsuggestions';export default class R extends _0x5b0106{constructor(_0x35219e,_0xf24113,_0x37b8fd){super(_0x35219e),this[_0xf458('0x1')]=_0xf24113,this[_0xf458('0x0')]=_0x37b8fd,this['refresh']();}[_0xf458('0x3')](){const _0x3aa1c0=this[_0xf458('0x1')];this[_0xf458('0x7')]=_0x3aa1c0[_0xf458('0x7')]&&Array['from'](this[_0xf458('0x0')][_0xf458('0x2')]())['some'](_0x1fda4c=>_0x1fda4c['isInContent']);}[_0xf458('0x6')](){this[_0xf458('0x5')][_0xf458('0xa')][_0xf458('0x9')](()=>{const _0x2a3e5c=_0x394560(Array[_0xf458('0x8')](this[_0xf458('0x0')][_0xf458('0x2')]()));for(const _0x4950f6 of _0x2a3e5c)_0x4950f6[_0xf458('0x4')]&&this[_0xf458('0x1')][_0xf458('0x6')](_0x4950f6['id']);});}}
23
+ const _0x3324=['execute','editor','change','model','refresh','from','_acceptSuggestionCommand','_suggestions','isInContent','some','isEnabled','values'];(function(_0x9aea55,_0x332476){const _0x1ace01=function(_0x368b33){while(--_0x368b33){_0x9aea55['push'](_0x9aea55['shift']());}};_0x1ace01(++_0x332476);}(_0x3324,0x8c));const _0x1ace=function(_0x9aea55,_0x332476){_0x9aea55=_0x9aea55-0x0;let _0x1ace01=_0x3324[_0x9aea55];return _0x1ace01;};import{Command as _0x143fb9}from'ckeditor5/src/core';import _0x52889a from'../utils/sortsuggestions';export default class $ extends _0x143fb9{constructor(_0x2d4f77,_0x239c40,_0x27da80){super(_0x2d4f77),this[_0x1ace('0xa')]=_0x239c40,this[_0x1ace('0xb')]=_0x27da80,this[_0x1ace('0x8')]();}[_0x1ace('0x8')](){const _0x897fdc=this[_0x1ace('0xa')];this[_0x1ace('0x2')]=_0x897fdc[_0x1ace('0x2')]&&Array['from'](this[_0x1ace('0xb')][_0x1ace('0x3')]())[_0x1ace('0x1')](_0x75b929=>_0x75b929['isInContent']);}[_0x1ace('0x4')](){this[_0x1ace('0x5')][_0x1ace('0x7')][_0x1ace('0x6')](()=>{const _0x145ac2=_0x52889a(Array[_0x1ace('0x9')](this['_suggestions'][_0x1ace('0x3')]()));for(const _0x2f75d0 of _0x145ac2)_0x2f75d0[_0x1ace('0x0')]&&this[_0x1ace('0xa')][_0x1ace('0x4')](_0x2f75d0['id']);});}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x327a=['_selectedSuggestions','isEnabled','size','_acceptSuggestionCommand','model','editor','from','document','selection','_suggestions','values','change'];(function(_0x583ee4,_0x327a67){const _0xce660c=function(_0x3c42c2){while(--_0x3c42c2){_0x583ee4['push'](_0x583ee4['shift']());}};_0xce660c(++_0x327a67);}(_0x327a,0x1d7));const _0xce66=function(_0x583ee4,_0x327a67){_0x583ee4=_0x583ee4-0x0;let _0xce660c=_0x327a[_0x583ee4];return _0xce660c;};import{Command as _0x597abb}from'ckeditor5/src/core';import _0x5c4f48 from'../utils/sortsuggestions';import _0x29e36b from'../utils/getselectedsuggestions';export default class E extends _0x597abb{constructor(_0x13f730,_0x614954,_0x263e3c){super(_0x13f730),this[_0xce66('0x0')]=_0x614954,this[_0xce66('0x6')]=_0x263e3c,this[_0xce66('0x9')]=new Set(),this['refresh']();}['refresh'](){const _0x4fa081=this[_0xce66('0x0')],_0x4ab966=this[_0xce66('0x2')][_0xce66('0x1')][_0xce66('0x4')][_0xce66('0x5')],_0x2ce07d=Array[_0xce66('0x3')](this[_0xce66('0x6')][_0xce66('0x7')]());this['_selectedSuggestions']=_0x29e36b(_0x4ab966,_0x2ce07d),this[_0xce66('0xa')]=_0x4fa081['isEnabled']&&!!this[_0xce66('0x9')][_0xce66('0xb')];}['execute'](){this[_0xce66('0x2')][_0xce66('0x1')][_0xce66('0x8')](()=>{const _0x59995a=_0x5c4f48(Array[_0xce66('0x3')](this[_0xce66('0x9')]));for(const _0xc4accf of _0x59995a)this[_0xce66('0x0')]['execute'](_0xc4accf['id']);});}}
23
+ const _0x541c=['refresh','change','_acceptSuggestionCommand','isEnabled','_selectedSuggestions','execute','model','editor','_suggestions','from','values'];(function(_0x86b0cc,_0x541c9c){const _0x26fae8=function(_0x408513){while(--_0x408513){_0x86b0cc['push'](_0x86b0cc['shift']());}};_0x26fae8(++_0x541c9c);}(_0x541c,0x87));const _0x26fa=function(_0x86b0cc,_0x541c9c){_0x86b0cc=_0x86b0cc-0x0;let _0x26fae8=_0x541c[_0x86b0cc];return _0x26fae8;};import{Command as _0x4ad9ce}from'ckeditor5/src/core';import _0x2aec14 from'../utils/sortsuggestions';import _0x3e4c41 from'../utils/getselectedsuggestions';export default class N extends _0x4ad9ce{constructor(_0x2b3e3e,_0xc14774,_0x1f4001){super(_0x2b3e3e),this[_0x26fa('0xa')]=_0xc14774,this[_0x26fa('0x5')]=_0x1f4001,this[_0x26fa('0x1')]=new Set(),this[_0x26fa('0x8')]();}[_0x26fa('0x8')](){const _0x1cbd88=this[_0x26fa('0xa')],_0x3b532c=this['editor'][_0x26fa('0x3')]['document']['selection'],_0x40da78=Array[_0x26fa('0x6')](this[_0x26fa('0x5')][_0x26fa('0x7')]());this[_0x26fa('0x1')]=_0x3e4c41(_0x3b532c,_0x40da78),this['isEnabled']=_0x1cbd88[_0x26fa('0x0')]&&!!this['_selectedSuggestions']['size'];}[_0x26fa('0x2')](){this[_0x26fa('0x4')][_0x26fa('0x3')][_0x26fa('0x9')](()=>{const _0xc53bfb=_0x2aec14(Array[_0x26fa('0x6')](this[_0x26fa('0x1')]));for(const _0x25e8be of _0xc53bfb)this[_0x26fa('0xa')][_0x26fa('0x2')](_0x25e8be['id']);});}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc17e=['editor','get','isEnabled','_suggestions','refresh','plugins','track-changes-accept-suggestion-not-found','TrackChangesEditing'];(function(_0x39c617,_0xc17e9){const _0x26856d=function(_0x2bffba){while(--_0x2bffba){_0x39c617['push'](_0x39c617['shift']());}};_0x26856d(++_0xc17e9);}(_0xc17e,0x156));const _0x2685=function(_0x39c617,_0xc17e9){_0x39c617=_0x39c617-0x0;let _0x26856d=_0xc17e[_0x39c617];return _0x26856d;};import{Command as _0x15590f}from'ckeditor5/src/core';import{CKEditorError as _0x4d9bf3}from'ckeditor5/src/utils';export default class j extends _0x15590f{constructor(_0x232f95,_0x642e4){super(_0x232f95),this['_suggestions']=_0x642e4,this[_0x2685('0x6')]();}[_0x2685('0x6')](){this[_0x2685('0x4')]=!0x0;}['execute'](_0x1bbb4c){const _0x2735fb=this[_0x2685('0x5')][_0x2685('0x3')](_0x1bbb4c);if(!_0x2735fb)throw new _0x4d9bf3(_0x2685('0x0'),this);this[_0x2685('0x2')][_0x2685('0x7')]['get'](_0x2685('0x1'))['acceptSuggestion'](_0x2735fb);}}
23
+ const _0xda1b=['get','TrackChangesEditing','execute','acceptSuggestion','track-changes-accept-suggestion-not-found','isEnabled','_suggestions','refresh','plugins'];(function(_0x4ac7cf,_0xda1ba4){const _0xa24b15=function(_0x54a30d){while(--_0x54a30d){_0x4ac7cf['push'](_0x4ac7cf['shift']());}};_0xa24b15(++_0xda1ba4);}(_0xda1b,0x19e));const _0xa24b=function(_0x4ac7cf,_0xda1ba4){_0x4ac7cf=_0x4ac7cf-0x0;let _0xa24b15=_0xda1b[_0x4ac7cf];return _0xa24b15;};import{Command as _0x290b78}from'ckeditor5/src/core';import{CKEditorError as _0x5382d4}from'ckeditor5/src/utils';export default class B extends _0x290b78{constructor(_0x447d1a,_0x51b606){super(_0x447d1a),this['_suggestions']=_0x51b606,this[_0xa24b('0x7')]();}[_0xa24b('0x7')](){this[_0xa24b('0x5')]=!0x0;}[_0xa24b('0x2')](_0x129157){const _0x131b1e=this[_0xa24b('0x6')][_0xa24b('0x0')](_0x129157);if(!_0x131b1e)throw new _0x5382d4(_0xa24b('0x4'),this);this['editor'][_0xa24b('0x8')][_0xa24b('0x0')](_0xa24b('0x1'))[_0xa24b('0x3')](_0x131b1e);}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bcb=['change','refresh','isInContent','some','execute','editor','_discardSuggestionCommand','_suggestions','values','isEnabled'];(function(_0x12340c,_0x4bcb6a){const _0x3cddd9=function(_0x2c95bd){while(--_0x2c95bd){_0x12340c['push'](_0x12340c['shift']());}};_0x3cddd9(++_0x4bcb6a);}(_0x4bcb,0xb0));const _0x3cdd=function(_0x12340c,_0x4bcb6a){_0x12340c=_0x12340c-0x0;let _0x3cddd9=_0x4bcb[_0x12340c];return _0x3cddd9;};import{Command as _0x69e4b5}from'ckeditor5/src/core';export default class x extends _0x69e4b5{constructor(_0x4020b4,_0xf5287a,_0x28108b){super(_0x4020b4),this[_0x3cdd('0x0')]=_0xf5287a,this[_0x3cdd('0x1')]=_0x28108b,this[_0x3cdd('0x5')]();}['refresh'](){const _0x528905=this[_0x3cdd('0x0')];this['isEnabled']=_0x528905[_0x3cdd('0x3')]&&Array['from'](this[_0x3cdd('0x1')][_0x3cdd('0x2')]())[_0x3cdd('0x7')](_0xaa74b8=>_0xaa74b8[_0x3cdd('0x6')]);}[_0x3cdd('0x8')](){this[_0x3cdd('0x9')]['model'][_0x3cdd('0x4')](()=>{for(const _0x133f54 of this[_0x3cdd('0x1')][_0x3cdd('0x2')]())_0x133f54['isInContent']&&this[_0x3cdd('0x0')][_0x3cdd('0x8')](_0x133f54['id']);});}}
23
+ const _0x3f5e=['model','change','some','_suggestions','isEnabled','isInContent','refresh','_discardSuggestionCommand','values','editor','execute'];(function(_0x2239ee,_0x3f5e6b){const _0x5c4e42=function(_0xba76a0){while(--_0xba76a0){_0x2239ee['push'](_0x2239ee['shift']());}};_0x5c4e42(++_0x3f5e6b);}(_0x3f5e,0xf3));const _0x5c4e=function(_0x2239ee,_0x3f5e6b){_0x2239ee=_0x2239ee-0x0;let _0x5c4e42=_0x3f5e[_0x2239ee];return _0x5c4e42;};import{Command as _0x251253}from'ckeditor5/src/core';export default class R extends _0x251253{constructor(_0x496e04,_0x4b2fc3,_0x337870){super(_0x496e04),this[_0x5c4e('0x6')]=_0x4b2fc3,this[_0x5c4e('0x2')]=_0x337870,this[_0x5c4e('0x5')]();}[_0x5c4e('0x5')](){const _0x22a770=this[_0x5c4e('0x6')];this[_0x5c4e('0x3')]=_0x22a770[_0x5c4e('0x3')]&&Array['from'](this[_0x5c4e('0x2')][_0x5c4e('0x7')]())[_0x5c4e('0x1')](_0x31a20e=>_0x31a20e[_0x5c4e('0x4')]);}[_0x5c4e('0x9')](){this[_0x5c4e('0x8')][_0x5c4e('0xa')][_0x5c4e('0x0')](()=>{for(const _0x212dcb of this[_0x5c4e('0x2')][_0x5c4e('0x7')]())_0x212dcb[_0x5c4e('0x4')]&&this[_0x5c4e('0x6')]['execute'](_0x212dcb['id']);});}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3711=['execute','_suggestions','_discardSuggestionCommand','refresh','model','from','size','change','_selectedSuggestions','document','isEnabled','selection','values'];(function(_0x3f8d32,_0x37112c){const _0x264833=function(_0x426821){while(--_0x426821){_0x3f8d32['push'](_0x3f8d32['shift']());}};_0x264833(++_0x37112c);}(_0x3711,0x16f));const _0x2648=function(_0x3f8d32,_0x37112c){_0x3f8d32=_0x3f8d32-0x0;let _0x264833=_0x3711[_0x3f8d32];return _0x264833;};import{Command as _0xa7e97c}from'ckeditor5/src/core';import _0x528cc9 from'../utils/getselectedsuggestions';export default class O extends _0xa7e97c{constructor(_0x2fd087,_0x30c092,_0x8e0466){super(_0x2fd087),this[_0x2648('0xc')]=_0x30c092,this[_0x2648('0xb')]=_0x8e0466,this[_0x2648('0x5')]=new Set(),this['refresh']();}[_0x2648('0x0')](){const _0x231157=this[_0x2648('0xc')],_0x53a553=this['editor']['model'][_0x2648('0x6')][_0x2648('0x8')],_0xc51bc7=Array[_0x2648('0x2')](this[_0x2648('0xb')][_0x2648('0x9')]());this[_0x2648('0x5')]=_0x528cc9(_0x53a553,_0xc51bc7),this[_0x2648('0x7')]=_0x231157[_0x2648('0x7')]&&!!this['_selectedSuggestions'][_0x2648('0x3')];}[_0x2648('0xa')](){this['editor'][_0x2648('0x1')][_0x2648('0x4')](()=>{for(const _0x15f9b6 of this['_selectedSuggestions'])this[_0x2648('0xc')][_0x2648('0xa')](_0x15f9b6['id']);});}}
23
+ const _0x3f70=['from','editor','model','_discardSuggestionCommand','_selectedSuggestions','refresh','_suggestions','isEnabled','selection','document','values','size','execute'];(function(_0x1f2de6,_0x3f7091){const _0x4529f2=function(_0x36e3bf){while(--_0x36e3bf){_0x1f2de6['push'](_0x1f2de6['shift']());}};_0x4529f2(++_0x3f7091);}(_0x3f70,0xe7));const _0x4529=function(_0x1f2de6,_0x3f7091){_0x1f2de6=_0x1f2de6-0x0;let _0x4529f2=_0x3f70[_0x1f2de6];return _0x4529f2;};import{Command as _0x23c23b}from'ckeditor5/src/core';import _0x356cd1 from'../utils/getselectedsuggestions';export default class j extends _0x23c23b{constructor(_0x5af174,_0x1c7e1f,_0x51b2fc){super(_0x5af174),this[_0x4529('0x6')]=_0x1c7e1f,this[_0x4529('0x9')]=_0x51b2fc,this[_0x4529('0x7')]=new Set(),this[_0x4529('0x8')]();}[_0x4529('0x8')](){const _0x3b29ca=this[_0x4529('0x6')],_0x36f17d=this[_0x4529('0x4')][_0x4529('0x5')][_0x4529('0xc')][_0x4529('0xb')],_0x1ce34f=Array[_0x4529('0x3')](this[_0x4529('0x9')][_0x4529('0x0')]());this[_0x4529('0x7')]=_0x356cd1(_0x36f17d,_0x1ce34f),this['isEnabled']=_0x3b29ca[_0x4529('0xa')]&&!!this[_0x4529('0x7')][_0x4529('0x1')];}[_0x4529('0x2')](){this['editor'][_0x4529('0x5')]['change'](()=>{for(const _0x2c9648 of this[_0x4529('0x7')])this[_0x4529('0x6')][_0x4529('0x2')](_0x2c9648['id']);});}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cbb=['refresh','isEnabled','editor','_suggestions','discardSuggestion','track-changes-discard-suggestion-not-found','get','TrackChangesEditing'];(function(_0x2d52ed,_0x2cbb38){const _0x45dcc0=function(_0x38bd4f){while(--_0x38bd4f){_0x2d52ed['push'](_0x2d52ed['shift']());}};_0x45dcc0(++_0x2cbb38);}(_0x2cbb,0x122));const _0x45dc=function(_0x2d52ed,_0x2cbb38){_0x2d52ed=_0x2d52ed-0x0;let _0x45dcc0=_0x2cbb[_0x2d52ed];return _0x45dcc0;};import{Command as _0x1006ef}from'ckeditor5/src/core';import{CKEditorError as _0x5ecdfc}from'ckeditor5/src/utils';export default class U extends _0x1006ef{constructor(_0x26fa3f,_0x234e8f){super(_0x26fa3f),this[_0x45dc('0x1')]=_0x234e8f,this[_0x45dc('0x6')]();}[_0x45dc('0x6')](){this[_0x45dc('0x7')]=!0x0;}['execute'](_0x447644){const _0x3d224f=this['_suggestions'][_0x45dc('0x4')](_0x447644);if(!_0x3d224f)throw new _0x5ecdfc(_0x45dc('0x3'),this);this[_0x45dc('0x0')]['plugins'][_0x45dc('0x4')](_0x45dc('0x5'))[_0x45dc('0x2')](_0x3d224f);}}
23
+ const _0x5772=['track-changes-discard-suggestion-not-found','isEnabled','execute','plugins','get','_suggestions','TrackChangesEditing','refresh'];(function(_0xf5d6e8,_0x57722d){const _0x5ef4fe=function(_0x1b3f1a){while(--_0x1b3f1a){_0xf5d6e8['push'](_0xf5d6e8['shift']());}};_0x5ef4fe(++_0x57722d);}(_0x5772,0xa4));const _0x5ef4=function(_0xf5d6e8,_0x57722d){_0xf5d6e8=_0xf5d6e8-0x0;let _0x5ef4fe=_0x5772[_0xf5d6e8];return _0x5ef4fe;};import{Command as _0x411890}from'ckeditor5/src/core';import{CKEditorError as _0x3348f0}from'ckeditor5/src/utils';export default class M extends _0x411890{constructor(_0x5d43d7,_0x216996){super(_0x5d43d7),this[_0x5ef4('0x1')]=_0x216996,this['refresh']();}[_0x5ef4('0x3')](){this[_0x5ef4('0x5')]=!0x0;}[_0x5ef4('0x6')](_0x5db06e){const _0x2b7bb1=this[_0x5ef4('0x1')][_0x5ef4('0x0')](_0x5db06e);if(!_0x2b7bb1)throw new _0x3348f0(_0x5ef4('0x4'),this);this['editor'][_0x5ef4('0x7')]['get'](_0x5ef4('0x2'))['discardSuggestion'](_0x2b7bb1);}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e50=['commands','forceDisabled','refresh','value','TrackChangesCommand','execute','editor','clearForceDisabled','_disableUnsupportedCommands','_enabledCommands','isEnabled','has','affectsData'];(function(_0x358571,_0x4e50dd){const _0x2a88b5=function(_0x596708){while(--_0x596708){_0x358571['push'](_0x358571['shift']());}};_0x2a88b5(++_0x4e50dd);}(_0x4e50,0x145));const _0x2a88=function(_0x358571,_0x4e50dd){_0x358571=_0x358571-0x0;let _0x2a88b5=_0x4e50[_0x358571];return _0x2a88b5;};import{Command as _0x494598}from'ckeditor5/src/core';export default class N extends _0x494598{constructor(_0x51e750,_0xb162f4){super(_0x51e750),this['_enabledCommands']=_0xb162f4,this[_0x2a88('0x3')]=!0x1,this[_0x2a88('0x2')]();}[_0x2a88('0x2')](){this[_0x2a88('0xa')]=!0x0;}[_0x2a88('0x5')](){this[_0x2a88('0x3')]=!this[_0x2a88('0x3')],this[_0x2a88('0x3')]?this['_disableUnsupportedCommands']():this['_enableCommands']();}[_0x2a88('0x8')](){for(const _0x1b5c19 of this['editor'][_0x2a88('0x0')][_0x2a88('0x0')]())_0x1b5c19[_0x2a88('0xc')]&&!this[_0x2a88('0x9')][_0x2a88('0xb')](_0x1b5c19)&&_0x1b5c19[_0x2a88('0x1')](_0x2a88('0x4'));}['_enableCommands'](){for(const _0xc387f4 of this[_0x2a88('0x6')][_0x2a88('0x0')]['commands']())_0xc387f4[_0x2a88('0xc')]&&!this['_enabledCommands'][_0x2a88('0xb')](_0xc387f4)&&_0xc387f4[_0x2a88('0x7')](_0x2a88('0x4'));}}
23
+ const _0x1b31=['execute','value','_enabledCommands','clearForceDisabled','isEnabled','refresh','has','editor','_disableUnsupportedCommands','affectsData','forceDisabled','commands','TrackChangesCommand','_enableCommands'];(function(_0x20251b,_0x1b31c7){const _0xcd56c2=function(_0x1b275e){while(--_0x1b275e){_0x20251b['push'](_0x20251b['shift']());}};_0xcd56c2(++_0x1b31c7);}(_0x1b31,0xeb));const _0xcd56=function(_0x20251b,_0x1b31c7){_0x20251b=_0x20251b-0x0;let _0xcd56c2=_0x1b31[_0x20251b];return _0xcd56c2;};import{Command as _0x1e8d67}from'ckeditor5/src/core';export default class _ extends _0x1e8d67{constructor(_0x1b5428,_0x5ed5b0){super(_0x1b5428),this[_0xcd56('0x5')]=_0x5ed5b0,this[_0xcd56('0x4')]=!0x1,this[_0xcd56('0x8')]();}[_0xcd56('0x8')](){this[_0xcd56('0x7')]=!0x0;}[_0xcd56('0x3')](){this[_0xcd56('0x4')]=!this[_0xcd56('0x4')],this[_0xcd56('0x4')]?this[_0xcd56('0xb')]():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x216daf of this[_0xcd56('0xa')][_0xcd56('0x0')][_0xcd56('0x0')]())_0x216daf[_0xcd56('0xc')]&&!this[_0xcd56('0x5')][_0xcd56('0x9')](_0x216daf)&&_0x216daf[_0xcd56('0xd')](_0xcd56('0x1'));}[_0xcd56('0x2')](){for(const _0x22fa9d of this[_0xcd56('0xa')][_0xcd56('0x0')][_0xcd56('0x0')]())_0x22fa9d[_0xcd56('0xc')]&&!this[_0xcd56('0x5')][_0xcd56('0x9')](_0x22fa9d)&&_0x22fa9d[_0xcd56('0x6')](_0xcd56('0x1'));}}
package/src/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export{default as TrackChanges}from'./trackchanges';export{default as TrackChangesData}from'./trackchangesdata';export{default as BaseSuggestionThreadView}from'./ui/view/basesuggestionthreadview';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xace360}from'ckeditor5/src/core';export default class P extends _0xace360{['afterInit'](){const _0x5516a4=this['editor'],{t:t}=_0x5516a4['locale'];if(!_0x5516a4['plugins']['has']('AlignmentEditing'))return;const _0x42aee9=_0x5516a4['plugins']['get']('TrackChangesEditing');_0x42aee9['enableCommand']('alignment',(_0x3a1f20,_0x1c2c8d={})=>{let _0x1bd014=_0x1c2c8d['value'];_0x1c2c8d['value']||(_0x1bd014='ltr'===_0x5516a4['locale']['contentLanguageDirection']?'left':'right');const _0x4195f9=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x4c3a66=>function(_0x5967a6,_0x2690ac,_0x51feee){const _0x5e775f=_0x5967a6['getAttribute']('alignment')||null;return _0x2690ac['checkAttribute'](_0x5967a6,'alignment')&&_0x51feee!=_0x5e775f;}(_0x4c3a66,this['editor']['model']['schema'],_0x1bd014));_0x5516a4['model']['change'](()=>{for(const _0x55124f of _0x4195f9)_0x42aee9['markBlockFormat'](_0x55124f,{'commandName':'alignment','commandParams':[{'value':_0x1bd014}]});});}),_0x42aee9['_descriptionFactory']['registerDescriptionCallback'](_0x5f4cbb=>{const {data:_0x295fca}=_0x5f4cbb;if(_0x295fca&&'alignment'==_0x295fca['commandName']){const _0x37b737=_0x295fca['commandParams'][0x0]['value'];return{'type':'format','content':t('*Format:*\x20%0',function(_0x4e6fa9){switch(_0x4e6fa9){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'});}}(_0x37b737))};}});}}
23
+ import{Plugin as _0x505cc2}from'ckeditor5/src/core';export default class U extends _0x505cc2{['afterInit'](){const _0x43c806=this['editor'],{t:t}=_0x43c806['locale'];if(!_0x43c806['plugins']['has']('AlignmentEditing'))return;const _0x1ae20f=_0x43c806['plugins']['get']('TrackChangesEditing');_0x1ae20f['enableCommand']('alignment',(_0x561a24,_0x4c6bff={})=>{let _0x507ddd=_0x4c6bff['value'];_0x4c6bff['value']||(_0x507ddd='ltr'===_0x43c806['locale']['contentLanguageDirection']?'left':'right');const _0x5ce26e=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x35ff8e=>function(_0x3c9d5b,_0x4e5083,_0x598d44){const _0x12d3ec=_0x3c9d5b['getAttribute']('alignment')||null;return _0x4e5083['checkAttribute'](_0x3c9d5b,'alignment')&&_0x598d44!=_0x12d3ec;}(_0x35ff8e,this['editor']['model']['schema'],_0x507ddd));_0x43c806['model']['change'](()=>{for(const _0x1fac80 of _0x5ce26e)_0x1ae20f['markBlockFormat'](_0x1fac80,{'commandName':'alignment','commandParams':[{'value':_0x507ddd}]});});}),_0x1ae20f['_descriptionFactory']['registerDescriptionCallback'](_0x11b3e5=>{const {data:_0x277982}=_0x11b3e5;if(_0x277982&&'alignment'==_0x277982['commandName']){const _0x5d7130=_0x277982['commandParams'][0x0]['value'];return{'type':'format','content':t('*Format:*\x20%0',function(_0x46385d){switch(_0x46385d){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'});}}(_0x5d7130))};}});}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x566220}from'ckeditor5/src/core';import{getRangesWithAttribute as Rt}from'./utils';const Ft=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class G extends _0x566220{['afterInit'](){const _0xf2d9c0=this['editor'],_0x489171=_0xf2d9c0['model'],_0x8ab5bf=_0xf2d9c0['plugins']['get']('TrackChangesEditing'),{t:t}=_0xf2d9c0['locale'];for(const _0x5086fb of Ft){if(!_0xf2d9c0['plugins']['has'](_0x5086fb))continue;const _0x318086=_0x5086fb['slice'](0x0,-0x7)['toLowerCase'](),_0xc9dae=_0xf2d9c0['commands']['get'](_0x318086);_0x8ab5bf['enableCommand'](_0x318086,(_0x492ea9,_0x312ceb={})=>{const _0x3cd0a2=_0x489171['document']['selection'];if(_0x3cd0a2['isCollapsed'])return void _0x492ea9(_0x312ceb);const _0x4933d7=void 0x0!==_0x312ceb['forceValue']?_0x312ceb['forceValue']:!_0xc9dae['value'];_0x489171['change'](()=>{const _0xf34e13=Array['from'](_0x3cd0a2['getRanges']());for(const _0x4e55ad of _0xf34e13){const _0x58502a=_0x4933d7?[_0x4e55ad]:Rt(_0x318086,_0x4e55ad,_0x489171);for(const _0x5681bf of _0x58502a)_0x8ab5bf['markInlineFormat'](_0x5681bf,{'commandName':_0x318086,'commandParams':[{'forceValue':_0x4933d7}]});}});});}function _0x27d6ce(_0x547624,_0x29df1e){_0x8ab5bf['_descriptionFactory']['registerDescriptionCallback'](_0x555dec=>{const {data:_0x966348}=_0x555dec;if(_0x966348&&_0x966348['commandName']===_0x547624)return _0x966348['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x29df1e)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x29df1e)};});}_0x27d6ce('bold',t({'string':'bold','id':'FORMAT_BOLD'})),_0x27d6ce('italic',t({'string':'italic','id':'FORMAT_ITALIC'})),_0x27d6ce('underline',t({'string':'underline','id':'FORMAT_UNDERLINE'})),_0x27d6ce('code',t({'string':'code','id':'FORMAT_CODE'})),_0x27d6ce('strikethrough',t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'})),_0x27d6ce('subscript',t({'string':'subscript','id':'FORMAT_SUBSCRIPT'})),_0x27d6ce('superscript',t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'}));}}
23
+ import{Plugin as _0x30f407}from'ckeditor5/src/core';import{getRangesWithAttribute as Rt}from'./utils';const Ot=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class E extends _0x30f407{['afterInit'](){const _0x1169cd=this['editor'],_0x102c3e=_0x1169cd['model'],_0x10650a=_0x1169cd['plugins']['get']('TrackChangesEditing'),{t:t}=_0x1169cd['locale'];for(const _0x10d3de of Ot){if(!_0x1169cd['plugins']['has'](_0x10d3de))continue;const _0x52d362=_0x10d3de['slice'](0x0,-0x7)['toLowerCase'](),_0x352ea9=_0x1169cd['commands']['get'](_0x52d362);_0x10650a['enableCommand'](_0x52d362,(_0xb56f15,_0x40976c={})=>{const _0x9865b6=_0x102c3e['document']['selection'];if(_0x9865b6['isCollapsed'])return void _0xb56f15(_0x40976c);const _0x3733d0=void 0x0!==_0x40976c['forceValue']?_0x40976c['forceValue']:!_0x352ea9['value'];_0x102c3e['change'](()=>{const _0x2282dc=Array['from'](_0x9865b6['getRanges']());for(const _0x3b1ca0 of _0x2282dc){const _0x2bd47e=_0x3733d0?[_0x3b1ca0]:Rt(_0x52d362,_0x3b1ca0,_0x102c3e);for(const _0x488284 of _0x2bd47e)_0x10650a['markInlineFormat'](_0x488284,{'commandName':_0x52d362,'commandParams':[{'forceValue':_0x3733d0}]});}});});}function _0x2bca21(_0x320e79,_0x16eb0f){_0x10650a['_descriptionFactory']['registerDescriptionCallback'](_0x1b79f4=>{const {data:_0x288ce4}=_0x1b79f4;if(_0x288ce4&&_0x288ce4['commandName']===_0x320e79)return _0x288ce4['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x16eb0f)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x16eb0f)};});}_0x2bca21('bold',t({'string':'bold','id':'FORMAT_BOLD'})),_0x2bca21('italic',t({'string':'italic','id':'FORMAT_ITALIC'})),_0x2bca21('underline',t({'string':'underline','id':'FORMAT_UNDERLINE'})),_0x2bca21('code',t({'string':'code','id':'FORMAT_CODE'})),_0x2bca21('strikethrough',t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'})),_0x2bca21('subscript',t({'string':'subscript','id':'FORMAT_SUBSCRIPT'})),_0x2bca21('superscript',t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'}));}}