@ckeditor/ckeditor5-track-changes 34.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 +2 -2
- package/build/track-changes.js +2 -2
- package/build/translations/nl.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/lang/translations/nl.po +9 -9
- package/lang/translations/zh-cn.po +4 -4
- package/package.json +3 -3
- 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/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/build/translations/nl.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const t=e.nl=e.nl||{};t.dictionary=Object.assign(t.dictionary||{},{"*Change to:* %0":"*Verander naar:* %0","*Check item*":"*Controleer item*","*Format:* %0":"*Maak op:* %0","*Indent:* %0":"*Indenteer:* %0","*Insert:* %0":"*Invoegen:* %0","*Merge cells*":"","*Merge:* %0":"*Samenvoegen:* %0","*Outdent:* %0":"*Outdent:* %0","*Remove all formatting*":"*Verwijder alle opmaak*","*Remove format:* %0":"*Verwijder opmaak:* %0","*Remove highlight*":"","*Remove image text alternative*":"*Verwijder afbeeldingstekst alternatief*","*Remove link*":"*Verwijder link*","*Remove:* %0":"*Verwijder:* %0","*Replace table cells*":"","*Reset font background color*":"*Reset achtergrondkleur tekst*","*Reset font color*":"*Reset kleur tekst*","*Reset font family*":"*Reset lettertype*","*Reset font size*":"*Reset lettergrootte*","*Reset image width*":"*Reset afbeeldingsbreedte*","*Set font background color:* %0":"*Achtergrondkleur tekst instellen:* %0","*Set font color:* %0":"*Tekstkleur instellen:* %0","*Set font family:* %0":"*Lettertype instellen:* %0","*Set font size:* %0":"*Lettergrootte instellen:* %0","*Set highlight:* %0":"","*Set image text alternative:* %0":"*Afbeeldingstekst alternatief instellen:* %0","*Set image width:* %0":"*Afbeeldingsgrootte instellen:* %0","*Set link:* %0":"*Link instellen:* %0","*Split cell:* horizontally":"*Splits cel:* Horizontaal","*Split cell:* vertically":"*Splits cel:* Verticaal","*Split:* %0":"*Splits:* %0","*Uncheck item*":"*Item uitvinken*","Accept all selected suggestions":"Alle geselecteerde suggesties aanvaarden","Accept all suggestions":"Alle suggesties aanvaarden","Accept suggestion":"Suggestie aanvaarden","Discard all selected suggestions":"Verwijder alle geselecteerde suggesties","Discard all suggestions":"Verwijder alle suggesties","Discard suggestion":"Verwijder suggestie",ELEMENT_BLOCK_QUOTE:"blokcitaat",ELEMENT_BULLETED_LIST:"Opsommingslijst",ELEMENT_CAPTION:"",ELEMENT_CODE_BLOCK:["codeblok","%0 codeblokken"],ELEMENT_HEADING:["hoofding (niveau 1%)","%0 hoofdingen (niveau %1)"],ELEMENT_HEADING_CUSTOM:["",""],ELEMENT_HORIZONTAL_LINE:["horizontale lijn","%0 horizontale lijnen"],ELEMENT_IMAGE:["afbeelding","%0 afbeeldingen"],ELEMENT_INLINE_IMAGE:["",""],ELEMENT_LINE_BREAK:["regeleinde","%0 regeleindes"],ELEMENT_LIST_ITEM:["lijst-item","%0 lijst-items"],ELEMENT_MEDIA:["media-item","%0 media-items"],ELEMENT_NUMBERED_LIST:"genummerde lijst",ELEMENT_PAGE_BREAK:["pagina-einde","%0 pagina-eindes"],ELEMENT_PARAGRAPH:["paragraaf","%0 paragrafen"],ELEMENT_SPACE:["spatie","%0 spaties"],ELEMENT_TABLE:["tabel","%0 tabellen"],ELEMENT_TABLE_COLUMN:["tabel-kolom","%0 tabel-kolommen"],ELEMENT_TABLE_COLUMN_WITH_TEXT:["tabel-kolom *met tekst* 1%","%0 tabel-kolommen *met tekst* %1"],ELEMENT_TABLE_ROW:["",""],ELEMENT_TABLE_ROW_WITH_TEXT:["",""],ELEMENT_TABLE_WITH_TEXT:"",ELEMENT_TITLE:"",ELEMENT_TODO_LIST:"",FORMAT_ALIGN_TO_CENTER:"",FORMAT_ALIGN_TO_LEFT:"",FORMAT_ALIGN_TO_RIGHT:"",FORMAT_BOLD:"",FORMAT_CODE:"",FORMAT_HEADER_COLUMN:"",FORMAT_HEADER_ROW:"",FORMAT_HIGHLIGHT:"",FORMAT_ITALIC:"",FORMAT_JUSTIFY_TEXT:"",FORMAT_REGULAR_COLUMN:"",FORMAT_REGULAR_ROW:"",FORMAT_RESTRICTED_DISABLED:"",FORMAT_RESTRICTED_ENABLED:"",FORMAT_SIDE_IMAGE:"",FORMAT_STRIKETHROUGH:"",FORMAT_SUBSCRIPT:"",FORMAT_SUPERSCRIPT:"",FORMAT_UNDERLINE:"",PENDING_ACTION_SUGGESTION:"",REPLACE_TEXT:"","Track changes":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(e){const t=e.nl=e.nl||{};t.dictionary=Object.assign(t.dictionary||{},{"*Change to:* %0":"*Verander naar:* %0","*Check item*":"*Controleer item*","*Format:* %0":"*Maak op:* %0","*Indent:* %0":"*Indenteer:* %0","*Insert:* %0":"*Invoegen:* %0","*Merge cells*":"*Cellen samenvoegen*","*Merge:* %0":"*Samenvoegen:* %0","*Outdent:* %0":"*Outdent:* %0","*Remove all formatting*":"*Verwijder alle opmaak*","*Remove format:* %0":"*Verwijder opmaak:* %0","*Remove highlight*":"Markering verwijderen","*Remove image text alternative*":"*Verwijder afbeeldingstekst alternatief*","*Remove link*":"*Verwijder link*","*Remove:* %0":"*Verwijder:* %0","*Replace table cells*":"*Tabel cellen vervangen*","*Reset font background color*":"*Reset achtergrondkleur tekst*","*Reset font color*":"*Reset kleur tekst*","*Reset font family*":"*Reset lettertype*","*Reset font size*":"*Reset lettergrootte*","*Reset image width*":"*Reset afbeeldingsbreedte*","*Set font background color:* %0":"*Achtergrondkleur tekst instellen:* %0","*Set font color:* %0":"*Tekstkleur instellen:* %0","*Set font family:* %0":"*Lettertype instellen:* %0","*Set font size:* %0":"*Lettergrootte instellen:* %0","*Set highlight:* %0":"*Markering instellen:* %0","*Set image text alternative:* %0":"*Afbeeldingstekst alternatief instellen:* %0","*Set image width:* %0":"*Afbeeldingsgrootte instellen:* %0","*Set link:* %0":"*Link instellen:* %0","*Split cell:* horizontally":"*Splits cel:* Horizontaal","*Split cell:* vertically":"*Splits cel:* Verticaal","*Split:* %0":"*Splits:* %0","*Uncheck item*":"*Item uitvinken*","Accept all selected suggestions":"Alle geselecteerde suggesties aanvaarden","Accept all suggestions":"Alle suggesties aanvaarden","Accept suggestion":"Suggestie aanvaarden","Discard all selected suggestions":"Verwijder alle geselecteerde suggesties","Discard all suggestions":"Verwijder alle suggesties","Discard suggestion":"Verwijder suggestie",ELEMENT_BLOCK_QUOTE:"blokcitaat",ELEMENT_BULLETED_LIST:"Opsommingslijst",ELEMENT_CAPTION:"onderschrift",ELEMENT_CODE_BLOCK:["codeblok","%0 codeblokken"],ELEMENT_HEADING:["hoofding (niveau 1%)","%0 hoofdingen (niveau %1)"],ELEMENT_HEADING_CUSTOM:["kop (%1)","%0 koppen (%1)"],ELEMENT_HORIZONTAL_LINE:["horizontale lijn","%0 horizontale lijnen"],ELEMENT_IMAGE:["afbeelding","%0 afbeeldingen"],ELEMENT_INLINE_IMAGE:["afbeelding","%0 afbeeldingen"],ELEMENT_LINE_BREAK:["regeleinde","%0 regeleindes"],ELEMENT_LIST_ITEM:["lijst-item","%0 lijst-items"],ELEMENT_MEDIA:["media-item","%0 media-items"],ELEMENT_NUMBERED_LIST:"genummerde lijst",ELEMENT_PAGE_BREAK:["pagina-einde","%0 pagina-eindes"],ELEMENT_PARAGRAPH:["paragraaf","%0 paragrafen"],ELEMENT_SPACE:["spatie","%0 spaties"],ELEMENT_TABLE:["tabel","%0 tabellen"],ELEMENT_TABLE_COLUMN:["tabel-kolom","%0 tabel-kolommen"],ELEMENT_TABLE_COLUMN_WITH_TEXT:["tabel-kolom *met tekst* 1%","%0 tabel-kolommen *met tekst* %1"],ELEMENT_TABLE_ROW:["",""],ELEMENT_TABLE_ROW_WITH_TEXT:["",""],ELEMENT_TABLE_WITH_TEXT:"",ELEMENT_TITLE:"",ELEMENT_TODO_LIST:"",FORMAT_ALIGN_TO_CENTER:"",FORMAT_ALIGN_TO_LEFT:"",FORMAT_ALIGN_TO_RIGHT:"",FORMAT_BOLD:"",FORMAT_CODE:"",FORMAT_HEADER_COLUMN:"",FORMAT_HEADER_ROW:"",FORMAT_HIGHLIGHT:"",FORMAT_ITALIC:"",FORMAT_JUSTIFY_TEXT:"",FORMAT_REGULAR_COLUMN:"",FORMAT_REGULAR_ROW:"",FORMAT_RESTRICTED_DISABLED:"",FORMAT_RESTRICTED_ENABLED:"",FORMAT_SIDE_IMAGE:"",FORMAT_STRIKETHROUGH:"",FORMAT_SUBSCRIPT:"",FORMAT_SUPERSCRIPT:"",FORMAT_UNDERLINE:"",PENDING_ACTION_SUGGESTION:"",REPLACE_TEXT:"","Track changes":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(E){const T=E["zh-cn"]=E["zh-cn"]||{};T.dictionary=Object.assign(T.dictionary||{},{"*Change to:* %0":"*更改至:* %0","*Check item*":"*勾选项目*","*Format:* %0":"*格式:* %0","*Indent:* %0":"*增加缩进:* %0","*Insert:* %0":"*插入:* %0","*Merge cells*":"*合并单元格*","*Merge:* %0":"*合并:* %0","*Outdent:* %0":"*减少缩进:* %0","*Remove all formatting*":"*移除所有格式*","*Remove format:* %0":"*移除格式:* %0","*Remove highlight*":"","*Remove image text alternative*":"*移除图片替换文本*","*Remove link*":"*移除链接*","*Remove:* %0":"*移除:* %0","*Replace table cells*":"*替代表格单元格*","*Reset font background color*":"*重置字体背景色*","*Reset font color*":"*设置字体颜色*","*Reset font family*":"*重置字体*","*Reset font size*":"*重置字号*","*Reset image width*":"*重置图像宽度*","*Set font background color:* %0":"*设置字体背景色:*%0","*Set font color:* %0":"*设置字体颜色:* %0","*Set font family:* %0":"*设置字体:* %0","*Set font size:* %0":"*设置字号:* %0","*Set highlight:* %0":"","*Set image text alternative:* %0":"*设置图片替代文本:* %0","*Set image width:* %0":"*设置图片宽度:* %0","*Set link:* %0":"*设置链接:* %0","*Split cell:* horizontally":"*拆分单元格:* 横向","*Split cell:* vertically":"*拆分单元格:* 纵向","*Split:* %0":"*拆分:* %0","*Uncheck item*":"*取消勾选项目*","Accept all selected suggestions":"接受所有选中建议","Accept all suggestions":"接受所有建议","Accept suggestion":"接受建议","Discard all selected suggestions":"放弃所有选中建议","Discard all suggestions":"放弃所有建议","Discard suggestion":"放弃建议",ELEMENT_BLOCK_QUOTE:"块引用",ELEMENT_BULLETED_LIST:"项目符号列表",ELEMENT_CAPTION:"",ELEMENT_CODE_BLOCK:"%0 代码块",ELEMENT_HEADING:"%0 标题(级别 %1)",ELEMENT_HEADING_CUSTOM:"%0 标题 (%1)",ELEMENT_HORIZONTAL_LINE:"%0 水平线",ELEMENT_IMAGE:"%0 图片",ELEMENT_INLINE_IMAGE:"",ELEMENT_LINE_BREAK:"%0 换行符",ELEMENT_LIST_ITEM:"%0 列表项目",ELEMENT_MEDIA:"%0 媒体项目",ELEMENT_NUMBERED_LIST:"项目编号列表",ELEMENT_PAGE_BREAK:"0% 分页符",ELEMENT_PARAGRAPH:"%0 段落",ELEMENT_SPACE:"%0 空格",ELEMENT_TABLE:"%0 表格",ELEMENT_TABLE_COLUMN:"%0 表格列",ELEMENT_TABLE_COLUMN_WITH_TEXT:"%0 表格列 *含文本* %1",ELEMENT_TABLE_ROW:"%0 表格行",ELEMENT_TABLE_ROW_WITH_TEXT:"%0 表格行 *含文本* %1",ELEMENT_TABLE_WITH_TEXT:"表格 *含文本* %0",ELEMENT_TITLE:"标题",ELEMENT_TODO_LIST:"待办事项列表",FORMAT_ALIGN_TO_CENTER:"居中对齐",FORMAT_ALIGN_TO_LEFT:"左对齐",FORMAT_ALIGN_TO_RIGHT:"右对齐",FORMAT_BOLD:"粗体",FORMAT_CODE:"代码",FORMAT_HEADER_COLUMN:"标题列",FORMAT_HEADER_ROW:"标题行",FORMAT_HIGHLIGHT:"高亮",FORMAT_ITALIC:"斜体",FORMAT_JUSTIFY_TEXT:"两端对齐",FORMAT_REGULAR_COLUMN:"常规列",FORMAT_REGULAR_ROW:"常规行",FORMAT_RESTRICTED_DISABLED:"*不允许在限制编辑模式下使用*",FORMAT_RESTRICTED_ENABLED:"*在限制编辑模式下允许使用*",FORMAT_SIDE_IMAGE:"图片侧边显示",FORMAT_STRIKETHROUGH:"删除线",FORMAT_SUBSCRIPT:"下标脚本",FORMAT_SUPERSCRIPT:"超级脚本",FORMAT_UNDERLINE:"下划线",PENDING_ACTION_SUGGESTION:"建议中有未保存内容",REPLACE_TEXT:"*用* %1 *替换:* %0 ","Track changes":"跟踪更改"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(E){const T=E["zh-cn"]=E["zh-cn"]||{};T.dictionary=Object.assign(T.dictionary||{},{"*Change to:* %0":"*更改至:* %0","*Check item*":"*勾选项目*","*Format:* %0":"*格式:* %0","*Indent:* %0":"*增加缩进:* %0","*Insert:* %0":"*插入:* %0","*Merge cells*":"*合并单元格*","*Merge:* %0":"*合并:* %0","*Outdent:* %0":"*减少缩进:* %0","*Remove all formatting*":"*移除所有格式*","*Remove format:* %0":"*移除格式:* %0","*Remove highlight*":"*移除高亮*","*Remove image text alternative*":"*移除图片替换文本*","*Remove link*":"*移除链接*","*Remove:* %0":"*移除:* %0","*Replace table cells*":"*替代表格单元格*","*Reset font background color*":"*重置字体背景色*","*Reset font color*":"*设置字体颜色*","*Reset font family*":"*重置字体*","*Reset font size*":"*重置字号*","*Reset image width*":"*重置图像宽度*","*Set font background color:* %0":"*设置字体背景色:*%0","*Set font color:* %0":"*设置字体颜色:* %0","*Set font family:* %0":"*设置字体:* %0","*Set font size:* %0":"*设置字号:* %0","*Set highlight:* %0":"*设置高亮:* %0","*Set image text alternative:* %0":"*设置图片替代文本:* %0","*Set image width:* %0":"*设置图片宽度:* %0","*Set link:* %0":"*设置链接:* %0","*Split cell:* horizontally":"*拆分单元格:* 横向","*Split cell:* vertically":"*拆分单元格:* 纵向","*Split:* %0":"*拆分:* %0","*Uncheck item*":"*取消勾选项目*","Accept all selected suggestions":"接受所有选中建议","Accept all suggestions":"接受所有建议","Accept suggestion":"接受建议","Discard all selected suggestions":"放弃所有选中建议","Discard all suggestions":"放弃所有建议","Discard suggestion":"放弃建议",ELEMENT_BLOCK_QUOTE:"块引用",ELEMENT_BULLETED_LIST:"项目符号列表",ELEMENT_CAPTION:"标题",ELEMENT_CODE_BLOCK:"%0 代码块",ELEMENT_HEADING:"%0 标题(级别 %1)",ELEMENT_HEADING_CUSTOM:"%0 标题 (%1)",ELEMENT_HORIZONTAL_LINE:"%0 水平线",ELEMENT_IMAGE:"%0 图片",ELEMENT_INLINE_IMAGE:"%0 图片",ELEMENT_LINE_BREAK:"%0 换行符",ELEMENT_LIST_ITEM:"%0 列表项目",ELEMENT_MEDIA:"%0 媒体项目",ELEMENT_NUMBERED_LIST:"项目编号列表",ELEMENT_PAGE_BREAK:"0% 分页符",ELEMENT_PARAGRAPH:"%0 段落",ELEMENT_SPACE:"%0 空格",ELEMENT_TABLE:"%0 表格",ELEMENT_TABLE_COLUMN:"%0 表格列",ELEMENT_TABLE_COLUMN_WITH_TEXT:"%0 表格列 *含文本* %1",ELEMENT_TABLE_ROW:"%0 表格行",ELEMENT_TABLE_ROW_WITH_TEXT:"%0 表格行 *含文本* %1",ELEMENT_TABLE_WITH_TEXT:"表格 *含文本* %0",ELEMENT_TITLE:"标题",ELEMENT_TODO_LIST:"待办事项列表",FORMAT_ALIGN_TO_CENTER:"居中对齐",FORMAT_ALIGN_TO_LEFT:"左对齐",FORMAT_ALIGN_TO_RIGHT:"右对齐",FORMAT_BOLD:"粗体",FORMAT_CODE:"代码",FORMAT_HEADER_COLUMN:"标题列",FORMAT_HEADER_ROW:"标题行",FORMAT_HIGHLIGHT:"高亮",FORMAT_ITALIC:"斜体",FORMAT_JUSTIFY_TEXT:"两端对齐",FORMAT_REGULAR_COLUMN:"常规列",FORMAT_REGULAR_ROW:"常规行",FORMAT_RESTRICTED_DISABLED:"*不允许在限制编辑模式下使用*",FORMAT_RESTRICTED_ENABLED:"*在限制编辑模式下允许使用*",FORMAT_SIDE_IMAGE:"图片侧边显示",FORMAT_STRIKETHROUGH:"删除线",FORMAT_SUBSCRIPT:"下标脚本",FORMAT_SUPERSCRIPT:"超级脚本",FORMAT_UNDERLINE:"下划线",PENDING_ACTION_SUGGESTION:"建议中有未保存内容",REPLACE_TEXT:"*用* %1 *替换:* %0 ","Track changes":"跟踪更改"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/lang/translations/nl.po
CHANGED
|
@@ -38,7 +38,7 @@ msgstr "*Invoegen:* %0"
|
|
|
38
38
|
|
|
39
39
|
msgctxt "A suggestion for merging cells."
|
|
40
40
|
msgid "*Merge cells*"
|
|
41
|
-
msgstr ""
|
|
41
|
+
msgstr "*Cellen samenvoegen*"
|
|
42
42
|
|
|
43
43
|
msgctxt "A suggestion for merging items."
|
|
44
44
|
msgid "*Merge:* %0"
|
|
@@ -58,7 +58,7 @@ msgstr "*Verwijder opmaak:* %0"
|
|
|
58
58
|
|
|
59
59
|
msgctxt "A suggestion for removing the highlight."
|
|
60
60
|
msgid "*Remove highlight*"
|
|
61
|
-
msgstr ""
|
|
61
|
+
msgstr "Markering verwijderen"
|
|
62
62
|
|
|
63
63
|
msgctxt "A suggestion for removing image text alternative."
|
|
64
64
|
msgid "*Remove image text alternative*"
|
|
@@ -74,7 +74,7 @@ msgstr "*Verwijder:* %0"
|
|
|
74
74
|
|
|
75
75
|
msgctxt "A suggestion for replacing table cells (table pasting)."
|
|
76
76
|
msgid "*Replace table cells*"
|
|
77
|
-
msgstr ""
|
|
77
|
+
msgstr "*Tabel cellen vervangen*"
|
|
78
78
|
|
|
79
79
|
msgctxt "A suggestion for resetting the font background color."
|
|
80
80
|
msgid "*Reset font background color*"
|
|
@@ -114,7 +114,7 @@ msgstr "*Lettergrootte instellen:* %0"
|
|
|
114
114
|
|
|
115
115
|
msgctxt "A suggestion for highlighting text."
|
|
116
116
|
msgid "*Set highlight:* %0"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "*Markering instellen:* %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 "Opsommingslijst"
|
|
|
178
178
|
|
|
179
179
|
msgctxt "The caption element name displayed in the suggestion."
|
|
180
180
|
msgid "ELEMENT_CAPTION"
|
|
181
|
-
msgstr ""
|
|
181
|
+
msgstr "onderschrift"
|
|
182
182
|
|
|
183
183
|
msgctxt "The code block element name displayed in the suggestion."
|
|
184
184
|
msgid "ELEMENT_CODE_BLOCK"
|
|
@@ -195,8 +195,8 @@ msgstr[1] "%0 hoofdingen (niveau %1)"
|
|
|
195
195
|
msgctxt "The heading element name displayed in the suggestion with a custom title."
|
|
196
196
|
msgid "ELEMENT_HEADING_CUSTOM"
|
|
197
197
|
msgid_plural "%0 headings (%1)"
|
|
198
|
-
msgstr[0] ""
|
|
199
|
-
msgstr[1] ""
|
|
198
|
+
msgstr[0] "kop (%1)"
|
|
199
|
+
msgstr[1] "%0 koppen (%1)"
|
|
200
200
|
|
|
201
201
|
msgctxt "The horizontal line element name displayed in the suggestion."
|
|
202
202
|
msgid "ELEMENT_HORIZONTAL_LINE"
|
|
@@ -213,8 +213,8 @@ msgstr[1] "%0 afbeeldingen"
|
|
|
213
213
|
msgctxt "The inline image element name displayed in the suggestion."
|
|
214
214
|
msgid "ELEMENT_INLINE_IMAGE"
|
|
215
215
|
msgid_plural "%0 images"
|
|
216
|
-
msgstr[0] ""
|
|
217
|
-
msgstr[1] ""
|
|
216
|
+
msgstr[0] "afbeelding"
|
|
217
|
+
msgstr[1] "%0 afbeeldingen"
|
|
218
218
|
|
|
219
219
|
msgctxt "The line break element name displayed in the suggestion."
|
|
220
220
|
msgid "ELEMENT_LINE_BREAK"
|
|
@@ -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"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "34.
|
|
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/)",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
],
|
|
28
28
|
"main": "src/index.js",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"ckeditor5": "^34.
|
|
31
|
-
"ckeditor5-collaboration": "^34.
|
|
30
|
+
"ckeditor5": "^34.1.0",
|
|
31
|
+
"ckeditor5-collaboration": "^34.1.0",
|
|
32
32
|
"lodash-es": "^4.17.11"
|
|
33
33
|
}
|
|
34
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'));}}
|
|
@@ -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'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42b2=['unit','options','$graveyard','markerName','enableCommand','plugins','createSelection','delete','start','TrackChangesEditing','data','root','deleteForward','editing','batch','getFirstRange','addMarker:suggestion:deletion','showSuggestionHighlights','downcastDispatcher','buffer','lock','high','detach','createRange','uiElement','fromRange','end','editor','mapper','commands','selection','unbindElementFromMarkerName','document','isCollapsed','get','model','writer','removeMarker:suggestion:deletion','requires','enqueueChange','setSelection'];(function(_0x228876,_0x42b222){const _0x24e11f=function(_0x6397c4){while(--_0x6397c4){_0x228876['push'](_0x228876['shift']());}};_0x24e11f(++_0x42b222);}(_0x42b2,0xf5));const _0x24e1=function(_0x228876,_0x42b222){_0x228876=_0x228876-0x0;let _0x24e11f=_0x42b2[_0x228876];return _0x24e11f;};import{Plugin as _0x10b0fb}from'ckeditor5/src/core';import{Delete as _0x11af4d}from'ckeditor5/src/typing';import{LiveRange as _0x3b184d}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1aa55c}from'./utils';export default class F extends _0x10b0fb{static get[_0x24e1('0x27')](){return[_0x11af4d];}['init'](){const _0x56121d=this[_0x24e1('0x1c')],_0x9e68e1=_0x56121d[_0x24e1('0x6')][_0x24e1('0x23')](_0x24e1('0xa'));_0x9e68e1[_0x24e1('0x5')](_0x24e1('0x8'));const _0x420a2f=_0x56121d[_0x24e1('0x1e')][_0x24e1('0x23')](_0x24e1('0xd'));_0x9e68e1[_0x24e1('0x5')](_0x24e1('0xd'),(_0x490221,_0x3de92b={})=>{const _0x504c44=_0x56121d[_0x24e1('0x24')][_0x24e1('0x7')](_0x56121d[_0x24e1('0x24')][_0x24e1('0x21')][_0x24e1('0x1f')]);_0x504c44[_0x24e1('0x22')]&&_0x56121d[_0x24e1('0x24')]['modifySelection'](_0x504c44,{'direction':'forward','unit':_0x3de92b[_0x24e1('0x1')]});const _0x233e5c=_0x504c44[_0x24e1('0x10')](),_0x5d76e5=_0x3b184d[_0x24e1('0x1a')](_0x233e5c);let _0x5a5174;_0x490221(_0x3de92b),_0x5a5174=_0x24e1('0x3')==_0x5d76e5[_0x24e1('0xc')]['rootName']?_0x56121d[_0x24e1('0x24')][_0x24e1('0x18')](_0x233e5c[_0x24e1('0x9')]):_0x56121d[_0x24e1('0x24')]['createRange'](_0x5d76e5[_0x24e1('0x9')],_0x5d76e5[_0x24e1('0x1b')]),_0x5d76e5[_0x24e1('0x17')](),_0x56121d['model'][_0x24e1('0x28')](_0x420a2f[_0x24e1('0x14')][_0x24e1('0xf')],_0x2a1592=>{_0x420a2f[_0x24e1('0x14')][_0x24e1('0x15')](),_0x2a1592[_0x24e1('0x0')](_0x2a1592[_0x24e1('0x18')](_0x5a5174[_0x24e1('0x1b')])),_0x420a2f[_0x24e1('0x14')]['unlock']();});}),_0x56121d[_0x24e1('0xe')][_0x24e1('0x13')]['on'](_0x24e1('0x11'),_0x1aa55c(_0x56121d,'merge'),{'priority':_0x24e1('0x16')}),_0x56121d[_0x24e1('0xb')][_0x24e1('0x13')]['on'](_0x24e1('0x11'),(_0x5ed807,_0x5d4b99,_0x2ea9d8)=>{_0x2ea9d8[_0x24e1('0x2')][_0x24e1('0x12')]&&_0x1aa55c(_0x56121d,'merge',{'showActiveMarker':!0x1})(_0x5ed807,_0x5d4b99,_0x2ea9d8);},{'priority':_0x24e1('0x16')}),_0x56121d[_0x24e1('0xe')][_0x24e1('0x13')]['on'](_0x24e1('0x26'),(_0x1b8dad,_0x4d9568,_0x4d8bc5)=>{const _0x4301ae=_0x4d8bc5[_0x24e1('0x1d')]['markerNameToElements'](_0x4d9568[_0x24e1('0x4')]);if(_0x4301ae)for(const _0x9ae979 of _0x4301ae)_0x9ae979['is'](_0x24e1('0x19'))&&(_0x4d8bc5[_0x24e1('0x1d')][_0x24e1('0x20')](_0x9ae979,_0x4d9568[_0x24e1('0x4')]),_0x4d8bc5[_0x24e1('0x25')]['remove'](_0x9ae979));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x354d=['writer','downcastDispatcher','end','plugins','isAtEnd','model','start','schema','fromRange','TrackChangesEditing','mapper','markerName','requires','editing','createPositionAt','init','nextSibling','enter','markInsertion','addMarker:suggestion:insertion','unbindElementFromMarkerName','markerNameToElements','options','createRange','isLimit','setSelection','parent','high','document','detach','removeMarker:suggestion:insertion','selection','getFirstRange','remove','get','data','isCollapsed','hasClass'];(function(_0x53ac20,_0x354d6d){const _0x26d1b9=function(_0x4bc9dc){while(--_0x4bc9dc){_0x53ac20['push'](_0x53ac20['shift']());}};_0x26d1b9(++_0x354d6d);}(_0x354d,0x1c3));const _0x26d1=function(_0x53ac20,_0x354d6d){_0x53ac20=_0x53ac20-0x0;let _0x26d1b9=_0x354d[_0x53ac20];return _0x26d1b9;};import{Plugin as _0x21ba5c}from'ckeditor5/src/core';import{Enter as _0x28130e}from'ckeditor5/src/enter';import{LiveRange as _0x48b072}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4bd0c5}from'./utils';export default class L extends _0x21ba5c{static get[_0x26d1('0x11')](){return[_0x28130e];}[_0x26d1('0x14')](){const _0x2d4790=this['editor'],_0x377e07=_0x2d4790[_0x26d1('0x8')][_0x26d1('0x1')](_0x26d1('0xe'));_0x377e07['enableCommand'](_0x26d1('0x16'),_0x1f3105=>{_0x2d4790[_0x26d1('0xa')]['change'](_0x25e0bb=>{const _0x2686c8=_0x2d4790[_0x26d1('0xa')][_0x26d1('0x21')][_0x26d1('0x24')],_0x4c6144=_0x2686c8['getFirstPosition'](),_0x29b345=_0x2686c8[_0x26d1('0x3')],_0x2bb750=_0x48b072[_0x26d1('0xd')](_0x2686c8[_0x26d1('0x25')]()),_0x49cd72=_0x2bb750[_0x26d1('0xb')][_0x26d1('0x1f')],_0x4fbbd3=_0x2bb750[_0x26d1('0x7')][_0x26d1('0x1f')],_0x5c38ff=!(_0x2bb750['start']['isAtStart']&&_0x2bb750[_0x26d1('0x7')][_0x26d1('0x9')]),_0x11f94d=_0x49cd72==_0x4fbbd3,_0x5b2b4e=!(_0x2d4790[_0x26d1('0xa')][_0x26d1('0xc')][_0x26d1('0x1d')](_0x49cd72)||_0x2d4790[_0x26d1('0xa')]['schema'][_0x26d1('0x1d')](_0x4fbbd3))&&(_0x29b345||_0x5c38ff&&_0x11f94d);if(_0x1f3105(),_0x5b2b4e){const _0x7e2550=_0x2d4790[_0x26d1('0xa')][_0x26d1('0x13')](_0x4c6144[_0x26d1('0x1f')][_0x26d1('0x15')],0x0),_0x387c53=_0x25e0bb[_0x26d1('0x1c')](_0x4c6144,_0x7e2550);_0x377e07[_0x26d1('0x17')](_0x387c53);}else _0x25e0bb[_0x26d1('0x1e')](_0x25e0bb['createRange'](_0x2bb750[_0x26d1('0x7')]));_0x2bb750[_0x26d1('0x22')]();});}),_0x2d4790[_0x26d1('0x12')][_0x26d1('0x6')]['on'](_0x26d1('0x18'),_0x4bd0c5(_0x2d4790,'split'),{'priority':_0x26d1('0x20')}),_0x2d4790[_0x26d1('0x12')][_0x26d1('0x6')]['on'](_0x26d1('0x23'),(_0x353abe,_0x2f82a6,_0x5b67ba)=>{const _0x49524d=_0x5b67ba[_0x26d1('0xf')][_0x26d1('0x1a')](_0x2f82a6[_0x26d1('0x10')]);if(_0x49524d)for(const _0x2d7aeb of _0x49524d)_0x2d7aeb[_0x26d1('0x4')]('ck-suggestion-marker-split')&&(_0x5b67ba[_0x26d1('0xf')][_0x26d1('0x19')](_0x2d7aeb,_0x2f82a6['markerName']),_0x5b67ba[_0x26d1('0x5')][_0x26d1('0x0')](_0x2d7aeb));},{'priority':_0x26d1('0x20')}),_0x2d4790[_0x26d1('0x2')][_0x26d1('0x6')]['on'](_0x26d1('0x18'),(_0x29ec5a,_0x56c78e,_0x257cc4)=>{_0x257cc4[_0x26d1('0x1b')]['showSuggestionHighlights']&&_0x4bd0c5(_0x2d4790,'split',{'showActiveMarker':!0x1})(_0x29ec5a,_0x56c78e,_0x257cc4);},{'priority':_0x26d1('0x20')});}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x2cbf=['TrackChangesEditing','FontSizeEditing','getRanges','_enableCommand','trim','*Reset\x20font\x20size*','normalizeSizeOptions','format','fontColor','toLowerCase','has','markInlineFormat','plugins','find','commandParams','*Reset\x20font\x20background\x20color*','change','*Set\x20font\x20family:*\x20%0','afterInit','*Set\x20font\x20color:*\x20%0','_descriptionFactory','from','config','FontBackgroundColorEditing','fontBackgroundColor','registerDescriptionCallback','enableCommand','fontBackgroundColor.colors','value','model','get','commandName','FontFamilyEditing','title','*Set\x20font\x20background\x20color:*\x20%0','document','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20family*','fontSize','fontSize.options','locale','FontColorEditing','editor','*Reset\x20font\x20color*','fontFamily'];(function(_0x6cabdf,_0x2cbf10){const _0x14365=function(_0x2ceb6d){while(--_0x2ceb6d){_0x6cabdf['push'](_0x6cabdf['shift']());}};_0x14365(++_0x2cbf10);}(_0x2cbf,0x80));const _0x1436=function(_0x6cabdf,_0x2cbf10){_0x6cabdf=_0x6cabdf-0x0;let _0x14365=_0x2cbf[_0x6cabdf];return _0x14365;};import{Plugin as _0x1dad17}from'ckeditor5/src/core';import{normalizeColorOptions as _0x21c257}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5cc7da}from'./utils';import{getTranslation as _0x3b7f09}from'../utils/common-translations';const zt=[{'pluginName':_0x1436('0x8'),'commandName':_0x1436('0x0')},{'pluginName':_0x1436('0x27'),'commandName':_0x1436('0x6')},{'pluginName':_0x1436('0x3'),'commandName':'fontColor'},{'pluginName':_0x1436('0x1e'),'commandName':'fontBackgroundColor'}];export default class q extends _0x1dad17{[_0x1436('0x19')](){const _0x2828a8=this[_0x1436('0x4')][_0x1436('0x2')];for(const {pluginName:_0xe0ba8b,commandName:_0x38f825}of zt)this[_0x1436('0x4')][_0x1436('0x13')][_0x1436('0x11')](_0xe0ba8b)&&this['_enableCommand'](_0x38f825);this[_0x1436('0x4')]['plugins'][_0x1436('0x25')](_0x1436('0x7'))[_0x1436('0x1b')][_0x1436('0x20')](_0x31ce7d=>{const {data:_0xe3e4cd}=_0x31ce7d;if(null!=_0xe3e4cd){if(_0x1436('0x0')==_0xe3e4cd[_0x1436('0x26')]){const _0x1addd5=_0xe3e4cd[_0x1436('0x15')][0x0][_0x1436('0x23')];if(_0x1addd5){const _0x3032f3=this[_0x1436('0x4')][_0x1436('0x13')][_0x1436('0x25')]('FontSize')[_0x1436('0xd')](this['editor'][_0x1436('0x1d')][_0x1436('0x25')](_0x1436('0x1')))[_0x1436('0x14')](_0x1ea3b6=>_0x1ea3b6['model']==_0x1addd5)[_0x1436('0x28')],_0x49a518=this[_0x1436('0x4')][_0x1436('0x2')]['_t'](_0x3032f3)[_0x1436('0x10')]();return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x2b'),_0x49a518)};}return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0xc'))};}if(_0x1436('0x6')==_0xe3e4cd['commandName']){const _0x145431=_0xe3e4cd[_0x1436('0x15')][0x0][_0x1436('0x23')];return _0x145431?{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x18'),_0x145431)}:{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x2c'))};}if(_0x1436('0xf')==_0xe3e4cd[_0x1436('0x26')]){const _0xd876=_0xe3e4cd[_0x1436('0x15')][0x0]['value'];if(_0xd876){const _0x4fa969=_0x21c257(this[_0x1436('0x4')]['config']['get']('fontColor.colors'))[_0x1436('0x14')](_0x3568a9=>_0x3568a9[_0x1436('0x24')]==_0xd876);let _0x21bb41=_0xd876,_0x5e830e='';return _0x4fa969&&(_0x21bb41=_0x4fa969['label'],_0x5e830e=_0x2828a8['_t'](_0x21bb41)[_0x1436('0x10')]()),{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x1a'),_0x5e830e)[_0x1436('0xb')](),'color':{'value':_0xd876,'title':_0x5e830e||_0x21bb41}};}return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x5'))};}if(_0x1436('0x1f')==_0xe3e4cd[_0x1436('0x26')]){const _0x2c0981=_0xe3e4cd['commandParams'][0x0][_0x1436('0x23')];if(_0x2c0981){const _0x1561d0=_0x21c257(this[_0x1436('0x4')][_0x1436('0x1d')][_0x1436('0x25')](_0x1436('0x22')))[_0x1436('0x14')](_0x3f0838=>_0x3f0838['model']==_0x2c0981);let _0x59c328=_0x2c0981,_0x3ca64e='';return _0x1561d0&&(_0x59c328=_0x1561d0['label'],_0x3ca64e=_0x2828a8['_t'](_0x59c328)[_0x1436('0x10')]()),{'type':'format','content':_0x3b7f09(_0x2828a8,_0x1436('0x29'),_0x3ca64e)[_0x1436('0xb')](),'color':{'value':_0x2c0981,'title':_0x3ca64e||_0x59c328}};}return{'type':'format','content':_0x3b7f09(_0x2828a8,_0x1436('0x16'))};}}});}[_0x1436('0xa')](_0x46f259){const _0x1c9a9b=this['editor'];_0x1c9a9b['plugins'][_0x1436('0x25')](_0x1436('0x7'))[_0x1436('0x21')](_0x46f259,(_0x42f7eb,_0x5a9d49={})=>{const _0x23ecf2=_0x1c9a9b[_0x1436('0x24')][_0x1436('0x2a')]['selection'],_0x4a163c=_0x5a9d49[_0x1436('0x23')];_0x23ecf2['isCollapsed']?_0x42f7eb(_0x5a9d49):_0x1c9a9b[_0x1436('0x24')][_0x1436('0x17')](()=>{const _0x368d8f=Array[_0x1436('0x1c')](_0x23ecf2[_0x1436('0x9')]());for(const _0x389d64 of _0x368d8f){const _0x1c2072=_0x4a163c?[_0x389d64]:_0x5cc7da(_0x46f259,_0x389d64,_0x1c9a9b[_0x1436('0x24')]);for(const _0x147dda of _0x1c2072)_0x1c9a9b['plugins']['get'](_0x1436('0x7'))[_0x1436('0x12')](_0x147dda,{'commandName':_0x46f259,'commandParams':[{'value':_0x4a163c}]});}});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x43fb=['ELEMENT_HEADING_CUSTOM','format','checkChild','config','blockName','value','has','*Change\x20to:*\x20%0','commandParams','match','parent','filter','heading','name','get','editor','markBlockFormat','heading.options','TrackChangesEditing','registerDescriptionCallback','registerElementLabel','plugins','_descriptionFactory','ELEMENT_HEADING','change','from','enableCommand','model','document','title','isObject','locale','commandName','find','HeadingEditing'];(function(_0x5b0423,_0x43fb1c){const _0x30e79c=function(_0x1eac43){while(--_0x1eac43){_0x5b0423['push'](_0x5b0423['shift']());}};_0x30e79c(++_0x43fb1c);}(_0x43fb,0x1e2));const _0x30e7=function(_0x5b0423,_0x43fb1c){_0x5b0423=_0x5b0423-0x0;let _0x30e79c=_0x43fb[_0x5b0423];return _0x30e79c;};import{Plugin as _0x2fd95d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5d67f3}from'./utils';import{getTranslation as _0x26633}from'../utils/common-translations';export default class H extends _0x2fd95d{['afterInit'](){const _0x57393a=this['editor'],_0x30ad04=_0x57393a[_0x30e7('0x4')],_0x4a79b0=_0x57393a[_0x30e7('0xb')][_0x30e7('0x16')](_0x30e7('0x19'));if(!_0x57393a[_0x30e7('0x1d')][_0x30e7('0xe')](_0x30e7('0x7')))return;const _0x5186a0=_0x57393a[_0x30e7('0x1d')][_0x30e7('0x16')](_0x30e7('0x1a'));_0x5186a0[_0x30e7('0x22')](_0x30e7('0x14'),(_0x5a4ad7,_0x41a384)=>{const _0x2725c2=_0x41a384['value'],_0x1bb000=Array[_0x30e7('0x21')](this['editor'][_0x30e7('0x0')][_0x30e7('0x1')]['selection']['getSelectedBlocks']())[_0x30e7('0x13')](_0x26e40c=>function(_0x4a1dd9,_0x10ef6c,_0xf10ef9){return _0xf10ef9[_0x30e7('0xa')](_0x4a1dd9[_0x30e7('0x12')],_0x10ef6c)&&!_0xf10ef9[_0x30e7('0x3')](_0x4a1dd9)&&_0x4a1dd9[_0x30e7('0x15')]!=_0x10ef6c;}(_0x26e40c,_0x2725c2,this[_0x30e7('0x17')]['model']['schema']));_0x57393a[_0x30e7('0x0')][_0x30e7('0x20')](()=>{for(const _0x5d8384 of _0x1bb000)_0x5186a0[_0x30e7('0x18')](_0x5d8384,{'commandName':_0x30e7('0x14'),'commandParams':[_0x41a384],'formatGroupId':_0x30e7('0xc')},_0x5d67f3(_0x5d8384));});});for(const _0x5eea1d of _0x4a79b0)'paragraph'!=_0x5eea1d[_0x30e7('0x0')]&&_0x5186a0[_0x30e7('0x1e')][_0x30e7('0x1c')](_0x5eea1d[_0x30e7('0x0')],_0x135e21=>{const _0x43d837=Ht(_0x5eea1d[_0x30e7('0x0')]);return null!==_0x43d837?_0x378071(_0x135e21,_0x43d837):_0x3ff5df(_0x135e21,_0x5eea1d['title']);});function _0x378071(_0x544200,_0x310bd5){return _0x26633(_0x30ad04,_0x30e7('0x1f'),[_0x544200,_0x310bd5]);}function _0x3ff5df(_0x1ac647,_0x536f0e){return _0x26633(_0x30ad04,_0x30e7('0x8'),[_0x1ac647,_0x536f0e]);}_0x5186a0[_0x30e7('0x1e')][_0x30e7('0x1b')](_0x3c0b69=>{const {type:_0x468d22,data:_0x4b176c}=_0x3c0b69;if('formatBlock'==_0x468d22&&_0x4b176c&&'heading'==_0x4b176c[_0x30e7('0x5')]){const _0x9f701=_0x4b176c[_0x30e7('0x10')][0x0][_0x30e7('0xd')],_0x590297=Ht(_0x9f701);if(null!==_0x590297)return{'type':_0x30e7('0x9'),'content':_0x26633(_0x30ad04,_0x30e7('0xf'),_0x378071(0x1,_0x590297))};const _0x2f1c89=_0x4a79b0[_0x30e7('0x6')](_0x2ce1f3=>_0x2ce1f3['model']===_0x9f701)[_0x30e7('0x2')];return{'type':_0x30e7('0x9'),'content':_0x26633(_0x30ad04,_0x30e7('0xf'),_0x3ff5df(0x1,_0x2f1c89))};}});}}function Ht(_0x109d51){const _0x45abfa=_0x109d51[_0x30e7('0x11')](/^heading(\d+)$/);return _0x45abfa?_0x45abfa[0x1]:null;}
|