@ckeditor/ckeditor5-track-changes 35.3.2 → 36.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 (156) hide show
  1. package/build/track-changes.js +3 -2
  2. package/build/translations/ar.js +1 -0
  3. package/build/translations/az.js +1 -0
  4. package/build/translations/bg.js +1 -0
  5. package/build/translations/bn.js +1 -0
  6. package/build/translations/ca.js +1 -0
  7. package/build/translations/cs.js +1 -0
  8. package/build/translations/da.js +1 -0
  9. package/build/translations/de.js +1 -0
  10. package/build/translations/el.js +1 -0
  11. package/build/translations/en-au.js +1 -0
  12. package/build/translations/es.js +1 -0
  13. package/build/translations/et.js +1 -0
  14. package/build/translations/fi.js +1 -0
  15. package/build/translations/fr.js +1 -0
  16. package/build/translations/gl.js +1 -0
  17. package/build/translations/he.js +1 -0
  18. package/build/translations/hi.js +1 -0
  19. package/build/translations/hr.js +1 -0
  20. package/build/translations/hu.js +1 -0
  21. package/build/translations/id.js +1 -0
  22. package/build/translations/it.js +1 -0
  23. package/build/translations/ja.js +1 -0
  24. package/build/translations/ko.js +1 -0
  25. package/build/translations/lt.js +1 -0
  26. package/build/translations/lv.js +1 -0
  27. package/build/translations/ms.js +1 -0
  28. package/build/translations/nl.js +1 -0
  29. package/build/translations/no.js +1 -0
  30. package/build/translations/pl.js +1 -0
  31. package/build/translations/pt-br.js +1 -0
  32. package/build/translations/pt.js +1 -0
  33. package/build/translations/ro.js +1 -0
  34. package/build/translations/ru.js +1 -0
  35. package/build/translations/sk.js +1 -0
  36. package/build/translations/sr-latn.js +1 -0
  37. package/build/translations/sr.js +1 -0
  38. package/build/translations/sv.js +1 -0
  39. package/build/translations/th.js +1 -0
  40. package/build/translations/tk.js +1 -0
  41. package/build/translations/tr.js +1 -0
  42. package/build/translations/tt.js +1 -0
  43. package/build/translations/uk.js +1 -0
  44. package/build/translations/ur.js +1 -0
  45. package/build/translations/vi.js +1 -0
  46. package/build/translations/zh-cn.js +1 -0
  47. package/build/translations/zh.js +1 -0
  48. package/lang/contexts.json +16 -0
  49. package/lang/translations/ar.po +68 -4
  50. package/lang/translations/az.po +65 -1
  51. package/lang/translations/bg.po +68 -4
  52. package/lang/translations/bn.po +68 -4
  53. package/lang/translations/ca.po +68 -4
  54. package/lang/translations/cs.po +68 -4
  55. package/lang/translations/da.po +68 -4
  56. package/lang/translations/de.po +68 -4
  57. package/lang/translations/el.po +68 -4
  58. package/lang/translations/en-au.po +65 -1
  59. package/lang/translations/en.po +65 -1
  60. package/lang/translations/es.po +68 -4
  61. package/lang/translations/et.po +68 -4
  62. package/lang/translations/fi.po +68 -4
  63. package/lang/translations/fr.po +68 -4
  64. package/lang/translations/gl.po +65 -1
  65. package/lang/translations/he.po +68 -4
  66. package/lang/translations/hi.po +68 -4
  67. package/lang/translations/hr.po +65 -1
  68. package/lang/translations/hu.po +68 -4
  69. package/lang/translations/id.po +68 -4
  70. package/lang/translations/it.po +68 -4
  71. package/lang/translations/ja.po +68 -4
  72. package/lang/translations/ko.po +68 -4
  73. package/lang/translations/lt.po +68 -4
  74. package/lang/translations/lv.po +68 -4
  75. package/lang/translations/ms.po +68 -4
  76. package/lang/translations/nl.po +68 -4
  77. package/lang/translations/no.po +68 -4
  78. package/lang/translations/pl.po +68 -4
  79. package/lang/translations/pt-br.po +68 -4
  80. package/lang/translations/pt.po +68 -4
  81. package/lang/translations/ro.po +68 -4
  82. package/lang/translations/ru.po +68 -4
  83. package/lang/translations/sk.po +68 -4
  84. package/lang/translations/sr-latn.po +68 -4
  85. package/lang/translations/sr.po +69 -5
  86. package/lang/translations/sv.po +68 -4
  87. package/lang/translations/th.po +68 -4
  88. package/lang/translations/tk.po +65 -1
  89. package/lang/translations/tr.po +68 -4
  90. package/lang/translations/tt.po +65 -1
  91. package/lang/translations/uk.po +68 -4
  92. package/lang/translations/ur.po +65 -1
  93. package/lang/translations/vi.po +68 -4
  94. package/lang/translations/zh-cn.po +68 -4
  95. package/lang/translations/zh.po +68 -4
  96. package/package.json +4 -4
  97. package/src/commands/acceptsuggestioncommand.js +2 -2
  98. package/src/commands/discardsuggestioncommand.js +2 -2
  99. package/src/commands/executeonallsuggestionscommand.js +2 -2
  100. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  101. package/src/commands/trackchangescommand.js +2 -2
  102. package/src/index.js +1 -1
  103. package/src/integrations/alignment.js +2 -2
  104. package/src/integrations/basicstyles.js +2 -2
  105. package/src/integrations/blockquote.js +2 -2
  106. package/src/integrations/ckbox.js +2 -2
  107. package/src/integrations/codeblock.js +2 -2
  108. package/src/integrations/comments.js +2 -2
  109. package/src/integrations/deletecommand.js +2 -2
  110. package/src/integrations/documentlist.js +2 -2
  111. package/src/integrations/documentlistproperties.js +23 -0
  112. package/src/integrations/entercommand.js +2 -2
  113. package/src/integrations/findandreplace.js +23 -0
  114. package/src/integrations/font.js +2 -2
  115. package/src/integrations/heading.js +2 -2
  116. package/src/integrations/highlight.js +2 -2
  117. package/src/integrations/horizontalline.js +2 -2
  118. package/src/integrations/htmlembed.js +2 -2
  119. package/src/integrations/image.js +2 -2
  120. package/src/integrations/imagereplace.js +23 -0
  121. package/src/integrations/importword.js +2 -2
  122. package/src/integrations/indent.js +2 -2
  123. package/src/integrations/inputcommand.js +2 -2
  124. package/src/integrations/link.js +2 -2
  125. package/src/integrations/list.js +2 -2
  126. package/src/integrations/listproperties.js +23 -0
  127. package/src/integrations/mediaembed.js +2 -2
  128. package/src/integrations/mention.js +2 -2
  129. package/src/integrations/pagebreak.js +2 -2
  130. package/src/integrations/paragraph.js +2 -2
  131. package/src/integrations/removeformat.js +2 -2
  132. package/src/integrations/restrictededitingmode.js +2 -2
  133. package/src/integrations/shiftentercommand.js +2 -2
  134. package/src/integrations/standardeditingmode.js +2 -2
  135. package/src/integrations/style.js +2 -2
  136. package/src/integrations/table.js +2 -2
  137. package/src/integrations/tablecaption.js +2 -2
  138. package/src/integrations/tableclipboard.js +2 -2
  139. package/src/integrations/tablecolumnresize.js +23 -0
  140. package/src/integrations/tableheadings.js +2 -2
  141. package/src/integrations/tablemergesplit.js +2 -2
  142. package/src/integrations/tableproperties.js +23 -0
  143. package/src/integrations/title.js +2 -2
  144. package/src/integrations/undo.js +2 -2
  145. package/src/integrations/utils.js +2 -2
  146. package/src/suggestion.js +2 -2
  147. package/src/suggestiondescriptionfactory.js +2 -2
  148. package/src/trackchanges.js +2 -2
  149. package/src/trackchangesdata.js +2 -2
  150. package/src/trackchangesediting.js +2 -2
  151. package/src/trackchangesui.js +2 -2
  152. package/src/ui/suggestioncontroller.js +2 -2
  153. package/src/ui/view/basesuggestionthreadview.js +2 -2
  154. package/src/ui/view/suggestionthreadview.js +2 -2
  155. package/src/utils/common-translations.js +2 -2
  156. package/src/utils/utils.js +2 -2
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -40,13 +40,41 @@ msgctxt "A suggestion for inserting an item."
40
40
  msgid "*Insert:* %0"
41
41
  msgstr "*Chèn:* %0"
42
42
 
43
+ msgctxt "A suggestion for changing table properties."
44
+ msgid "*Format:* change table properties"
45
+ msgstr "*Định dạng:* thay đổi thuộc tính của bảng"
46
+
47
+ msgctxt "A suggestion for changing table cell properties."
48
+ msgid "*Format:* change table cell properties"
49
+ msgstr "*Định dạng:* thay đổi thuộc tính của ô trong bảng"
50
+
43
51
  msgctxt "A suggestion for inserting an item into another item."
44
52
  msgid "*Format:* insert into %0"
45
- msgstr ""
53
+ msgstr "*Định dạng:* chèn vào %0"
46
54
 
47
55
  msgctxt "A suggestion for removing item from another item."
48
56
  msgid "*Format:* remove from %0"
49
- msgstr ""
57
+ msgstr "*Định dạng:* xóa khỏi %0"
58
+
59
+ msgctxt "A suggestion for replacing an image."
60
+ msgid "*Format:* replace image URL"
61
+ msgstr "*Định dạng:* thay thế URL của ảnh"
62
+
63
+ msgctxt "A suggestion for resizing a table."
64
+ msgid "*Format:* resize table"
65
+ msgstr "*Định dạng:* đổi kích thước của bảng"
66
+
67
+ msgctxt "A suggestion for changing the list order to reversed."
68
+ msgid "*Format:* set order to reversed"
69
+ msgstr "*Định dạng:* đặt thứ tự thành đảo ngược"
70
+
71
+ msgctxt "A suggestion for changing the list order to regular."
72
+ msgid "*Format:* set order to regular"
73
+ msgstr "*Định dạng:* đặt thứ tự thành bình thường"
74
+
75
+ msgctxt "A suggestion for changing the start index of the list."
76
+ msgid "*Format:* set start index to %0"
77
+ msgstr "*Định dạng:* đặt chỉ số bắt đầu thành %0"
50
78
 
51
79
  msgctxt "A suggestion for merging cells."
52
80
  msgid "*Merge cells*"
@@ -188,6 +216,18 @@ msgctxt "The bulleted list element name displayed in the suggestion."
188
216
  msgid "ELEMENT_BULLETED_LIST"
189
217
  msgstr "danh sách có dấu đầu dòng"
190
218
 
219
+ msgctxt "The circle styled bulleted list element name displayed in the suggestion."
220
+ msgid "ELEMENT_BULLETED_LIST_CIRCLE"
221
+ msgstr "danh sách có dấu đầu dòng (đường tròn)"
222
+
223
+ msgctxt "The disc styled bulleted list element name displayed in the suggestion."
224
+ msgid "ELEMENT_BULLETED_LIST_DISC"
225
+ msgstr "danh sách có dấu đầu dòng (hình đĩa)"
226
+
227
+ msgctxt "The square styled bulleted list element name displayed in the suggestion."
228
+ msgid "ELEMENT_BULLETED_LIST_SQUARE"
229
+ msgstr "danh sách có dấu đầu dòng (hình vuông)"
230
+
191
231
  msgctxt "The caption element name displayed in the suggestion."
192
232
  msgid "ELEMENT_CAPTION"
193
233
  msgstr "chú thích"
@@ -246,6 +286,30 @@ msgctxt "The numbered list element name displayed in the suggestion."
246
286
  msgid "ELEMENT_NUMBERED_LIST"
247
287
  msgstr "danh sách được đánh số"
248
288
 
289
+ msgctxt "The decimal styled numbered list element name displayed in the suggestion."
290
+ msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
291
+ msgstr "danh sách có đánh số (số thập phân)"
292
+
293
+ msgctxt "The decimal styled (with leading zero) numbered list element name displayed in the suggestion."
294
+ msgid "ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO"
295
+ msgstr "danh sách có đánh số (số thập phân có số 0 ở đầu)"
296
+
297
+ msgctxt "The lower latin styled numbered list element name displayed in the suggestion."
298
+ msgid "ELEMENT_NUMBERED_LIST_LOWER_LATIN"
299
+ msgstr "danh sách có đánh số (chữ cái La-tinh viết thường)"
300
+
301
+ msgctxt "The lower roman styled numbered list element name displayed in the suggestion."
302
+ msgid "ELEMENT_NUMBERED_LIST_LOWER_ROMAN"
303
+ msgstr "danh sách có đánh số (chữ số La Mã viết thường)"
304
+
305
+ msgctxt "The upper latin styled numbered list element name displayed in the suggestion."
306
+ msgid "ELEMENT_NUMBERED_LIST_UPPER_LATIN"
307
+ msgstr "danh sách có đánh số (chữ cái La-tinh viết hoa)"
308
+
309
+ msgctxt "The upper roman styled numbered list element name displayed in the suggestion."
310
+ msgid "ELEMENT_NUMBERED_LIST_UPPER_ROMAN"
311
+ msgstr "danh sách có đánh số (chữ số La Mã viết hoa)"
312
+
249
313
  msgctxt "The page break element name displayed in the suggestion."
250
314
  msgid "ELEMENT_PAGE_BREAK"
251
315
  msgid_plural "%0 page breaks"
@@ -392,4 +456,4 @@ msgstr "Đề xuất này đến từ một nguồn bên ngoài."
392
456
 
393
457
  msgctxt "The additional information that suggestion comes from imported word file."
394
458
  msgid "EXTERNAL_IMPORT_WORD_SUGGESTION"
395
- msgstr ""
459
+ msgstr "Nội dung đề xuất này đến từ một tệp Word được nhập."
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -40,13 +40,41 @@ msgctxt "A suggestion for inserting an item."
40
40
  msgid "*Insert:* %0"
41
41
  msgstr "*插入:* %0"
42
42
 
43
+ msgctxt "A suggestion for changing table properties."
44
+ msgid "*Format:* change table properties"
45
+ msgstr "*格式:*更改表格属性"
46
+
47
+ msgctxt "A suggestion for changing table cell properties."
48
+ msgid "*Format:* change table cell properties"
49
+ msgstr "*格式:*更改表格单元格属性"
50
+
43
51
  msgctxt "A suggestion for inserting an item into another item."
44
52
  msgid "*Format:* insert into %0"
45
- msgstr ""
53
+ msgstr "*格式:* 插入至 %0"
46
54
 
47
55
  msgctxt "A suggestion for removing item from another item."
48
56
  msgid "*Format:* remove from %0"
49
- msgstr ""
57
+ msgstr "*格式:* 从 %0 移除"
58
+
59
+ msgctxt "A suggestion for replacing an image."
60
+ msgid "*Format:* replace image URL"
61
+ msgstr "*格式:*替换图片URL"
62
+
63
+ msgctxt "A suggestion for resizing a table."
64
+ msgid "*Format:* resize table"
65
+ msgstr "*格式:* 调整表格尺寸"
66
+
67
+ msgctxt "A suggestion for changing the list order to reversed."
68
+ msgid "*Format:* set order to reversed"
69
+ msgstr "*格式:* 将顺序设置为倒序"
70
+
71
+ msgctxt "A suggestion for changing the list order to regular."
72
+ msgid "*Format:* set order to regular"
73
+ msgstr "*格式:* 将顺序设置为常规"
74
+
75
+ msgctxt "A suggestion for changing the start index of the list."
76
+ msgid "*Format:* set start index to %0"
77
+ msgstr "*格式:* 设置起始索引为 %0"
50
78
 
51
79
  msgctxt "A suggestion for merging cells."
52
80
  msgid "*Merge cells*"
@@ -188,6 +216,18 @@ msgctxt "The bulleted list element name displayed in the suggestion."
188
216
  msgid "ELEMENT_BULLETED_LIST"
189
217
  msgstr "项目符号列表"
190
218
 
219
+ msgctxt "The circle styled bulleted list element name displayed in the suggestion."
220
+ msgid "ELEMENT_BULLETED_LIST_CIRCLE"
221
+ msgstr "项目符号列表(圆圈)"
222
+
223
+ msgctxt "The disc styled bulleted list element name displayed in the suggestion."
224
+ msgid "ELEMENT_BULLETED_LIST_DISC"
225
+ msgstr "项目符号列表(圆盘)"
226
+
227
+ msgctxt "The square styled bulleted list element name displayed in the suggestion."
228
+ msgid "ELEMENT_BULLETED_LIST_SQUARE"
229
+ msgstr "项目符号列表(方框)"
230
+
191
231
  msgctxt "The caption element name displayed in the suggestion."
192
232
  msgid "ELEMENT_CAPTION"
193
233
  msgstr "标题"
@@ -246,6 +286,30 @@ msgctxt "The numbered list element name displayed in the suggestion."
246
286
  msgid "ELEMENT_NUMBERED_LIST"
247
287
  msgstr "项目编号列表"
248
288
 
289
+ msgctxt "The decimal styled numbered list element name displayed in the suggestion."
290
+ msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
291
+ msgstr "项目符号列表(十进制)"
292
+
293
+ msgctxt "The decimal styled (with leading zero) numbered list element name displayed in the suggestion."
294
+ msgid "ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO"
295
+ msgstr "编号列表(前导 0 的十进制)"
296
+
297
+ msgctxt "The lower latin styled numbered list element name displayed in the suggestion."
298
+ msgid "ELEMENT_NUMBERED_LIST_LOWER_LATIN"
299
+ msgstr "编号列表(小写拉丁字母)"
300
+
301
+ msgctxt "The lower roman styled numbered list element name displayed in the suggestion."
302
+ msgid "ELEMENT_NUMBERED_LIST_LOWER_ROMAN"
303
+ msgstr "编号列表(小写罗马数字)"
304
+
305
+ msgctxt "The upper latin styled numbered list element name displayed in the suggestion."
306
+ msgid "ELEMENT_NUMBERED_LIST_UPPER_LATIN"
307
+ msgstr "编号列表(大写拉丁字母)"
308
+
309
+ msgctxt "The upper roman styled numbered list element name displayed in the suggestion."
310
+ msgid "ELEMENT_NUMBERED_LIST_UPPER_ROMAN"
311
+ msgstr "编号列表(大写罗马数字)"
312
+
249
313
  msgctxt "The page break element name displayed in the suggestion."
250
314
  msgid "ELEMENT_PAGE_BREAK"
251
315
  msgid_plural "%0 page breaks"
@@ -392,4 +456,4 @@ msgstr "此建议来自外部来源。"
392
456
 
393
457
  msgctxt "The additional information that suggestion comes from imported word file."
394
458
  msgid "EXTERNAL_IMPORT_WORD_SUGGESTION"
395
- msgstr ""
459
+ msgstr "此建议来自导入的 Word 文件。"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -40,13 +40,41 @@ msgctxt "A suggestion for inserting an item."
40
40
  msgid "*Insert:* %0"
41
41
  msgstr "*插入:*%0"
42
42
 
43
+ msgctxt "A suggestion for changing table properties."
44
+ msgid "*Format:* change table properties"
45
+ msgstr "*格式:*變更表格屬性"
46
+
47
+ msgctxt "A suggestion for changing table cell properties."
48
+ msgid "*Format:* change table cell properties"
49
+ msgstr "*格式:*變更表格的儲存格屬性"
50
+
43
51
  msgctxt "A suggestion for inserting an item into another item."
44
52
  msgid "*Format:* insert into %0"
45
- msgstr ""
53
+ msgstr "*格式:*插入 %0"
46
54
 
47
55
  msgctxt "A suggestion for removing item from another item."
48
56
  msgid "*Format:* remove from %0"
49
- msgstr ""
57
+ msgstr "*格式:*從 %0 移除"
58
+
59
+ msgctxt "A suggestion for replacing an image."
60
+ msgid "*Format:* replace image URL"
61
+ msgstr "*格式:*取代圖片網址"
62
+
63
+ msgctxt "A suggestion for resizing a table."
64
+ msgid "*Format:* resize table"
65
+ msgstr "*格式:*調整表格大小"
66
+
67
+ msgctxt "A suggestion for changing the list order to reversed."
68
+ msgid "*Format:* set order to reversed"
69
+ msgstr "*格式:*反向排序"
70
+
71
+ msgctxt "A suggestion for changing the list order to regular."
72
+ msgid "*Format:* set order to regular"
73
+ msgstr "*格式:*依標準排序"
74
+
75
+ msgctxt "A suggestion for changing the start index of the list."
76
+ msgid "*Format:* set start index to %0"
77
+ msgstr "*格式:*將起始索引設定為 %0"
50
78
 
51
79
  msgctxt "A suggestion for merging cells."
52
80
  msgid "*Merge cells*"
@@ -188,6 +216,18 @@ msgctxt "The bulleted list element name displayed in the suggestion."
188
216
  msgid "ELEMENT_BULLETED_LIST"
189
217
  msgstr "項目符號清單"
190
218
 
219
+ msgctxt "The circle styled bulleted list element name displayed in the suggestion."
220
+ msgid "ELEMENT_BULLETED_LIST_CIRCLE"
221
+ msgstr "項目符號列表(空心圓)"
222
+
223
+ msgctxt "The disc styled bulleted list element name displayed in the suggestion."
224
+ msgid "ELEMENT_BULLETED_LIST_DISC"
225
+ msgstr "項目符號列表(實心圓)"
226
+
227
+ msgctxt "The square styled bulleted list element name displayed in the suggestion."
228
+ msgid "ELEMENT_BULLETED_LIST_SQUARE"
229
+ msgstr "項目符號列表(方塊)"
230
+
191
231
  msgctxt "The caption element name displayed in the suggestion."
192
232
  msgid "ELEMENT_CAPTION"
193
233
  msgstr "標號"
@@ -246,6 +286,30 @@ msgctxt "The numbered list element name displayed in the suggestion."
246
286
  msgid "ELEMENT_NUMBERED_LIST"
247
287
  msgstr "編號清單"
248
288
 
289
+ msgctxt "The decimal styled numbered list element name displayed in the suggestion."
290
+ msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
291
+ msgstr "編號列表(阿拉伯數字)"
292
+
293
+ msgctxt "The decimal styled (with leading zero) numbered list element name displayed in the suggestion."
294
+ msgid "ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO"
295
+ msgstr "編號列表(零開頭的阿拉伯數字)"
296
+
297
+ msgctxt "The lower latin styled numbered list element name displayed in the suggestion."
298
+ msgid "ELEMENT_NUMBERED_LIST_LOWER_LATIN"
299
+ msgstr "編號列表(小寫拉丁字元)"
300
+
301
+ msgctxt "The lower roman styled numbered list element name displayed in the suggestion."
302
+ msgid "ELEMENT_NUMBERED_LIST_LOWER_ROMAN"
303
+ msgstr "編號列表(小寫羅馬數字)"
304
+
305
+ msgctxt "The upper latin styled numbered list element name displayed in the suggestion."
306
+ msgid "ELEMENT_NUMBERED_LIST_UPPER_LATIN"
307
+ msgstr "編號列表(大寫拉丁字元)"
308
+
309
+ msgctxt "The upper roman styled numbered list element name displayed in the suggestion."
310
+ msgid "ELEMENT_NUMBERED_LIST_UPPER_ROMAN"
311
+ msgstr "編號列表(大寫羅馬數字)"
312
+
249
313
  msgctxt "The page break element name displayed in the suggestion."
250
314
  msgid "ELEMENT_PAGE_BREAK"
251
315
  msgid_plural "%0 page breaks"
@@ -392,4 +456,4 @@ msgstr "此建議來自外部來源。"
392
456
 
393
457
  msgctxt "The additional information that suggestion comes from imported word file."
394
458
  msgid "EXTERNAL_IMPORT_WORD_SUGGESTION"
395
- msgstr ""
459
+ msgstr "此建議來自匯入的 Word 檔案。"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "35.3.2",
3
+ "version": "36.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/)",
@@ -27,9 +27,9 @@
27
27
  ],
28
28
  "main": "src/index.js",
29
29
  "dependencies": {
30
- "ckeditor5": "^35.3.2",
31
- "ckeditor5-collaboration": "^35.3.2",
30
+ "ckeditor5": "^36.0.0",
31
+ "ckeditor5-collaboration": "^36.0.0",
32
32
  "lodash-es": "^4.17.11",
33
- "@ckeditor/ckeditor5-style": "^35.3.2"
33
+ "@ckeditor/ckeditor5-style": "^36.0.0"
34
34
  }
35
35
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, 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 _0xe978=['get','acceptSuggestion','execute','plugins','isEnabled','track-changes-accept-suggestion-not-found','editor','refresh','_suggestions'];(function(_0x1d57e0,_0xe978c3){const _0x3a11c5=function(_0x189af2){while(--_0x189af2){_0x1d57e0['push'](_0x1d57e0['shift']());}};_0x3a11c5(++_0xe978c3);}(_0xe978,0xdf));const _0x3a11=function(_0x1d57e0,_0xe978c3){_0x1d57e0=_0x1d57e0-0x0;let _0x3a11c5=_0xe978[_0x1d57e0];return _0x3a11c5;};import{Command as _0x565f43}from'ckeditor5/src/core';import{CKEditorError as _0x22c194}from'ckeditor5/src/utils';export default class N extends _0x565f43{constructor(_0xf7946d,_0x3dcfa1){super(_0xf7946d),this[_0x3a11('0x1')]=_0x3dcfa1,this[_0x3a11('0x0')]();}[_0x3a11('0x0')](){this[_0x3a11('0x6')]=!0x0;}[_0x3a11('0x4')](_0x1d74b4){const _0x3446e5=this[_0x3a11('0x1')][_0x3a11('0x2')](_0x1d74b4);if(!_0x3446e5)throw new _0x22c194(_0x3a11('0x7'),this);this[_0x3a11('0x8')][_0x3a11('0x5')][_0x3a11('0x2')]('TrackChangesEditing')[_0x3a11('0x3')](_0x3446e5);}}
23
+ const _0x11a5=['_suggestions','acceptSuggestion','refresh','track-changes-accept-suggestion-not-found','execute','get','TrackChangesEditing','isEnabled'];(function(_0x2eb363,_0x11a53c){const _0x48025a=function(_0x2674d9){while(--_0x2674d9){_0x2eb363['push'](_0x2eb363['shift']());}};_0x48025a(++_0x11a53c);}(_0x11a5,0x128));const _0x4802=function(_0x2eb363,_0x11a53c){_0x2eb363=_0x2eb363-0x0;let _0x48025a=_0x11a5[_0x2eb363];return _0x48025a;};import{Command as _0x4d2a72}from'ckeditor5/src/core';import{CKEditorError as _0x180ea3}from'ckeditor5/src/utils';export default class R extends _0x4d2a72{constructor(_0x28507e,_0x2669fd){super(_0x28507e),this[_0x4802('0x0')]=_0x2669fd,this[_0x4802('0x2')]();}[_0x4802('0x2')](){this[_0x4802('0x7')]=!0x0;}[_0x4802('0x4')](_0x53f887){const _0x352627=this[_0x4802('0x0')][_0x4802('0x5')](_0x53f887);if(!_0x352627)throw new _0x180ea3(_0x4802('0x3'),this);this['editor']['plugins']['get'](_0x4802('0x6'))[_0x4802('0x1')](_0x352627);}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, 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 _0xdd51=['execute','get','plugins','_suggestions','track-changes-discard-suggestion-not-found','discardSuggestion','editor','TrackChangesEditing','refresh'];(function(_0x195eda,_0xdd510b){const _0x457ba1=function(_0x351a31){while(--_0x351a31){_0x195eda['push'](_0x195eda['shift']());}};_0x457ba1(++_0xdd510b);}(_0xdd51,0xce));const _0x457b=function(_0x195eda,_0xdd510b){_0x195eda=_0x195eda-0x0;let _0x457ba1=_0xdd51[_0x195eda];return _0x457ba1;};import{Command as _0x43a93e}from'ckeditor5/src/core';import{CKEditorError as _0x2e3041}from'ckeditor5/src/utils';export default class R extends _0x43a93e{constructor(_0x8e195f,_0xee949e){super(_0x8e195f),this[_0x457b('0x4')]=_0xee949e,this[_0x457b('0x0')]();}['refresh'](){this['isEnabled']=!0x0;}[_0x457b('0x1')](_0xe81e53){const _0x3e5f42=this[_0x457b('0x4')][_0x457b('0x2')](_0xe81e53);if(!_0x3e5f42)throw new _0x2e3041(_0x457b('0x5'),this);this[_0x457b('0x7')][_0x457b('0x3')][_0x457b('0x2')](_0x457b('0x8'))[_0x457b('0x6')](_0x3e5f42);}}
23
+ const _0x204e=['execute','get','isEnabled','TrackChangesEditing','refresh','discardSuggestion','_suggestions'];(function(_0x62de29,_0x204ee3){const _0x1fa1b7=function(_0x2db483){while(--_0x2db483){_0x62de29['push'](_0x62de29['shift']());}};_0x1fa1b7(++_0x204ee3);}(_0x204e,0x7d));const _0x1fa1=function(_0x62de29,_0x204ee3){_0x62de29=_0x62de29-0x0;let _0x1fa1b7=_0x204e[_0x62de29];return _0x1fa1b7;};import{Command as _0xe894a4}from'ckeditor5/src/core';import{CKEditorError as _0x555366}from'ckeditor5/src/utils';export default class x extends _0xe894a4{constructor(_0x3e7844,_0x563bc4){super(_0x3e7844),this[_0x1fa1('0x0')]=_0x563bc4,this[_0x1fa1('0x5')]();}[_0x1fa1('0x5')](){this[_0x1fa1('0x3')]=!0x0;}[_0x1fa1('0x1')](_0xa1797e){const _0x2e2c7f=this[_0x1fa1('0x0')][_0x1fa1('0x2')](_0xa1797e);if(!_0x2e2c7f)throw new _0x555366('track-changes-discard-suggestion-not-found',this);this['editor']['plugins']['get'](_0x1fa1('0x4'))[_0x1fa1('0x6')](_0x2e2c7f);}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, 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 _0x1611=['from','isEnabled','_command','isInContent','model','editor','values','some','_suggestions','refresh'];(function(_0x36c1ce,_0x1611fc){const _0x4f6b5c=function(_0x1be2c5){while(--_0x1be2c5){_0x36c1ce['push'](_0x36c1ce['shift']());}};_0x4f6b5c(++_0x1611fc);}(_0x1611,0x14a));const _0x4f6b=function(_0x36c1ce,_0x1611fc){_0x36c1ce=_0x36c1ce-0x0;let _0x4f6b5c=_0x1611[_0x36c1ce];return _0x4f6b5c;};import{Command as _0x23a51d}from'ckeditor5/src/core';import{sortSuggestions as _0x158b96,executeCommandForSuggestions as _0x55bfc3}from'../utils/utils';export default class x extends _0x23a51d{constructor(_0x3a0616,_0x42993b,_0x4369f8){super(_0x3a0616),this['_command']=_0x42993b,this[_0x4f6b('0x8')]=_0x4369f8,this[_0x4f6b('0x9')]();}['refresh'](){const _0x5dc4da=Array[_0x4f6b('0x0')](this[_0x4f6b('0x8')][_0x4f6b('0x6')]())[_0x4f6b('0x7')](_0x1070e3=>_0x1070e3[_0x4f6b('0x3')]);this[_0x4f6b('0x1')]=this[_0x4f6b('0x2')][_0x4f6b('0x1')]&&_0x5dc4da;}['execute'](){const _0x35ea21=_0x158b96(Array[_0x4f6b('0x0')](this[_0x4f6b('0x8')][_0x4f6b('0x6')]()));_0x55bfc3(this[_0x4f6b('0x5')][_0x4f6b('0x4')],this[_0x4f6b('0x2')],_0x35ea21);}}
23
+ const _0x6f1b=['_suggestions','from','editor','_command','refresh','values','some','isInContent','isEnabled'];(function(_0x34861c,_0x6f1bc2){const _0x2efd9f=function(_0x1c9840){while(--_0x1c9840){_0x34861c['push'](_0x34861c['shift']());}};_0x2efd9f(++_0x6f1bc2);}(_0x6f1b,0x140));const _0x2efd=function(_0x34861c,_0x6f1bc2){_0x34861c=_0x34861c-0x0;let _0x2efd9f=_0x6f1b[_0x34861c];return _0x2efd9f;};import{Command as _0x2d983f}from'ckeditor5/src/core';import{sortSuggestions as _0x222fbe,executeCommandForSuggestions as _0x35438b}from'../utils/utils';export default class U extends _0x2d983f{constructor(_0x3a0951,_0x540f66,_0x9c9b19){super(_0x3a0951),this['_command']=_0x540f66,this[_0x2efd('0x4')]=_0x9c9b19,this[_0x2efd('0x8')]();}[_0x2efd('0x8')](){const _0x1626f8=Array[_0x2efd('0x5')](this[_0x2efd('0x4')][_0x2efd('0x0')]())[_0x2efd('0x1')](_0x54bc03=>_0x54bc03[_0x2efd('0x2')]);this['isEnabled']=this['_command'][_0x2efd('0x3')]&&_0x1626f8;}['execute'](){const _0x86ede4=_0x222fbe(Array[_0x2efd('0x5')](this[_0x2efd('0x4')][_0x2efd('0x0')]()));_0x35438b(this[_0x2efd('0x6')]['model'],this[_0x2efd('0x7')],_0x86ede4);}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, 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 _0x2a24=['values','_selectedSuggestions','_command','from','model','selection','_suggestions','isEnabled','editor','document','size','refresh','execute'];(function(_0x471ae4,_0x2a244a){const _0x589a51=function(_0xa9fce8){while(--_0xa9fce8){_0x471ae4['push'](_0x471ae4['shift']());}};_0x589a51(++_0x2a244a);}(_0x2a24,0x18e));const _0x589a=function(_0x471ae4,_0x2a244a){_0x471ae4=_0x471ae4-0x0;let _0x589a51=_0x2a24[_0x471ae4];return _0x589a51;};import{Command as _0x8f9897}from'ckeditor5/src/core';import{sortSuggestions as _0x3327c6,getSelectedSuggestions as _0x37b447,executeCommandForSuggestions as _0x81232a}from'../utils/utils';export default class U extends _0x8f9897{constructor(_0x3026a7,_0xfe9293,_0x106149){super(_0x3026a7),this[_0x589a('0x7')]=_0xfe9293,this['_suggestions']=_0x106149,this[_0x589a('0x6')]=new Set(),this[_0x589a('0x3')]();}[_0x589a('0x3')](){const _0x385232=this[_0x589a('0x0')][_0x589a('0x9')][_0x589a('0x1')][_0x589a('0xa')],_0x12f565=Array[_0x589a('0x8')](this[_0x589a('0xb')][_0x589a('0x5')]());this[_0x589a('0x6')]=_0x37b447(_0x385232,_0x12f565),this['isEnabled']=this[_0x589a('0x7')][_0x589a('0xc')]&&!!this[_0x589a('0x6')][_0x589a('0x2')];}[_0x589a('0x4')](){const _0x13d85b=_0x3327c6(Array[_0x589a('0x8')](this[_0x589a('0x6')]));_0x81232a(this['editor'][_0x589a('0x9')],this[_0x589a('0x7')],_0x13d85b);}}
23
+ const _0x533b=['selection','size','isEnabled','model','refresh','_command','editor','execute','from','_selectedSuggestions','_suggestions','values','document'];(function(_0x313498,_0x533bfe){const _0x40946f=function(_0x768fa0){while(--_0x768fa0){_0x313498['push'](_0x313498['shift']());}};_0x40946f(++_0x533bfe);}(_0x533b,0x132));const _0x4094=function(_0x313498,_0x533bfe){_0x313498=_0x313498-0x0;let _0x40946f=_0x533b[_0x313498];return _0x40946f;};import{Command as _0x2cb900}from'ckeditor5/src/core';import{sortSuggestions as _0x1bcd38,getSelectedSuggestions as _0x2f55c0,executeCommandForSuggestions as _0x15cdee}from'../utils/utils';export default class j extends _0x2cb900{constructor(_0x1ab89e,_0x4c3d5d,_0x2f58ac){super(_0x1ab89e),this[_0x4094('0xb')]=_0x4c3d5d,this[_0x4094('0x3')]=_0x2f58ac,this[_0x4094('0x2')]=new Set(),this[_0x4094('0xa')]();}[_0x4094('0xa')](){const _0xb3689f=this[_0x4094('0xc')][_0x4094('0x9')][_0x4094('0x5')][_0x4094('0x6')],_0x1c57d7=Array[_0x4094('0x1')](this[_0x4094('0x3')][_0x4094('0x4')]());this[_0x4094('0x2')]=_0x2f55c0(_0xb3689f,_0x1c57d7),this[_0x4094('0x8')]=this[_0x4094('0xb')]['isEnabled']&&!!this[_0x4094('0x2')][_0x4094('0x7')];}[_0x4094('0x0')](){const _0x4505ce=_0x1bcd38(Array['from'](this[_0x4094('0x2')]));_0x15cdee(this['editor'][_0x4094('0x9')],this[_0x4094('0xb')],_0x4505ce);}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, 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 _0x347f=['commands','_enabledCommands','forceDisabled','editor','affectsData','clearForceDisabled','execute','_enableCommands','value','_disableUnsupportedCommands','refresh','has'];(function(_0x2c3cb1,_0x347fc4){const _0x591921=function(_0x12969f){while(--_0x12969f){_0x2c3cb1['push'](_0x2c3cb1['shift']());}};_0x591921(++_0x347fc4);}(_0x347f,0x6f));const _0x5919=function(_0x2c3cb1,_0x347fc4){_0x2c3cb1=_0x2c3cb1-0x0;let _0x591921=_0x347f[_0x2c3cb1];return _0x591921;};import{Command as _0x569861}from'ckeditor5/src/core';export default class $ extends _0x569861{constructor(_0x4356ac,_0x5b0e3d){super(_0x4356ac),this['_enabledCommands']=_0x5b0e3d,this[_0x5919('0x5')]=!0x1,this[_0x5919('0x7')]();}[_0x5919('0x7')](){this['isEnabled']=!0x0;}[_0x5919('0x3')](){this[_0x5919('0x5')]=!this[_0x5919('0x5')],this['value']?this[_0x5919('0x6')]():this[_0x5919('0x4')]();}[_0x5919('0x6')](){for(const _0xbc2ce4 of this[_0x5919('0x0')][_0x5919('0x9')][_0x5919('0x9')]())_0xbc2ce4[_0x5919('0x1')]&&!this[_0x5919('0xa')][_0x5919('0x8')](_0xbc2ce4)&&_0xbc2ce4[_0x5919('0xb')]('TrackChangesCommand');}[_0x5919('0x4')](){for(const _0x3fd49d of this[_0x5919('0x0')]['commands']['commands']())_0x3fd49d[_0x5919('0x1')]&&!this['_enabledCommands'][_0x5919('0x8')](_0x3fd49d)&&_0x3fd49d[_0x5919('0x2')]('TrackChangesCommand');}}
23
+ const _0x45f6=['_disableUnsupportedCommands','_enableCommands','editor','TrackChangesCommand','execute','value','refresh','_enabledCommands','affectsData','commands','isEnabled','forceDisabled','clearForceDisabled'];(function(_0x344299,_0x45f659){const _0x5b87ca=function(_0x46d64a){while(--_0x46d64a){_0x344299['push'](_0x344299['shift']());}};_0x5b87ca(++_0x45f659);}(_0x45f6,0x13f));const _0x5b87=function(_0x344299,_0x45f659){_0x344299=_0x344299-0x0;let _0x5b87ca=_0x45f6[_0x344299];return _0x5b87ca;};import{Command as _0x4a1ceb}from'ckeditor5/src/core';export default class N extends _0x4a1ceb{constructor(_0x76e053,_0x16b708){super(_0x76e053),this[_0x5b87('0x0')]=_0x16b708,this[_0x5b87('0xb')]=!0x1,this[_0x5b87('0xc')]();}[_0x5b87('0xc')](){this[_0x5b87('0x3')]=!0x0;}[_0x5b87('0xa')](){this[_0x5b87('0xb')]=!this['value'],this[_0x5b87('0xb')]?this[_0x5b87('0x6')]():this[_0x5b87('0x7')]();}[_0x5b87('0x6')](){for(const _0x270a21 of this['editor'][_0x5b87('0x2')]['commands']())_0x270a21['affectsData']&&!this[_0x5b87('0x0')]['has'](_0x270a21)&&_0x270a21[_0x5b87('0x4')](_0x5b87('0x9'));}['_enableCommands'](){for(const _0x23bafb of this[_0x5b87('0x8')][_0x5b87('0x2')][_0x5b87('0x2')]())_0x23bafb[_0x5b87('0x1')]&&!this[_0x5b87('0x0')]['has'](_0x23bafb)&&_0x23bafb[_0x5b87('0x5')](_0x5b87('0x9'));}}
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, 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 _0x203b=['_descriptionFactory','TrackChangesEditing','enableCommand','model','contentLanguageDirection','locale','schema','document','value','FORMAT_ALIGN_TO_LEFT','editor','get','alignment','left','change','filter','from','plugins','getSelectedBlocks','AlignmentEditing','right','markBlockFormat','checkAttribute','FORMAT_JUSTIFY_TEXT','selection','commandParams','getAttribute'];(function(_0x4aa653,_0x203bb6){const _0x28fcc9=function(_0x38c57d){while(--_0x38c57d){_0x4aa653['push'](_0x4aa653['shift']());}};_0x28fcc9(++_0x203bb6);}(_0x203b,0x19d));const _0x28fc=function(_0x4aa653,_0x203bb6){_0x4aa653=_0x4aa653-0x0;let _0x28fcc9=_0x203b[_0x4aa653];return _0x28fcc9;};import{Plugin as _0x261a64}from'ckeditor5/src/core';import{getTranslation as _0x123a12}from'../utils/common-translations';export default class j extends _0x261a64{['afterInit'](){const _0x383e90=this['editor'],_0x505383=_0x383e90[_0x28fc('0x18')];if(!_0x383e90[_0x28fc('0x9')]['has'](_0x28fc('0xb')))return;const _0x189800=_0x383e90['plugins'][_0x28fc('0x3')](_0x28fc('0x14'));_0x189800[_0x28fc('0x15')](_0x28fc('0x4'),(_0x541aa2,_0x59b65f={})=>{let _0x9b5a12=_0x59b65f['value'];_0x59b65f[_0x28fc('0x0')]||(_0x9b5a12='ltr'===_0x383e90[_0x28fc('0x18')][_0x28fc('0x17')]?_0x28fc('0x5'):'right');const _0x3f2124=Array[_0x28fc('0x8')](this[_0x28fc('0x2')][_0x28fc('0x16')][_0x28fc('0x1a')][_0x28fc('0x10')][_0x28fc('0xa')]())[_0x28fc('0x7')](_0x1c46fc=>function(_0x5bd9a3,_0x47c775,_0x423d68){const _0x33fb41=_0x5bd9a3[_0x28fc('0x12')]('alignment')||null;return _0x47c775[_0x28fc('0xe')](_0x5bd9a3,_0x28fc('0x4'))&&_0x423d68!=_0x33fb41;}(_0x1c46fc,this[_0x28fc('0x2')]['model'][_0x28fc('0x19')],_0x9b5a12));_0x383e90[_0x28fc('0x16')][_0x28fc('0x6')](()=>{for(const _0x5e14b1 of _0x3f2124)_0x189800[_0x28fc('0xd')](_0x5e14b1,{'commandName':_0x28fc('0x4'),'commandParams':[{'value':_0x9b5a12}]});});}),_0x189800[_0x28fc('0x13')]['registerDescriptionCallback'](_0x52452f=>{const {data:_0x4820aa}=_0x52452f;if(_0x4820aa&&'alignment'==_0x4820aa['commandName']){const _0x4458ed=_0x4820aa[_0x28fc('0x11')][0x0][_0x28fc('0x0')];return{'type':'format','content':_0x123a12(_0x505383,'*Format:*\x20%0',function(_0x1a7c0a){switch(_0x1a7c0a){case _0x28fc('0x5'):return _0x123a12(_0x505383,_0x28fc('0x1'));case _0x28fc('0xc'):return _0x123a12(_0x505383,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x123a12(_0x505383,'FORMAT_ALIGN_TO_CENTER');case'justify':return _0x123a12(_0x505383,_0x28fc('0xf'));}}(_0x4458ed))};}});}}
23
+ const _0x515c=['has','format','getAttribute','alignment','FORMAT_ALIGN_TO_RIGHT','enableCommand','TrackChangesEditing','get','plugins','right','selection','justify','FORMAT_ALIGN_TO_LEFT','editor','center','_descriptionFactory','markBlockFormat','model','getSelectedBlocks','change','value','commandName','registerDescriptionCallback','filter','left','from','afterInit','document','locale','checkAttribute','commandParams'];(function(_0x304cdc,_0x515c7b){const _0x350a9b=function(_0x548238){while(--_0x548238){_0x304cdc['push'](_0x304cdc['shift']());}};_0x350a9b(++_0x515c7b);}(_0x515c,0x70));const _0x350a=function(_0x304cdc,_0x515c7b){_0x304cdc=_0x304cdc-0x0;let _0x350a9b=_0x515c[_0x304cdc];return _0x350a9b;};import{Plugin as _0x3b31bb}from'ckeditor5/src/core';import{getTranslation as _0x5f46db}from'../utils/common-translations';export default class E extends _0x3b31bb{[_0x350a('0x7')](){const _0x59ac81=this[_0x350a('0x19')],_0x25c55f=_0x59ac81[_0x350a('0x9')];if(!_0x59ac81[_0x350a('0x14')][_0x350a('0xc')]('AlignmentEditing'))return;const _0x595aaa=_0x59ac81[_0x350a('0x14')][_0x350a('0x13')](_0x350a('0x12'));_0x595aaa[_0x350a('0x11')](_0x350a('0xf'),(_0x1ca167,_0x3b7e51={})=>{let _0x162da9=_0x3b7e51[_0x350a('0x1')];_0x3b7e51['value']||(_0x162da9='ltr'===_0x59ac81[_0x350a('0x9')]['contentLanguageDirection']?_0x350a('0x5'):_0x350a('0x15'));const _0x16192f=Array[_0x350a('0x6')](this[_0x350a('0x19')][_0x350a('0x1d')][_0x350a('0x8')][_0x350a('0x16')][_0x350a('0x1e')]())[_0x350a('0x4')](_0x5459d2=>function(_0x3e8452,_0x2ee2fd,_0x79337f){const _0x4ae928=_0x3e8452[_0x350a('0xe')]('alignment')||null;return _0x2ee2fd[_0x350a('0xa')](_0x3e8452,_0x350a('0xf'))&&_0x79337f!=_0x4ae928;}(_0x5459d2,this['editor']['model']['schema'],_0x162da9));_0x59ac81[_0x350a('0x1d')][_0x350a('0x0')](()=>{for(const _0x16a8cc of _0x16192f)_0x595aaa[_0x350a('0x1c')](_0x16a8cc,{'commandName':'alignment','commandParams':[{'value':_0x162da9}]});});}),_0x595aaa[_0x350a('0x1b')][_0x350a('0x3')](_0x5c61f3=>{const {data:_0x4a87b6}=_0x5c61f3;if(_0x4a87b6&&_0x350a('0xf')==_0x4a87b6[_0x350a('0x2')]){const _0x46b811=_0x4a87b6[_0x350a('0xb')][0x0][_0x350a('0x1')];return{'type':_0x350a('0xd'),'content':_0x5f46db(_0x25c55f,'*Format:*\x20%0',function(_0x543a60){switch(_0x543a60){case _0x350a('0x5'):return _0x5f46db(_0x25c55f,_0x350a('0x18'));case'right':return _0x5f46db(_0x25c55f,_0x350a('0x10'));case _0x350a('0x1a'):return _0x5f46db(_0x25c55f,'FORMAT_ALIGN_TO_CENTER');case _0x350a('0x17'):return _0x5f46db(_0x25c55f,'FORMAT_JUSTIFY_TEXT');}}(_0x46b811))};}});}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, 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 _0x1c45=['plugins','enableCommand','markInlineFormat','TrackChangesEditing','toLowerCase','document','subscript','locale','FORMAT_ITALIC','registerDescriptionCallback','getRanges','forceValue','underline','FORMAT_BOLD','FORMAT_CODE','_descriptionFactory','superscript','model','UnderlineEditing','isCollapsed','bold','*Remove\x20format:*\x20%0','*Format:*\x20%0','FORMAT_STRIKETHROUGH','strikethrough','italic','SubscriptEditing','FORMAT_UNDERLINE','format','CodeEditing','commands','has','commandParams','SuperscriptEditing','ItalicEditing','afterInit','BoldEditing','get','FORMAT_SUBSCRIPT','commandName'];(function(_0x36b7e7,_0x1c4533){const _0x152a12=function(_0x44eac5){while(--_0x44eac5){_0x36b7e7['push'](_0x36b7e7['shift']());}};_0x152a12(++_0x1c4533);}(_0x1c45,0x14a));const _0x152a=function(_0x36b7e7,_0x1c4533){_0x36b7e7=_0x36b7e7-0x0;let _0x152a12=_0x1c45[_0x36b7e7];return _0x152a12;};import{Plugin as _0x48284d}from'ckeditor5/src/core';import{getTranslation as _0x12d815}from'../utils/common-translations';import{getRangesWithAttribute as _0x2dd93a}from'./utils';const Ot=[_0x152a('0x1a'),_0x152a('0x18'),_0x152a('0x8'),_0x152a('0x13'),'StrikethroughEditing',_0x152a('0x10'),_0x152a('0x17')];export default class E extends _0x48284d{[_0x152a('0x19')](){const _0x434197=this['editor'],_0x51e128=_0x434197[_0x152a('0x7')],_0x31d8fd=_0x434197[_0x152a('0x1e')][_0x152a('0x1b')](_0x152a('0x21')),_0x2f9882=_0x434197[_0x152a('0x25')];for(const _0x7c3267 of Ot){if(!_0x434197[_0x152a('0x1e')][_0x152a('0x15')](_0x7c3267))continue;const _0x128ee0=_0x7c3267['slice'](0x0,-0x7)[_0x152a('0x22')](),_0x209e6e=_0x434197[_0x152a('0x14')]['get'](_0x128ee0);_0x31d8fd[_0x152a('0x1f')](_0x128ee0,(_0x3049c6,_0x50669c={})=>{const _0x3ab907=_0x51e128[_0x152a('0x23')]['selection'];if(_0x3ab907[_0x152a('0x9')])return void _0x3049c6(_0x50669c);const _0x1f1dfd=void 0x0!==_0x50669c[_0x152a('0x1')]?_0x50669c[_0x152a('0x1')]:!_0x209e6e['value'];_0x51e128['change'](()=>{const _0x1fccc8=Array['from'](_0x3ab907[_0x152a('0x0')]());for(const _0x4aab2d of _0x1fccc8){const _0x2f1884=_0x1f1dfd?[_0x4aab2d]:_0x2dd93a(_0x128ee0,_0x4aab2d,_0x51e128);for(const _0x287f1c of _0x2f1884)_0x31d8fd[_0x152a('0x20')](_0x287f1c,{'commandName':_0x128ee0,'commandParams':[{'forceValue':_0x1f1dfd}]});}});});}function _0x539e7f(_0x3ff591,_0x51a369){_0x31d8fd[_0x152a('0x5')][_0x152a('0x27')](_0x3d1aba=>{const {data:_0x2e39bd}=_0x3d1aba;if(_0x2e39bd&&_0x2e39bd[_0x152a('0x1d')]===_0x3ff591)return _0x2e39bd[_0x152a('0x16')][0x0][_0x152a('0x1')]?{'type':_0x152a('0x12'),'content':_0x12d815(_0x2f9882,_0x152a('0xc'),_0x51a369)}:{'type':'format','content':_0x12d815(_0x2f9882,_0x152a('0xb'),_0x51a369)};});}_0x539e7f(_0x152a('0xa'),_0x12d815(_0x2f9882,_0x152a('0x3'))),_0x539e7f(_0x152a('0xf'),_0x12d815(_0x2f9882,_0x152a('0x26'))),_0x539e7f(_0x152a('0x2'),_0x12d815(_0x2f9882,_0x152a('0x11'))),_0x539e7f('code',_0x12d815(_0x2f9882,_0x152a('0x4'))),_0x539e7f(_0x152a('0xe'),_0x12d815(_0x2f9882,_0x152a('0xd'))),_0x539e7f(_0x152a('0x24'),_0x12d815(_0x2f9882,_0x152a('0x1c'))),_0x539e7f(_0x152a('0x6'),_0x12d815(_0x2f9882,'FORMAT_SUPERSCRIPT'));}}
23
+ const _0x390e=['editor','TrackChangesEditing','slice','FORMAT_UNDERLINE','FORMAT_CODE','format','plugins','_descriptionFactory','FORMAT_SUPERSCRIPT','subscript','model','enableCommand','FORMAT_SUBSCRIPT','commands','CodeEditing','afterInit','strikethrough','FORMAT_STRIKETHROUGH','BoldEditing','superscript','*Remove\x20format:*\x20%0','locale','code','getRanges','forceValue','registerDescriptionCallback','SuperscriptEditing','value','commandParams','from','*Format:*\x20%0','underline','FORMAT_ITALIC','toLowerCase','document','StrikethroughEditing','bold','SubscriptEditing','FORMAT_BOLD','has'];(function(_0x567b97,_0x390ed3){const _0x1d1c67=function(_0x506d7e){while(--_0x506d7e){_0x567b97['push'](_0x567b97['shift']());}};_0x1d1c67(++_0x390ed3);}(_0x390e,0x1cf));const _0x1d1c=function(_0x567b97,_0x390ed3){_0x567b97=_0x567b97-0x0;let _0x1d1c67=_0x390e[_0x567b97];return _0x1d1c67;};import{Plugin as _0x349512}from'ckeditor5/src/core';import{getTranslation as _0x2f0101}from'../utils/common-translations';import{getRangesWithAttribute as _0x5559c7}from'./utils';const Kt=[_0x1d1c('0x23'),'ItalicEditing','UnderlineEditing',_0x1d1c('0x1f'),_0x1d1c('0xc'),_0x1d1c('0xe'),_0x1d1c('0x3')];export default class O extends _0x349512{[_0x1d1c('0x20')](){const _0x39e32e=this[_0x1d1c('0x11')],_0x34a1dd=_0x39e32e[_0x1d1c('0x1b')],_0x5538e1=_0x39e32e[_0x1d1c('0x17')]['get'](_0x1d1c('0x12')),_0x21a784=_0x39e32e[_0x1d1c('0x26')];for(const _0x8a89c6 of Kt){if(!_0x39e32e['plugins'][_0x1d1c('0x10')](_0x8a89c6))continue;const _0x4a60b0=_0x8a89c6[_0x1d1c('0x13')](0x0,-0x7)[_0x1d1c('0xa')](),_0xd9aabe=_0x39e32e[_0x1d1c('0x1e')]['get'](_0x4a60b0);_0x5538e1[_0x1d1c('0x1c')](_0x4a60b0,(_0x53e38c,_0x44bd12={})=>{const _0x2ad0bb=_0x34a1dd[_0x1d1c('0xb')]['selection'];if(_0x2ad0bb['isCollapsed'])return void _0x53e38c(_0x44bd12);const _0x3e210b=void 0x0!==_0x44bd12[_0x1d1c('0x1')]?_0x44bd12['forceValue']:!_0xd9aabe[_0x1d1c('0x4')];_0x34a1dd['change'](()=>{const _0xa56b35=Array[_0x1d1c('0x6')](_0x2ad0bb[_0x1d1c('0x0')]());for(const _0x4e12ad of _0xa56b35){const _0x4ef9c9=_0x3e210b?[_0x4e12ad]:_0x5559c7(_0x4a60b0,_0x4e12ad,_0x34a1dd);for(const _0x450b3a of _0x4ef9c9)_0x5538e1['markInlineFormat'](_0x450b3a,{'commandName':_0x4a60b0,'commandParams':[{'forceValue':_0x3e210b}]});}});});}function _0x4669cd(_0x25d6cf,_0x1683bc){_0x5538e1[_0x1d1c('0x18')][_0x1d1c('0x2')](_0x2954b7=>{const {data:_0x4fdb29}=_0x2954b7;if(_0x4fdb29&&_0x4fdb29['commandName']===_0x25d6cf)return _0x4fdb29[_0x1d1c('0x5')][0x0][_0x1d1c('0x1')]?{'type':_0x1d1c('0x16'),'content':_0x2f0101(_0x21a784,_0x1d1c('0x7'),_0x1683bc)}:{'type':'format','content':_0x2f0101(_0x21a784,_0x1d1c('0x25'),_0x1683bc)};});}_0x4669cd(_0x1d1c('0xd'),_0x2f0101(_0x21a784,_0x1d1c('0xf'))),_0x4669cd('italic',_0x2f0101(_0x21a784,_0x1d1c('0x9'))),_0x4669cd(_0x1d1c('0x8'),_0x2f0101(_0x21a784,_0x1d1c('0x14'))),_0x4669cd(_0x1d1c('0x27'),_0x2f0101(_0x21a784,_0x1d1c('0x15'))),_0x4669cd(_0x1d1c('0x21'),_0x2f0101(_0x21a784,_0x1d1c('0x22'))),_0x4669cd(_0x1d1c('0x1a'),_0x2f0101(_0x21a784,_0x1d1c('0x1d'))),_0x4669cd(_0x1d1c('0x24'),_0x2f0101(_0x21a784,_0x1d1c('0x19')));}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, 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 _0x4eaa=['has','schema','from','_descriptionFactory','TrackChangesEditing','commands','selection','commandParams','get','blockQuote','name','locale','format','document','plugins','value','editor','*Format:*\x20%0','getSelectedBlocks','model','filter','change','checkChild','afterInit','forceValue'];(function(_0x23187e,_0x4eaabe){const _0x298c72=function(_0x365f17){while(--_0x365f17){_0x23187e['push'](_0x23187e['shift']());}};_0x298c72(++_0x4eaabe);}(_0x4eaa,0xf7));const _0x298c=function(_0x23187e,_0x4eaabe){_0x23187e=_0x23187e-0x0;let _0x298c72=_0x4eaa[_0x23187e];return _0x298c72;};import{Plugin as _0x37c2cb}from'ckeditor5/src/core';import{getTranslation as _0xb69dba}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x113fcf}from'../utils/utils';export default class O extends _0x37c2cb{[_0x298c('0x1')](){const _0x11717f=this[_0x298c('0x13')],_0x3df065=_0x11717f[_0x298c('0xe')];if(!_0x11717f['plugins'][_0x298c('0x3')]('BlockQuoteEditing'))return;const _0x36beaa=_0x11717f[_0x298c('0x11')]['get'](_0x298c('0x7')),_0x329a38=this[_0x298c('0x13')][_0x298c('0x8')][_0x298c('0xb')]('blockQuote');_0x36beaa['enableCommand'](_0x298c('0xc'),(_0x57f199,_0x3f8a79={})=>{const _0x36ed94=this[_0x298c('0x13')]['model'][_0x298c('0x10')][_0x298c('0x9')],_0x4df604=_0x3f8a79&&void 0x0!==_0x3f8a79[_0x298c('0x2')]?_0x3f8a79[_0x298c('0x2')]:!_0x329a38[_0x298c('0x12')];let _0x169612=[];if(_0x4df604){const _0x119130=Array[_0x298c('0x5')](_0x36ed94[_0x298c('0x15')]())[_0x298c('0x17')](_0x43d7d8=>Ft(_0x43d7d8)||function(_0x4d1fa8,_0x2c68fd){const _0x9601a5=_0x2c68fd[_0x298c('0x0')](_0x4d1fa8['parent'],_0x298c('0xc')),_0x3e8886=_0x2c68fd[_0x298c('0x0')](['$root',_0x298c('0xc')],_0x4d1fa8);return _0x9601a5&&_0x3e8886;}(_0x43d7d8,this[_0x298c('0x13')][_0x298c('0x16')][_0x298c('0x4')]));_0x169612=_0x113fcf(_0x119130,_0x11717f[_0x298c('0x16')]);}else{const _0x438db5=Array['from'](_0x36ed94[_0x298c('0x15')]())['filter'](_0x42ce33=>Ft(_0x42ce33));_0x169612=_0x113fcf(_0x438db5,_0x11717f[_0x298c('0x16')]);}_0x11717f[_0x298c('0x16')][_0x298c('0x18')](()=>{for(const _0x3e8c84 of _0x169612)_0x36beaa['markBlockFormat'](_0x3e8c84,{'commandName':_0x298c('0xc'),'commandParams':[{'forceValue':_0x4df604}]});});}),_0x36beaa[_0x298c('0x6')]['registerDescriptionCallback'](_0x79299e=>{const {data:_0x373837}=_0x79299e;if(_0x373837&&_0x298c('0xc')==_0x373837['commandName']){const _0x19b0e6=_0xb69dba(_0x3df065,'ELEMENT_BLOCK_QUOTE');return _0x373837[_0x298c('0xa')][0x0]['forceValue']?{'type':'format','content':_0xb69dba(_0x3df065,_0x298c('0x14'),_0x19b0e6)}:{'type':_0x298c('0xf'),'content':_0xb69dba(_0x3df065,'*Remove\x20format:*\x20%0',_0x19b0e6)};}});}}function Ft(_0x12b7f0){return'blockQuote'==_0x12b7f0['parent'][_0x298c('0xd')];}
23
+ const _0x41ab=['ELEMENT_BLOCK_QUOTE','selection','markBlockFormat','has','checkChild','afterInit','plugins','schema','*Format:*\x20%0','commandParams','commandName','commands','_descriptionFactory','BlockQuoteEditing','filter','format','from','model','locale','parent','$root','*Remove\x20format:*\x20%0','get','forceValue','TrackChangesEditing','getSelectedBlocks','name','registerDescriptionCallback','blockQuote','editor'];(function(_0x14cfb7,_0x41abd8){const _0x512c6e=function(_0x2b6dc6){while(--_0x2b6dc6){_0x14cfb7['push'](_0x14cfb7['shift']());}};_0x512c6e(++_0x41abd8);}(_0x41ab,0xbb));const _0x512c=function(_0x14cfb7,_0x41abd8){_0x14cfb7=_0x14cfb7-0x0;let _0x512c6e=_0x41ab[_0x14cfb7];return _0x512c6e;};import{Plugin as _0x240b01}from'ckeditor5/src/core';import{getTranslation as _0x3afaa8}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1f3006}from'../utils/utils';export default class F extends _0x240b01{[_0x512c('0x1c')](){const _0x15cfb8=this['editor'],_0x92e9de=_0x15cfb8[_0x512c('0xb')];if(!_0x15cfb8[_0x512c('0x1d')][_0x512c('0x1a')](_0x512c('0x6')))return;const _0x47fad3=_0x15cfb8[_0x512c('0x1d')][_0x512c('0xf')](_0x512c('0x11')),_0xeb8993=this[_0x512c('0x16')][_0x512c('0x4')]['get'](_0x512c('0x15'));_0x47fad3['enableCommand'](_0x512c('0x15'),(_0x1aef18,_0x4b8c1a={})=>{const _0x6da7e0=this['editor']['model']['document'][_0x512c('0x18')],_0x470c95=_0x4b8c1a&&void 0x0!==_0x4b8c1a['forceValue']?_0x4b8c1a[_0x512c('0x10')]:!_0xeb8993['value'];let _0x4ba13c=[];if(_0x470c95){const _0x5e04b3=Array[_0x512c('0x9')](_0x6da7e0[_0x512c('0x12')]())[_0x512c('0x7')](_0x2af78e=>Jt(_0x2af78e)||function(_0x4c48c9,_0x239e8b){const _0x180f7b=_0x239e8b[_0x512c('0x1b')](_0x4c48c9['parent'],'blockQuote'),_0x5028c8=_0x239e8b['checkChild']([_0x512c('0xd'),'blockQuote'],_0x4c48c9);return _0x180f7b&&_0x5028c8;}(_0x2af78e,this[_0x512c('0x16')]['model'][_0x512c('0x0')]));_0x4ba13c=_0x1f3006(_0x5e04b3,_0x15cfb8[_0x512c('0xa')]);}else{const _0x345bbc=Array[_0x512c('0x9')](_0x6da7e0[_0x512c('0x12')]())['filter'](_0x480d6f=>Jt(_0x480d6f));_0x4ba13c=_0x1f3006(_0x345bbc,_0x15cfb8[_0x512c('0xa')]);}_0x15cfb8['model']['change'](()=>{for(const _0x1b81d5 of _0x4ba13c)_0x47fad3[_0x512c('0x19')](_0x1b81d5,{'commandName':_0x512c('0x15'),'commandParams':[{'forceValue':_0x470c95}]});});}),_0x47fad3[_0x512c('0x5')][_0x512c('0x14')](_0xe5c4e8=>{const {data:_0x4be866}=_0xe5c4e8;if(_0x4be866&&_0x512c('0x15')==_0x4be866[_0x512c('0x3')]){const _0x1baf50=_0x3afaa8(_0x92e9de,_0x512c('0x17'));return _0x4be866[_0x512c('0x2')][0x0]['forceValue']?{'type':_0x512c('0x8'),'content':_0x3afaa8(_0x92e9de,_0x512c('0x1'),_0x1baf50)}:{'type':'format','content':_0x3afaa8(_0x92e9de,_0x512c('0xe'),_0x1baf50)};}});}}function Jt(_0x4290a2){return _0x512c('0x15')==_0x4290a2[_0x512c('0xc')][_0x512c('0x13')];}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, 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 _0x5bdb=['editor','get','ckbox','plugins','afterInit','commands','TrackChangesEditing'];(function(_0x16b3a4,_0x5bdbb6){const _0x1958bc=function(_0x278420){while(--_0x278420){_0x16b3a4['push'](_0x16b3a4['shift']());}};_0x1958bc(++_0x5bdbb6);}(_0x5bdb,0xc3));const _0x1958=function(_0x16b3a4,_0x5bdbb6){_0x16b3a4=_0x16b3a4-0x0;let _0x1958bc=_0x5bdb[_0x16b3a4];return _0x1958bc;};import{Plugin as _0x57a205}from'ckeditor5/src/core';export default class P extends _0x57a205{[_0x1958('0x5')](){const _0x2a6ff3=this[_0x1958('0x1')];_0x2a6ff3[_0x1958('0x6')]['get']('ckbox')&&_0x2a6ff3[_0x1958('0x4')][_0x1958('0x2')](_0x1958('0x0'))['enableCommand'](_0x1958('0x3'));}}
23
+ const _0x500b=['afterInit','commands','TrackChangesEditing','editor','get','plugins','enableCommand','ckbox'];(function(_0x71896b,_0x500bf2){const _0x4296fd=function(_0x51b39a){while(--_0x51b39a){_0x71896b['push'](_0x71896b['shift']());}};_0x4296fd(++_0x500bf2);}(_0x500b,0x81));const _0x4296=function(_0x71896b,_0x500bf2){_0x71896b=_0x71896b-0x0;let _0x4296fd=_0x500b[_0x71896b];return _0x4296fd;};import{Plugin as _0x1f80fa}from'ckeditor5/src/core';export default class P extends _0x1f80fa{[_0x4296('0x7')](){const _0xcf72c9=this[_0x4296('0x2')];_0xcf72c9[_0x4296('0x0')][_0x4296('0x3')](_0x4296('0x6'))&&_0xcf72c9[_0x4296('0x4')][_0x4296('0x3')](_0x4296('0x1'))[_0x4296('0x5')](_0x4296('0x6'));}}