@ckeditor/ckeditor5-track-changes 32.0.0 → 34.1.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/LICENSE.md +2 -2
- package/README.md +5 -2
- package/build/track-changes.js +5 -0
- package/build/translations/az.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/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.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/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +3 -0
- package/lang/translations/az.po +387 -0
- package/lang/translations/cs.po +31 -31
- package/lang/translations/da.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +387 -0
- package/lang/translations/en-au.po +6 -6
- package/lang/translations/es.po +35 -35
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +3 -3
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +14 -14
- package/lang/translations/id.po +370 -0
- package/lang/translations/it.po +1 -1
- package/lang/translations/nl.po +9 -9
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/sk.po +58 -58
- package/lang/translations/sr-latn.po +3 -3
- package/lang/translations/sr.po +3 -3
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/zh-cn.po +5 -5
- package/package.json +4 -7
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +23 -0
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +23 -0
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
- package/theme/icons/track-changes-accept.svg +1 -1
- package/theme/icons/track-changes-discard.svg +1 -1
- package/theme/icons/track-changes.svg +1 -1
- package/theme/integrations/horizontalline.css +0 -15
- package/theme/integrations/image.css +0 -55
- package/theme/integrations/mediaembed.css +0 -19
- package/theme/integrations/pagebreak.css +0 -15
- package/theme/integrations/table.css +0 -147
- package/theme/suggestion.css +0 -87
- package/theme/suggestionmarker.css +0 -161
package/lang/translations/sk.po
CHANGED
|
@@ -58,7 +58,7 @@ msgstr "*Odstrániť formátovanie:* %0"
|
|
|
58
58
|
|
|
59
59
|
msgctxt "A suggestion for removing the highlight."
|
|
60
60
|
msgid "*Remove highlight*"
|
|
61
|
-
msgstr ""
|
|
61
|
+
msgstr "*Odstrániť zvýraznenie*"
|
|
62
62
|
|
|
63
63
|
msgctxt "A suggestion for removing image text alternative."
|
|
64
64
|
msgid "*Remove image text alternative*"
|
|
@@ -114,7 +114,7 @@ msgstr "*Nastaviť veľkosť písma:* %0"
|
|
|
114
114
|
|
|
115
115
|
msgctxt "A suggestion for highlighting text."
|
|
116
116
|
msgid "*Set highlight:* %0"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "*Nastaviť zvýraznenie:* %0"
|
|
118
118
|
|
|
119
119
|
msgctxt "A suggestion for setting image text alternative to %0."
|
|
120
120
|
msgid "*Set image text alternative:* %0"
|
|
@@ -178,7 +178,7 @@ msgstr "Odrážkový zoznam"
|
|
|
178
178
|
|
|
179
179
|
msgctxt "The caption element name displayed in the suggestion."
|
|
180
180
|
msgid "ELEMENT_CAPTION"
|
|
181
|
-
msgstr ""
|
|
181
|
+
msgstr "titulok"
|
|
182
182
|
|
|
183
183
|
msgctxt "The code block element name displayed in the suggestion."
|
|
184
184
|
msgid "ELEMENT_CODE_BLOCK"
|
|
@@ -199,10 +199,10 @@ msgstr[3] "%0 nadpisov (level %1)"
|
|
|
199
199
|
msgctxt "The heading element name displayed in the suggestion with a custom title."
|
|
200
200
|
msgid "ELEMENT_HEADING_CUSTOM"
|
|
201
201
|
msgid_plural "%0 headings (%1)"
|
|
202
|
-
msgstr[0] ""
|
|
203
|
-
msgstr[1] ""
|
|
204
|
-
msgstr[2] ""
|
|
205
|
-
msgstr[3] ""
|
|
202
|
+
msgstr[0] "%0 nadpis (%1)"
|
|
203
|
+
msgstr[1] "%0 nadpisy (%1)"
|
|
204
|
+
msgstr[2] "%0 nadpisov (%1)"
|
|
205
|
+
msgstr[3] "%0 nadpisov (%1)"
|
|
206
206
|
|
|
207
207
|
msgctxt "The horizontal line element name displayed in the suggestion."
|
|
208
208
|
msgid "ELEMENT_HORIZONTAL_LINE"
|
|
@@ -223,34 +223,34 @@ msgstr[3] "%0 obrázkov"
|
|
|
223
223
|
msgctxt "The inline image element name displayed in the suggestion."
|
|
224
224
|
msgid "ELEMENT_INLINE_IMAGE"
|
|
225
225
|
msgid_plural "%0 images"
|
|
226
|
-
msgstr[0] ""
|
|
227
|
-
msgstr[1] ""
|
|
228
|
-
msgstr[2] ""
|
|
229
|
-
msgstr[3] ""
|
|
226
|
+
msgstr[0] "%0 obrázok"
|
|
227
|
+
msgstr[1] "%0 obrázky"
|
|
228
|
+
msgstr[2] "%0 obrázkov"
|
|
229
|
+
msgstr[3] "%0 obrázkov"
|
|
230
230
|
|
|
231
231
|
msgctxt "The line break element name displayed in the suggestion."
|
|
232
232
|
msgid "ELEMENT_LINE_BREAK"
|
|
233
233
|
msgid_plural "%0 line breaks"
|
|
234
|
-
msgstr[0] ""
|
|
235
|
-
msgstr[1] ""
|
|
236
|
-
msgstr[2] ""
|
|
237
|
-
msgstr[3] ""
|
|
234
|
+
msgstr[0] "%0 zalomenie riadku"
|
|
235
|
+
msgstr[1] "%0 zalomenie riadkov"
|
|
236
|
+
msgstr[2] "%0 zalomenie riadkov"
|
|
237
|
+
msgstr[3] "%0 zalomenie riadkov"
|
|
238
238
|
|
|
239
239
|
msgctxt "The list item element name displayed in the suggestion."
|
|
240
240
|
msgid "ELEMENT_LIST_ITEM"
|
|
241
241
|
msgid_plural "%0 list items"
|
|
242
|
-
msgstr[0] ""
|
|
243
|
-
msgstr[1] ""
|
|
244
|
-
msgstr[2] ""
|
|
245
|
-
msgstr[3] ""
|
|
242
|
+
msgstr[0] "%0 položka zoznamu"
|
|
243
|
+
msgstr[1] "%0 položky zoznamu"
|
|
244
|
+
msgstr[2] "%0 položiek zoznamu"
|
|
245
|
+
msgstr[3] "%0 položiek zoznamu"
|
|
246
246
|
|
|
247
247
|
msgctxt "The media element name displayed in the suggestion."
|
|
248
248
|
msgid "ELEMENT_MEDIA"
|
|
249
249
|
msgid_plural "%0 media items"
|
|
250
|
-
msgstr[0] ""
|
|
251
|
-
msgstr[1] ""
|
|
252
|
-
msgstr[2] ""
|
|
253
|
-
msgstr[3] ""
|
|
250
|
+
msgstr[0] "%0 mediálny súbor"
|
|
251
|
+
msgstr[1] "%0 mediálne súbory"
|
|
252
|
+
msgstr[2] "%0 mediálnych súborov"
|
|
253
|
+
msgstr[3] "%0 mediálnych súborov"
|
|
254
254
|
|
|
255
255
|
msgctxt "The numbered list element name displayed in the suggestion."
|
|
256
256
|
msgid "ELEMENT_NUMBERED_LIST"
|
|
@@ -259,66 +259,66 @@ msgstr "číslovaný zoznam"
|
|
|
259
259
|
msgctxt "The page break element name displayed in the suggestion."
|
|
260
260
|
msgid "ELEMENT_PAGE_BREAK"
|
|
261
261
|
msgid_plural "%0 page breaks"
|
|
262
|
-
msgstr[0] ""
|
|
263
|
-
msgstr[1] ""
|
|
264
|
-
msgstr[2] ""
|
|
265
|
-
msgstr[3] ""
|
|
262
|
+
msgstr[0] "%0 zalomenie strany"
|
|
263
|
+
msgstr[1] "%0 zalomenie strán"
|
|
264
|
+
msgstr[2] "%0 zalomenie strán"
|
|
265
|
+
msgstr[3] "%0 zalomenie strán"
|
|
266
266
|
|
|
267
267
|
msgctxt "The paragraph element name displayed in the suggestion."
|
|
268
268
|
msgid "ELEMENT_PARAGRAPH"
|
|
269
269
|
msgid_plural "%0 paragraphs"
|
|
270
|
-
msgstr[0] ""
|
|
271
|
-
msgstr[1] ""
|
|
272
|
-
msgstr[2] ""
|
|
273
|
-
msgstr[3] ""
|
|
270
|
+
msgstr[0] "%0 odstavec"
|
|
271
|
+
msgstr[1] "%0 odstavce"
|
|
272
|
+
msgstr[2] "%0 odstavcov"
|
|
273
|
+
msgstr[3] "%0 odstavcov"
|
|
274
274
|
|
|
275
275
|
msgctxt "The space element name displayed in the suggestion."
|
|
276
276
|
msgid "ELEMENT_SPACE"
|
|
277
277
|
msgid_plural "%0 spaces"
|
|
278
|
-
msgstr[0] ""
|
|
279
|
-
msgstr[1] ""
|
|
280
|
-
msgstr[2] ""
|
|
281
|
-
msgstr[3] ""
|
|
278
|
+
msgstr[0] "%0 medzera"
|
|
279
|
+
msgstr[1] "%0 medzery"
|
|
280
|
+
msgstr[2] "%0 medzier"
|
|
281
|
+
msgstr[3] "%0 medzier"
|
|
282
282
|
|
|
283
283
|
msgctxt "The table element name displayed in the suggestion."
|
|
284
284
|
msgid "ELEMENT_TABLE"
|
|
285
285
|
msgid_plural "%0 tables"
|
|
286
|
-
msgstr[0] ""
|
|
287
|
-
msgstr[1] ""
|
|
288
|
-
msgstr[2] ""
|
|
289
|
-
msgstr[3] ""
|
|
286
|
+
msgstr[0] "%0 tabuľka"
|
|
287
|
+
msgstr[1] "%0 tabulky"
|
|
288
|
+
msgstr[2] "%0 tabuliek"
|
|
289
|
+
msgstr[3] "%0 tabuliek"
|
|
290
290
|
|
|
291
291
|
msgctxt "The table column element name displayed in the suggestion."
|
|
292
292
|
msgid "ELEMENT_TABLE_COLUMN"
|
|
293
293
|
msgid_plural "%0 table columns"
|
|
294
|
-
msgstr[0] ""
|
|
295
|
-
msgstr[1] ""
|
|
296
|
-
msgstr[2] ""
|
|
297
|
-
msgstr[3] ""
|
|
294
|
+
msgstr[0] "%0 stĺpec tabuľky"
|
|
295
|
+
msgstr[1] "%0 stĺpce tabuľky"
|
|
296
|
+
msgstr[2] "%0 stĺpcov tabuľky"
|
|
297
|
+
msgstr[3] "%0 stĺpcov tabuľky"
|
|
298
298
|
|
|
299
299
|
msgctxt "The table column with text element name displayed in the suggestion."
|
|
300
300
|
msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
|
|
301
301
|
msgid_plural "%0 table columns *with text* %1"
|
|
302
|
-
msgstr[0] ""
|
|
303
|
-
msgstr[1] ""
|
|
304
|
-
msgstr[2] ""
|
|
305
|
-
msgstr[3] ""
|
|
302
|
+
msgstr[0] "%0 stĺpec tabuľky *s textom* %1"
|
|
303
|
+
msgstr[1] "%0 stĺpce tabuľky *s textom* %1"
|
|
304
|
+
msgstr[2] "%0 stĺpcov tabuľky *s textom* %1"
|
|
305
|
+
msgstr[3] "%0 stĺpcov tabuľky *s textom* %1"
|
|
306
306
|
|
|
307
307
|
msgctxt "The table row element name displayed in the suggestion."
|
|
308
308
|
msgid "ELEMENT_TABLE_ROW"
|
|
309
309
|
msgid_plural "%0 table rows"
|
|
310
|
-
msgstr[0] ""
|
|
311
|
-
msgstr[1] ""
|
|
312
|
-
msgstr[2] ""
|
|
313
|
-
msgstr[3] ""
|
|
310
|
+
msgstr[0] "%0 riadok tabuľky"
|
|
311
|
+
msgstr[1] "%0 riadky tabuľky"
|
|
312
|
+
msgstr[2] "%0 riadkov tabuľky"
|
|
313
|
+
msgstr[3] "%0 riadkov tabuľky"
|
|
314
314
|
|
|
315
315
|
msgctxt "The table row with text element name displayed in the suggestion."
|
|
316
316
|
msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
|
|
317
317
|
msgid_plural "%0 table rows *with text* %1"
|
|
318
|
-
msgstr[0] ""
|
|
319
|
-
msgstr[1] ""
|
|
320
|
-
msgstr[2] ""
|
|
321
|
-
msgstr[3] ""
|
|
318
|
+
msgstr[0] "%0 riadok tabuľky *s textom* %1"
|
|
319
|
+
msgstr[1] "%0 riadky tabuľky *s textom* %1"
|
|
320
|
+
msgstr[2] "%0 riadkov tabuľky *s textom* %1"
|
|
321
|
+
msgstr[3] "%0 riadkov tabuľky *s textom* %1"
|
|
322
322
|
|
|
323
323
|
msgctxt "The table with text element name displayed in the suggestion."
|
|
324
324
|
msgid "ELEMENT_TABLE_WITH_TEXT"
|
|
@@ -382,11 +382,11 @@ msgstr "Klasický riadok"
|
|
|
382
382
|
|
|
383
383
|
msgctxt "The label for area disabled in restricted editing area in a format suggestion."
|
|
384
384
|
msgid "FORMAT_RESTRICTED_DISABLED"
|
|
385
|
-
msgstr ""
|
|
385
|
+
msgstr "*Zakázať v režime obmedzených úprav*"
|
|
386
386
|
|
|
387
387
|
msgctxt "The label for area enabled in restricted editing area in a format suggestion."
|
|
388
388
|
msgid "FORMAT_RESTRICTED_ENABLED"
|
|
389
|
-
msgstr ""
|
|
389
|
+
msgstr "*Povoliť v režime obmedzených úprav*"
|
|
390
390
|
|
|
391
391
|
msgctxt "The side image format name displayed in a format suggestion."
|
|
392
392
|
msgid "FORMAT_SIDE_IMAGE"
|
|
@@ -410,7 +410,7 @@ msgstr "podčiarknuť"
|
|
|
410
410
|
|
|
411
411
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
412
412
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
413
|
-
msgstr ""
|
|
413
|
+
msgstr "Neuložená zmena v návrhu."
|
|
414
414
|
|
|
415
415
|
msgctxt "A suggestion for replacing one text with another."
|
|
416
416
|
msgid "REPLACE_TEXT"
|
|
@@ -58,7 +58,7 @@ msgstr "*Ukloni format:* %0"
|
|
|
58
58
|
|
|
59
59
|
msgctxt "A suggestion for removing the highlight."
|
|
60
60
|
msgid "*Remove highlight*"
|
|
61
|
-
msgstr ""
|
|
61
|
+
msgstr "*Ukloni isticanje*"
|
|
62
62
|
|
|
63
63
|
msgctxt "A suggestion for removing image text alternative."
|
|
64
64
|
msgid "*Remove image text alternative*"
|
|
@@ -114,7 +114,7 @@ msgstr "*Podesi veličinu fontova:* %0"
|
|
|
114
114
|
|
|
115
115
|
msgctxt "A suggestion for highlighting text."
|
|
116
116
|
msgid "*Set highlight:* %0"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "*Podesite isticanje:* %0"
|
|
118
118
|
|
|
119
119
|
msgctxt "A suggestion for setting image text alternative to %0."
|
|
120
120
|
msgid "*Set image text alternative:* %0"
|
|
@@ -393,7 +393,7 @@ msgstr "podvući"
|
|
|
393
393
|
|
|
394
394
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
395
395
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
396
|
-
msgstr ""
|
|
396
|
+
msgstr "Nesačuvana promena predloga."
|
|
397
397
|
|
|
398
398
|
msgctxt "A suggestion for replacing one text with another."
|
|
399
399
|
msgid "REPLACE_TEXT"
|
package/lang/translations/sr.po
CHANGED
|
@@ -58,7 +58,7 @@ msgstr "*Уклони формат:* %0"
|
|
|
58
58
|
|
|
59
59
|
msgctxt "A suggestion for removing the highlight."
|
|
60
60
|
msgid "*Remove highlight*"
|
|
61
|
-
msgstr ""
|
|
61
|
+
msgstr "*Уклони истицање* "
|
|
62
62
|
|
|
63
63
|
msgctxt "A suggestion for removing image text alternative."
|
|
64
64
|
msgid "*Remove image text alternative*"
|
|
@@ -114,7 +114,7 @@ msgstr "*Подеси величину фонта:* %0"
|
|
|
114
114
|
|
|
115
115
|
msgctxt "A suggestion for highlighting text."
|
|
116
116
|
msgid "*Set highlight:* %0"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "*Подесите истицање:* %0 "
|
|
118
118
|
|
|
119
119
|
msgctxt "A suggestion for setting image text alternative to %0."
|
|
120
120
|
msgid "*Set image text alternative:* %0"
|
|
@@ -393,7 +393,7 @@ msgstr "подвући"
|
|
|
393
393
|
|
|
394
394
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
395
395
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
396
|
-
msgstr ""
|
|
396
|
+
msgstr "Несачувана промена предлога"
|
|
397
397
|
|
|
398
398
|
msgctxt "A suggestion for replacing one text with another."
|
|
399
399
|
msgid "REPLACE_TEXT"
|
package/lang/translations/tk.po
CHANGED
|
@@ -376,7 +376,7 @@ msgstr "aşagy çyzykly"
|
|
|
376
376
|
|
|
377
377
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
378
378
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
379
|
-
msgstr ""
|
|
379
|
+
msgstr "Teklipde saklanmadyk üýtgeşiklik."
|
|
380
380
|
|
|
381
381
|
msgctxt "A suggestion for replacing one text with another."
|
|
382
382
|
msgid "REPLACE_TEXT"
|
package/lang/translations/tr.po
CHANGED
|
@@ -376,7 +376,7 @@ msgstr "alttan çizili"
|
|
|
376
376
|
|
|
377
377
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
378
378
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
379
|
-
msgstr ""
|
|
379
|
+
msgstr "Öneride kaydedilmemiş değişiklik."
|
|
380
380
|
|
|
381
381
|
msgctxt "A suggestion for replacing one text with another."
|
|
382
382
|
msgid "REPLACE_TEXT"
|
|
@@ -58,7 +58,7 @@ msgstr "*移除格式:* %0"
|
|
|
58
58
|
|
|
59
59
|
msgctxt "A suggestion for removing the highlight."
|
|
60
60
|
msgid "*Remove highlight*"
|
|
61
|
-
msgstr ""
|
|
61
|
+
msgstr "*移除高亮*"
|
|
62
62
|
|
|
63
63
|
msgctxt "A suggestion for removing image text alternative."
|
|
64
64
|
msgid "*Remove image text alternative*"
|
|
@@ -114,7 +114,7 @@ msgstr "*设置字号:* %0"
|
|
|
114
114
|
|
|
115
115
|
msgctxt "A suggestion for highlighting text."
|
|
116
116
|
msgid "*Set highlight:* %0"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "*设置高亮:* %0"
|
|
118
118
|
|
|
119
119
|
msgctxt "A suggestion for setting image text alternative to %0."
|
|
120
120
|
msgid "*Set image text alternative:* %0"
|
|
@@ -178,7 +178,7 @@ msgstr "项目符号列表"
|
|
|
178
178
|
|
|
179
179
|
msgctxt "The caption element name displayed in the suggestion."
|
|
180
180
|
msgid "ELEMENT_CAPTION"
|
|
181
|
-
msgstr ""
|
|
181
|
+
msgstr "标题"
|
|
182
182
|
|
|
183
183
|
msgctxt "The code block element name displayed in the suggestion."
|
|
184
184
|
msgid "ELEMENT_CODE_BLOCK"
|
|
@@ -208,7 +208,7 @@ msgstr[0] "%0 图片"
|
|
|
208
208
|
msgctxt "The inline image element name displayed in the suggestion."
|
|
209
209
|
msgid "ELEMENT_INLINE_IMAGE"
|
|
210
210
|
msgid_plural "%0 images"
|
|
211
|
-
msgstr[0] ""
|
|
211
|
+
msgstr[0] "%0 图片"
|
|
212
212
|
|
|
213
213
|
msgctxt "The line break element name displayed in the suggestion."
|
|
214
214
|
msgid "ELEMENT_LINE_BREAK"
|
|
@@ -359,7 +359,7 @@ msgstr "下划线"
|
|
|
359
359
|
|
|
360
360
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
361
361
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
362
|
-
msgstr ""
|
|
362
|
+
msgstr "建议中有未保存内容"
|
|
363
363
|
|
|
364
364
|
msgctxt "A suggestion for replacing one text with another."
|
|
365
365
|
msgid "REPLACE_TEXT"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "34.1.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -25,13 +25,10 @@
|
|
|
25
25
|
"realtime",
|
|
26
26
|
"framework"
|
|
27
27
|
],
|
|
28
|
+
"main": "src/index.js",
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"@ckeditor/ckeditor5-font": "^32.0.0",
|
|
32
|
-
"@ckeditor/ckeditor5-image": "^32.0.0",
|
|
33
|
-
"@ckeditor/ckeditor5-table": "^32.0.0",
|
|
34
|
-
"ckeditor5": "^32.0.0",
|
|
30
|
+
"ckeditor5": "^34.1.0",
|
|
31
|
+
"ckeditor5-collaboration": "^34.1.0",
|
|
35
32
|
"lodash-es": "^4.17.11"
|
|
36
33
|
}
|
|
37
34
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9f28=['values','editor','isEnabled','_suggestions','from','isInContent','model','refresh','_acceptSuggestionCommand','some','execute'];(function(_0x5c4483,_0x9f289){const _0x50485c=function(_0x1a4195){while(--_0x1a4195){_0x5c4483['push'](_0x5c4483['shift']());}};_0x50485c(++_0x9f289);}(_0x9f28,0x1e7));const _0x5048=function(_0x5c4483,_0x9f289){_0x5c4483=_0x5c4483-0x0;let _0x50485c=_0x9f28[_0x5c4483];return _0x50485c;};import{Command as _0x2c2ace}from'ckeditor5/src/core';import _0x14c2b1 from'../utils/sortsuggestions';export default class N extends _0x2c2ace{constructor(_0xe4d543,_0x31f28b,_0x44479a){super(_0xe4d543),this[_0x5048('0x5')]=_0x31f28b,this[_0x5048('0x0')]=_0x44479a,this[_0x5048('0x4')]();}[_0x5048('0x4')](){const _0x4618cb=this[_0x5048('0x5')];this['isEnabled']=_0x4618cb[_0x5048('0xa')]&&Array['from'](this[_0x5048('0x0')]['values']())[_0x5048('0x6')](_0xd84eaa=>_0xd84eaa['isInContent']);}[_0x5048('0x7')](){this[_0x5048('0x9')][_0x5048('0x3')]['change'](()=>{const _0x4da38b=_0x14c2b1(Array[_0x5048('0x1')](this['_suggestions'][_0x5048('0x8')]()));for(const _0x244a97 of _0x4da38b)_0x244a97[_0x5048('0x2')]&&this[_0x5048('0x5')][_0x5048('0x7')](_0x244a97['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x520d=['execute','selection','size','_suggestions','document','isEnabled','model','editor','refresh','_selectedSuggestions','_acceptSuggestionCommand','values','from','change'];(function(_0x1449ab,_0x520d32){const _0x534f8e=function(_0x4fba65){while(--_0x4fba65){_0x1449ab['push'](_0x1449ab['shift']());}};_0x534f8e(++_0x520d32);}(_0x520d,0xb9));const _0x534f=function(_0x1449ab,_0x520d32){_0x1449ab=_0x1449ab-0x0;let _0x534f8e=_0x520d[_0x1449ab];return _0x534f8e;};import{Command as _0x2735c4}from'ckeditor5/src/core';import _0x51fa42 from'../utils/sortsuggestions';import _0x16611f from'../utils/getselectedsuggestions';export default class R extends _0x2735c4{constructor(_0x5d0f47,_0x3aa910,_0x46773f){super(_0x5d0f47),this[_0x534f('0x7')]=_0x3aa910,this[_0x534f('0x0')]=_0x46773f,this[_0x534f('0x6')]=new Set(),this['refresh']();}[_0x534f('0x5')](){const _0x171261=this['_acceptSuggestionCommand'],_0x1609b2=this[_0x534f('0x4')][_0x534f('0x3')][_0x534f('0x1')][_0x534f('0xc')],_0x44bc5b=Array['from'](this[_0x534f('0x0')][_0x534f('0x8')]());this[_0x534f('0x6')]=_0x16611f(_0x1609b2,_0x44bc5b),this['isEnabled']=_0x171261[_0x534f('0x2')]&&!!this[_0x534f('0x6')][_0x534f('0xd')];}[_0x534f('0xb')](){this['editor']['model'][_0x534f('0xa')](()=>{const _0x306352=_0x51fa42(Array[_0x534f('0x9')](this[_0x534f('0x6')]));for(const _0x5769d8 of _0x306352)this[_0x534f('0x7')]['execute'](_0x5769d8['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32b0=['track-changes-accept-suggestion-not-found','get','TrackChangesEditing','execute','plugins','_suggestions','refresh','editor'];(function(_0x527f66,_0x32b03e){const _0x5e1bb2=function(_0x41decb){while(--_0x41decb){_0x527f66['push'](_0x527f66['shift']());}};_0x5e1bb2(++_0x32b03e);}(_0x32b0,0x1be));const _0x5e1b=function(_0x527f66,_0x32b03e){_0x527f66=_0x527f66-0x0;let _0x5e1bb2=_0x32b0[_0x527f66];return _0x5e1bb2;};import{Command as _0x5affa2}from'ckeditor5/src/core';import{CKEditorError as _0x18dd3d}from'ckeditor5/src/utils';export default class M extends _0x5affa2{constructor(_0x26f7d1,_0x406899){super(_0x26f7d1),this[_0x5e1b('0x7')]=_0x406899,this[_0x5e1b('0x0')]();}[_0x5e1b('0x0')](){this['isEnabled']=!0x0;}[_0x5e1b('0x5')](_0x348ea7){const _0x3543fa=this[_0x5e1b('0x7')][_0x5e1b('0x3')](_0x348ea7);if(!_0x3543fa)throw new _0x18dd3d(_0x5e1b('0x2'),this);this[_0x5e1b('0x1')][_0x5e1b('0x6')][_0x5e1b('0x3')](_0x5e1b('0x4'))['acceptSuggestion'](_0x3543fa);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x285f=['_discardSuggestionCommand','values','change','editor','from','execute','refresh','isInContent','isEnabled','model','some','_suggestions'];(function(_0x4aa700,_0x285fb6){const _0x2f6dcf=function(_0x88519){while(--_0x88519){_0x4aa700['push'](_0x4aa700['shift']());}};_0x2f6dcf(++_0x285fb6);}(_0x285f,0x19d));const _0x2f6d=function(_0x4aa700,_0x285fb6){_0x4aa700=_0x4aa700-0x0;let _0x2f6dcf=_0x285f[_0x4aa700];return _0x2f6dcf;};import{Command as _0x3491b4}from'ckeditor5/src/core';export default class j extends _0x3491b4{constructor(_0x138b1a,_0x499791,_0x503946){super(_0x138b1a),this[_0x2f6d('0x7')]=_0x499791,this[_0x2f6d('0x6')]=_0x503946,this[_0x2f6d('0x1')]();}[_0x2f6d('0x1')](){const _0x2c9639=this['_discardSuggestionCommand'];this[_0x2f6d('0x3')]=_0x2c9639[_0x2f6d('0x3')]&&Array[_0x2f6d('0xb')](this[_0x2f6d('0x6')][_0x2f6d('0x8')]())[_0x2f6d('0x5')](_0x1b841e=>_0x1b841e[_0x2f6d('0x2')]);}[_0x2f6d('0x0')](){this[_0x2f6d('0xa')][_0x2f6d('0x4')][_0x2f6d('0x9')](()=>{for(const _0x5c0bd4 of this[_0x2f6d('0x6')][_0x2f6d('0x8')]())_0x5c0bd4[_0x2f6d('0x2')]&&this[_0x2f6d('0x7')][_0x2f6d('0x0')](_0x5c0bd4['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40ef=['from','_suggestions','_discardSuggestionCommand','_selectedSuggestions','values','execute','document','size','model','refresh','editor','isEnabled','selection'];(function(_0x5beae2,_0x40ef83){const _0x19583=function(_0x521ce6){while(--_0x521ce6){_0x5beae2['push'](_0x5beae2['shift']());}};_0x19583(++_0x40ef83);}(_0x40ef,0x1e6));const _0x1958=function(_0x5beae2,_0x40ef83){_0x5beae2=_0x5beae2-0x0;let _0x19583=_0x40ef[_0x5beae2];return _0x19583;};import{Command as _0x452407}from'ckeditor5/src/core';import _0x76dded from'../utils/getselectedsuggestions';export default class U extends _0x452407{constructor(_0x1f30c4,_0x2bad39,_0x10b6e0){super(_0x1f30c4),this[_0x1958('0xa')]=_0x2bad39,this[_0x1958('0x9')]=_0x10b6e0,this['_selectedSuggestions']=new Set(),this['refresh']();}[_0x1958('0x4')](){const _0x3eb46b=this[_0x1958('0xa')],_0x1cd1f6=this['editor'][_0x1958('0x3')][_0x1958('0x1')][_0x1958('0x7')],_0xad3a65=Array[_0x1958('0x8')](this[_0x1958('0x9')][_0x1958('0xc')]());this[_0x1958('0xb')]=_0x76dded(_0x1cd1f6,_0xad3a65),this[_0x1958('0x6')]=_0x3eb46b['isEnabled']&&!!this[_0x1958('0xb')][_0x1958('0x2')];}['execute'](){this[_0x1958('0x5')][_0x1958('0x3')]['change'](()=>{for(const _0x2541f2 of this['_selectedSuggestions'])this[_0x1958('0xa')][_0x1958('0x0')](_0x2541f2['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6d5a=['TrackChangesEditing','discardSuggestion','execute','plugins','refresh','_suggestions','get','editor'];(function(_0x554e91,_0x6d5a9f){const _0x56863f=function(_0x3187f7){while(--_0x3187f7){_0x554e91['push'](_0x554e91['shift']());}};_0x56863f(++_0x6d5a9f);}(_0x6d5a,0x1ca));const _0x5686=function(_0x554e91,_0x6d5a9f){_0x554e91=_0x554e91-0x0;let _0x56863f=_0x6d5a[_0x554e91];return _0x56863f;};import{Command as _0x23425f}from'ckeditor5/src/core';import{CKEditorError as _0x587727}from'ckeditor5/src/utils';export default class $ extends _0x23425f{constructor(_0x38b0f3,_0x1c6327){super(_0x38b0f3),this[_0x5686('0x3')]=_0x1c6327,this['refresh']();}[_0x5686('0x2')](){this['isEnabled']=!0x0;}[_0x5686('0x0')](_0x4dab6f){const _0x232cfc=this[_0x5686('0x3')]['get'](_0x4dab6f);if(!_0x232cfc)throw new _0x587727('track-changes-discard-suggestion-not-found',this);this[_0x5686('0x5')][_0x5686('0x1')][_0x5686('0x4')](_0x5686('0x6'))[_0x5686('0x7')](_0x232cfc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ed6=['value','_disableUnsupportedCommands','_enableCommands','_enabledCommands','execute','clearForceDisabled','affectsData','commands','has','TrackChangesCommand'];(function(_0x1d7985,_0x2ed643){const _0x4fe29e=function(_0x2c17e7){while(--_0x2c17e7){_0x1d7985['push'](_0x1d7985['shift']());}};_0x4fe29e(++_0x2ed643);}(_0x2ed6,0xdf));const _0x4fe2=function(_0x1d7985,_0x2ed643){_0x1d7985=_0x1d7985-0x0;let _0x4fe29e=_0x2ed6[_0x1d7985];return _0x4fe29e;};import{Command as _0x1c1371}from'ckeditor5/src/core';export default class B extends _0x1c1371{constructor(_0x26e86e,_0x289222){super(_0x26e86e),this[_0x4fe2('0x0')]=_0x289222,this[_0x4fe2('0x7')]=!0x1,this['refresh']();}['refresh'](){this['isEnabled']=!0x0;}[_0x4fe2('0x1')](){this[_0x4fe2('0x7')]=!this[_0x4fe2('0x7')],this[_0x4fe2('0x7')]?this[_0x4fe2('0x8')]():this[_0x4fe2('0x9')]();}['_disableUnsupportedCommands'](){for(const _0x564c30 of this['editor']['commands']['commands']())_0x564c30[_0x4fe2('0x3')]&&!this[_0x4fe2('0x0')][_0x4fe2('0x5')](_0x564c30)&&_0x564c30['forceDisabled'](_0x4fe2('0x6'));}[_0x4fe2('0x9')](){for(const _0x3e6cf5 of this['editor'][_0x4fe2('0x4')][_0x4fe2('0x4')]())_0x3e6cf5[_0x4fe2('0x3')]&&!this[_0x4fe2('0x0')][_0x4fe2('0x5')](_0x3e6cf5)&&_0x3e6cf5[_0x4fe2('0x2')](_0x4fe2('0x6'));}}
|
package/src/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export{default as TrackChanges}from'./trackchanges';export{default as TrackChangesData}from'./trackchangesdata';export{default as BaseSuggestionThreadView}from'./ui/view/basesuggestionthreadview';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x1739=['alignment','right','editor','afterInit','getSelectedBlocks','left','model','FORMAT_ALIGN_TO_LEFT','has','FORMAT_ALIGN_TO_CENTER','value','plugins','checkAttribute','enableCommand','FORMAT_JUSTIFY_TEXT','TrackChangesEditing','FORMAT_ALIGN_TO_RIGHT','_descriptionFactory','change','ltr','get','document','selection','markBlockFormat','*Format:*\x20%0','registerDescriptionCallback','locale','center'];(function(_0x38eb97,_0x17396a){const _0x16ea64=function(_0x418070){while(--_0x418070){_0x38eb97['push'](_0x38eb97['shift']());}};_0x16ea64(++_0x17396a);}(_0x1739,0x153));const _0x16ea=function(_0x38eb97,_0x17396a){_0x38eb97=_0x38eb97-0x0;let _0x16ea64=_0x1739[_0x38eb97];return _0x16ea64;};import{Plugin as _0x519334}from'ckeditor5/src/core';import{getTranslation as _0x52f287}from'../utils/common-translations';export default class E extends _0x519334{[_0x16ea('0x0')](){const _0x2ae090=this['editor'],_0x14781f=_0x2ae090[_0x16ea('0x17')];if(!_0x2ae090[_0x16ea('0x8')][_0x16ea('0x5')]('AlignmentEditing'))return;const _0x327b6e=_0x2ae090[_0x16ea('0x8')][_0x16ea('0x11')](_0x16ea('0xc'));_0x327b6e[_0x16ea('0xa')]('alignment',(_0x51c58b,_0x4539f1={})=>{let _0x531bbb=_0x4539f1[_0x16ea('0x7')];_0x4539f1[_0x16ea('0x7')]||(_0x531bbb=_0x16ea('0x10')===_0x2ae090['locale']['contentLanguageDirection']?_0x16ea('0x2'):_0x16ea('0x1a'));const _0x2026bf=Array['from'](this[_0x16ea('0x1b')][_0x16ea('0x3')][_0x16ea('0x12')][_0x16ea('0x13')][_0x16ea('0x1')]())['filter'](_0x45612e=>function(_0x980007,_0x8bc34,_0xa65999){const _0x2913e5=_0x980007['getAttribute'](_0x16ea('0x19'))||null;return _0x8bc34[_0x16ea('0x9')](_0x980007,'alignment')&&_0xa65999!=_0x2913e5;}(_0x45612e,this[_0x16ea('0x1b')][_0x16ea('0x3')]['schema'],_0x531bbb));_0x2ae090['model'][_0x16ea('0xf')](()=>{for(const _0x38678b of _0x2026bf)_0x327b6e[_0x16ea('0x14')](_0x38678b,{'commandName':_0x16ea('0x19'),'commandParams':[{'value':_0x531bbb}]});});}),_0x327b6e[_0x16ea('0xe')][_0x16ea('0x16')](_0xc09207=>{const {data:_0x4d12f1}=_0xc09207;if(_0x4d12f1&&'alignment'==_0x4d12f1['commandName']){const _0x153a5f=_0x4d12f1['commandParams'][0x0][_0x16ea('0x7')];return{'type':'format','content':_0x52f287(_0x14781f,_0x16ea('0x15'),function(_0x17c682){switch(_0x17c682){case _0x16ea('0x2'):return _0x52f287(_0x14781f,_0x16ea('0x4'));case _0x16ea('0x1a'):return _0x52f287(_0x14781f,_0x16ea('0xd'));case _0x16ea('0x18'):return _0x52f287(_0x14781f,_0x16ea('0x6'));case'justify':return _0x52f287(_0x14781f,_0x16ea('0xb'));}}(_0x153a5f))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x2e1b=['model','BoldEditing','subscript','*Remove\x20format:*\x20%0','underline','TrackChangesEditing','FORMAT_SUPERSCRIPT','SubscriptEditing','change','getRanges','FORMAT_BOLD','forceValue','registerDescriptionCallback','get','bold','FORMAT_STRIKETHROUGH','superscript','enableCommand','_descriptionFactory','from','FORMAT_SUBSCRIPT','slice','markInlineFormat','selection','format','toLowerCase','plugins','isCollapsed','value','editor','SuperscriptEditing','FORMAT_CODE','has','commands','document'];(function(_0x23a272,_0x2e1be9){const _0x1db2d1=function(_0x1810f3){while(--_0x1810f3){_0x23a272['push'](_0x23a272['shift']());}};_0x1db2d1(++_0x2e1be9);}(_0x2e1b,0x6d));const _0x1db2=function(_0x23a272,_0x2e1be9){_0x23a272=_0x23a272-0x0;let _0x1db2d1=_0x2e1b[_0x23a272];return _0x1db2d1;};import{Plugin as _0x28ebe8}from'ckeditor5/src/core';import{getTranslation as _0x4bfcc7}from'../utils/common-translations';import{getRangesWithAttribute as _0x567771}from'./utils';const Ot=[_0x1db2('0x20'),'ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing',_0x1db2('0x3'),_0x1db2('0x1a')];export default class x extends _0x28ebe8{['afterInit'](){const _0xe16ab6=this[_0x1db2('0x19')],_0x4c912d=_0xe16ab6[_0x1db2('0x1f')],_0x229c84=_0xe16ab6[_0x1db2('0x16')][_0x1db2('0x9')](_0x1db2('0x1')),_0x5a9eea=_0xe16ab6['locale'];for(const _0x5771b3 of Ot){if(!_0xe16ab6[_0x1db2('0x16')][_0x1db2('0x1c')](_0x5771b3))continue;const _0x556633=_0x5771b3[_0x1db2('0x11')](0x0,-0x7)[_0x1db2('0x15')](),_0x1a37f8=_0xe16ab6[_0x1db2('0x1d')]['get'](_0x556633);_0x229c84[_0x1db2('0xd')](_0x556633,(_0x27d2cc,_0x362733={})=>{const _0x14915a=_0x4c912d[_0x1db2('0x1e')][_0x1db2('0x13')];if(_0x14915a[_0x1db2('0x17')])return void _0x27d2cc(_0x362733);const _0x3ff5da=void 0x0!==_0x362733[_0x1db2('0x7')]?_0x362733[_0x1db2('0x7')]:!_0x1a37f8[_0x1db2('0x18')];_0x4c912d[_0x1db2('0x4')](()=>{const _0x3eef27=Array[_0x1db2('0xf')](_0x14915a[_0x1db2('0x5')]());for(const _0x3c4d9c of _0x3eef27){const _0x430313=_0x3ff5da?[_0x3c4d9c]:_0x567771(_0x556633,_0x3c4d9c,_0x4c912d);for(const _0x346ac9 of _0x430313)_0x229c84[_0x1db2('0x12')](_0x346ac9,{'commandName':_0x556633,'commandParams':[{'forceValue':_0x3ff5da}]});}});});}function _0x15c421(_0x41f390,_0x5ea89a){_0x229c84[_0x1db2('0xe')][_0x1db2('0x8')](_0xb43f1a=>{const {data:_0x577abf}=_0xb43f1a;if(_0x577abf&&_0x577abf['commandName']===_0x41f390)return _0x577abf['commandParams'][0x0][_0x1db2('0x7')]?{'type':'format','content':_0x4bfcc7(_0x5a9eea,'*Format:*\x20%0',_0x5ea89a)}:{'type':_0x1db2('0x14'),'content':_0x4bfcc7(_0x5a9eea,_0x1db2('0x22'),_0x5ea89a)};});}_0x15c421(_0x1db2('0xa'),_0x4bfcc7(_0x5a9eea,_0x1db2('0x6'))),_0x15c421('italic',_0x4bfcc7(_0x5a9eea,'FORMAT_ITALIC')),_0x15c421(_0x1db2('0x0'),_0x4bfcc7(_0x5a9eea,'FORMAT_UNDERLINE')),_0x15c421('code',_0x4bfcc7(_0x5a9eea,_0x1db2('0x1b'))),_0x15c421('strikethrough',_0x4bfcc7(_0x5a9eea,_0x1db2('0xb'))),_0x15c421(_0x1db2('0x21'),_0x4bfcc7(_0x5a9eea,_0x1db2('0x10'))),_0x15c421(_0x1db2('0xc'),_0x4bfcc7(_0x5a9eea,_0x1db2('0x2')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x34cd=['change','length','name','forceValue','get','createRange','locale','$root','model','value','end','from','type','registerDescriptionCallback','schema','has','commandParams','afterInit','ELEMENT_BLOCK_QUOTE','markBlockFormat','parent','filter','*Remove\x20format:*\x20%0','checkChild','getSelectedBlocks','createPositionBefore','commands','commandName','createPositionAfter','push','*Format:*\x20%0','isObject','BlockQuoteEditing','createPositionAt','isLimit','item','document','editor','enableCommand','blockQuote','_descriptionFactory'];(function(_0x48a4b3,_0x34cd7d){const _0x431ee3=function(_0x57a030){while(--_0x57a030){_0x48a4b3['push'](_0x48a4b3['shift']());}};_0x431ee3(++_0x34cd7d);}(_0x34cd,0x195));const _0x431e=function(_0x48a4b3,_0x34cd7d){_0x48a4b3=_0x48a4b3-0x0;let _0x431ee3=_0x34cd[_0x48a4b3];return _0x431ee3;};import{Plugin as _0x189207}from'ckeditor5/src/core';import{TreeWalker as _0x2d1d49}from'ckeditor5/src/engine';import{getTranslation as _0x1240ab}from'../utils/common-translations';export default class O extends _0x189207{[_0x431e('0x16')](){const _0x45cac1=this['editor'],_0x3989e4=_0x45cac1[_0x431e('0xb')];if(!_0x45cac1['plugins'][_0x431e('0x14')](_0x431e('0x25')))return;const _0x403a17=_0x45cac1['plugins'][_0x431e('0x9')]('TrackChangesEditing'),_0xd726bd=this[_0x431e('0x1')][_0x431e('0x1f')][_0x431e('0x9')](_0x431e('0x3'));_0x403a17[_0x431e('0x2')]('blockQuote',(_0x3fa678,_0x38167={})=>{const _0x48eb4b=this[_0x431e('0x1')]['model'][_0x431e('0x0')]['selection'],_0x1aa0da=_0x38167&&void 0x0!==_0x38167[_0x431e('0x8')]?_0x38167[_0x431e('0x8')]:!_0xd726bd[_0x431e('0xe')];let _0x3865dd=[];if(_0x1aa0da){const _0x872edd=Array['from'](_0x48eb4b[_0x431e('0x1d')]())[_0x431e('0x1a')](_0x1722fe=>Bt(_0x1722fe)||function(_0x1e90a5,_0x2c45c9){const _0x348200=_0x2c45c9[_0x431e('0x1c')](_0x1e90a5[_0x431e('0x19')],_0x431e('0x3')),_0x1da11c=_0x2c45c9[_0x431e('0x1c')]([_0x431e('0xc'),_0x431e('0x3')],_0x1e90a5);return _0x348200&&_0x1da11c;}(_0x1722fe,this['editor'][_0x431e('0xd')]['schema']));_0x3865dd=Lt(_0x872edd,_0x45cac1[_0x431e('0xd')]);}else{const _0xeee8e8=Array[_0x431e('0x10')](_0x48eb4b[_0x431e('0x1d')]())['filter'](_0x5bfa73=>Bt(_0x5bfa73));_0x3865dd=Lt(_0xeee8e8,_0x45cac1[_0x431e('0xd')]);}_0x45cac1[_0x431e('0xd')][_0x431e('0x5')](()=>{for(const _0x152729 of _0x3865dd)_0x403a17[_0x431e('0x18')](_0x152729,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x1aa0da}]});});}),_0x403a17[_0x431e('0x4')][_0x431e('0x12')](_0x3021fe=>{const {data:_0x4daa31}=_0x3021fe;if(_0x4daa31&&'blockQuote'==_0x4daa31[_0x431e('0x20')]){const _0x353637=_0x1240ab(_0x3989e4,_0x431e('0x17'));return _0x4daa31[_0x431e('0x15')][0x0][_0x431e('0x8')]?{'type':'format','content':_0x1240ab(_0x3989e4,_0x431e('0x23'),_0x353637)}:{'type':'format','content':_0x1240ab(_0x3989e4,_0x431e('0x1b'),_0x353637)};}});}}function Bt(_0x3ad7fd){return _0x431e('0x3')==_0x3ad7fd[_0x431e('0x19')][_0x431e('0x7')];}function Lt(_0x191ccf,_0x4d0ade){let _0x2e3cfe,_0x35640f=0x0;const _0xed473f=[],_0x4e954=_0x4d0ade[_0x431e('0x13')];for(;_0x35640f<_0x191ccf[_0x431e('0x6')];){const _0x7c4fd8=_0x191ccf[_0x35640f],_0x279c4c=_0x191ccf[_0x35640f+0x1];_0x2e3cfe||(_0x2e3cfe=_0x4d0ade[_0x431e('0x1e')](_0x7c4fd8)),_t(_0x4d0ade,_0x7c4fd8,_0x279c4c)||(_0xed473f[_0x431e('0x22')](_0x4d0ade[_0x431e('0xa')](_0x2e3cfe,_0x4e954[_0x431e('0x24')](_0x7c4fd8)?_0x4d0ade[_0x431e('0x21')](_0x7c4fd8):_0x4d0ade[_0x431e('0x26')](_0x7c4fd8,_0x431e('0xf')))),_0x2e3cfe=null),_0x35640f++;}return _0xed473f;}function _t(_0x3ecd98,_0x243970,_0x860dc9){if(!_0x860dc9)return!0x1;const _0x491397=_0x3ecd98[_0x431e('0x21')](_0x243970),_0x3d21b0=_0x3ecd98[_0x431e('0x1e')](_0x860dc9),_0x5ef9c0=new _0x2d1d49({'boundaries':_0x3ecd98['createRange'](_0x491397,_0x3d21b0)});for(const _0xf152fd of _0x5ef9c0)if('text'==_0xf152fd[_0x431e('0x11')]||_0x3ecd98[_0x431e('0x13')][_0x431e('0x27')](_0xf152fd[_0x431e('0x28')]))return!0x1;return!0x0;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x25e0=['plugins','locale','TrackChangesEditing','CodeBlock','ELEMENT_CODE_BLOCK','afterInit','get','registerElementLabel'];(function(_0x50b2e7,_0x25e042){const _0x1f33f1=function(_0x14f68f){while(--_0x14f68f){_0x50b2e7['push'](_0x50b2e7['shift']());}};_0x1f33f1(++_0x25e042);}(_0x25e0,0x1b7));const _0x1f33=function(_0x50b2e7,_0x25e042){_0x50b2e7=_0x50b2e7-0x0;let _0x1f33f1=_0x25e0[_0x50b2e7];return _0x1f33f1;};import{Plugin as _0xdfadda}from'ckeditor5/src/core';import{getTranslation as _0xa3759e}from'../utils/common-translations';export default class P extends _0xdfadda{[_0x1f33('0x6')](){const _0x2de920=this['editor'],_0x4bc64c=_0x2de920[_0x1f33('0x2')];if(!_0x2de920[_0x1f33('0x1')]['has'](_0x1f33('0x4')))return;_0x2de920[_0x1f33('0x1')][_0x1f33('0x7')](_0x1f33('0x3'))['_descriptionFactory'][_0x1f33('0x0')]('codeBlock',_0x5ddcf3=>_0xa3759e(_0x4bc64c,_0x1f33('0x5'),_0x5ddcf3));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2018=['enableCommand','addCommentThread','init','get','TrackChangesEditing','editor','plugins','CommentsEditing'];(function(_0x36ba79,_0x20184e){var _0x5fb98f=function(_0x22c758){while(--_0x22c758){_0x36ba79['push'](_0x36ba79['shift']());}};_0x5fb98f(++_0x20184e);}(_0x2018,0x72));var _0x5fb9=function(_0x36ba79,_0x20184e){_0x36ba79=_0x36ba79-0x0;var _0x5fb98f=_0x2018[_0x36ba79];return _0x5fb98f;};import{Plugin as _0x3fda09}from'ckeditor5/src/core';export default class G extends _0x3fda09{static get['requires'](){return[_0x5fb9('0x5')];}[_0x5fb9('0x0')](){this[_0x5fb9('0x3')][_0x5fb9('0x4')][_0x5fb9('0x1')](_0x5fb9('0x2'))[_0x5fb9('0x6')](_0x5fb9('0x7'));}}
|