@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230830.0 → 0.0.0-nightly-20230901.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 +1 -1
- package/lang/translations/ar.po +1 -0
- package/lang/translations/az.po +1 -0
- package/lang/translations/bg.po +1 -0
- package/lang/translations/bn.po +1 -0
- package/lang/translations/ca.po +1 -0
- package/lang/translations/cs.po +1 -0
- package/lang/translations/da.po +1 -0
- package/lang/translations/de.po +1 -0
- package/lang/translations/el.po +1 -0
- package/lang/translations/en-au.po +1 -0
- package/lang/translations/en.po +1 -0
- package/lang/translations/es.po +1 -0
- package/lang/translations/et.po +1 -0
- package/lang/translations/fi.po +1 -0
- package/lang/translations/fr.po +1 -0
- package/lang/translations/gl.po +1 -0
- package/lang/translations/he.po +1 -0
- package/lang/translations/hi.po +1 -0
- package/lang/translations/hr.po +1 -0
- package/lang/translations/hu.po +1 -0
- package/lang/translations/id.po +1 -0
- package/lang/translations/it.po +1 -0
- package/lang/translations/ja.po +1 -0
- package/lang/translations/ko.po +1 -0
- package/lang/translations/lt.po +1 -0
- package/lang/translations/lv.po +1 -0
- package/lang/translations/ms.po +1 -0
- package/lang/translations/nl.po +1 -0
- package/lang/translations/no.po +1 -0
- package/lang/translations/pl.po +1 -0
- package/lang/translations/pt-br.po +1 -0
- package/lang/translations/pt.po +1 -0
- package/lang/translations/ro.po +1 -0
- package/lang/translations/ru.po +1 -0
- package/lang/translations/sk.po +1 -0
- package/lang/translations/sq.po +1 -0
- package/lang/translations/sr-latn.po +1 -0
- package/lang/translations/sr.po +1 -0
- package/lang/translations/sv.po +1 -0
- package/lang/translations/th.po +1 -0
- package/lang/translations/tk.po +1 -0
- package/lang/translations/tr.po +1 -0
- package/lang/translations/tt.po +1 -0
- package/lang/translations/uk.po +1 -0
- package/lang/translations/ur.po +1 -0
- package/lang/translations/vi.po +1 -0
- package/lang/translations/zh-cn.po +1 -0
- package/lang/translations/zh.po +1 -0
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.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/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.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/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.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/listproperties.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/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.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 +1 -1
- package/src/utils/utils.js +1 -1
package/lang/translations/ar.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n"
|
|
16
16
|
"Language: ar\n"
|
|
17
17
|
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/az.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n"
|
|
16
16
|
"Language: az\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/bg.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n"
|
|
16
16
|
"Language: bg\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/bn.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n"
|
|
16
16
|
"Language: bn\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/ca.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n"
|
|
16
16
|
"Language: ca\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/cs.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n"
|
|
16
16
|
"Language: cs\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/da.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n"
|
|
16
16
|
"Language: da\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/de.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n"
|
|
16
16
|
"Language: de\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/el.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n"
|
|
16
16
|
"Language: el\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n"
|
|
16
16
|
"Language: en_AU\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/en.po
CHANGED
package/lang/translations/es.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n"
|
|
16
16
|
"Language: es\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/et.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n"
|
|
16
16
|
"Language: et\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/fi.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n"
|
|
16
16
|
"Language: fi\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/fr.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n"
|
|
16
16
|
"Language: fr\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/gl.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n"
|
|
16
16
|
"Language: gl\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/he.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n"
|
|
16
16
|
"Language: he\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/hi.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n"
|
|
16
16
|
"Language: hi\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/hr.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n"
|
|
16
16
|
"Language: hr\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/hu.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n"
|
|
16
16
|
"Language: hu\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/id.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n"
|
|
16
16
|
"Language: id\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/it.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n"
|
|
16
16
|
"Language: it\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/ja.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n"
|
|
16
16
|
"Language: ja\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/ko.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n"
|
|
16
16
|
"Language: ko\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/lt.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n"
|
|
16
16
|
"Language: lt\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/lv.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n"
|
|
16
16
|
"Language: lv\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/ms.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n"
|
|
16
16
|
"Language: ms\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/nl.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n"
|
|
16
16
|
"Language: nl\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/no.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n"
|
|
16
16
|
"Language: no\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/pl.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n"
|
|
16
16
|
"Language: pl\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
|
|
16
16
|
"Language: pt_BR\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/pt.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n"
|
|
16
16
|
"Language: pt\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/ro.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n"
|
|
16
16
|
"Language: ro\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/ru.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n"
|
|
16
16
|
"Language: ru\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/sk.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
|
|
16
16
|
"Language: sk\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/sq.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n"
|
|
16
16
|
"Language: sq\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
|
|
16
16
|
"Language: sr@latin\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/sr.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
|
|
16
16
|
"Language: sr\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/sv.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
|
|
16
16
|
"Language: sv\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/th.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
|
|
16
16
|
"Language: th\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/tk.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n"
|
|
16
16
|
"Language: tk\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/tr.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
|
|
16
16
|
"Language: tr\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/tt.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Tatar (https://app.transifex.com/ckeditor/teams/11143/tt/)\n"
|
|
16
16
|
"Language: tt\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/uk.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
|
|
16
16
|
"Language: uk\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/ur.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n"
|
|
16
16
|
"Language: ur\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/vi.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
|
|
16
16
|
"Language: vi\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
|
|
16
16
|
"Language: zh_CN\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/lang/translations/zh.po
CHANGED
|
@@ -15,6 +15,7 @@ msgstr ""
|
|
|
15
15
|
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
|
|
16
16
|
"Language: zh_TW\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
19
|
|
|
19
20
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
21
|
msgid "*Change to:* %0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20230901.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": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20230901.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230901.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a2a=['isEnabled','get','refresh','execute','canEditAt','model','editor','getRanges','plugins','acceptSuggestion','_isEnabledBasedOnSelection','_suggestions'];(function(_0x32fa99,_0x2a2aa0){const _0x2b6c60=function(_0x42919c){while(--_0x42919c){_0x32fa99['push'](_0x32fa99['shift']());}};_0x2b6c60(++_0x2a2aa0);}(_0x2a2a,0x13a));const _0x2b6c=function(_0x32fa99,_0x2a2aa0){_0x32fa99=_0x32fa99-0x0;let _0x2b6c60=_0x2a2a[_0x32fa99];return _0x2b6c60;};import{Command as _0x5221b1}from'ckeditor5/src/core';import{CKEditorError as _0x35d319}from'ckeditor5/src/utils';export default class M extends _0x5221b1{constructor(_0x2223ea,_0x584132){super(_0x2223ea),this[_0x2b6c('0x9')]=_0x584132,this[_0x2b6c('0x0')](),this[_0x2b6c('0x8')]=!0x1;}[_0x2b6c('0x0')](){this[_0x2b6c('0xa')]=!0x0;}[_0x2b6c('0x1')](_0x30fbc6){const _0x3e647f=this[_0x2b6c('0x9')]['get'](_0x30fbc6);if(!_0x3e647f)throw new _0x35d319('track-changes-accept-suggestion-not-found',this);const _0xb374e2=_0x3e647f[_0x2b6c('0x5')]();this[_0x2b6c('0x4')][_0x2b6c('0x3')][_0x2b6c('0x2')](_0xb374e2)&&this[_0x2b6c('0x4')][_0x2b6c('0x6')][_0x2b6c('0xb')]('TrackChangesEditing')[_0x2b6c('0x7')](_0x3e647f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x120f=['editor','get','isEnabled','getRanges','refresh','track-changes-discard-suggestion-not-found','canEditAt','model','TrackChangesEditing'];(function(_0x436b24,_0x120f51){const _0x13c591=function(_0x953b2a){while(--_0x953b2a){_0x436b24['push'](_0x436b24['shift']());}};_0x13c591(++_0x120f51);}(_0x120f,0x17f));const _0x13c5=function(_0x436b24,_0x120f51){_0x436b24=_0x436b24-0x0;let _0x13c591=_0x120f[_0x436b24];return _0x13c591;};import{Command as _0x570881}from'ckeditor5/src/core';import{CKEditorError as _0xf617b3}from'ckeditor5/src/utils';export default class $ extends _0x570881{constructor(_0xcac716,_0x1c8899){super(_0xcac716),this['_suggestions']=_0x1c8899,this[_0x13c5('0x8')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x13c5('0x8')](){this[_0x13c5('0x6')]=!0x0;}['execute'](_0x4bad6e){const _0x45cd5e=this['_suggestions'][_0x13c5('0x5')](_0x4bad6e);if(!_0x45cd5e)throw new _0xf617b3(_0x13c5('0x0'),this);const _0x50b758=_0x45cd5e[_0x13c5('0x7')]();this['editor'][_0x13c5('0x2')][_0x13c5('0x1')](_0x50b758)&&this[_0x13c5('0x4')]['plugins']['get'](_0x13c5('0x3'))['discardSuggestion'](_0x45cd5e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f6a=['values','some','isEnabled','refresh','getRanges','model','editor','_command','from','_suggestions'];(function(_0x4ddfee,_0x3f6aff){const _0x53cb93=function(_0xfcf866){while(--_0xfcf866){_0x4ddfee['push'](_0x4ddfee['shift']());}};_0x53cb93(++_0x3f6aff);}(_0x3f6a,0x1ab));const _0x53cb=function(_0x4ddfee,_0x3f6aff){_0x4ddfee=_0x4ddfee-0x0;let _0x53cb93=_0x3f6a[_0x4ddfee];return _0x53cb93;};import{Command as _0xeba4c8}from'ckeditor5/src/core';import{sortSuggestions as _0x33b16f,executeCommandForSuggestions as _0x2e9f3d}from'../utils/utils';export default class N extends _0xeba4c8{constructor(_0x1c9a0d,_0x4922e2,_0x4248e3){super(_0x1c9a0d),this[_0x53cb('0x0')]=_0x4922e2,this[_0x53cb('0x2')]=_0x4248e3,this[_0x53cb('0x6')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x53cb('0x6')](){const _0x33cb26=Array[_0x53cb('0x1')](this[_0x53cb('0x2')][_0x53cb('0x3')]())[_0x53cb('0x4')](_0x11835e=>_0x11835e['isInContent']);this['isEnabled']=this['_command'][_0x53cb('0x5')]&&_0x33cb26;}['execute'](){const _0x22ab28=_0x33b16f(Array[_0x53cb('0x1')](this['_suggestions'][_0x53cb('0x3')]()));for(const _0x3232fc of _0x22ab28){const _0x55a0ce=_0x3232fc[_0x53cb('0x7')]();if(!this[_0x53cb('0x9')][_0x53cb('0x8')]['canEditAt'](_0x55a0ce))return;}_0x2e9f3d(this[_0x53cb('0x9')]['model'],this['_command'],_0x22ab28);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5723=['_suggestions','refresh','values','model','_selectedSuggestions','canEditAt','getRanges','_command','from','editor','size','document'];(function(_0x3d81dd,_0x5723b5){const _0x12b61f=function(_0x1c3713){while(--_0x1c3713){_0x3d81dd['push'](_0x3d81dd['shift']());}};_0x12b61f(++_0x5723b5);}(_0x5723,0x74));const _0x12b6=function(_0x3d81dd,_0x5723b5){_0x3d81dd=_0x3d81dd-0x0;let _0x12b61f=_0x5723[_0x3d81dd];return _0x12b61f;};import{Command as _0x49030a}from'ckeditor5/src/core';import{sortSuggestions as _0x2856b2,getSelectedSuggestions as _0x594385,executeCommandForSuggestions as _0x5e723d}from'../utils/utils';export default class R extends _0x49030a{constructor(_0x2553d7,_0x2a510a,_0x37522d){super(_0x2553d7),this[_0x12b6('0xb')]=_0x2a510a,this[_0x12b6('0x4')]=_0x37522d,this['_selectedSuggestions']=new Set(),this[_0x12b6('0x5')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x12b6('0x5')](){const _0x44d4cd=this[_0x12b6('0x1')][_0x12b6('0x7')][_0x12b6('0x3')]['selection'],_0x40fbcb=Array[_0x12b6('0x0')](this[_0x12b6('0x4')][_0x12b6('0x6')]());this[_0x12b6('0x8')]=_0x594385(_0x44d4cd,_0x40fbcb),this['isEnabled']=this[_0x12b6('0xb')]['isEnabled']&&!!this['_selectedSuggestions'][_0x12b6('0x2')];}['execute'](){const _0x509e1e=_0x2856b2(Array[_0x12b6('0x0')](this[_0x12b6('0x8')]));for(const _0xb625db of _0x509e1e){const _0x5e8b7e=_0xb625db[_0x12b6('0xa')]();if(!this[_0x12b6('0x1')][_0x12b6('0x7')][_0x12b6('0x9')](_0x5e8b7e))return;}_0x5e723d(this[_0x12b6('0x1')][_0x12b6('0x7')],this['_command'],_0x509e1e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x514a=['isEnabled','TrackChangesCommand','commands','affectsData','_enabledCommands','forceDisabled','_isEnabledBasedOnSelection','editor','value','has','execute','refresh','_enableCommands','clearForceDisabled'];(function(_0x255339,_0x514af6){const _0x350c20=function(_0x55f010){while(--_0x55f010){_0x255339['push'](_0x255339['shift']());}};_0x350c20(++_0x514af6);}(_0x514a,0x100));const _0x350c=function(_0x255339,_0x514af6){_0x255339=_0x255339-0x0;let _0x350c20=_0x514a[_0x255339];return _0x350c20;};import{Command as _0x4d8681}from'ckeditor5/src/core';export default class _ extends _0x4d8681{constructor(_0x398ab7,_0x2b7541){super(_0x398ab7),this['_enabledCommands']=_0x2b7541,this[_0x350c('0x4')]=!0x1,this[_0x350c('0x7')](),this[_0x350c('0x2')]=!0x1;}['refresh'](){this[_0x350c('0xa')]=!0x0;}[_0x350c('0x6')](){this[_0x350c('0x4')]=!this['value'],this[_0x350c('0x4')]?this['_disableUnsupportedCommands']():this[_0x350c('0x8')]();}['_disableUnsupportedCommands'](){for(const _0x5d9103 of this[_0x350c('0x3')][_0x350c('0xc')][_0x350c('0xc')]())_0x5d9103['affectsData']&&!this[_0x350c('0x0')]['has'](_0x5d9103)&&_0x5d9103[_0x350c('0x1')](_0x350c('0xb'));}[_0x350c('0x8')](){for(const _0xd6150a of this[_0x350c('0x3')]['commands'][_0x350c('0xc')]())_0xd6150a[_0x350c('0xd')]&&!this[_0x350c('0x0')][_0x350c('0x5')](_0xd6150a)&&_0xd6150a[_0x350c('0x9')](_0x350c('0xb'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f7b=['AlignmentEditing','FORMAT_ALIGN_TO_RIGHT','get','center','*Format:*\x20%0','format','plugins','commandName','right','FORMAT_ALIGN_TO_CENTER','change','left','enableCommand','filter','alignment','model','_descriptionFactory','afterInit','FORMAT_JUSTIFY_TEXT','document','ltr','getAttribute','TrackChangesEditing','value','registerDescriptionCallback','editor','locale','contentLanguageDirection'];(function(_0x35ac7a,_0x4f7b5f){const _0x588707=function(_0x3937d1){while(--_0x3937d1){_0x35ac7a['push'](_0x35ac7a['shift']());}};_0x588707(++_0x4f7b5f);}(_0x4f7b,0x145));const _0x5887=function(_0x35ac7a,_0x4f7b5f){_0x35ac7a=_0x35ac7a-0x0;let _0x588707=_0x4f7b[_0x35ac7a];return _0x588707;};import{Plugin as _0x26bf38}from'ckeditor5/src/core';import{getTranslation as _0x1d2e6b}from'../utils/common-translations';export default class j extends _0x26bf38{[_0x5887('0x0')](){const _0x37679e=this['editor'],_0x23012a=_0x37679e[_0x5887('0x9')];if(!_0x37679e[_0x5887('0x11')]['has'](_0x5887('0xb')))return;const _0x336911=_0x37679e[_0x5887('0x11')][_0x5887('0xd')](_0x5887('0x5'));_0x336911[_0x5887('0x17')](_0x5887('0x19'),(_0x20bc13,_0x865864={})=>{let _0x344e0a=_0x865864[_0x5887('0x6')];_0x865864['value']||(_0x344e0a=_0x5887('0x3')===_0x37679e[_0x5887('0x9')][_0x5887('0xa')]?_0x5887('0x16'):_0x5887('0x13'));const _0x2ffec3=Array['from'](this['editor'][_0x5887('0x1a')][_0x5887('0x2')]['selection']['getSelectedBlocks']())[_0x5887('0x18')](_0x4483dd=>function(_0x29fe45,_0x116772,_0x1b897c){const _0x2e6669=_0x29fe45[_0x5887('0x4')](_0x5887('0x19'))||null;return _0x116772['checkAttribute'](_0x29fe45,_0x5887('0x19'))&&_0x1b897c!=_0x2e6669;}(_0x4483dd,this[_0x5887('0x8')]['model']['schema'],_0x344e0a));_0x37679e[_0x5887('0x1a')][_0x5887('0x15')](()=>{for(const _0x8a2c1a of _0x2ffec3)_0x336911['markBlockFormat'](_0x8a2c1a,{'commandName':_0x5887('0x19'),'commandParams':[{'value':_0x344e0a}]});});}),_0x336911[_0x5887('0x1b')][_0x5887('0x7')](_0x24ab0a=>{const {data:_0x354975}=_0x24ab0a;if(_0x354975&&_0x5887('0x19')==_0x354975[_0x5887('0x12')]){const _0x5a785b=_0x354975['commandParams'][0x0][_0x5887('0x6')];return{'type':_0x5887('0x10'),'content':_0x1d2e6b(_0x23012a,_0x5887('0xf'),function(_0x46c9e6){switch(_0x46c9e6){case _0x5887('0x16'):return _0x1d2e6b(_0x23012a,'FORMAT_ALIGN_TO_LEFT');case _0x5887('0x13'):return _0x1d2e6b(_0x23012a,_0x5887('0xc'));case _0x5887('0xe'):return _0x1d2e6b(_0x23012a,_0x5887('0x14'));case'justify':return _0x1d2e6b(_0x23012a,_0x5887('0x1'));}}(_0x5a785b))};}});}}
|