@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.
- package/build/track-changes.js +3 -2
- package/build/translations/ar.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/lang/contexts.json +16 -0
- package/lang/translations/ar.po +68 -4
- package/lang/translations/az.po +65 -1
- package/lang/translations/bg.po +68 -4
- package/lang/translations/bn.po +68 -4
- package/lang/translations/ca.po +68 -4
- package/lang/translations/cs.po +68 -4
- package/lang/translations/da.po +68 -4
- package/lang/translations/de.po +68 -4
- package/lang/translations/el.po +68 -4
- package/lang/translations/en-au.po +65 -1
- package/lang/translations/en.po +65 -1
- package/lang/translations/es.po +68 -4
- package/lang/translations/et.po +68 -4
- package/lang/translations/fi.po +68 -4
- package/lang/translations/fr.po +68 -4
- package/lang/translations/gl.po +65 -1
- package/lang/translations/he.po +68 -4
- package/lang/translations/hi.po +68 -4
- package/lang/translations/hr.po +65 -1
- package/lang/translations/hu.po +68 -4
- package/lang/translations/id.po +68 -4
- package/lang/translations/it.po +68 -4
- package/lang/translations/ja.po +68 -4
- package/lang/translations/ko.po +68 -4
- package/lang/translations/lt.po +68 -4
- package/lang/translations/lv.po +68 -4
- package/lang/translations/ms.po +68 -4
- package/lang/translations/nl.po +68 -4
- package/lang/translations/no.po +68 -4
- package/lang/translations/pl.po +68 -4
- package/lang/translations/pt-br.po +68 -4
- package/lang/translations/pt.po +68 -4
- package/lang/translations/ro.po +68 -4
- package/lang/translations/ru.po +68 -4
- package/lang/translations/sk.po +68 -4
- package/lang/translations/sr-latn.po +68 -4
- package/lang/translations/sr.po +69 -5
- package/lang/translations/sv.po +68 -4
- package/lang/translations/th.po +68 -4
- package/lang/translations/tk.po +65 -1
- package/lang/translations/tr.po +68 -4
- package/lang/translations/tt.po +65 -1
- package/lang/translations/uk.po +68 -4
- package/lang/translations/ur.po +65 -1
- package/lang/translations/vi.po +68 -4
- package/lang/translations/zh-cn.po +68 -4
- package/lang/translations/zh.po +68 -4
- package/package.json +4 -4
- package/src/commands/acceptsuggestioncommand.js +2 -2
- package/src/commands/discardsuggestioncommand.js +2 -2
- package/src/commands/executeonallsuggestionscommand.js +2 -2
- package/src/commands/executeonselectedsuggestionscommand.js +2 -2
- package/src/commands/trackchangescommand.js +2 -2
- package/src/index.js +1 -1
- package/src/integrations/alignment.js +2 -2
- package/src/integrations/basicstyles.js +2 -2
- package/src/integrations/blockquote.js +2 -2
- package/src/integrations/ckbox.js +2 -2
- package/src/integrations/codeblock.js +2 -2
- package/src/integrations/comments.js +2 -2
- package/src/integrations/deletecommand.js +2 -2
- package/src/integrations/documentlist.js +2 -2
- package/src/integrations/documentlistproperties.js +23 -0
- package/src/integrations/entercommand.js +2 -2
- package/src/integrations/findandreplace.js +23 -0
- package/src/integrations/font.js +2 -2
- package/src/integrations/heading.js +2 -2
- package/src/integrations/highlight.js +2 -2
- package/src/integrations/horizontalline.js +2 -2
- package/src/integrations/htmlembed.js +2 -2
- package/src/integrations/image.js +2 -2
- package/src/integrations/imagereplace.js +23 -0
- package/src/integrations/importword.js +2 -2
- package/src/integrations/indent.js +2 -2
- package/src/integrations/inputcommand.js +2 -2
- package/src/integrations/link.js +2 -2
- package/src/integrations/list.js +2 -2
- package/src/integrations/listproperties.js +23 -0
- package/src/integrations/mediaembed.js +2 -2
- package/src/integrations/mention.js +2 -2
- package/src/integrations/pagebreak.js +2 -2
- package/src/integrations/paragraph.js +2 -2
- package/src/integrations/removeformat.js +2 -2
- package/src/integrations/restrictededitingmode.js +2 -2
- package/src/integrations/shiftentercommand.js +2 -2
- package/src/integrations/standardeditingmode.js +2 -2
- package/src/integrations/style.js +2 -2
- package/src/integrations/table.js +2 -2
- package/src/integrations/tablecaption.js +2 -2
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +23 -0
- package/src/integrations/tableheadings.js +2 -2
- package/src/integrations/tablemergesplit.js +2 -2
- package/src/integrations/tableproperties.js +23 -0
- package/src/integrations/title.js +2 -2
- package/src/integrations/undo.js +2 -2
- package/src/integrations/utils.js +2 -2
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +2 -2
- package/src/trackchanges.js +2 -2
- package/src/trackchangesdata.js +2 -2
- package/src/trackchangesediting.js +2 -2
- package/src/trackchangesui.js +2 -2
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +2 -2
- package/src/ui/view/suggestionthreadview.js +2 -2
- package/src/utils/common-translations.js +2 -2
- package/src/utils/utils.js +2 -2
package/lang/translations/vi.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
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-
|
|
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 文件。"
|
package/lang/translations/zh.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
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": "
|
|
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": "^
|
|
31
|
-
"ckeditor5-collaboration": "^
|
|
30
|
+
"ckeditor5": "^36.0.0",
|
|
31
|
+
"ckeditor5-collaboration": "^36.0.0",
|
|
32
32
|
"lodash-es": "^4.17.11",
|
|
33
|
-
"@ckeditor/ckeditor5-style": "^
|
|
33
|
+
"@ckeditor/ckeditor5-style": "^36.0.0"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
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
|
|
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 -
|
|
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
|
|
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 -
|
|
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
|
|
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 -
|
|
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
|
|
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 -
|
|
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
|
|
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 -
|
|
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
|
|
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 -
|
|
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
|
|
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 -
|
|
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
|
|
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 -
|
|
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
|
|
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'));}}
|