@ckeditor/ckeditor5-track-changes 40.0.0 → 40.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -15
- package/LICENSE.md +3 -3
- package/README.md +1 -1
- package/build/track-changes.js +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +20 -1
- package/lang/translations/ar.po +78 -2
- package/lang/translations/az.po +77 -1
- package/lang/translations/bg.po +78 -2
- package/lang/translations/bn.po +78 -2
- package/lang/translations/ca.po +78 -2
- package/lang/translations/cs.po +78 -2
- package/lang/translations/da.po +78 -2
- package/lang/translations/de.po +78 -2
- package/lang/translations/el.po +78 -2
- package/lang/translations/en-au.po +78 -2
- package/lang/translations/en.po +78 -2
- package/lang/translations/es.po +78 -2
- package/lang/translations/et.po +78 -2
- package/lang/translations/fi.po +78 -2
- package/lang/translations/fr.po +78 -2
- package/lang/translations/gl.po +90 -14
- package/lang/translations/he.po +78 -2
- package/lang/translations/hi.po +78 -2
- package/lang/translations/hr.po +78 -2
- package/lang/translations/hu.po +78 -2
- package/lang/translations/id.po +78 -2
- package/lang/translations/it.po +78 -2
- package/lang/translations/ja.po +78 -2
- package/lang/translations/ko.po +78 -2
- package/lang/translations/lt.po +78 -2
- package/lang/translations/lv.po +78 -2
- package/lang/translations/ms.po +78 -2
- package/lang/translations/nl.po +78 -2
- package/lang/translations/no.po +78 -2
- package/lang/translations/pl.po +78 -2
- package/lang/translations/pt-br.po +96 -20
- package/lang/translations/pt.po +78 -2
- package/lang/translations/ro.po +78 -2
- package/lang/translations/ru.po +78 -2
- package/lang/translations/sk.po +78 -2
- package/lang/translations/sq.po +77 -1
- package/lang/translations/sr-latn.po +78 -2
- package/lang/translations/sr.po +78 -2
- package/lang/translations/sv.po +78 -2
- package/lang/translations/th.po +78 -2
- package/lang/translations/tk.po +77 -1
- package/lang/translations/tr.po +78 -2
- package/lang/translations/tt.po +77 -1
- package/lang/translations/uk.po +78 -2
- package/lang/translations/ur.po +77 -1
- package/lang/translations/vi.po +78 -2
- package/lang/translations/zh-cn.po +78 -2
- package/lang/translations/zh.po +78 -2
- package/package.json +3 -3
- package/src/augmentation.d.ts +40 -40
- package/src/commands/acceptsuggestioncommand.d.ts +24 -24
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.d.ts +24 -24
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.d.ts +26 -26
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +16 -16
- package/src/integrations/aiassistant.d.ts +17 -17
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.d.ts +17 -17
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.d.ts +17 -17
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.d.ts +17 -17
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.d.ts +17 -17
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.d.ts +17 -17
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.d.ts +14 -14
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.d.ts +17 -17
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.d.ts +17 -17
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.d.ts +29 -29
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.d.ts +16 -16
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.d.ts +21 -21
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.d.ts +17 -17
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.d.ts +17 -17
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.d.ts +17 -17
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.d.ts +17 -17
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.d.ts +17 -17
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.d.ts +17 -17
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.d.ts +17 -17
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.d.ts +17 -23
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.d.ts +17 -0
- package/src/integrations/imagestyle.js +23 -0
- package/src/integrations/importword.d.ts +18 -18
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.d.ts +17 -17
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.d.ts +16 -16
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.d.ts +17 -17
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.d.ts +17 -17
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.d.ts +29 -29
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.d.ts +17 -17
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.d.ts +17 -17
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.d.ts +17 -17
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.d.ts +17 -17
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.d.ts +17 -17
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.d.ts +17 -17
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.d.ts +16 -16
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.d.ts +17 -17
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.d.ts +17 -18
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.d.ts +42 -42
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.d.ts +22 -22
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.d.ts +19 -19
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.d.ts +26 -26
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.d.ts +22 -22
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.d.ts +22 -22
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.d.ts +17 -17
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.d.ts +27 -27
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.d.ts +17 -17
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.d.ts +17 -17
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.d.ts +17 -17
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.d.ts +21 -21
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +291 -276
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +183 -163
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +180 -244
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +78 -75
- package/src/trackchangesdata.d.ts +41 -41
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +524 -468
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.d.ts +38 -38
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +37 -37
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +182 -182
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.d.ts +9 -9
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.d.ts +30 -30
- package/src/utils/utils.js +1 -1
package/lang/translations/ur.po
CHANGED
|
@@ -58,7 +58,7 @@ msgid "*Format:* remove from %0"
|
|
|
58
58
|
msgstr ""
|
|
59
59
|
|
|
60
60
|
msgctxt "A suggestion for replacing an image."
|
|
61
|
-
msgid "*
|
|
61
|
+
msgid "*Replace image URL*"
|
|
62
62
|
msgstr ""
|
|
63
63
|
|
|
64
64
|
msgctxt "A suggestion for resizing a table."
|
|
@@ -153,6 +153,10 @@ msgctxt "A suggestion for setting the font size to %0."
|
|
|
153
153
|
msgid "*Set font size:* %0"
|
|
154
154
|
msgstr ""
|
|
155
155
|
|
|
156
|
+
msgctxt "A suggestion for setting one or more formatting changes to %0"
|
|
157
|
+
msgid "*Set format:* %0"
|
|
158
|
+
msgstr ""
|
|
159
|
+
|
|
156
160
|
msgctxt "A suggestion for setting multiple inline formatting to %0"
|
|
157
161
|
msgid "*Set format to:* %0"
|
|
158
162
|
msgstr ""
|
|
@@ -213,6 +217,30 @@ msgctxt "The label for the discard suggestion button."
|
|
|
213
217
|
msgid "Discard suggestion"
|
|
214
218
|
msgstr ""
|
|
215
219
|
|
|
220
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
|
|
221
|
+
msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
222
|
+
msgstr ""
|
|
223
|
+
|
|
224
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
|
|
225
|
+
msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
226
|
+
msgstr ""
|
|
227
|
+
|
|
228
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
|
|
229
|
+
msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
230
|
+
msgstr ""
|
|
231
|
+
|
|
232
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
|
|
233
|
+
msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
234
|
+
msgstr ""
|
|
235
|
+
|
|
236
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
|
|
237
|
+
msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
238
|
+
msgstr ""
|
|
239
|
+
|
|
240
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
|
|
241
|
+
msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
242
|
+
msgstr ""
|
|
243
|
+
|
|
216
244
|
msgctxt "The block quote element name displayed in the suggestion."
|
|
217
245
|
msgid "ELEMENT_BLOCK_QUOTE"
|
|
218
246
|
msgstr "کوڈ خانہ"
|
|
@@ -221,6 +249,10 @@ msgctxt "The bulleted list element name displayed in the suggestion."
|
|
|
221
249
|
msgid "ELEMENT_BULLETED_LIST"
|
|
222
250
|
msgstr ""
|
|
223
251
|
|
|
252
|
+
msgctxt "The default styled bulleted list element name displayed in the suggestion."
|
|
253
|
+
msgid "ELEMENT_BULLETED_LIST_DEFAULT"
|
|
254
|
+
msgstr ""
|
|
255
|
+
|
|
224
256
|
msgctxt "The circle styled bulleted list element name displayed in the suggestion."
|
|
225
257
|
msgid "ELEMENT_BULLETED_LIST_CIRCLE"
|
|
226
258
|
msgstr ""
|
|
@@ -301,6 +333,10 @@ msgctxt "The numbered list element name displayed in the suggestion."
|
|
|
301
333
|
msgid "ELEMENT_NUMBERED_LIST"
|
|
302
334
|
msgstr ""
|
|
303
335
|
|
|
336
|
+
msgctxt "The default styled numbered list element name displayed in the suggestion."
|
|
337
|
+
msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
|
|
338
|
+
msgstr ""
|
|
339
|
+
|
|
304
340
|
msgctxt "The decimal styled numbered list element name displayed in the suggestion."
|
|
305
341
|
msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
|
|
306
342
|
msgstr ""
|
|
@@ -391,6 +427,10 @@ msgctxt "The to-do list element name displayed in the suggestion."
|
|
|
391
427
|
msgid "ELEMENT_TODO_LIST"
|
|
392
428
|
msgstr ""
|
|
393
429
|
|
|
430
|
+
msgctxt "The alignment format name displayed in a format suggestion."
|
|
431
|
+
msgid "FORMAT_ALIGNMENT"
|
|
432
|
+
msgstr ""
|
|
433
|
+
|
|
394
434
|
msgctxt "The align to center format name displayed in a format suggestion."
|
|
395
435
|
msgid "FORMAT_ALIGN_TO_CENTER"
|
|
396
436
|
msgstr ""
|
|
@@ -467,6 +507,42 @@ msgctxt "The underline format name displayed in a format suggestion."
|
|
|
467
507
|
msgid "FORMAT_UNDERLINE"
|
|
468
508
|
msgstr ""
|
|
469
509
|
|
|
510
|
+
msgctxt "The list or block indent format name displayed in a format suggestion."
|
|
511
|
+
msgid "FORMAT_INDENT"
|
|
512
|
+
msgstr ""
|
|
513
|
+
|
|
514
|
+
msgctxt "The list reversed format name displayed in a format suggestion."
|
|
515
|
+
msgid "FORMAT_LIST_REVERSED"
|
|
516
|
+
msgstr ""
|
|
517
|
+
|
|
518
|
+
msgctxt "The list start format name displayed in a format suggestion."
|
|
519
|
+
msgid "FORMAT_LIST_START"
|
|
520
|
+
msgstr ""
|
|
521
|
+
|
|
522
|
+
msgctxt "The font size format name displayed in a format suggestion."
|
|
523
|
+
msgid "FORMAT_FONT_SIZE"
|
|
524
|
+
msgstr ""
|
|
525
|
+
|
|
526
|
+
msgctxt "The font family format name displayed in a format suggestion."
|
|
527
|
+
msgid "FORMAT_FONT_FAMILY"
|
|
528
|
+
msgstr ""
|
|
529
|
+
|
|
530
|
+
msgctxt "The font color format name displayed in a format suggestion."
|
|
531
|
+
msgid "FORMAT_FONT_COLOR"
|
|
532
|
+
msgstr ""
|
|
533
|
+
|
|
534
|
+
msgctxt "The font background color format name displayed in a format suggestion."
|
|
535
|
+
msgid "FORMAT_FONT_BACKGROUND"
|
|
536
|
+
msgstr ""
|
|
537
|
+
|
|
538
|
+
msgctxt "The image size change format name displayed in a format suggestion."
|
|
539
|
+
msgid "FORMAT_IMAGE_SIZE"
|
|
540
|
+
msgstr ""
|
|
541
|
+
|
|
542
|
+
msgctxt "The style format name displayed in a format suggestion."
|
|
543
|
+
msgid "FORMAT_STYLE"
|
|
544
|
+
msgstr ""
|
|
545
|
+
|
|
470
546
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
471
547
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
472
548
|
msgstr ""
|
package/lang/translations/vi.po
CHANGED
|
@@ -58,8 +58,8 @@ msgid "*Format:* remove from %0"
|
|
|
58
58
|
msgstr "*Định dạng:* xóa khỏi %0"
|
|
59
59
|
|
|
60
60
|
msgctxt "A suggestion for replacing an image."
|
|
61
|
-
msgid "*
|
|
62
|
-
msgstr "
|
|
61
|
+
msgid "*Replace image URL*"
|
|
62
|
+
msgstr "*Thay thế URL hình ảnh*"
|
|
63
63
|
|
|
64
64
|
msgctxt "A suggestion for resizing a table."
|
|
65
65
|
msgid "*Format:* resize table"
|
|
@@ -153,6 +153,10 @@ msgctxt "A suggestion for setting the font size to %0."
|
|
|
153
153
|
msgid "*Set font size:* %0"
|
|
154
154
|
msgstr "*Đặt lại kích cỡ phông chữ:* %0"
|
|
155
155
|
|
|
156
|
+
msgctxt "A suggestion for setting one or more formatting changes to %0"
|
|
157
|
+
msgid "*Set format:* %0"
|
|
158
|
+
msgstr "*Đặt định dạng:* %0"
|
|
159
|
+
|
|
156
160
|
msgctxt "A suggestion for setting multiple inline formatting to %0"
|
|
157
161
|
msgid "*Set format to:* %0"
|
|
158
162
|
msgstr "*Đặt định dạng thành:* %0"
|
|
@@ -213,6 +217,30 @@ msgctxt "The label for the discard suggestion button."
|
|
|
213
217
|
msgid "Discard suggestion"
|
|
214
218
|
msgstr "Loại bỏ ý kiến đề xuất"
|
|
215
219
|
|
|
220
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
|
|
221
|
+
msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
222
|
+
msgstr "Đang rời đề xuất nhập."
|
|
223
|
+
|
|
224
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
|
|
225
|
+
msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
226
|
+
msgstr "Đang vào đề xuất nhập."
|
|
227
|
+
|
|
228
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
|
|
229
|
+
msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
230
|
+
msgstr "Đang rời đề xuất xóa."
|
|
231
|
+
|
|
232
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
|
|
233
|
+
msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
234
|
+
msgstr "Đang vào đề xuất xóa."
|
|
235
|
+
|
|
236
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
|
|
237
|
+
msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
238
|
+
msgstr "Đang rời đề xuất định dạng."
|
|
239
|
+
|
|
240
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
|
|
241
|
+
msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
242
|
+
msgstr "Đang vào đề xuất định dạng."
|
|
243
|
+
|
|
216
244
|
msgctxt "The block quote element name displayed in the suggestion."
|
|
217
245
|
msgid "ELEMENT_BLOCK_QUOTE"
|
|
218
246
|
msgstr "khối trích dẫn"
|
|
@@ -221,6 +249,10 @@ msgctxt "The bulleted list element name displayed in the suggestion."
|
|
|
221
249
|
msgid "ELEMENT_BULLETED_LIST"
|
|
222
250
|
msgstr "danh sách có dấu đầu dòng"
|
|
223
251
|
|
|
252
|
+
msgctxt "The default styled bulleted list element name displayed in the suggestion."
|
|
253
|
+
msgid "ELEMENT_BULLETED_LIST_DEFAULT"
|
|
254
|
+
msgstr "danh sách đánh dấu (mặc định)"
|
|
255
|
+
|
|
224
256
|
msgctxt "The circle styled bulleted list element name displayed in the suggestion."
|
|
225
257
|
msgid "ELEMENT_BULLETED_LIST_CIRCLE"
|
|
226
258
|
msgstr "danh sách có dấu đầu dòng (đường tròn)"
|
|
@@ -291,6 +323,10 @@ msgctxt "The numbered list element name displayed in the suggestion."
|
|
|
291
323
|
msgid "ELEMENT_NUMBERED_LIST"
|
|
292
324
|
msgstr "danh sách được đánh số"
|
|
293
325
|
|
|
326
|
+
msgctxt "The default styled numbered list element name displayed in the suggestion."
|
|
327
|
+
msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
|
|
328
|
+
msgstr "danh sách đánh số (mặc định)"
|
|
329
|
+
|
|
294
330
|
msgctxt "The decimal styled numbered list element name displayed in the suggestion."
|
|
295
331
|
msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
|
|
296
332
|
msgstr "danh sách có đánh số (số thập phân)"
|
|
@@ -372,6 +408,10 @@ msgctxt "The to-do list element name displayed in the suggestion."
|
|
|
372
408
|
msgid "ELEMENT_TODO_LIST"
|
|
373
409
|
msgstr "danh sách việc cần làm"
|
|
374
410
|
|
|
411
|
+
msgctxt "The alignment format name displayed in a format suggestion."
|
|
412
|
+
msgid "FORMAT_ALIGNMENT"
|
|
413
|
+
msgstr "căn lề"
|
|
414
|
+
|
|
375
415
|
msgctxt "The align to center format name displayed in a format suggestion."
|
|
376
416
|
msgid "FORMAT_ALIGN_TO_CENTER"
|
|
377
417
|
msgstr "căn giữa"
|
|
@@ -448,6 +488,42 @@ msgctxt "The underline format name displayed in a format suggestion."
|
|
|
448
488
|
msgid "FORMAT_UNDERLINE"
|
|
449
489
|
msgstr "gạch dưới"
|
|
450
490
|
|
|
491
|
+
msgctxt "The list or block indent format name displayed in a format suggestion."
|
|
492
|
+
msgid "FORMAT_INDENT"
|
|
493
|
+
msgstr "thụt dòng"
|
|
494
|
+
|
|
495
|
+
msgctxt "The list reversed format name displayed in a format suggestion."
|
|
496
|
+
msgid "FORMAT_LIST_REVERSED"
|
|
497
|
+
msgstr "đảo ngược danh sách"
|
|
498
|
+
|
|
499
|
+
msgctxt "The list start format name displayed in a format suggestion."
|
|
500
|
+
msgid "FORMAT_LIST_START"
|
|
501
|
+
msgstr "bắt đầu danh sách"
|
|
502
|
+
|
|
503
|
+
msgctxt "The font size format name displayed in a format suggestion."
|
|
504
|
+
msgid "FORMAT_FONT_SIZE"
|
|
505
|
+
msgstr "cỡ chữ"
|
|
506
|
+
|
|
507
|
+
msgctxt "The font family format name displayed in a format suggestion."
|
|
508
|
+
msgid "FORMAT_FONT_FAMILY"
|
|
509
|
+
msgstr "nhóm phông chữ"
|
|
510
|
+
|
|
511
|
+
msgctxt "The font color format name displayed in a format suggestion."
|
|
512
|
+
msgid "FORMAT_FONT_COLOR"
|
|
513
|
+
msgstr "màu chữ"
|
|
514
|
+
|
|
515
|
+
msgctxt "The font background color format name displayed in a format suggestion."
|
|
516
|
+
msgid "FORMAT_FONT_BACKGROUND"
|
|
517
|
+
msgstr "màu nền phông chữ"
|
|
518
|
+
|
|
519
|
+
msgctxt "The image size change format name displayed in a format suggestion."
|
|
520
|
+
msgid "FORMAT_IMAGE_SIZE"
|
|
521
|
+
msgstr "cỡ ảnh"
|
|
522
|
+
|
|
523
|
+
msgctxt "The style format name displayed in a format suggestion."
|
|
524
|
+
msgid "FORMAT_STYLE"
|
|
525
|
+
msgstr "phong cách"
|
|
526
|
+
|
|
451
527
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
452
528
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
453
529
|
msgstr "Nội dung chưa được lưu trong nội dung đề xuất."
|
|
@@ -58,8 +58,8 @@ msgid "*Format:* remove from %0"
|
|
|
58
58
|
msgstr "*格式:* 从 %0 移除"
|
|
59
59
|
|
|
60
60
|
msgctxt "A suggestion for replacing an image."
|
|
61
|
-
msgid "*
|
|
62
|
-
msgstr "
|
|
61
|
+
msgid "*Replace image URL*"
|
|
62
|
+
msgstr "*替换图片 URL*"
|
|
63
63
|
|
|
64
64
|
msgctxt "A suggestion for resizing a table."
|
|
65
65
|
msgid "*Format:* resize table"
|
|
@@ -153,6 +153,10 @@ msgctxt "A suggestion for setting the font size to %0."
|
|
|
153
153
|
msgid "*Set font size:* %0"
|
|
154
154
|
msgstr "*设置字号:* %0"
|
|
155
155
|
|
|
156
|
+
msgctxt "A suggestion for setting one or more formatting changes to %0"
|
|
157
|
+
msgid "*Set format:* %0"
|
|
158
|
+
msgstr "*设置格式:* %0"
|
|
159
|
+
|
|
156
160
|
msgctxt "A suggestion for setting multiple inline formatting to %0"
|
|
157
161
|
msgid "*Set format to:* %0"
|
|
158
162
|
msgstr "*设置格式为:* %0"
|
|
@@ -213,6 +217,30 @@ msgctxt "The label for the discard suggestion button."
|
|
|
213
217
|
msgid "Discard suggestion"
|
|
214
218
|
msgstr "放弃建议"
|
|
215
219
|
|
|
220
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
|
|
221
|
+
msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
222
|
+
msgstr "离开插入建议。"
|
|
223
|
+
|
|
224
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
|
|
225
|
+
msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
226
|
+
msgstr "进入插入建议。"
|
|
227
|
+
|
|
228
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
|
|
229
|
+
msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
230
|
+
msgstr "离开删除建议。"
|
|
231
|
+
|
|
232
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
|
|
233
|
+
msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
234
|
+
msgstr "进入删除建议。"
|
|
235
|
+
|
|
236
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
|
|
237
|
+
msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
238
|
+
msgstr "离开格式建议。"
|
|
239
|
+
|
|
240
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
|
|
241
|
+
msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
242
|
+
msgstr "进入格式建议。"
|
|
243
|
+
|
|
216
244
|
msgctxt "The block quote element name displayed in the suggestion."
|
|
217
245
|
msgid "ELEMENT_BLOCK_QUOTE"
|
|
218
246
|
msgstr "块引用"
|
|
@@ -221,6 +249,10 @@ msgctxt "The bulleted list element name displayed in the suggestion."
|
|
|
221
249
|
msgid "ELEMENT_BULLETED_LIST"
|
|
222
250
|
msgstr "项目符号列表"
|
|
223
251
|
|
|
252
|
+
msgctxt "The default styled bulleted list element name displayed in the suggestion."
|
|
253
|
+
msgid "ELEMENT_BULLETED_LIST_DEFAULT"
|
|
254
|
+
msgstr "项目符号列表(默认)"
|
|
255
|
+
|
|
224
256
|
msgctxt "The circle styled bulleted list element name displayed in the suggestion."
|
|
225
257
|
msgid "ELEMENT_BULLETED_LIST_CIRCLE"
|
|
226
258
|
msgstr "项目符号列表(圆圈)"
|
|
@@ -291,6 +323,10 @@ msgctxt "The numbered list element name displayed in the suggestion."
|
|
|
291
323
|
msgid "ELEMENT_NUMBERED_LIST"
|
|
292
324
|
msgstr "项目编号列表"
|
|
293
325
|
|
|
326
|
+
msgctxt "The default styled numbered list element name displayed in the suggestion."
|
|
327
|
+
msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
|
|
328
|
+
msgstr "编号列表(默认)"
|
|
329
|
+
|
|
294
330
|
msgctxt "The decimal styled numbered list element name displayed in the suggestion."
|
|
295
331
|
msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
|
|
296
332
|
msgstr "项目符号列表(十进制)"
|
|
@@ -372,6 +408,10 @@ msgctxt "The to-do list element name displayed in the suggestion."
|
|
|
372
408
|
msgid "ELEMENT_TODO_LIST"
|
|
373
409
|
msgstr "待办事项列表"
|
|
374
410
|
|
|
411
|
+
msgctxt "The alignment format name displayed in a format suggestion."
|
|
412
|
+
msgid "FORMAT_ALIGNMENT"
|
|
413
|
+
msgstr "对齐"
|
|
414
|
+
|
|
375
415
|
msgctxt "The align to center format name displayed in a format suggestion."
|
|
376
416
|
msgid "FORMAT_ALIGN_TO_CENTER"
|
|
377
417
|
msgstr "居中对齐"
|
|
@@ -448,6 +488,42 @@ msgctxt "The underline format name displayed in a format suggestion."
|
|
|
448
488
|
msgid "FORMAT_UNDERLINE"
|
|
449
489
|
msgstr "下划线"
|
|
450
490
|
|
|
491
|
+
msgctxt "The list or block indent format name displayed in a format suggestion."
|
|
492
|
+
msgid "FORMAT_INDENT"
|
|
493
|
+
msgstr "缩进"
|
|
494
|
+
|
|
495
|
+
msgctxt "The list reversed format name displayed in a format suggestion."
|
|
496
|
+
msgid "FORMAT_LIST_REVERSED"
|
|
497
|
+
msgstr "列表反转"
|
|
498
|
+
|
|
499
|
+
msgctxt "The list start format name displayed in a format suggestion."
|
|
500
|
+
msgid "FORMAT_LIST_START"
|
|
501
|
+
msgstr "列表开始"
|
|
502
|
+
|
|
503
|
+
msgctxt "The font size format name displayed in a format suggestion."
|
|
504
|
+
msgid "FORMAT_FONT_SIZE"
|
|
505
|
+
msgstr "字体大小"
|
|
506
|
+
|
|
507
|
+
msgctxt "The font family format name displayed in a format suggestion."
|
|
508
|
+
msgid "FORMAT_FONT_FAMILY"
|
|
509
|
+
msgstr "字体类型"
|
|
510
|
+
|
|
511
|
+
msgctxt "The font color format name displayed in a format suggestion."
|
|
512
|
+
msgid "FORMAT_FONT_COLOR"
|
|
513
|
+
msgstr "字体颜色"
|
|
514
|
+
|
|
515
|
+
msgctxt "The font background color format name displayed in a format suggestion."
|
|
516
|
+
msgid "FORMAT_FONT_BACKGROUND"
|
|
517
|
+
msgstr "字体背景颜色"
|
|
518
|
+
|
|
519
|
+
msgctxt "The image size change format name displayed in a format suggestion."
|
|
520
|
+
msgid "FORMAT_IMAGE_SIZE"
|
|
521
|
+
msgstr "图片大小"
|
|
522
|
+
|
|
523
|
+
msgctxt "The style format name displayed in a format suggestion."
|
|
524
|
+
msgid "FORMAT_STYLE"
|
|
525
|
+
msgstr "样式"
|
|
526
|
+
|
|
451
527
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
452
528
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
453
529
|
msgstr "建议中有未保存内容"
|
package/lang/translations/zh.po
CHANGED
|
@@ -58,8 +58,8 @@ msgid "*Format:* remove from %0"
|
|
|
58
58
|
msgstr "*格式:*從 %0 移除"
|
|
59
59
|
|
|
60
60
|
msgctxt "A suggestion for replacing an image."
|
|
61
|
-
msgid "*
|
|
62
|
-
msgstr "
|
|
61
|
+
msgid "*Replace image URL*"
|
|
62
|
+
msgstr "*替換圖片網址*"
|
|
63
63
|
|
|
64
64
|
msgctxt "A suggestion for resizing a table."
|
|
65
65
|
msgid "*Format:* resize table"
|
|
@@ -153,6 +153,10 @@ msgctxt "A suggestion for setting the font size to %0."
|
|
|
153
153
|
msgid "*Set font size:* %0"
|
|
154
154
|
msgstr "*設定字型大小:*%0"
|
|
155
155
|
|
|
156
|
+
msgctxt "A suggestion for setting one or more formatting changes to %0"
|
|
157
|
+
msgid "*Set format:* %0"
|
|
158
|
+
msgstr "*設定格式:* %0"
|
|
159
|
+
|
|
156
160
|
msgctxt "A suggestion for setting multiple inline formatting to %0"
|
|
157
161
|
msgid "*Set format to:* %0"
|
|
158
162
|
msgstr "*設定格式為:*%0"
|
|
@@ -213,6 +217,30 @@ msgctxt "The label for the discard suggestion button."
|
|
|
213
217
|
msgid "Discard suggestion"
|
|
214
218
|
msgstr "捨棄建議"
|
|
215
219
|
|
|
220
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
|
|
221
|
+
msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
222
|
+
msgstr "正在離開插入建議。"
|
|
223
|
+
|
|
224
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
|
|
225
|
+
msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
226
|
+
msgstr "正在進入插入建議。"
|
|
227
|
+
|
|
228
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
|
|
229
|
+
msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
230
|
+
msgstr "正在離開刪除建議。"
|
|
231
|
+
|
|
232
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
|
|
233
|
+
msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
234
|
+
msgstr "正在進入刪除建議。"
|
|
235
|
+
|
|
236
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
|
|
237
|
+
msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
238
|
+
msgstr "正在離開格式建議。"
|
|
239
|
+
|
|
240
|
+
msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
|
|
241
|
+
msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
242
|
+
msgstr "正在進入格式建議。"
|
|
243
|
+
|
|
216
244
|
msgctxt "The block quote element name displayed in the suggestion."
|
|
217
245
|
msgid "ELEMENT_BLOCK_QUOTE"
|
|
218
246
|
msgstr "區塊引述"
|
|
@@ -221,6 +249,10 @@ msgctxt "The bulleted list element name displayed in the suggestion."
|
|
|
221
249
|
msgid "ELEMENT_BULLETED_LIST"
|
|
222
250
|
msgstr "項目符號清單"
|
|
223
251
|
|
|
252
|
+
msgctxt "The default styled bulleted list element name displayed in the suggestion."
|
|
253
|
+
msgid "ELEMENT_BULLETED_LIST_DEFAULT"
|
|
254
|
+
msgstr "項目符號清單(預設)"
|
|
255
|
+
|
|
224
256
|
msgctxt "The circle styled bulleted list element name displayed in the suggestion."
|
|
225
257
|
msgid "ELEMENT_BULLETED_LIST_CIRCLE"
|
|
226
258
|
msgstr "項目符號列表(空心圓)"
|
|
@@ -291,6 +323,10 @@ msgctxt "The numbered list element name displayed in the suggestion."
|
|
|
291
323
|
msgid "ELEMENT_NUMBERED_LIST"
|
|
292
324
|
msgstr "編號清單"
|
|
293
325
|
|
|
326
|
+
msgctxt "The default styled numbered list element name displayed in the suggestion."
|
|
327
|
+
msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
|
|
328
|
+
msgstr "編號清單(預設)"
|
|
329
|
+
|
|
294
330
|
msgctxt "The decimal styled numbered list element name displayed in the suggestion."
|
|
295
331
|
msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
|
|
296
332
|
msgstr "編號列表(阿拉伯數字)"
|
|
@@ -372,6 +408,10 @@ msgctxt "The to-do list element name displayed in the suggestion."
|
|
|
372
408
|
msgid "ELEMENT_TODO_LIST"
|
|
373
409
|
msgstr "待辦事項清單"
|
|
374
410
|
|
|
411
|
+
msgctxt "The alignment format name displayed in a format suggestion."
|
|
412
|
+
msgid "FORMAT_ALIGNMENT"
|
|
413
|
+
msgstr "對齊"
|
|
414
|
+
|
|
375
415
|
msgctxt "The align to center format name displayed in a format suggestion."
|
|
376
416
|
msgid "FORMAT_ALIGN_TO_CENTER"
|
|
377
417
|
msgstr "置中"
|
|
@@ -448,6 +488,42 @@ msgctxt "The underline format name displayed in a format suggestion."
|
|
|
448
488
|
msgid "FORMAT_UNDERLINE"
|
|
449
489
|
msgstr "底線"
|
|
450
490
|
|
|
491
|
+
msgctxt "The list or block indent format name displayed in a format suggestion."
|
|
492
|
+
msgid "FORMAT_INDENT"
|
|
493
|
+
msgstr "縮排"
|
|
494
|
+
|
|
495
|
+
msgctxt "The list reversed format name displayed in a format suggestion."
|
|
496
|
+
msgid "FORMAT_LIST_REVERSED"
|
|
497
|
+
msgstr "清單反轉"
|
|
498
|
+
|
|
499
|
+
msgctxt "The list start format name displayed in a format suggestion."
|
|
500
|
+
msgid "FORMAT_LIST_START"
|
|
501
|
+
msgstr "清單起始"
|
|
502
|
+
|
|
503
|
+
msgctxt "The font size format name displayed in a format suggestion."
|
|
504
|
+
msgid "FORMAT_FONT_SIZE"
|
|
505
|
+
msgstr "字型大小"
|
|
506
|
+
|
|
507
|
+
msgctxt "The font family format name displayed in a format suggestion."
|
|
508
|
+
msgid "FORMAT_FONT_FAMILY"
|
|
509
|
+
msgstr "字型家族"
|
|
510
|
+
|
|
511
|
+
msgctxt "The font color format name displayed in a format suggestion."
|
|
512
|
+
msgid "FORMAT_FONT_COLOR"
|
|
513
|
+
msgstr "字型顏色"
|
|
514
|
+
|
|
515
|
+
msgctxt "The font background color format name displayed in a format suggestion."
|
|
516
|
+
msgid "FORMAT_FONT_BACKGROUND"
|
|
517
|
+
msgstr "字型背景顏色"
|
|
518
|
+
|
|
519
|
+
msgctxt "The image size change format name displayed in a format suggestion."
|
|
520
|
+
msgid "FORMAT_IMAGE_SIZE"
|
|
521
|
+
msgstr "圖片大小"
|
|
522
|
+
|
|
523
|
+
msgctxt "The style format name displayed in a format suggestion."
|
|
524
|
+
msgid "FORMAT_STYLE"
|
|
525
|
+
msgstr "樣式"
|
|
526
|
+
|
|
451
527
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
452
528
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
453
529
|
msgstr "建議中未儲存的變更。"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "40.
|
|
3
|
+
"version": "40.2.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "40.
|
|
43
|
-
"ckeditor5-collaboration": "40.
|
|
42
|
+
"ckeditor5": "40.2.0",
|
|
43
|
+
"ckeditor5-collaboration": "40.2.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
import type { TrackChangesConfig, TrackChangesEditing, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand } from './index';
|
|
6
|
-
import type { Editor } from 'ckeditor5/src/core';
|
|
7
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
8
|
-
interface EditorConfig {
|
|
9
|
-
/**
|
|
10
|
-
* The configuration of the {@link module:track-changes/trackchanges~TrackChanges} feature.
|
|
11
|
-
*
|
|
12
|
-
* Read more in {@link module:track-changes/trackchangesconfig~TrackChangesConfig}.
|
|
13
|
-
*/
|
|
14
|
-
trackChanges?: TrackChangesConfig;
|
|
15
|
-
/**
|
|
16
|
-
* The configuration of the track changes data feature.
|
|
17
|
-
*/
|
|
18
|
-
trackChangesData?: {
|
|
19
|
-
/**
|
|
20
|
-
* Callback that creates an editor instances.
|
|
21
|
-
*
|
|
22
|
-
* Used in non-standard integrations. See track changes data
|
|
23
|
-
* {@glink features/collaboration/track-changes/track-changes-data#configuring-track-changes-data-plugin configuration guide}.
|
|
24
|
-
*/
|
|
25
|
-
editorCreator?: (config: EditorConfig, createElement: Function) => Promise<Editor>;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
interface PluginsMap {
|
|
29
|
-
[TrackChangesEditing.pluginName]: TrackChangesEditing;
|
|
30
|
-
}
|
|
31
|
-
interface CommandsMap {
|
|
32
|
-
acceptSuggestion: AcceptSuggestionCommand;
|
|
33
|
-
discardSuggestion: DiscardSuggestionCommand;
|
|
34
|
-
acceptAllSuggestions: ExecuteOnAllSuggestionsCommand<AcceptSuggestionCommand>;
|
|
35
|
-
discardAllSuggestions: ExecuteOnAllSuggestionsCommand<DiscardSuggestionCommand>;
|
|
36
|
-
acceptSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<AcceptSuggestionCommand>;
|
|
37
|
-
discardSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<DiscardSuggestionCommand>;
|
|
38
|
-
trackChanges: TrackChangesCommand;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import type { TrackChangesConfig, TrackChangesEditing, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand } from './index';
|
|
6
|
+
import type { Editor } from 'ckeditor5/src/core';
|
|
7
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
8
|
+
interface EditorConfig {
|
|
9
|
+
/**
|
|
10
|
+
* The configuration of the {@link module:track-changes/trackchanges~TrackChanges} feature.
|
|
11
|
+
*
|
|
12
|
+
* Read more in {@link module:track-changes/trackchangesconfig~TrackChangesConfig}.
|
|
13
|
+
*/
|
|
14
|
+
trackChanges?: TrackChangesConfig;
|
|
15
|
+
/**
|
|
16
|
+
* The configuration of the track changes data feature.
|
|
17
|
+
*/
|
|
18
|
+
trackChangesData?: {
|
|
19
|
+
/**
|
|
20
|
+
* Callback that creates an editor instances.
|
|
21
|
+
*
|
|
22
|
+
* Used in non-standard integrations. See track changes data
|
|
23
|
+
* {@glink features/collaboration/track-changes/track-changes-data#configuring-track-changes-data-plugin configuration guide}.
|
|
24
|
+
*/
|
|
25
|
+
editorCreator?: (config: EditorConfig, createElement: Function) => Promise<Editor>;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
interface PluginsMap {
|
|
29
|
+
[TrackChangesEditing.pluginName]: TrackChangesEditing;
|
|
30
|
+
}
|
|
31
|
+
interface CommandsMap {
|
|
32
|
+
acceptSuggestion: AcceptSuggestionCommand;
|
|
33
|
+
discardSuggestion: DiscardSuggestionCommand;
|
|
34
|
+
acceptAllSuggestions: ExecuteOnAllSuggestionsCommand<AcceptSuggestionCommand>;
|
|
35
|
+
discardAllSuggestions: ExecuteOnAllSuggestionsCommand<DiscardSuggestionCommand>;
|
|
36
|
+
acceptSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<AcceptSuggestionCommand>;
|
|
37
|
+
discardSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<DiscardSuggestionCommand>;
|
|
38
|
+
trackChanges: TrackChangesCommand;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module track-changes/commands/acceptsuggestioncommand
|
|
7
|
-
* @publicApi
|
|
8
|
-
*/
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
-
import type Suggestion from '../suggestion';
|
|
11
|
-
/**
|
|
12
|
-
* A command that accepts the suggestion chain.
|
|
13
|
-
*/
|
|
14
|
-
export default class AcceptSuggestionCommand extends Command {
|
|
15
|
-
constructor(editor: Editor, suggestions: Map<string, Suggestion>);
|
|
16
|
-
/**
|
|
17
|
-
* @inheritDoc
|
|
18
|
-
*/
|
|
19
|
-
refresh(): void;
|
|
20
|
-
/**
|
|
21
|
-
* @inheritDoc
|
|
22
|
-
*/
|
|
23
|
-
execute(suggestionId: string): void;
|
|
24
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/commands/acceptsuggestioncommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
+
import type Suggestion from '../suggestion';
|
|
11
|
+
/**
|
|
12
|
+
* A command that accepts the suggestion chain.
|
|
13
|
+
*/
|
|
14
|
+
export default class AcceptSuggestionCommand extends Command {
|
|
15
|
+
constructor(editor: Editor, suggestions: Map<string, Suggestion>);
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
refresh(): void;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
execute(suggestionId: string): void;
|
|
24
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e72=['acceptSuggestion','editor','canEditAt','get','model','plugins','TrackChangesEditing','execute','refresh','getRanges','track-changes-accept-suggestion-not-found','isEnabled'];(function(_0x3eaedf,_0x2e721c){const _0x243a47=function(_0xa4afb){while(--_0xa4afb){_0x3eaedf['push'](_0x3eaedf['shift']());}};_0x243a47(++_0x2e721c);}(_0x2e72,0x16b));const _0x243a=function(_0x3eaedf,_0x2e721c){_0x3eaedf=_0x3eaedf-0x0;let _0x243a47=_0x2e72[_0x3eaedf];return _0x243a47;};import{Command as _0x3c5e93}from'ckeditor5/src/core';import{CKEditorError as _0x2d5da9}from'ckeditor5/src/utils';export default class B extends _0x3c5e93{constructor(_0x71b5e8,_0x4f1e35){super(_0x71b5e8),this['_suggestions']=_0x4f1e35,this[_0x243a('0x5')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this[_0x243a('0x8')]=!0x0;}[_0x243a('0x4')](_0x176c22){const _0x1eeda9=this['_suggestions'][_0x243a('0x0')](_0x176c22);if(!_0x1eeda9)throw new _0x2d5da9(_0x243a('0x7'),this);const _0x25be13=_0x1eeda9[_0x243a('0x6')]();this[_0x243a('0xa')][_0x243a('0x1')][_0x243a('0xb')](_0x25be13)&&this['editor'][_0x243a('0x2')]['get'](_0x243a('0x3'))[_0x243a('0x9')](_0x1eeda9);}}
|