@ckeditor/ckeditor5-track-changes 41.0.0 → 41.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/build/track-changes.js +1 -1
- package/build/translations/ro.js +1 -1
- package/lang/translations/ro.po +1 -1
- 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/aiassistant.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/casechange.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/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/imagestyle.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/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.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/build/translations/ro.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const i=e.ro=e.ro||{};i.dictionary=Object.assign(i.dictionary||{},{"*Change %0 content*":"*Modificare conținut %0*","*Change to:* %0":"*Modificare în:* %0","*Check item*":"*Verificare element*","*Format:* %0":"*Formatare:* %0","*Format:* change table cell properties":"*Format:* modifică proprietățile celulei tabelului","*Format:* change table properties":"*Format:* modifică proprietățile tabelului","*Format:* insert into %0":"*Formatare:* inserare în %0","*Format:* remove from %0":"*Formatare:* eliminare din %0","*Format:* resize table":"*Formatare:* redimensionare tabel","*Format:* set order to regular":"*Formatare:* ordine de sortare normală","*Format:* set order to reversed":"*Formatare:* ordine de sortare inversată","*Format:* set start index to %0":"*Formatare:* setarea indicelui de start la %0","*Indent:* %0":"*Indentare:* %0","*Insert:* %0":"*Inserare:* %0","*Merge cells*":"*Îmbinare celule*","*Merge:* %0":"*Îmbinare:* %0","*Outdent:* %0":"*Indentare Negativă:* %0","*Remove all formatting*":"*Eliminarea întregii formatări*","*Remove format:* %0":"*Eliminare formatare:* %0","*Remove highlight*":"*Eliminare evidențiere*","*Remove image text alternative*":"*Eliminare text alternativ imagine*","*Remove link*":"*Eliminare link*","*Remove:* %0":"*Eliminare:* %0","*Replace image URL*":"*Înlocuire URL imagine*","*Replace table cells*":"*Înlocuire celule tabel*","*Reset font background color*":"*Resetare culoare fundal caractere*","*Reset font color*":"*Resetare culoare caractere*","*Reset font family*":"*Resetare familie caractere*","*Reset font size*":"*Resetare dimensiune caractere*","*Reset image width*":"*Resetare lățime imagine*","*Set font background color:* %0":"*Configurare culoare fundal caractere:* %0","*Set font color:* %0":"*Configurare culoare caractere:* %0","*Set font family:* %0":"*Configurare familie caractere:* %0","*Set font size:* %0":"*Configurare dimensiune caractere:* %0","*Set format to:* %0":"*Alegere format:* %0","*Set format:* %0":"*Setează formatarea:* %0","*Set highlight:* %0":"*Configurare evidențiere:* %0","*Set image text alternative:* %0":"*Configurare text alternativ imagine:* %0","*Set image width:* %0":"*Configurare lățime imagine:* %0","*Set link:* %0":"*Configurare link:* %0","*Split cell:* horizontally":"*Scindare celulă:* pe orizontală","*Split cell:* vertically":"*Scindare celulă:* pe verticală","*Split:* %0":"*Scindare:* %0","*Uncheck item*":"*Debifare element*","Accept all selected suggestions":"Acceptați toate sugestiile selectate","Accept all suggestions":"Acceptați toate sugestiile","Accept suggestion":"Acceptare sugestie","Discard all selected suggestions":"Respingeți toate sugestiile selectate","Discard all suggestions":"Respingeți toate sugestiile","Discard suggestion":"Respingere sugestie",ELEMENT_BLOCK_QUOTE:"bloc de citat",ELEMENT_BULLETED_LIST:"listă cu marcatori",ELEMENT_BULLETED_LIST_CIRCLE:"listă cu marcatori (cerc)",ELEMENT_BULLETED_LIST_DEFAULT:"listă cu buline (implicit)",ELEMENT_BULLETED_LIST_DISC:"listă cu marcatori (disc)",ELEMENT_BULLETED_LIST_SQUARE:"listă cu marcatori (pătrat)",ELEMENT_CAPTION:"legendă",ELEMENT_CODE_BLOCK:["bloc de cod","0% blocuri de cod","0% de blocuri de cod"],ELEMENT_HEADING:["antet (nivel %1)","0% antet (niveluri %1)","0% antet (de niveluri %1)"],ELEMENT_HEADING_CUSTOM:["antet (%1)","0% anteturi (%1)","0% de anteturi (%1)"],ELEMENT_HORIZONTAL_LINE:["linie orizontală","0% linii orizontale","0% de linii orizontale"],ELEMENT_HTML_EMBED:["încorporare HTML","0% încorporări HTML","0% de încorporări HTML"],ELEMENT_IMAGE:["imagine","0% imagini","0% de imagini"],ELEMENT_INLINE_IMAGE:["imagine","0% imagini","0% de imagini"],ELEMENT_LINE_BREAK:["sfârșit de linie","0% sfârșituri de linie","0% de sfârșituri de linie"],ELEMENT_LIST_ITEM:["element listă","0% elemente listă","0% de elemente listă"],ELEMENT_MEDIA:["element media","0% elemente media","0% de elemente media"],ELEMENT_NUMBERED_LIST:"listă numerotată",ELEMENT_NUMBERED_LIST_DECIMAL:"listă numerotată (cifre arabe)",ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO:"listă numerotată (cifre arabe cu zero inițial)",ELEMENT_NUMBERED_LIST_DEFAULT:"listă numerotată (implicit)",ELEMENT_NUMBERED_LIST_LOWER_LATIN:"listă numerotată (litere minuscule)",ELEMENT_NUMBERED_LIST_LOWER_ROMAN:"listă numerotată (cifre romane minuscule)",ELEMENT_NUMBERED_LIST_UPPER_LATIN:"listă numerotată (litere majuscule)",ELEMENT_NUMBERED_LIST_UPPER_ROMAN:"listă numerotată (cifre romane majuscule)",ELEMENT_PAGE_BREAK:["sfârșit de pagină","0% sfârșituri de pagină","0% de sfârșituri de pagină"],ELEMENT_PARAGRAPH:["paragraf","0% paragrafe","0% de paragrafe"],ELEMENT_SPACE:["spațiu","0% spații","0% de spații"],ELEMENT_TABLE:["tabel","0% tabele","0% de tabele"],ELEMENT_TABLE_COLUMN:["coloană de tabel","0% coloane de tabel","0% de coloane de tabel"],ELEMENT_TABLE_COLUMN_WITH_TEXT:["coloană de tabel *cu text* %1","0% coloane de tabel *cu text* %1","0% de coloane de tabel *cu text* %1"],ELEMENT_TABLE_OF_CONTENTS:["cuprins","cuprins","cuprins"],ELEMENT_TABLE_ROW:["rând de tabel","0% rânduri de tabel","0% de rânduri de tabel"],ELEMENT_TABLE_ROW_WITH_TEXT:["rând de tabel *cu text* %1","0% rânduri de tabel *cu text* %1","0% de rânduri de tabel *cu text* %1"],ELEMENT_TABLE_WITH_TEXT:"tabel *cu text* %0",ELEMENT_TITLE:"titlu",ELEMENT_TODO_LIST:"listă de sarcini",ENTER_DELETION_SUGGESTION_ANNOUNCEMENT:"Introducere sugestie de ștergere.",ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT:"Introducere sugestie de formatare.",ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT:"Introducere sugestie de inserare.",EXTERNAL_IMPORT_WORD_SUGGESTION:"Această sugestie provine dintr-un fișier Word importat.",EXTERNAL_SUGGESTION:"Această sugestie provine dintr-o sursă externă.",FORMAT_ALIGN_TO_CENTER:"aliniere la centru",FORMAT_ALIGN_TO_LEFT:"aliniere la stânga",FORMAT_ALIGN_TO_RIGHT:"aliniere la dreapta",FORMAT_ALIGNMENT:"aliniere",FORMAT_BOLD:"aldin",FORMAT_CODE:"cod",FORMAT_FONT_BACKGROUND:"culoarea de fundal a fontului",FORMAT_FONT_COLOR:"culoarea fontului",FORMAT_FONT_FAMILY:"familia de fonturi",FORMAT_FONT_SIZE:"mărimea fontului",FORMAT_HEADER_COLUMN:"coloană antet",FORMAT_HEADER_ROW:"rând antet",FORMAT_HIGHLIGHT:"evidențiere",FORMAT_IMAGE_SIZE:"dimensiunea imaginii",FORMAT_INDENT:"indentare",FORMAT_ITALIC:"cursiv",FORMAT_JUSTIFY_TEXT:"aliniere stânga-dreapta",FORMAT_LIST_REVERSED:"listă inversată",FORMAT_LIST_START:"începutul listei",FORMAT_REGULAR_COLUMN:"coloană obișnuită",FORMAT_REGULAR_ROW:"rând obișnuit",FORMAT_RESTRICTED_DISABLED:"*Dezactivare în modul de editare restricționat*",FORMAT_RESTRICTED_ENABLED:"*Activare în modul de editare restricționat*",FORMAT_SIDE_IMAGE:"imagine laterală",FORMAT_STRIKETHROUGH:"tăiere cu o linie",FORMAT_STYLE:"stil",FORMAT_SUBSCRIPT:"indice",FORMAT_SUPERSCRIPT:"exponent",FORMAT_UNDERLINE:"subliniere",LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT:"Lăsare sugestie de ștergere.",LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT:"Lăsare sugestie de formatare.",LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT:"Lăsare sugestie de inserare.",PENDING_ACTION_SUGGESTION:"Modificare nesalvată în sugestie.",REPLACE_TEXT:"*Înlocuire:* %0 *cu* %1","Track changes":"Urmărire modificări"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(e){const i=e.ro=e.ro||{};i.dictionary=Object.assign(i.dictionary||{},{"*Change %0 content*":"*Modificare conținut %0*","*Change to:* %0":"*Modificare în:* %0","*Check item*":"*Verificare element*","*Format:* %0":"*Formatare:* %0","*Format:* change table cell properties":"*Format:* modifică proprietățile celulei tabelului","*Format:* change table properties":"*Format:* modifică proprietățile tabelului","*Format:* insert into %0":"*Formatare:* inserare în %0","*Format:* remove from %0":"*Formatare:* eliminare din %0","*Format:* resize table":"*Formatare:* redimensionare tabel","*Format:* set order to regular":"*Formatare:* ordine de sortare normală","*Format:* set order to reversed":"*Formatare:* ordine de sortare inversată","*Format:* set start index to %0":"*Formatare:* setarea indicelui de start la %0","*Indent:* %0":"*Indentare:* %0","*Insert:* %0":"*Inserare:* %0","*Merge cells*":"*Îmbinare celule*","*Merge:* %0":"*Îmbinare:* %0","*Outdent:* %0":"*Indentare Negativă:* %0","*Remove all formatting*":"*Eliminarea întregii formatări*","*Remove format:* %0":"*Eliminare formatare:* %0","*Remove highlight*":"*Eliminare evidențiere*","*Remove image text alternative*":"*Eliminare text alternativ imagine*","*Remove link*":"*Eliminare link*","*Remove:* %0":"*Eliminare:* %0","*Replace image URL*":"*Înlocuire URL imagine*","*Replace table cells*":"*Înlocuire celule tabel*","*Reset font background color*":"*Resetare culoare fundal caractere*","*Reset font color*":"*Resetare culoare caractere*","*Reset font family*":"*Resetare familie caractere*","*Reset font size*":"*Resetare dimensiune caractere*","*Reset image width*":"*Resetare lățime imagine*","*Set font background color:* %0":"*Configurare culoare fundal caractere:* %0","*Set font color:* %0":"*Configurare culoare caractere:* %0","*Set font family:* %0":"*Configurare familie caractere:* %0","*Set font size:* %0":"*Configurare dimensiune caractere:* %0","*Set format to:* %0":"*Alegere format:* %0","*Set format:* %0":"*Setează formatarea:* %0","*Set highlight:* %0":"*Configurare evidențiere:* %0","*Set image text alternative:* %0":"*Configurare text alternativ imagine:* %0","*Set image width:* %0":"*Configurare lățime imagine:* %0","*Set link:* %0":"*Configurare link:* %0","*Split cell:* horizontally":"*Scindare celulă:* pe orizontală","*Split cell:* vertically":"*Scindare celulă:* pe verticală","*Split:* %0":"*Scindare:* %0","*Uncheck item*":"*Debifare element*","Accept all selected suggestions":"Acceptați toate sugestiile selectate","Accept all suggestions":"Acceptați toate sugestiile","Accept suggestion":"Acceptare sugestie","Discard all selected suggestions":"Respingeți toate sugestiile selectate","Discard all suggestions":"Respingeți toate sugestiile","Discard suggestion":"Respingere sugestie",ELEMENT_BLOCK_QUOTE:"bloc de citat",ELEMENT_BULLETED_LIST:"listă cu marcatori",ELEMENT_BULLETED_LIST_CIRCLE:"listă cu marcatori (cerc)",ELEMENT_BULLETED_LIST_DEFAULT:"listă cu buline (implicit)",ELEMENT_BULLETED_LIST_DISC:"listă cu marcatori (disc)",ELEMENT_BULLETED_LIST_SQUARE:"listă cu marcatori (pătrat)",ELEMENT_CAPTION:"legendă",ELEMENT_CODE_BLOCK:["bloc de cod","0% blocuri de cod","0% de blocuri de cod"],ELEMENT_HEADING:["antet (nivel %1)","0% antet (niveluri %1)","0% antet (de niveluri %1)"],ELEMENT_HEADING_CUSTOM:["antet (%1)","0% anteturi (%1)","0% de anteturi (%1)"],ELEMENT_HORIZONTAL_LINE:["linie orizontală","0% linii orizontale","0% de linii orizontale"],ELEMENT_HTML_EMBED:["încorporare HTML","0% încorporări HTML","0% de încorporări HTML"],ELEMENT_IMAGE:["imagine","0% imagini","0% de imagini"],ELEMENT_INLINE_IMAGE:["imagine","0% imagini","0% de imagini"],ELEMENT_LINE_BREAK:["sfârșit de linie","0% sfârșituri de linie","0% de sfârșituri de linie"],ELEMENT_LIST_ITEM:["element listă","0% elemente listă","0% de elemente listă"],ELEMENT_MEDIA:["element media","0% elemente media","0% de elemente media"],ELEMENT_NUMBERED_LIST:"listă numerotată",ELEMENT_NUMBERED_LIST_DECIMAL:"listă numerotată (cifre arabe)",ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO:"listă numerotată (cifre arabe cu zero inițial)",ELEMENT_NUMBERED_LIST_DEFAULT:"listă numerotată (implicit)",ELEMENT_NUMBERED_LIST_LOWER_LATIN:"listă numerotată (litere minuscule)",ELEMENT_NUMBERED_LIST_LOWER_ROMAN:"listă numerotată (cifre romane minuscule)",ELEMENT_NUMBERED_LIST_UPPER_LATIN:"listă numerotată (litere majuscule)",ELEMENT_NUMBERED_LIST_UPPER_ROMAN:"listă numerotată (cifre romane majuscule)",ELEMENT_PAGE_BREAK:["sfârșit de pagină","0% sfârșituri de pagină","0% de sfârșituri de pagină"],ELEMENT_PARAGRAPH:["paragraf","0% paragrafe","0% de paragrafe"],ELEMENT_SPACE:["spațiu","0% spații","0% de spații"],ELEMENT_TABLE:["tabel","0% tabele","0% de tabele"],ELEMENT_TABLE_COLUMN:["coloană de tabel","0% coloane de tabel","0% de coloane de tabel"],ELEMENT_TABLE_COLUMN_WITH_TEXT:["coloană de tabel *cu text* %1","0% coloane de tabel *cu text* %1","0% de coloane de tabel *cu text* %1"],ELEMENT_TABLE_OF_CONTENTS:["cuprins","cuprins","0% de cuprins"],ELEMENT_TABLE_ROW:["rând de tabel","0% rânduri de tabel","0% de rânduri de tabel"],ELEMENT_TABLE_ROW_WITH_TEXT:["rând de tabel *cu text* %1","0% rânduri de tabel *cu text* %1","0% de rânduri de tabel *cu text* %1"],ELEMENT_TABLE_WITH_TEXT:"tabel *cu text* %0",ELEMENT_TITLE:"titlu",ELEMENT_TODO_LIST:"listă de sarcini",ENTER_DELETION_SUGGESTION_ANNOUNCEMENT:"Introducere sugestie de ștergere.",ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT:"Introducere sugestie de formatare.",ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT:"Introducere sugestie de inserare.",EXTERNAL_IMPORT_WORD_SUGGESTION:"Această sugestie provine dintr-un fișier Word importat.",EXTERNAL_SUGGESTION:"Această sugestie provine dintr-o sursă externă.",FORMAT_ALIGN_TO_CENTER:"aliniere la centru",FORMAT_ALIGN_TO_LEFT:"aliniere la stânga",FORMAT_ALIGN_TO_RIGHT:"aliniere la dreapta",FORMAT_ALIGNMENT:"aliniere",FORMAT_BOLD:"aldin",FORMAT_CODE:"cod",FORMAT_FONT_BACKGROUND:"culoarea de fundal a fontului",FORMAT_FONT_COLOR:"culoarea fontului",FORMAT_FONT_FAMILY:"familia de fonturi",FORMAT_FONT_SIZE:"mărimea fontului",FORMAT_HEADER_COLUMN:"coloană antet",FORMAT_HEADER_ROW:"rând antet",FORMAT_HIGHLIGHT:"evidențiere",FORMAT_IMAGE_SIZE:"dimensiunea imaginii",FORMAT_INDENT:"indentare",FORMAT_ITALIC:"cursiv",FORMAT_JUSTIFY_TEXT:"aliniere stânga-dreapta",FORMAT_LIST_REVERSED:"listă inversată",FORMAT_LIST_START:"începutul listei",FORMAT_REGULAR_COLUMN:"coloană obișnuită",FORMAT_REGULAR_ROW:"rând obișnuit",FORMAT_RESTRICTED_DISABLED:"*Dezactivare în modul de editare restricționat*",FORMAT_RESTRICTED_ENABLED:"*Activare în modul de editare restricționat*",FORMAT_SIDE_IMAGE:"imagine laterală",FORMAT_STRIKETHROUGH:"tăiere cu o linie",FORMAT_STYLE:"stil",FORMAT_SUBSCRIPT:"indice",FORMAT_SUPERSCRIPT:"exponent",FORMAT_UNDERLINE:"subliniere",LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT:"Lăsare sugestie de ștergere.",LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT:"Lăsare sugestie de formatare.",LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT:"Lăsare sugestie de inserare.",PENDING_ACTION_SUGGESTION:"Modificare nesalvată în sugestie.",REPLACE_TEXT:"*Înlocuire:* %0 *cu* %1","Track changes":"Urmărire modificări"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/lang/translations/ro.po
CHANGED
|
@@ -418,7 +418,7 @@ msgid "ELEMENT_TABLE_OF_CONTENTS"
|
|
|
418
418
|
msgid_plural "%0 tables of contents"
|
|
419
419
|
msgstr[0] "cuprins"
|
|
420
420
|
msgstr[1] "cuprins"
|
|
421
|
-
msgstr[2] "cuprins"
|
|
421
|
+
msgstr[2] "0% de cuprins"
|
|
422
422
|
|
|
423
423
|
msgctxt "The table row element name displayed in the suggestion."
|
|
424
424
|
msgid "ELEMENT_TABLE_ROW"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "41.
|
|
3
|
+
"version": "41.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/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "41.
|
|
44
|
-
"ckeditor5-collaboration": "41.
|
|
43
|
+
"ckeditor5": "41.1.0",
|
|
44
|
+
"ckeditor5-collaboration": "41.1.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5510=['plugins','acceptSuggestion','refresh','model','execute','isEnabled','_isEnabledBasedOnSelection','get','editor','track-changes-accept-suggestion-not-found','getRanges','_suggestions','TrackChangesEditing'];(function(_0xa0cfa9,_0x5510a2){const _0x3f1658=function(_0x5494b4){while(--_0x5494b4){_0xa0cfa9['push'](_0xa0cfa9['shift']());}};_0x3f1658(++_0x5510a2);}(_0x5510,0x8e));const _0x3f16=function(_0xa0cfa9,_0x5510a2){_0xa0cfa9=_0xa0cfa9-0x0;let _0x3f1658=_0x5510[_0xa0cfa9];return _0x3f1658;};import{Command as _0x1d458b}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b59eb}from'ckeditor5/src/utils.js';export default class $ extends _0x1d458b{constructor(_0x4decd4,_0x1f0d7e){super(_0x4decd4),this['_suggestions']=_0x1f0d7e,this[_0x3f16('0x3')](),this[_0x3f16('0x7')]=!0x1;}[_0x3f16('0x3')](){this[_0x3f16('0x6')]=!0x0;}[_0x3f16('0x5')](_0xa6222c){const _0x4caa43=this[_0x3f16('0xc')][_0x3f16('0x8')](_0xa6222c);if(!_0x4caa43)throw new _0x3b59eb(_0x3f16('0xa'),this);const _0x5ce704=_0x4caa43[_0x3f16('0xb')]();this[_0x3f16('0x9')][_0x3f16('0x4')]['canEditAt'](_0x5ce704)&&this[_0x3f16('0x9')][_0x3f16('0x1')][_0x3f16('0x8')](_0x3f16('0x0'))[_0x3f16('0x2')](_0x4caa43);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e1d=['getRanges','editor','refresh','discardSuggestion','_isEnabledBasedOnSelection','execute','get','track-changes-discard-suggestion-not-found','_suggestions','canEditAt'];(function(_0x5b32cb,_0x5e1da6){const _0x58e9ca=function(_0x35bbd6){while(--_0x35bbd6){_0x5b32cb['push'](_0x5b32cb['shift']());}};_0x58e9ca(++_0x5e1da6);}(_0x5e1d,0x1e3));const _0x58e9=function(_0x5b32cb,_0x5e1da6){_0x5b32cb=_0x5b32cb-0x0;let _0x58e9ca=_0x5e1d[_0x5b32cb];return _0x58e9ca;};import{Command as _0x1118b0}from'ckeditor5/src/core.js';import{CKEditorError as _0x466dba}from'ckeditor5/src/utils.js';export default class B extends _0x1118b0{constructor(_0x5f1a5b,_0xc17abb){super(_0x5f1a5b),this['_suggestions']=_0xc17abb,this[_0x58e9('0x9')](),this[_0x58e9('0x1')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x58e9('0x2')](_0x4a420d){const _0x569f72=this[_0x58e9('0x5')][_0x58e9('0x3')](_0x4a420d);if(!_0x569f72)throw new _0x466dba(_0x58e9('0x4'),this);const _0x4af39d=_0x569f72[_0x58e9('0x7')]();this[_0x58e9('0x8')]['model'][_0x58e9('0x6')](_0x4af39d)&&this[_0x58e9('0x8')]['plugins']['get']('TrackChangesEditing')[_0x58e9('0x0')](_0x569f72);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14e0=['getRanges','_command','isInContent','refresh','from','some','_isEnabledBasedOnSelection','isEnabled','editor','model','canEditAt','values','execute','_suggestions'];(function(_0x37af36,_0x14e019){const _0x4ebea8=function(_0x15c745){while(--_0x15c745){_0x37af36['push'](_0x37af36['shift']());}};_0x4ebea8(++_0x14e019);}(_0x14e0,0x14e));const _0x4ebe=function(_0x37af36,_0x14e019){_0x37af36=_0x37af36-0x0;let _0x4ebea8=_0x14e0[_0x37af36];return _0x4ebea8;};import{Command as _0x125acd}from'ckeditor5/src/core.js';import{sortSuggestions as _0x4c3856,executeCommandForSuggestions as _0x543638}from'../utils/utils.js';export default class x extends _0x125acd{constructor(_0x1bbb8a,_0x4e9038,_0x519f26){super(_0x1bbb8a),this[_0x4ebe('0x3')]=_0x4e9038,this[_0x4ebe('0x1')]=_0x519f26,this[_0x4ebe('0x5')](),this[_0x4ebe('0x8')]=!0x1;}[_0x4ebe('0x5')](){const _0x59d578=Array[_0x4ebe('0x6')](this['_suggestions']['values']())[_0x4ebe('0x7')](_0x577b32=>_0x577b32[_0x4ebe('0x4')]);this['isEnabled']=this[_0x4ebe('0x3')][_0x4ebe('0x9')]&&_0x59d578;}[_0x4ebe('0x0')](){const _0x480b20=_0x4c3856(Array[_0x4ebe('0x6')](this['_suggestions'][_0x4ebe('0xd')]()));for(const _0x5a3bdc of _0x480b20){const _0x4814b7=_0x5a3bdc[_0x4ebe('0x2')]();if(!this[_0x4ebe('0xa')][_0x4ebe('0xb')][_0x4ebe('0xc')](_0x4814b7))return;}_0x543638(this[_0x4ebe('0xa')]['model'],this[_0x4ebe('0x3')],_0x480b20);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3803=['size','getRanges','from','_isEnabledBasedOnSelection','isEnabled','_selectedSuggestions','selection','_suggestions','editor','model','_command','execute','refresh'];(function(_0x38c088,_0x380324){const _0x4dd8e3=function(_0x1c5933){while(--_0x1c5933){_0x38c088['push'](_0x38c088['shift']());}};_0x4dd8e3(++_0x380324);}(_0x3803,0x152));const _0x4dd8=function(_0x38c088,_0x380324){_0x38c088=_0x38c088-0x0;let _0x4dd8e3=_0x3803[_0x38c088];return _0x4dd8e3;};import{Command as _0x14a7ad}from'ckeditor5/src/core.js';import{sortSuggestions as _0x3b5a1d,getSelectedSuggestions as _0x3c5c11,executeCommandForSuggestions as _0x46fdf8}from'../utils/utils.js';export default class R extends _0x14a7ad{constructor(_0x347ff3,_0x156953,_0xf0bd33){super(_0x347ff3),this[_0x4dd8('0xa')]=_0x156953,this[_0x4dd8('0x7')]=_0xf0bd33,this['_selectedSuggestions']=new Set(),this[_0x4dd8('0xc')](),this[_0x4dd8('0x3')]=!0x1;}[_0x4dd8('0xc')](){const _0x36a3e1=this[_0x4dd8('0x8')][_0x4dd8('0x9')]['document'][_0x4dd8('0x6')],_0x37840c=Array[_0x4dd8('0x2')](this['_suggestions']['values']());this[_0x4dd8('0x5')]=_0x3c5c11(_0x36a3e1,_0x37840c),this[_0x4dd8('0x4')]=this[_0x4dd8('0xa')][_0x4dd8('0x4')]&&!!this['_selectedSuggestions'][_0x4dd8('0x0')];}[_0x4dd8('0xb')](){const _0x486e5c=_0x3b5a1d(Array[_0x4dd8('0x2')](this[_0x4dd8('0x5')]));for(const _0x3b7c99 of _0x486e5c){const _0x547e85=_0x3b7c99[_0x4dd8('0x1')]();if(!this['editor'][_0x4dd8('0x9')]['canEditAt'](_0x547e85))return;}_0x46fdf8(this[_0x4dd8('0x8')][_0x4dd8('0x9')],this[_0x4dd8('0xa')],_0x486e5c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10f8=['refresh','forceDisabled','TrackChangesCommand','affectsData','commands','_enabledCommands','_disableUnsupportedCommands','execute','_enableCommands','editor','clearForceDisabled','value','isEnabled','has','_isEnabledBasedOnSelection'];(function(_0x69335c,_0x10f8f0){const _0xc8b702=function(_0x4f84de){while(--_0x4f84de){_0x69335c['push'](_0x69335c['shift']());}};_0xc8b702(++_0x10f8f0);}(_0x10f8,0x7f));const _0xc8b7=function(_0x69335c,_0x10f8f0){_0x69335c=_0x69335c-0x0;let _0xc8b702=_0x10f8[_0x69335c];return _0xc8b702;};import{Command as _0x52d8de}from'ckeditor5/src/core.js';export default class M extends _0x52d8de{constructor(_0x34cd0f,_0x37c997){super(_0x34cd0f),this['_enabledCommands']=_0x37c997,this[_0xc8b7('0x4')]=!0x1,this['refresh'](),this[_0xc8b7('0x7')]=!0x1;}[_0xc8b7('0x8')](){this[_0xc8b7('0x5')]=!0x0;}[_0xc8b7('0x0')](){this[_0xc8b7('0x4')]=!this[_0xc8b7('0x4')],this['value']?this[_0xc8b7('0xe')]():this[_0xc8b7('0x1')]();}[_0xc8b7('0xe')](){for(const _0x5069e2 of this[_0xc8b7('0x2')][_0xc8b7('0xc')][_0xc8b7('0xc')]())_0x5069e2[_0xc8b7('0xb')]&&!this[_0xc8b7('0xd')][_0xc8b7('0x6')](_0x5069e2)&&_0x5069e2[_0xc8b7('0x9')]('TrackChangesCommand');}[_0xc8b7('0x1')](){for(const _0x40175c of this[_0xc8b7('0x2')][_0xc8b7('0xc')]['commands']())_0x40175c[_0xc8b7('0xb')]&&!this['_enabledCommands'][_0xc8b7('0x6')](_0x40175c)&&_0x40175c[_0xc8b7('0x3')](_0xc8b7('0xa'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd4f0=['get','commands','editor','showAIAssistant','enableCommand','plugins'];(function(_0x3d3e80,_0xd4f05d){const _0x1fbf4c=function(_0x43f732){while(--_0x43f732){_0x3d3e80['push'](_0x3d3e80['shift']());}};_0x1fbf4c(++_0xd4f05d);}(_0xd4f0,0x165));const _0x1fbf=function(_0x3d3e80,_0xd4f05d){_0x3d3e80=_0x3d3e80-0x0;let _0x1fbf4c=_0xd4f0[_0x3d3e80];return _0x1fbf4c;};import{Plugin as _0x17db8f}from'ckeditor5/src/core.js';export default class E extends _0x17db8f{['afterInit'](){const _0x51c510=this[_0x1fbf('0x5')],_0x3d84fb=_0x51c510[_0x1fbf('0x2')][_0x1fbf('0x3')]('TrackChangesEditing');_0x51c510[_0x1fbf('0x4')][_0x1fbf('0x3')]('showAIAssistant')&&_0x3d84fb[_0x1fbf('0x1')](_0x1fbf('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2032=['*Format:*\x20%0','alignment','commandParams','FORMAT_ALIGNMENT','right','registerAttributeLabel','FORMAT_JUSTIFY_TEXT','type','TrackChangesEditing','plugins','FORMAT_ALIGN_TO_CENTER','locale','_descriptionFactory','editor','value','FORMAT_ALIGN_TO_RIGHT','format','_enableDefaultAttributesIntegration','get','_registerLegacyDescription'];(function(_0x2447ae,_0x203204){const _0x1dd756=function(_0x54a803){while(--_0x54a803){_0x2447ae['push'](_0x2447ae['shift']());}};_0x1dd756(++_0x203204);}(_0x2032,0xfc));const _0x1dd7=function(_0x2447ae,_0x203204){_0x2447ae=_0x2447ae-0x0;let _0x1dd756=_0x2032[_0x2447ae];return _0x1dd756;};import{Plugin as _0x142e55}from'ckeditor5/src/core.js';import{getTranslation as _0x2495fa}from'../utils/common-translations.js';export default class V extends _0x142e55{['afterInit'](){const _0x3d9842=this[_0x1dd7('0x1')],_0x5213ea=_0x3d9842[_0x1dd7('0x13')];if(!_0x3d9842[_0x1dd7('0x11')]['has']('AlignmentEditing'))return;const _0x40e358=_0x3d9842[_0x1dd7('0x11')][_0x1dd7('0x6')](_0x1dd7('0x10'));_0x40e358[_0x1dd7('0x5')](_0x1dd7('0x9'),[],[_0x1dd7('0x9')]),_0x40e358[_0x1dd7('0x0')][_0x1dd7('0xd')](_0x1dd7('0x9'),_0x2495fa(_0x5213ea,_0x1dd7('0xb'))),this[_0x1dd7('0x7')]();}[_0x1dd7('0x7')](){const _0x30f8b3=this['editor'],_0x427c5f=_0x30f8b3[_0x1dd7('0x13')];_0x30f8b3['plugins'][_0x1dd7('0x6')](_0x1dd7('0x10'))[_0x1dd7('0x0')]['registerDescriptionCallback'](_0x1c6e5f=>{if('formatBlock'!=_0x1c6e5f[_0x1dd7('0xf')])return;const {data:_0x341309}=_0x1c6e5f;if(_0x341309&&_0x1dd7('0x9')==_0x341309['commandName']){const _0x575e82=_0x341309[_0x1dd7('0xa')][0x0][_0x1dd7('0x2')];return{'type':_0x1dd7('0x4'),'content':_0x2495fa(_0x427c5f,_0x1dd7('0x8'),function(_0x14fd5f){switch(_0x14fd5f){case'left':return _0x2495fa(_0x427c5f,'FORMAT_ALIGN_TO_LEFT');case _0x1dd7('0xc'):return _0x2495fa(_0x427c5f,_0x1dd7('0x3'));case'center':return _0x2495fa(_0x427c5f,_0x1dd7('0x12'));case'justify':return _0x2495fa(_0x427c5f,_0x1dd7('0xe'));}}(_0x575e82))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x569a=['FORMAT_SUPERSCRIPT','commandName','code','FORMAT_','subscript','*Format:*\x20%0','format','TrackChangesEditing','locale','type','strikethrough','*Remove\x20format:*\x20%0','_registerLegacyDescription','UnderlineEditing','FORMAT_UNDERLINE','slice','BoldEditing','italic','has','toLowerCase','FORMAT_BOLD','registerAttributeLabel','get','toUpperCase','plugins','afterInit','FORMAT_SUBSCRIPT','editor','superscript'];(function(_0x105fe3,_0x569a17){const _0x58f79f=function(_0x1b0da6){while(--_0x1b0da6){_0x105fe3['push'](_0x105fe3['shift']());}};_0x58f79f(++_0x569a17);}(_0x569a,0xa8));const _0x58f7=function(_0x105fe3,_0x569a17){_0x105fe3=_0x105fe3-0x0;let _0x58f79f=_0x569a[_0x105fe3];return _0x58f79f;};import{Plugin as _0x18f3e7}from'ckeditor5/src/core.js';import{getTranslation as _0x5f4129}from'../utils/common-translations.js';const ti=[_0x58f7('0x16'),'ItalicEditing',_0x58f7('0x13'),'CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class U extends _0x18f3e7{[_0x58f7('0x2')](){const _0x57e59e=this[_0x58f7('0x4')],_0x2f007a=_0x57e59e['plugins']['get']('TrackChangesEditing'),_0x384385=_0x57e59e[_0x58f7('0xe')];for(const _0x4e5bef of ti){if(!_0x57e59e[_0x58f7('0x1')][_0x58f7('0x18')](_0x4e5bef))continue;const _0x51e0ce=_0x4e5bef[_0x58f7('0x15')](0x0,-0x7)[_0x58f7('0x19')](),_0xdb4d00=_0x58f7('0x9')+_0x51e0ce[_0x58f7('0x0')]();_0x2f007a['_enableDefaultAttributesIntegration'](_0x51e0ce,[_0x51e0ce]),_0x2f007a['_descriptionFactory'][_0x58f7('0x1b')](_0x51e0ce,_0x5f4129(_0x384385,_0xdb4d00));}this[_0x58f7('0x12')]();}[_0x58f7('0x12')](){const _0x2d2442=this[_0x58f7('0x4')],_0xe4537d=_0x2d2442[_0x58f7('0xe')],_0x5ccfd9=_0x2d2442[_0x58f7('0x1')][_0x58f7('0x1c')](_0x58f7('0xd'));function _0x32b5c8(_0x485b64,_0x190c78){_0x5ccfd9['_descriptionFactory']['registerDescriptionCallback'](_0x434058=>{if('formatInline'!=_0x434058[_0x58f7('0xf')])return;const {data:_0x2ab567}=_0x434058;return _0x2ab567&&_0x2ab567[_0x58f7('0x7')]===_0x485b64?_0x2ab567['commandParams'][0x0]['forceValue']?{'type':_0x58f7('0xc'),'content':_0x5f4129(_0xe4537d,_0x58f7('0xb'),_0x190c78)}:{'type':_0x58f7('0xc'),'content':_0x5f4129(_0xe4537d,_0x58f7('0x11'),_0x190c78)}:void 0x0;});}_0x32b5c8('bold',_0x5f4129(_0xe4537d,_0x58f7('0x1a'))),_0x32b5c8(_0x58f7('0x17'),_0x5f4129(_0xe4537d,'FORMAT_ITALIC')),_0x32b5c8('underline',_0x5f4129(_0xe4537d,_0x58f7('0x14'))),_0x32b5c8(_0x58f7('0x8'),_0x5f4129(_0xe4537d,'FORMAT_CODE')),_0x32b5c8(_0x58f7('0x10'),_0x5f4129(_0xe4537d,'FORMAT_STRIKETHROUGH')),_0x32b5c8(_0x58f7('0xa'),_0x5f4129(_0xe4537d,_0x58f7('0x3'))),_0x32b5c8(_0x58f7('0x5'),_0x5f4129(_0xe4537d,_0x58f7('0x6')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b12=['filter','value','blockQuote','_descriptionFactory','*Set\x20format:*\x20%0','commands','commandName','ELEMENT_BLOCK_QUOTE','get','editor','afterInit','change','model','forceValue','checkChild','*Remove\x20format:*\x20%0','commandParams','getSelectedBlocks','parent','registerDescriptionCallback','enableCommand','$root','BlockQuoteEditing','plugins','markBlockFormat','from','format','name'];(function(_0x72cdd3,_0x1b12ff){const _0x1caf4e=function(_0x21e7ce){while(--_0x21e7ce){_0x72cdd3['push'](_0x72cdd3['shift']());}};_0x1caf4e(++_0x1b12ff);}(_0x1b12,0x82));const _0x1caf=function(_0x72cdd3,_0x1b12ff){_0x72cdd3=_0x72cdd3-0x0;let _0x1caf4e=_0x1b12[_0x72cdd3];return _0x1caf4e;};import{Plugin as _0x4048f9}from'ckeditor5/src/core.js';import{getTranslation as _0x4d2599}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x1fe74f}from'../utils/utils.js';export default class O extends _0x4048f9{[_0x1caf('0x14')](){const _0x56e17c=this[_0x1caf('0x13')],_0x2e919c=_0x56e17c['locale'];if(!_0x56e17c['plugins']['has'](_0x1caf('0x4')))return;const _0x527635=_0x56e17c[_0x1caf('0x5')]['get']('TrackChangesEditing'),_0x114d87=this[_0x1caf('0x13')][_0x1caf('0xf')][_0x1caf('0x12')](_0x1caf('0xc'));_0x527635[_0x1caf('0x2')]('blockQuote',(_0x16a79e,_0x4e5215={})=>{const _0x5ece2a=this[_0x1caf('0x13')][_0x1caf('0x16')]['document']['selection'],_0x2570d1=_0x4e5215&&void 0x0!==_0x4e5215[_0x1caf('0x17')]?_0x4e5215[_0x1caf('0x17')]:!_0x114d87[_0x1caf('0xb')];let _0xbca64c=[];if(_0x2570d1){const _0x449bf2=Array['from'](_0x5ece2a[_0x1caf('0x1b')]())[_0x1caf('0xa')](_0xdb8876=>oo(_0xdb8876)||function(_0x4125e2,_0x12af36){const _0x254c6c=_0x12af36[_0x1caf('0x18')](_0x4125e2[_0x1caf('0x0')],_0x1caf('0xc')),_0x507b90=_0x12af36[_0x1caf('0x18')]([_0x1caf('0x3'),'blockQuote'],_0x4125e2);return _0x254c6c&&_0x507b90;}(_0xdb8876,this[_0x1caf('0x13')][_0x1caf('0x16')]['schema']));_0xbca64c=_0x1fe74f(_0x449bf2,_0x56e17c['model']);}else{const _0x4aeaa8=Array[_0x1caf('0x7')](_0x5ece2a['getSelectedBlocks']())['filter'](_0x55be39=>oo(_0x55be39));_0xbca64c=_0x1fe74f(_0x4aeaa8,_0x56e17c[_0x1caf('0x16')]);}_0x56e17c[_0x1caf('0x16')][_0x1caf('0x15')](()=>{for(const _0x1362c3 of _0xbca64c)_0x527635[_0x1caf('0x6')](_0x1362c3,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x2570d1}]});});}),_0x527635[_0x1caf('0xd')][_0x1caf('0x1')](_0x3bb77e=>{const {data:_0x3a642d}=_0x3bb77e;if(_0x3a642d&&_0x1caf('0xc')==_0x3a642d[_0x1caf('0x10')]){const _0x2d2ab0=_0x4d2599(_0x2e919c,_0x1caf('0x11'));return _0x3a642d[_0x1caf('0x1a')][0x0]['forceValue']?{'type':'format','content':_0x4d2599(_0x2e919c,_0x1caf('0xe'),_0x2d2ab0)}:{'type':_0x1caf('0x8'),'content':_0x4d2599(_0x2e919c,_0x1caf('0x19'),_0x2d2ab0)};}});}}function oo(_0xb62775){return _0x1caf('0xc')==_0xb62775['parent'][_0x1caf('0x9')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2540=['changeCaseTitle','editor','plugins','CaseChange','changeCaseUpper','get','TrackChangesEditing','enableCommand','afterInit','has'];(function(_0x2a2182,_0x2540d8){const _0x29afb7=function(_0x41ab84){while(--_0x41ab84){_0x2a2182['push'](_0x2a2182['shift']());}};_0x29afb7(++_0x2540d8);}(_0x2540,0x115));const _0x29af=function(_0x2a2182,_0x2540d8){_0x2a2182=_0x2a2182-0x0;let _0x29afb7=_0x2540[_0x2a2182];return _0x29afb7;};import{Plugin as _0x5c9287}from'ckeditor5/src/core.js';export default class G extends _0x5c9287{[_0x29af('0x1')](){const _0x23816e=this[_0x29af('0x4')];_0x23816e[_0x29af('0x5')][_0x29af('0x2')](_0x29af('0x6'))&&(_0x23816e[_0x29af('0x5')]['get'](_0x29af('0x9'))['enableCommand'](_0x29af('0x7')),_0x23816e[_0x29af('0x5')][_0x29af('0x8')](_0x29af('0x9'))[_0x29af('0x0')]('changeCaseLower'),_0x23816e[_0x29af('0x5')]['get'](_0x29af('0x9'))[_0x29af('0x0')](_0x29af('0x3')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5322=['TrackChangesEditing','commands','plugins','afterInit','get'];(function(_0x4bc63c,_0x5322a8){const _0x14939f=function(_0x1d393b){while(--_0x1d393b){_0x4bc63c['push'](_0x4bc63c['shift']());}};_0x14939f(++_0x5322a8);}(_0x5322,0x1a2));const _0x1493=function(_0x4bc63c,_0x5322a8){_0x4bc63c=_0x4bc63c-0x0;let _0x14939f=_0x5322[_0x4bc63c];return _0x14939f;};import{Plugin as _0x57c46f}from'ckeditor5/src/core.js';export default class F extends _0x57c46f{[_0x1493('0x0')](){const _0x37e4b1=this['editor'];_0x37e4b1[_0x1493('0x3')][_0x1493('0x1')]('ckbox')&&_0x37e4b1[_0x1493('0x4')][_0x1493('0x1')](_0x1493('0x2'))['enableCommand']('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bfe=['enableCommand','name','_descriptionFactory','outdentCodeBlock','filter','forceValue','codeBlock','TrackChangesEditing','from','language','schema','blockName','languages','locale','change','indentCodeBlock','type','find','rootElement','plugins','selection','get','model','afterInit','getSelectedBlocks','commands','ELEMENT_CODE_BLOCK','has','commandName','label','checkChild','*Set\x20format:*\x20%0','commandParams','document','isLimit','parent','format','config','markBlockFormat','registerDescriptionCallback'];(function(_0x1aebda,_0x4bfe8c){const _0x5dc17a=function(_0x561225){while(--_0x561225){_0x1aebda['push'](_0x1aebda['shift']());}};_0x5dc17a(++_0x4bfe8c);}(_0x4bfe,0xd5));const _0x5dc1=function(_0x1aebda,_0x4bfe8c){_0x1aebda=_0x1aebda-0x0;let _0x5dc17a=_0x4bfe[_0x1aebda];return _0x5dc17a;};import{Plugin as _0x3e9710}from'ckeditor5/src/core.js';import{getTranslation as _0x2f287a}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x31bfe8}from'../utils/utils.js';export default class L extends _0x3e9710{[_0x5dc1('0xa')](){const _0x3efd70=this['editor'];if(!_0x3efd70['plugins'][_0x5dc1('0xe')]('CodeBlock'))return;const _0x24ab1c=_0x3efd70[_0x5dc1('0x6')][_0x5dc1('0x8')](_0x5dc1('0x22')),_0x5e436e=_0x3efd70[_0x5dc1('0x0')],_0x22c49f=_0x3efd70[_0x5dc1('0x18')][_0x5dc1('0x8')](_0x5dc1('0x21'))[_0x5dc1('0x27')],_0x30e574=_0x3efd70[_0x5dc1('0xc')][_0x5dc1('0x8')](_0x5dc1('0x21'));_0x24ab1c[_0x5dc1('0x1b')](_0x5dc1('0x2')),_0x24ab1c[_0x5dc1('0x1b')](_0x5dc1('0x1e')),_0x24ab1c[_0x5dc1('0x1b')]('codeBlock',(_0x278329,_0x908abe={})=>{const _0x4fb2c4=_0x3efd70[_0x5dc1('0x9')],_0x35a114=_0x3efd70[_0x5dc1('0x9')][_0x5dc1('0x14')][_0x5dc1('0x7')],_0x578e95=_0x908abe&&void 0x0!==_0x908abe[_0x5dc1('0x20')]?_0x908abe[_0x5dc1('0x20')]:!_0x30e574['value'];let _0x57006a;_0x908abe[_0x5dc1('0x24')]||(_0x908abe['language']=_0x22c49f[0x0][_0x5dc1('0x24')]),_0x57006a=_0x578e95?Array[_0x5dc1('0x23')](_0x35a114[_0x5dc1('0xb')]())[_0x5dc1('0x1f')](_0x23a84d=>eo(_0x23a84d)||function(_0x4159ef,_0x53387d){if(_0x4159ef['is'](_0x5dc1('0x5'))||_0x53387d[_0x5dc1('0x15')](_0x4159ef))return!0x1;return _0x53387d[_0x5dc1('0x11')](_0x4159ef[_0x5dc1('0x16')],_0x5dc1('0x21'));}(_0x23a84d,_0x4fb2c4[_0x5dc1('0x25')])):Array[_0x5dc1('0x23')](_0x35a114[_0x5dc1('0xb')]())[_0x5dc1('0x1f')](_0x46ac63=>eo(_0x46ac63));const _0x516b22=_0x31bfe8(_0x57006a,_0x4fb2c4);_0x4fb2c4[_0x5dc1('0x1')](()=>{for(const _0x3076f4 of _0x516b22)_0x24ab1c[_0x5dc1('0x19')](_0x3076f4,{'commandName':_0x5dc1('0x21'),'commandParams':[{..._0x908abe,'forceValue':_0x578e95}],'formatGroupId':_0x5dc1('0x26')});});}),(_0x24ab1c[_0x5dc1('0x1d')]['registerElementLabel'](_0x5dc1('0x21'),_0x2cc760=>_0x2f287a(_0x5e436e,_0x5dc1('0xd'),_0x2cc760)),_0x24ab1c[_0x5dc1('0x1d')][_0x5dc1('0x1a')](_0x1caf24=>{if('formatBlock'!=_0x1caf24[_0x5dc1('0x3')])return;const _0x5c109b=_0x5e436e['t'],{data:_0x518318}=_0x1caf24;if(!_0x518318||_0x5dc1('0x21')!=_0x518318[_0x5dc1('0xf')])return;const _0x30aa86=_0x518318[_0x5dc1('0x13')][0x0][_0x5dc1('0x24')],_0x4e97=_0x5c109b(_0x22c49f[_0x5dc1('0x4')](_0x7dfa2a=>_0x7dfa2a[_0x5dc1('0x24')]===_0x30aa86)[_0x5dc1('0x10')])['toLowerCase']();return _0x518318[_0x5dc1('0x13')][0x0][_0x5dc1('0x20')]?{'type':_0x5dc1('0x17'),'content':_0x2f287a(_0x5e436e,_0x5dc1('0x12'),_0x2f287a(_0x5e436e,_0x5dc1('0xd'),0x1)+'\x20('+_0x4e97+')')}:{'type':_0x5dc1('0x17'),'content':_0x2f287a(_0x5e436e,'*Remove\x20format:*\x20%0',_0x2f287a(_0x5e436e,'ELEMENT_CODE_BLOCK',0x1))};}));}}function eo(_0x48ba4f){return'codeBlock'==_0x48ba4f[_0x5dc1('0x1c')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x98e0=['get','addCommentThread','editor','enableCommand','afterInit','has','plugins'];(function(_0x33b83b,_0x98e042){const _0x4828ec=function(_0x7c2db1){while(--_0x7c2db1){_0x33b83b['push'](_0x33b83b['shift']());}};_0x4828ec(++_0x98e042);}(_0x98e0,0x13d));const _0x4828=function(_0x33b83b,_0x98e042){_0x33b83b=_0x33b83b-0x0;let _0x4828ec=_0x98e0[_0x33b83b];return _0x4828ec;};import{Plugin as _0x5b1dd7}from'ckeditor5/src/core.js';export default class H extends _0x5b1dd7{[_0x4828('0x2')](){const _0x17db4b=this[_0x4828('0x0')];if(!_0x17db4b[_0x4828('0x4')][_0x4828('0x3')]('CommentsEditing'))return;_0x17db4b[_0x4828('0x4')][_0x4828('0x5')]('TrackChangesEditing')[_0x4828('0x1')](_0x4828('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2603=['getFirstRange','init','markerName','createRange','high','addMarker:suggestion:deletion','editing','rootName','selection','model','enableCommand','forward','$graveyard','writer','document','editor','mapper','deleteForward','TrackChangesEditing','merge','modifySelection','end','unlock','data','removeMarker:suggestion:deletion','setSelection','unit','bind','buffer','fromRange','isCollapsed','unbindElementFromMarkerName','downcastDispatcher','markerNameToElements','start','plugins','remove','options','createSelection'];(function(_0x246ab7,_0x260393){const _0x232aeb=function(_0x2e2ed6){while(--_0x2e2ed6){_0x246ab7['push'](_0x246ab7['shift']());}};_0x232aeb(++_0x260393);}(_0x2603,0xfd));const _0x232a=function(_0x246ab7,_0x260393){_0x246ab7=_0x246ab7-0x0;let _0x232aeb=_0x2603[_0x246ab7];return _0x232aeb;};import{Plugin as _0x268491}from'ckeditor5/src/core.js';import{LiveRange as _0x201fdb}from'ckeditor5/src/engine.js';import{Delete as _0x4f19f5}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x30fc3a}from'./utils.js';export default class q extends _0x268491{static get['requires'](){return[_0x4f19f5];}[_0x232a('0x15')](){const _0x50980d=this[_0x232a('0x23')],_0x1520fb=_0x50980d[_0x232a('0x10')]['get'](_0x232a('0x26'));_0x1520fb[_0x232a('0x1e')]('delete');const _0x4948e5=_0x50980d['commands']['get']('deleteForward');_0x1520fb['enableCommand'](_0x232a('0x25'),(_0x34a276,_0x15c9a3={})=>{const _0x94afc8=_0x50980d[_0x232a('0x1d')][_0x232a('0x13')](_0x50980d[_0x232a('0x1d')][_0x232a('0x22')][_0x232a('0x1c')]);_0x94afc8[_0x232a('0xb')]&&_0x50980d[_0x232a('0x1d')][_0x232a('0x1')](_0x94afc8,{'direction':_0x232a('0x1f'),'unit':_0x15c9a3[_0x232a('0x7')]});const _0x4dc8b3=_0x94afc8[_0x232a('0x14')](),_0x35fd76=_0x201fdb[_0x232a('0xa')](_0x4dc8b3);let _0x6fba90;_0x34a276(_0x15c9a3),_0x6fba90=_0x232a('0x20')==_0x35fd76['root'][_0x232a('0x1b')]?_0x50980d['model'][_0x232a('0x17')](_0x4dc8b3[_0x232a('0xf')]):_0x50980d[_0x232a('0x1d')][_0x232a('0x17')](_0x35fd76[_0x232a('0xf')],_0x35fd76['end']),_0x35fd76['detach'](),_0x50980d[_0x232a('0x1d')]['enqueueChange'](_0x4948e5[_0x232a('0x9')]['batch'],_0x4e92d5=>{_0x4948e5[_0x232a('0x9')]['lock'](),_0x4e92d5[_0x232a('0x6')](_0x4e92d5[_0x232a('0x17')](_0x6fba90[_0x232a('0x2')])),_0x4948e5[_0x232a('0x9')][_0x232a('0x3')]();});}),_0x50980d['editing'][_0x232a('0xd')]['on'](_0x232a('0x19'),_0x30fc3a(_0x50980d,'merge'),{'priority':'high'}),_0x50980d[_0x232a('0x4')][_0x232a('0xd')]['on']('addMarker:suggestion:deletion',(_0x53ee12,_0x41deea,_0x262e0b)=>{_0x262e0b[_0x232a('0x12')]['showSuggestionHighlights']&&_0x30fc3a(_0x50980d,_0x232a('0x0'),{'showActiveMarker':!0x1})[_0x232a('0x8')](this)(_0x53ee12,_0x41deea,_0x262e0b);},{'priority':_0x232a('0x18')}),_0x50980d[_0x232a('0x1a')][_0x232a('0xd')]['on'](_0x232a('0x5'),(_0x3bf4f2,_0x309b64,_0x4b6454)=>{const _0x5d5bbb=_0x4b6454[_0x232a('0x24')][_0x232a('0xe')](_0x309b64[_0x232a('0x16')]);if(_0x5d5bbb)for(const _0x272c2c of _0x5d5bbb)_0x272c2c['is']('uiElement')&&(_0x4b6454[_0x232a('0x24')][_0x232a('0xc')](_0x272c2c,_0x309b64['markerName']),_0x4b6454[_0x232a('0x21')][_0x232a('0x11')](_0x272c2c));},{'priority':_0x232a('0x18')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6bb8=['markerName','markInsertion','createRange','data','ck-suggestion-marker-split','writer','remove','get','init','requires','plugins','parent','model','hasClass','split','fire','enter','change','removeMarker:suggestion:insertion','setSelection','TrackChangesEditing','commands','getFirstRange','mapper','detach','downcastDispatcher','bind','high','unbindElementFromMarkerName','options','editing','enterBlock','addMarker:suggestion:insertion','editor','createPositionAt','getFirstPosition','end'];(function(_0xcfd133,_0x6bb896){const _0x2e3e20=function(_0x297873){while(--_0x297873){_0xcfd133['push'](_0xcfd133['shift']());}};_0x2e3e20(++_0x6bb896);}(_0x6bb8,0x9a));const _0x2e3e=function(_0xcfd133,_0x6bb896){_0xcfd133=_0xcfd133-0x0;let _0x2e3e20=_0x6bb8[_0xcfd133];return _0x2e3e20;};import{Plugin as _0x2d4f08}from'ckeditor5/src/core.js';import{Enter as _0x1428eb}from'ckeditor5/src/enter.js';import{LiveRange as _0x595e9a}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x126590}from'./utils.js';export default class W extends _0x2d4f08{static get[_0x2e3e('0x3')](){return[_0x1428eb];}[_0x2e3e('0x2')](){const _0x2af01c=this[_0x2e3e('0x1b')],_0x15b5c3=_0x2af01c[_0x2e3e('0x4')][_0x2e3e('0x1')](_0x2e3e('0xe')),_0x3da90a=_0x2af01c[_0x2e3e('0xf')]['get']('enter');_0x15b5c3['enableCommand'](_0x2e3e('0xa'),()=>{_0x2af01c[_0x2e3e('0x6')][_0x2e3e('0xb')](_0x3fe94b=>{const _0x3a65e1=_0x2af01c[_0x2e3e('0x6')]['document']['selection'],_0x43606=_0x3a65e1[_0x2e3e('0x1d')](),_0x5b9c4a=_0x595e9a['fromRange'](_0x3a65e1[_0x2e3e('0x10')]());if(_0x3da90a[_0x2e3e('0x19')](_0x3fe94b)){const _0x47da68=_0x2af01c[_0x2e3e('0x6')][_0x2e3e('0x1c')](_0x43606[_0x2e3e('0x5')]['nextSibling'],0x0),_0x3c381d=_0x3fe94b[_0x2e3e('0x21')](_0x43606,_0x47da68);_0x15b5c3[_0x2e3e('0x20')](_0x3c381d);}else _0x3fe94b[_0x2e3e('0xd')](_0x3fe94b[_0x2e3e('0x21')](_0x5b9c4a[_0x2e3e('0x1e')]));_0x5b9c4a[_0x2e3e('0x12')](),_0x3da90a[_0x2e3e('0x9')]('afterExecute',{'writer':_0x3fe94b});});}),_0x2af01c[_0x2e3e('0x18')][_0x2e3e('0x13')]['on'](_0x2e3e('0x1a'),_0x126590(_0x2af01c,_0x2e3e('0x8')),{'priority':_0x2e3e('0x15')}),_0x2af01c['editing'][_0x2e3e('0x13')]['on'](_0x2e3e('0xc'),(_0x2e9bee,_0x4fcbb2,_0x489e70)=>{const _0x43c090=_0x489e70[_0x2e3e('0x11')]['markerNameToElements'](_0x4fcbb2[_0x2e3e('0x1f')]);if(_0x43c090)for(const _0x3f8888 of _0x43c090)_0x3f8888[_0x2e3e('0x7')](_0x2e3e('0x23'))&&(_0x489e70[_0x2e3e('0x11')][_0x2e3e('0x16')](_0x3f8888,_0x4fcbb2[_0x2e3e('0x1f')]),_0x489e70[_0x2e3e('0x24')][_0x2e3e('0x0')](_0x3f8888));},{'priority':'high'}),_0x2af01c[_0x2e3e('0x22')][_0x2e3e('0x13')]['on'](_0x2e3e('0x1a'),(_0x53bc33,_0x2bb966,_0x3c135e)=>{_0x3c135e[_0x2e3e('0x17')]['showSuggestionHighlights']&&_0x126590(_0x2af01c,'split',{'showActiveMarker':!0x1})[_0x2e3e('0x14')](this)(_0x53bc33,_0x2bb966,_0x3c135e);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x333b=['filter','bind','createPositionAt','createRange','getIntersection','has','find','handleFindCommand','_isInDeletionRange','start','get','string','enableCommand','editor','plugins','model','findPrevious','FindAndReplaceEditing','findNext','afterInit','item','replace'];(function(_0x2972aa,_0x333b64){const _0x3d1089=function(_0x4fe29f){while(--_0x4fe29f){_0x2972aa['push'](_0x2972aa['shift']());}};_0x3d1089(++_0x333b64);}(_0x333b,0x112));const _0x3d10=function(_0x2972aa,_0x333b64){_0x2972aa=_0x2972aa-0x0;let _0x3d1089=_0x333b[_0x2972aa];return _0x3d1089;};import{Plugin as _0x6885c4}from'ckeditor5/src/core.js';export default class J extends _0x6885c4{[_0x3d10('0x9')](){if(!this[_0x3d10('0x3')][_0x3d10('0x4')][_0x3d10('0x11')](_0x3d10('0x7')))return;const _0x4da272=this[_0x3d10('0x3')]['plugins'][_0x3d10('0x0')]('TrackChangesEditing');_0x4da272[_0x3d10('0x2')](_0x3d10('0x12'),this[_0x3d10('0x13')][_0x3d10('0xd')](this)),_0x4da272['enableCommand'](_0x3d10('0x8')),_0x4da272[_0x3d10('0x2')](_0x3d10('0x6')),_0x4da272['enableCommand'](_0x3d10('0xb')),_0x4da272['enableCommand']('replaceAll');}[_0x3d10('0x13')](_0x262e20,_0x4ac1d2,_0x1e32b0={}){const _0x2c15b8=this[_0x3d10('0x3')][_0x3d10('0x4')]['get']('FindAndReplaceUtils');return _0x262e20(_0x581e7d=>(_0x3d10('0x1')==typeof _0x4ac1d2?_0x2c15b8['findByTextCallback'](_0x4ac1d2,_0x1e32b0):_0x4ac1d2)(_0x581e7d)[_0x3d10('0xc')](_0xaed6dc=>!0x1===this[_0x3d10('0x14')](_0xaed6dc,_0x581e7d[_0x3d10('0xa')])),_0x1e32b0);}[_0x3d10('0x14')](_0xca3775,_0x2194d6){const _0x135fd8=this[_0x3d10('0x3')][_0x3d10('0x5')][_0x3d10('0xf')](this[_0x3d10('0x3')][_0x3d10('0x5')][_0x3d10('0xe')](_0x2194d6,_0xca3775[_0x3d10('0x15')]),this[_0x3d10('0x3')][_0x3d10('0x5')][_0x3d10('0xe')](_0x2194d6,_0xca3775['end']));for(const _0x8ef5a4 of this['editor'][_0x3d10('0x5')]['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x135fd8[_0x3d10('0x10')](_0x8ef5a4['getRange']()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51f4=['fontSize.options','label','FontBackgroundColorEditing','find','editor','_registerLegacyDescription','*Set\x20font\x20color:*\x20%0','normalizeSizeOptions','plugins','fontSize','afterInit','get','FORMAT_FONT_SIZE','*Reset\x20font\x20size*','fontBackgroundColor.colors','toLowerCase','commandParams','commandName','has','*Set\x20font\x20family:*\x20%0','model','config','FontSize','format','FORMAT_FONT_FAMILY','*Set\x20font\x20background\x20color:*\x20%0','_descriptionFactory','value','locale','fontFamily','TrackChangesEditing','type','fontColor','fontColor.colors','registerAttributeLabel','FontColorEditing','formatInline','trim','*Reset\x20font\x20background\x20color*','_enableDefaultAttributesIntegration','fontBackgroundColor','registerDescriptionCallback','title'];(function(_0x2e7b52,_0x51f47f){const _0x1a5ba5=function(_0x557d42){while(--_0x557d42){_0x2e7b52['push'](_0x2e7b52['shift']());}};_0x1a5ba5(++_0x51f47f);}(_0x51f4,0x127));const _0x1a5b=function(_0x2e7b52,_0x51f47f){_0x2e7b52=_0x2e7b52-0x0;let _0x1a5ba5=_0x51f4[_0x2e7b52];return _0x1a5ba5;};import{Plugin as _0x1527a2}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x3ca464}from'ckeditor5/src/ui.js';import{getTranslation as _0x1fc160}from'../utils/common-translations.js';const ro=[{'pluginName':'FontSizeEditing','commandName':_0x1a5b('0xf')},{'pluginName':'FontFamilyEditing','commandName':_0x1a5b('0x23')},{'pluginName':_0x1a5b('0x29'),'commandName':'fontColor'},{'pluginName':_0x1a5b('0x8'),'commandName':_0x1a5b('0x3')}];export default class Q extends _0x1527a2{[_0x1a5b('0x10')](){const _0x11d84e=this[_0x1a5b('0xa')]['locale'],_0x5aa355=this[_0x1a5b('0xa')][_0x1a5b('0xe')][_0x1a5b('0x11')](_0x1a5b('0x24'));for(const {pluginName:_0x59d5e0,commandName:_0x1cfbd7}of ro)this[_0x1a5b('0xa')]['plugins'][_0x1a5b('0x18')](_0x59d5e0)&&_0x5aa355[_0x1a5b('0x2')](_0x1cfbd7,[_0x1cfbd7]);_0x11d84e['t'],(_0x5aa355[_0x1a5b('0x20')][_0x1a5b('0x28')](_0x1a5b('0xf'),_0x1fc160(_0x11d84e,_0x1a5b('0x12'))),_0x5aa355[_0x1a5b('0x20')]['registerAttributeLabel'](_0x1a5b('0x23'),_0x1fc160(_0x11d84e,_0x1a5b('0x1e'))),_0x5aa355[_0x1a5b('0x20')][_0x1a5b('0x28')](_0x1a5b('0x26'),_0x1fc160(_0x11d84e,'FORMAT_FONT_COLOR')),_0x5aa355['_descriptionFactory']['registerAttributeLabel'](_0x1a5b('0x3'),_0x1fc160(_0x11d84e,'FORMAT_FONT_BACKGROUND')),this[_0x1a5b('0xb')]());}[_0x1a5b('0xb')](){const _0x46d086=this[_0x1a5b('0xa')],_0x2d5675=_0x46d086[_0x1a5b('0x22')];_0x46d086[_0x1a5b('0xe')][_0x1a5b('0x11')](_0x1a5b('0x24'))[_0x1a5b('0x20')][_0x1a5b('0x4')](_0x5653db=>{const _0x36fa66=_0x2d5675['t'];if(_0x1a5b('0x2a')!=_0x5653db[_0x1a5b('0x25')])return;const {data:_0x5b015a}=_0x5653db;if(null!=_0x5b015a){if(_0x1a5b('0xf')==_0x5b015a[_0x1a5b('0x17')]){const _0x4a9e8e=_0x5b015a[_0x1a5b('0x16')][0x0]['value'];if(_0x4a9e8e){const _0x237a03=_0x36fa66(this[_0x1a5b('0xa')][_0x1a5b('0xe')]['get'](_0x1a5b('0x1c'))[_0x1a5b('0xd')](this[_0x1a5b('0xa')][_0x1a5b('0x1b')]['get'](_0x1a5b('0x6')))[_0x1a5b('0x9')](_0x5ed633=>_0x5ed633[_0x1a5b('0x1a')]==_0x4a9e8e)[_0x1a5b('0x5')])['toLowerCase']();return{'type':_0x1a5b('0x1d'),'content':_0x1fc160(_0x2d5675,'*Set\x20font\x20size:*\x20%0',_0x237a03)};}return{'type':_0x1a5b('0x1d'),'content':_0x1fc160(_0x2d5675,_0x1a5b('0x13'))};}if(_0x1a5b('0x23')==_0x5b015a[_0x1a5b('0x17')]){const _0x4ae511=_0x5b015a['commandParams'][0x0][_0x1a5b('0x21')];return _0x4ae511?{'type':_0x1a5b('0x1d'),'content':_0x1fc160(_0x2d5675,_0x1a5b('0x19'),_0x4ae511)}:{'type':_0x1a5b('0x1d'),'content':_0x1fc160(_0x2d5675,'*Reset\x20font\x20family*')};}if('fontColor'==_0x5b015a[_0x1a5b('0x17')]){const _0x36c6c6=_0x5b015a[_0x1a5b('0x16')][0x0][_0x1a5b('0x21')];if(_0x36c6c6){const _0x40e21e=_0x3ca464(this[_0x1a5b('0xa')][_0x1a5b('0x1b')][_0x1a5b('0x11')](_0x1a5b('0x27')))[_0x1a5b('0x9')](_0x45db7d=>_0x45db7d['model']==_0x36c6c6);let _0x3a2b6a=_0x36c6c6,_0x301ef7='';return _0x40e21e&&(_0x3a2b6a=_0x40e21e['label'],_0x301ef7=_0x36fa66(_0x3a2b6a)[_0x1a5b('0x15')]()),{'type':_0x1a5b('0x1d'),'content':_0x1fc160(_0x2d5675,_0x1a5b('0xc'),_0x301ef7)[_0x1a5b('0x0')](),'color':{'value':_0x36c6c6,'title':_0x301ef7||_0x3a2b6a}};}return{'type':'format','content':_0x1fc160(_0x2d5675,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x5b015a[_0x1a5b('0x17')]){const _0x32e3a8=_0x5b015a[_0x1a5b('0x16')][0x0][_0x1a5b('0x21')];if(_0x32e3a8){const _0x34ae3a=_0x3ca464(this['editor']['config'][_0x1a5b('0x11')](_0x1a5b('0x14')))[_0x1a5b('0x9')](_0x2f137b=>_0x2f137b[_0x1a5b('0x1a')]==_0x32e3a8);let _0x222943=_0x32e3a8,_0x1edddc='';return _0x34ae3a&&(_0x222943=_0x34ae3a[_0x1a5b('0x7')],_0x1edddc=_0x36fa66(_0x222943)[_0x1a5b('0x15')]()),{'type':_0x1a5b('0x1d'),'content':_0x1fc160(_0x2d5675,_0x1a5b('0x1f'),_0x1edddc)[_0x1a5b('0x0')](),'color':{'value':_0x32e3a8,'title':_0x1edddc||_0x222943}};}return{'type':_0x1a5b('0x1d'),'content':_0x1fc160(_0x2d5675,_0x1a5b('0x1'))};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2952=['enableCommand','commandName','*Remove\x20all\x20formatting*','formatInline','join','label','boolean','find','model','registerDescriptionCallback','fontColor','pasteFormat','get','commandParams','editor','split','length','_enableDefaultAttributesIntegration','format','commands','slice','toLowerCase','*Set\x20format\x20to:*\x20%0','fontSize','copyFormat','config','FontSize','type','normalizeSizeOptions','fontSize.options','formatBlock','locale','fontColor.colors','TrackChangesEditing','plugins','afterInit','_registerLegacyDescription','_descriptionFactory'];(function(_0x170f18,_0x295230){const _0x5b26b0=function(_0x1ffc1d){while(--_0x1ffc1d){_0x170f18['push'](_0x170f18['shift']());}};_0x5b26b0(++_0x295230);}(_0x2952,0xc4));const _0x5b26=function(_0x170f18,_0x295230){_0x170f18=_0x170f18-0x0;let _0x5b26b0=_0x2952[_0x170f18];return _0x5b26b0;};import{Plugin as _0x3d43fc}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x28581e}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e553f}from'../utils/common-translations.js';export default class X extends _0x3d43fc{[_0x5b26('0x1d')](){const _0x5761e2=this[_0x5b26('0x8')],_0x35a96a=_0x5761e2[_0x5b26('0x1c')][_0x5b26('0x6')](_0x5b26('0x1b')),_0x330367=_0x5761e2[_0x5b26('0xd')][_0x5b26('0x6')](_0x5b26('0x12')),_0x2982c0=_0x5761e2[_0x5b26('0xd')]['get'](_0x5b26('0x5'));_0x330367&&_0x2982c0&&(_0x35a96a[_0x5b26('0xb')](_0x5b26('0x5')),_0x35a96a[_0x5b26('0x20')](_0x5b26('0x12')),this[_0x5b26('0x1e')]());}[_0x5b26('0x1e')](){const _0x2f5499=this[_0x5b26('0x8')],_0x238f8c=_0x2f5499[_0x5b26('0x19')];_0x2f5499['plugins'][_0x5b26('0x6')](_0x5b26('0x1b'))[_0x5b26('0x1f')][_0x5b26('0x3')](_0x579ffb=>{if(_0x5b26('0x18')!=_0x579ffb[_0x5b26('0x15')]&&_0x5b26('0x23')!=_0x579ffb['type'])return;const {data:_0x2f5b55}=_0x579ffb;if(_0x2f5b55&&_0x5b26('0x5')===_0x2f5b55[_0x5b26('0x21')]){const _0x228ceb=[],_0x19269c=_0x2f5b55[_0x5b26('0x7')][0x0];for(const [_0x219c32,_0x3e4a83]of Object['entries'](_0x19269c))_0x228ceb['push'](so(_0x2f5499,_0x219c32,_0x3e4a83));return _0x228ceb[_0x5b26('0xa')]?{'type':_0x5b26('0xc'),'content':_0x2e553f(_0x238f8c,_0x5b26('0x10'),_0x228ceb[_0x5b26('0x24')](',\x20'))}:{'type':_0x5b26('0xc'),'content':_0x2e553f(_0x238f8c,_0x5b26('0x22'))};}});}}function so(_0x5bf746,_0x1d40d7,_0x47db30){const _0x107716=_0x5bf746[_0x5b26('0x19')]['t'],_0x1d7d0e=_0x1d40d7[_0x5b26('0x9')](/(?=[A-Z])/)['join']('\x20'),_0x1a1c28=_0x107716(_0x1d7d0e['charAt'](0x0)['toUpperCase']()+_0x1d7d0e[_0x5b26('0xe')](0x1))[_0x5b26('0xf')]();if(_0x5b26('0x0')==typeof _0x47db30)return _0x1a1c28;if(_0x5b26('0x4')===_0x1d40d7||'fontBackgroundColor'===_0x1d40d7){const _0x65e3f6=_0x28581e(_0x5bf746['config'][_0x5b26('0x6')](_0x5b26('0x1a')))[_0x5b26('0x1')](_0x186a6e=>_0x186a6e[_0x5b26('0x2')]==_0x47db30);return _0x1a1c28+'\x20('+(_0x65e3f6?_0x107716(_0x65e3f6[_0x5b26('0x25')])[_0x5b26('0xf')]():_0x47db30)+')';}if(_0x5b26('0x11')===_0x1d40d7&&isNaN(parseFloat(_0x47db30))){const _0x44787e=_0x5bf746[_0x5b26('0x1c')]['get'](_0x5b26('0x14'))[_0x5b26('0x16')](_0x5bf746[_0x5b26('0x13')]['get'](_0x5b26('0x17')))['find'](_0x27445b=>_0x27445b[_0x5b26('0x2')]==_0x47db30);return _0x1a1c28+'\x20('+(_0x44787e?_0x107716(_0x44787e['title'])['toLowerCase']():_0x47db30)+')';}return _0x1a1c28+'\x20('+_0x47db30+')';}
|