@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240131.0 → 0.0.0-nightly-20240201.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": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240201.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": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20240201.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240201.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 _0x4d9e=['plugins','editor','canEditAt','_suggestions','isEnabled','acceptSuggestion','get','model','_isEnabledBasedOnSelection','execute','track-changes-accept-suggestion-not-found','refresh'];(function(_0x977293,_0x4d9eaa){const _0x58dc56=function(_0xce927c){while(--_0xce927c){_0x977293['push'](_0x977293['shift']());}};_0x58dc56(++_0x4d9eaa);}(_0x4d9e,0x8b));const _0x58dc=function(_0x977293,_0x4d9eaa){_0x977293=_0x977293-0x0;let _0x58dc56=_0x4d9e[_0x977293];return _0x58dc56;};import{Command as _0x136561}from'ckeditor5/src/core.js';import{CKEditorError as _0x30c24d}from'ckeditor5/src/utils.js';export default class $ extends _0x136561{constructor(_0x2722bf,_0x5cc5eb){super(_0x2722bf),this[_0x58dc('0x8')]=_0x5cc5eb,this[_0x58dc('0x4')](),this[_0x58dc('0x1')]=!0x1;}[_0x58dc('0x4')](){this[_0x58dc('0x9')]=!0x0;}[_0x58dc('0x2')](_0x33ad07){const _0x15c0ce=this['_suggestions'][_0x58dc('0xb')](_0x33ad07);if(!_0x15c0ce)throw new _0x30c24d(_0x58dc('0x3'),this);const _0x3f08d9=_0x15c0ce['getRanges']();this[_0x58dc('0x6')][_0x58dc('0x0')][_0x58dc('0x7')](_0x3f08d9)&&this['editor'][_0x58dc('0x5')][_0x58dc('0xb')]('TrackChangesEditing')[_0x58dc('0xa')](_0x15c0ce);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fee=['get','track-changes-discard-suggestion-not-found','editor','_suggestions','plugins','model','discardSuggestion','execute','refresh','TrackChangesEditing'];(function(_0x153ae3,_0x1feee8){const _0x46a4f7=function(_0x1a02c6){while(--_0x1a02c6){_0x153ae3['push'](_0x153ae3['shift']());}};_0x46a4f7(++_0x1feee8);}(_0x1fee,0xbd));const _0x46a4=function(_0x153ae3,_0x1feee8){_0x153ae3=_0x153ae3-0x0;let _0x46a4f7=_0x1fee[_0x153ae3];return _0x46a4f7;};import{Command as _0x50f3ae}from'ckeditor5/src/core.js';import{CKEditorError as _0x254427}from'ckeditor5/src/utils.js';export default class B extends _0x50f3ae{constructor(_0x4c4aad,_0x3f33b7){super(_0x4c4aad),this['_suggestions']=_0x3f33b7,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x46a4('0x9')](){this['isEnabled']=!0x0;}[_0x46a4('0x8')](_0x4d62f6){const _0x562aba=this[_0x46a4('0x4')][_0x46a4('0x1')](_0x4d62f6);if(!_0x562aba)throw new _0x254427(_0x46a4('0x2'),this);const _0x38a5f1=_0x562aba['getRanges']();this[_0x46a4('0x3')][_0x46a4('0x6')]['canEditAt'](_0x38a5f1)&&this[_0x46a4('0x3')][_0x46a4('0x5')][_0x46a4('0x1')](_0x46a4('0x0'))[_0x46a4('0x7')](_0x562aba);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e45=['model','canEditAt','some','from','_suggestions','_command','values','refresh','getRanges','isInContent','isEnabled','execute'];(function(_0x5da32a,_0x5e4578){const _0x32686c=function(_0x5bbd9b){while(--_0x5bbd9b){_0x5da32a['push'](_0x5da32a['shift']());}};_0x32686c(++_0x5e4578);}(_0x5e45,0x1ed));const _0x3268=function(_0x5da32a,_0x5e4578){_0x5da32a=_0x5da32a-0x0;let _0x32686c=_0x5e45[_0x5da32a];return _0x32686c;};import{Command as _0x5966b7}from'ckeditor5/src/core.js';import{sortSuggestions as _0x39aecc,executeCommandForSuggestions as _0x1ec0aa}from'../utils/utils.js';export default class x extends _0x5966b7{constructor(_0x484f82,_0x20ac25,_0x4224c9){super(_0x484f82),this[_0x3268('0x4')]=_0x20ac25,this[_0x3268('0x3')]=_0x4224c9,this[_0x3268('0x6')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x18dd21=Array['from'](this[_0x3268('0x3')][_0x3268('0x5')]())[_0x3268('0x1')](_0x1241ae=>_0x1241ae[_0x3268('0x8')]);this['isEnabled']=this['_command'][_0x3268('0x9')]&&_0x18dd21;}[_0x3268('0xa')](){const _0x581eb6=_0x39aecc(Array[_0x3268('0x2')](this[_0x3268('0x3')][_0x3268('0x5')]()));for(const _0x4e9d0e of _0x581eb6){const _0x45edc2=_0x4e9d0e[_0x3268('0x7')]();if(!this['editor'][_0x3268('0xb')][_0x3268('0x0')](_0x45edc2))return;}_0x1ec0aa(this['editor'][_0x3268('0xb')],this[_0x3268('0x4')],_0x581eb6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x319c=['editor','getRanges','selection','_selectedSuggestions','document','model','values','_suggestions','_isEnabledBasedOnSelection','size','from','refresh','isEnabled','_command','execute'];(function(_0x2283be,_0x319c34){const _0x172b57=function(_0x51f552){while(--_0x51f552){_0x2283be['push'](_0x2283be['shift']());}};_0x172b57(++_0x319c34);}(_0x319c,0xf5));const _0x172b=function(_0x2283be,_0x319c34){_0x2283be=_0x2283be-0x0;let _0x172b57=_0x319c[_0x2283be];return _0x172b57;};import{Command as _0x40ba6a}from'ckeditor5/src/core.js';import{sortSuggestions as _0x493038,getSelectedSuggestions as _0x47d451,executeCommandForSuggestions as _0x1b703b}from'../utils/utils.js';export default class R extends _0x40ba6a{constructor(_0x4509a9,_0x3b8836,_0x5f3a09){super(_0x4509a9),this[_0x172b('0x8')]=_0x3b8836,this[_0x172b('0x2')]=_0x5f3a09,this[_0x172b('0xd')]=new Set(),this[_0x172b('0x6')](),this[_0x172b('0x3')]=!0x1;}[_0x172b('0x6')](){const _0x582eef=this['editor'][_0x172b('0x0')][_0x172b('0xe')][_0x172b('0xc')],_0x7de215=Array[_0x172b('0x5')](this[_0x172b('0x2')][_0x172b('0x1')]());this[_0x172b('0xd')]=_0x47d451(_0x582eef,_0x7de215),this[_0x172b('0x7')]=this[_0x172b('0x8')]['isEnabled']&&!!this[_0x172b('0xd')][_0x172b('0x4')];}[_0x172b('0x9')](){const _0x747987=_0x493038(Array[_0x172b('0x5')](this[_0x172b('0xd')]));for(const _0x4ac2d5 of _0x747987){const _0x23e689=_0x4ac2d5[_0x172b('0xb')]();if(!this[_0x172b('0xa')][_0x172b('0x0')]['canEditAt'](_0x23e689))return;}_0x1b703b(this['editor']['model'],this[_0x172b('0x8')],_0x747987);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2184=['commands','has','forceDisabled','editor','affectsData','execute','value','TrackChangesCommand','_enabledCommands','refresh','_enableCommands','_disableUnsupportedCommands'];(function(_0x3ce261,_0x218496){const _0x5d4c4b=function(_0x2ffbdf){while(--_0x2ffbdf){_0x3ce261['push'](_0x3ce261['shift']());}};_0x5d4c4b(++_0x218496);}(_0x2184,0x163));const _0x5d4c=function(_0x3ce261,_0x218496){_0x3ce261=_0x3ce261-0x0;let _0x5d4c4b=_0x2184[_0x3ce261];return _0x5d4c4b;};import{Command as _0x200e27}from'ckeditor5/src/core.js';export default class M extends _0x200e27{constructor(_0x193f08,_0x25c8e4){super(_0x193f08),this[_0x5d4c('0x1')]=_0x25c8e4,this[_0x5d4c('0xb')]=!0x1,this[_0x5d4c('0x2')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x5d4c('0x2')](){this['isEnabled']=!0x0;}[_0x5d4c('0xa')](){this[_0x5d4c('0xb')]=!this['value'],this['value']?this[_0x5d4c('0x4')]():this[_0x5d4c('0x3')]();}['_disableUnsupportedCommands'](){for(const _0x4a0177 of this['editor']['commands'][_0x5d4c('0x5')]())_0x4a0177[_0x5d4c('0x9')]&&!this['_enabledCommands'][_0x5d4c('0x6')](_0x4a0177)&&_0x4a0177[_0x5d4c('0x7')]('TrackChangesCommand');}[_0x5d4c('0x3')](){for(const _0x39b174 of this[_0x5d4c('0x8')][_0x5d4c('0x5')][_0x5d4c('0x5')]())_0x39b174[_0x5d4c('0x9')]&&!this[_0x5d4c('0x1')][_0x5d4c('0x6')](_0x39b174)&&_0x39b174['clearForceDisabled'](_0x5d4c('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3aa9=['plugins','commands','afterInit','showAIAssistant','enableCommand','TrackChangesEditing','get'];(function(_0x5bde4f,_0x3aa9b8){const _0x57f6b1=function(_0x2c168e){while(--_0x2c168e){_0x5bde4f['push'](_0x5bde4f['shift']());}};_0x57f6b1(++_0x3aa9b8);}(_0x3aa9,0x1e6));const _0x57f6=function(_0x5bde4f,_0x3aa9b8){_0x5bde4f=_0x5bde4f-0x0;let _0x57f6b1=_0x3aa9[_0x5bde4f];return _0x57f6b1;};import{Plugin as _0x843105}from'ckeditor5/src/core.js';export default class E extends _0x843105{[_0x57f6('0x6')](){const _0x49a450=this['editor'],_0x1b985a=_0x49a450[_0x57f6('0x4')]['get'](_0x57f6('0x2'));_0x49a450[_0x57f6('0x5')][_0x57f6('0x3')]('showAIAssistant')&&_0x1b985a[_0x57f6('0x1')](_0x57f6('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35da=['format','editor','_enableDefaultAttributesIntegration','type','TrackChangesEditing','justify','registerDescriptionCallback','plugins','value','*Format:*\x20%0','FORMAT_ALIGN_TO_CENTER','FORMAT_ALIGNMENT','center','FORMAT_JUSTIFY_TEXT','locale','AlignmentEditing','alignment','_descriptionFactory','commandParams','get','FORMAT_ALIGN_TO_RIGHT','FORMAT_ALIGN_TO_LEFT','_registerLegacyDescription','afterInit'];(function(_0x9c13b3,_0x35dab5){const _0x469b91=function(_0x24c366){while(--_0x24c366){_0x9c13b3['push'](_0x9c13b3['shift']());}};_0x469b91(++_0x35dab5);}(_0x35da,0x8c));const _0x469b=function(_0x9c13b3,_0x35dab5){_0x9c13b3=_0x9c13b3-0x0;let _0x469b91=_0x35da[_0x9c13b3];return _0x469b91;};import{Plugin as _0x44eb65}from'ckeditor5/src/core.js';import{getTranslation as _0x37a742}from'../utils/common-translations.js';export default class V extends _0x44eb65{[_0x469b('0x3')](){const _0x395e7b=this[_0x469b('0x5')],_0x4e234b=_0x395e7b[_0x469b('0x12')];if(!_0x395e7b[_0x469b('0xb')]['has'](_0x469b('0x13')))return;const _0x2e57b7=_0x395e7b['plugins'][_0x469b('0x17')](_0x469b('0x8'));_0x2e57b7[_0x469b('0x6')](_0x469b('0x14'),[],[_0x469b('0x14')]),_0x2e57b7['_descriptionFactory']['registerAttributeLabel'](_0x469b('0x14'),_0x37a742(_0x4e234b,_0x469b('0xf'))),this[_0x469b('0x2')]();}[_0x469b('0x2')](){const _0x331b05=this[_0x469b('0x5')],_0x40660b=_0x331b05[_0x469b('0x12')];_0x331b05[_0x469b('0xb')][_0x469b('0x17')](_0x469b('0x8'))[_0x469b('0x15')][_0x469b('0xa')](_0x3f6ec3=>{if('formatBlock'!=_0x3f6ec3[_0x469b('0x7')])return;const {data:_0x57c076}=_0x3f6ec3;if(_0x57c076&&_0x469b('0x14')==_0x57c076['commandName']){const _0x4dee72=_0x57c076[_0x469b('0x16')][0x0][_0x469b('0xc')];return{'type':_0x469b('0x4'),'content':_0x37a742(_0x40660b,_0x469b('0xd'),function(_0x19af0d){switch(_0x19af0d){case'left':return _0x37a742(_0x40660b,_0x469b('0x1'));case'right':return _0x37a742(_0x40660b,_0x469b('0x0'));case _0x469b('0x10'):return _0x37a742(_0x40660b,_0x469b('0xe'));case _0x469b('0x9'):return _0x37a742(_0x40660b,_0x469b('0x11'));}}(_0x4dee72))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9730=['_enableDefaultAttributesIntegration','toUpperCase','*Remove\x20format:*\x20%0','_registerLegacyDescription','strikethrough','StrikethroughEditing','FORMAT_SUBSCRIPT','italic','slice','SubscriptEditing','bold','format','afterInit','FORMAT_UNDERLINE','registerAttributeLabel','FORMAT_SUPERSCRIPT','formatInline','code','underline','*Format:*\x20%0','get','FORMAT_CODE','plugins','type','FORMAT_','_descriptionFactory','subscript','commandParams','FORMAT_BOLD','SuperscriptEditing','TrackChangesEditing','locale','registerDescriptionCallback','CodeEditing','editor','UnderlineEditing'];(function(_0xc741b0,_0x9730aa){const _0x29a100=function(_0x5cb714){while(--_0x5cb714){_0xc741b0['push'](_0xc741b0['shift']());}};_0x29a100(++_0x9730aa);}(_0x9730,0x98));const _0x29a1=function(_0xc741b0,_0x9730aa){_0xc741b0=_0xc741b0-0x0;let _0x29a100=_0x9730[_0xc741b0];return _0x29a100;};import{Plugin as _0x347a22}from'ckeditor5/src/core.js';import{getTranslation as _0x1bb67e}from'../utils/common-translations.js';const ti=['BoldEditing','ItalicEditing',_0x29a1('0x1b'),_0x29a1('0x19'),_0x29a1('0x21'),_0x29a1('0x1'),_0x29a1('0x15')];export default class U extends _0x347a22{[_0x29a1('0x4')](){const _0x4a3f0c=this[_0x29a1('0x1a')],_0x403af2=_0x4a3f0c[_0x29a1('0xe')][_0x29a1('0xc')](_0x29a1('0x16')),_0x521252=_0x4a3f0c[_0x29a1('0x17')];for(const _0x2bd0be of ti){if(!_0x4a3f0c[_0x29a1('0xe')]['has'](_0x2bd0be))continue;const _0x431dce=_0x2bd0be[_0x29a1('0x0')](0x0,-0x7)['toLowerCase'](),_0xc52bd2=_0x29a1('0x10')+_0x431dce[_0x29a1('0x1d')]();_0x403af2[_0x29a1('0x1c')](_0x431dce,[_0x431dce]),_0x403af2['_descriptionFactory'][_0x29a1('0x6')](_0x431dce,_0x1bb67e(_0x521252,_0xc52bd2));}this[_0x29a1('0x1f')]();}[_0x29a1('0x1f')](){const _0x250d26=this[_0x29a1('0x1a')],_0x2295f3=_0x250d26[_0x29a1('0x17')],_0x517c43=_0x250d26[_0x29a1('0xe')][_0x29a1('0xc')](_0x29a1('0x16'));function _0x38921d(_0x8c142f,_0x135765){_0x517c43[_0x29a1('0x11')][_0x29a1('0x18')](_0x102fc4=>{if(_0x29a1('0x8')!=_0x102fc4[_0x29a1('0xf')])return;const {data:_0x43f367}=_0x102fc4;return _0x43f367&&_0x43f367['commandName']===_0x8c142f?_0x43f367[_0x29a1('0x13')][0x0]['forceValue']?{'type':_0x29a1('0x3'),'content':_0x1bb67e(_0x2295f3,_0x29a1('0xb'),_0x135765)}:{'type':_0x29a1('0x3'),'content':_0x1bb67e(_0x2295f3,_0x29a1('0x1e'),_0x135765)}:void 0x0;});}_0x38921d(_0x29a1('0x2'),_0x1bb67e(_0x2295f3,_0x29a1('0x14'))),_0x38921d(_0x29a1('0x23'),_0x1bb67e(_0x2295f3,'FORMAT_ITALIC')),_0x38921d(_0x29a1('0xa'),_0x1bb67e(_0x2295f3,_0x29a1('0x5'))),_0x38921d(_0x29a1('0x9'),_0x1bb67e(_0x2295f3,_0x29a1('0xd'))),_0x38921d(_0x29a1('0x20'),_0x1bb67e(_0x2295f3,'FORMAT_STRIKETHROUGH')),_0x38921d(_0x29a1('0x12'),_0x1bb67e(_0x2295f3,_0x29a1('0x22'))),_0x38921d('superscript',_0x1bb67e(_0x2295f3,_0x29a1('0x7')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b76=['registerDescriptionCallback','schema','enableCommand','ELEMENT_BLOCK_QUOTE','getSelectedBlocks','*Remove\x20format:*\x20%0','from','checkChild','editor','filter','locale','format','has','commandName','parent','blockQuote','value','_descriptionFactory','BlockQuoteEditing','afterInit','*Set\x20format:*\x20%0','get','forceValue','change','document','plugins','model','commands'];(function(_0x177b07,_0x3b7649){const _0x52243d=function(_0x5168fb){while(--_0x5168fb){_0x177b07['push'](_0x177b07['shift']());}};_0x52243d(++_0x3b7649);}(_0x3b76,0xc6));const _0x5224=function(_0x177b07,_0x3b7649){_0x177b07=_0x177b07-0x0;let _0x52243d=_0x3b76[_0x177b07];return _0x52243d;};import{Plugin as _0x54baaf}from'ckeditor5/src/core.js';import{getTranslation as _0x3a0611}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x2e6fb7}from'../utils/utils.js';export default class O extends _0x54baaf{[_0x5224('0x11')](){const _0x4efd2e=this[_0x5224('0x6')],_0x172169=_0x4efd2e[_0x5224('0x8')];if(!_0x4efd2e[_0x5224('0x17')][_0x5224('0xa')](_0x5224('0x10')))return;const _0x399ff5=_0x4efd2e[_0x5224('0x17')][_0x5224('0x13')]('TrackChangesEditing'),_0x34d598=this['editor'][_0x5224('0x19')][_0x5224('0x13')]('blockQuote');_0x399ff5[_0x5224('0x0')](_0x5224('0xd'),(_0x2ad663,_0x49afe3={})=>{const _0x532441=this[_0x5224('0x6')]['model'][_0x5224('0x16')]['selection'],_0x1b6ff4=_0x49afe3&&void 0x0!==_0x49afe3[_0x5224('0x14')]?_0x49afe3[_0x5224('0x14')]:!_0x34d598[_0x5224('0xe')];let _0x3cb83a=[];if(_0x1b6ff4){const _0x39730a=Array[_0x5224('0x4')](_0x532441[_0x5224('0x2')]())['filter'](_0x194a7b=>oo(_0x194a7b)||function(_0x46778a,_0x111070){const _0x9d2293=_0x111070['checkChild'](_0x46778a[_0x5224('0xc')],_0x5224('0xd')),_0x524626=_0x111070[_0x5224('0x5')](['$root','blockQuote'],_0x46778a);return _0x9d2293&&_0x524626;}(_0x194a7b,this[_0x5224('0x6')][_0x5224('0x18')][_0x5224('0x1b')]));_0x3cb83a=_0x2e6fb7(_0x39730a,_0x4efd2e[_0x5224('0x18')]);}else{const _0x538373=Array[_0x5224('0x4')](_0x532441[_0x5224('0x2')]())[_0x5224('0x7')](_0x11398f=>oo(_0x11398f));_0x3cb83a=_0x2e6fb7(_0x538373,_0x4efd2e[_0x5224('0x18')]);}_0x4efd2e[_0x5224('0x18')][_0x5224('0x15')](()=>{for(const _0x996edc of _0x3cb83a)_0x399ff5['markBlockFormat'](_0x996edc,{'commandName':_0x5224('0xd'),'commandParams':[{'forceValue':_0x1b6ff4}]});});}),_0x399ff5[_0x5224('0xf')][_0x5224('0x1a')](_0x1831e5=>{const {data:_0x345a89}=_0x1831e5;if(_0x345a89&&'blockQuote'==_0x345a89[_0x5224('0xb')]){const _0xde541e=_0x3a0611(_0x172169,_0x5224('0x1'));return _0x345a89['commandParams'][0x0][_0x5224('0x14')]?{'type':_0x5224('0x9'),'content':_0x3a0611(_0x172169,_0x5224('0x12'),_0xde541e)}:{'type':_0x5224('0x9'),'content':_0x3a0611(_0x172169,_0x5224('0x3'),_0xde541e)};}});}}function oo(_0x1bad77){return _0x5224('0xd')==_0x1bad77['parent']['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1535=['get','TrackChangesEditing','changeCaseTitle','afterInit','changeCaseLower','plugins','CaseChange','has','enableCommand','editor'];(function(_0x3b0bb3,_0x153500){const _0x5808dd=function(_0x1dc88a){while(--_0x1dc88a){_0x3b0bb3['push'](_0x3b0bb3['shift']());}};_0x5808dd(++_0x153500);}(_0x1535,0x15c));const _0x5808=function(_0x3b0bb3,_0x153500){_0x3b0bb3=_0x3b0bb3-0x0;let _0x5808dd=_0x1535[_0x3b0bb3];return _0x5808dd;};import{Plugin as _0x333bfc}from'ckeditor5/src/core.js';export default class G extends _0x333bfc{[_0x5808('0x5')](){const _0x2ae068=this[_0x5808('0x1')];_0x2ae068['plugins'][_0x5808('0x9')](_0x5808('0x8'))&&(_0x2ae068[_0x5808('0x7')]['get'](_0x5808('0x3'))['enableCommand']('changeCaseUpper'),_0x2ae068[_0x5808('0x7')]['get'](_0x5808('0x3'))[_0x5808('0x0')](_0x5808('0x6')),_0x2ae068[_0x5808('0x7')][_0x5808('0x2')](_0x5808('0x3'))[_0x5808('0x0')](_0x5808('0x4')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45b8=['ckbox','TrackChangesEditing','afterInit','enableCommand','plugins','commands'];(function(_0x2e88f7,_0x45b8f8){const _0xa08db4=function(_0x3bb0c1){while(--_0x3bb0c1){_0x2e88f7['push'](_0x2e88f7['shift']());}};_0xa08db4(++_0x45b8f8);}(_0x45b8,0x127));const _0xa08d=function(_0x2e88f7,_0x45b8f8){_0x2e88f7=_0x2e88f7-0x0;let _0xa08db4=_0x45b8[_0x2e88f7];return _0xa08db4;};import{Plugin as _0x2bda0a}from'ckeditor5/src/core.js';export default class F extends _0x2bda0a{[_0xa08d('0x1')](){const _0x5570f3=this['editor'];_0x5570f3[_0xa08d('0x4')]['get'](_0xa08d('0x5'))&&_0x5570f3[_0xa08d('0x3')]['get'](_0xa08d('0x0'))[_0xa08d('0x2')](_0xa08d('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50d5=['registerElementLabel','selection','has','registerDescriptionCallback','value','language','editor','find','change','afterInit','*Remove\x20format:*\x20%0','commandParams','schema','markBlockFormat','from','parent','outdentCodeBlock','locale','commandName','forceValue','document','filter','formatBlock','TrackChangesEditing','getSelectedBlocks','model','languages','codeBlock','get','_descriptionFactory','checkChild','rootElement','toLowerCase','format','isLimit','blockName','plugins','ELEMENT_CODE_BLOCK','enableCommand','type'];(function(_0x57ff3e,_0x50d554){const _0x3ccbdf=function(_0x56d512){while(--_0x56d512){_0x57ff3e['push'](_0x57ff3e['shift']());}};_0x3ccbdf(++_0x50d554);}(_0x50d5,0x7b));const _0x3ccb=function(_0x57ff3e,_0x50d554){_0x57ff3e=_0x57ff3e-0x0;let _0x3ccbdf=_0x50d5[_0x57ff3e];return _0x3ccbdf;};import{Plugin as _0xf92ce1}from'ckeditor5/src/core.js';import{getTranslation as _0x143e73}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x28444b}from'../utils/utils.js';export default class L extends _0xf92ce1{[_0x3ccb('0x6')](){const _0x15ebc2=this[_0x3ccb('0x3')];if(!_0x15ebc2[_0x3ccb('0x21')][_0x3ccb('0x27')]('CodeBlock'))return;const _0x5cd262=_0x15ebc2[_0x3ccb('0x21')]['get'](_0x3ccb('0x14')),_0x5e3409=_0x15ebc2[_0x3ccb('0xe')],_0x53c78b=_0x15ebc2['config'][_0x3ccb('0x19')]('codeBlock')[_0x3ccb('0x17')],_0x3973fb=_0x15ebc2['commands'][_0x3ccb('0x19')]('codeBlock');_0x5cd262[_0x3ccb('0x23')]('indentCodeBlock'),_0x5cd262[_0x3ccb('0x23')](_0x3ccb('0xd')),_0x5cd262[_0x3ccb('0x23')](_0x3ccb('0x18'),(_0x1bcb1f,_0x10be0f={})=>{const _0x2535a1=_0x15ebc2[_0x3ccb('0x16')],_0x16c5f8=_0x15ebc2[_0x3ccb('0x16')][_0x3ccb('0x11')][_0x3ccb('0x26')],_0x2c6210=_0x10be0f&&void 0x0!==_0x10be0f[_0x3ccb('0x10')]?_0x10be0f['forceValue']:!_0x3973fb[_0x3ccb('0x1')];let _0x1d6edf;_0x10be0f[_0x3ccb('0x2')]||(_0x10be0f['language']=_0x53c78b[0x0][_0x3ccb('0x2')]),_0x1d6edf=_0x2c6210?Array['from'](_0x16c5f8[_0x3ccb('0x15')]())[_0x3ccb('0x12')](_0x5e9cff=>eo(_0x5e9cff)||function(_0x26b391,_0x39d5fb){if(_0x26b391['is'](_0x3ccb('0x1c'))||_0x39d5fb[_0x3ccb('0x1f')](_0x26b391))return!0x1;return _0x39d5fb[_0x3ccb('0x1b')](_0x26b391[_0x3ccb('0xc')],_0x3ccb('0x18'));}(_0x5e9cff,_0x2535a1[_0x3ccb('0x9')])):Array[_0x3ccb('0xb')](_0x16c5f8[_0x3ccb('0x15')]())[_0x3ccb('0x12')](_0x4c67c8=>eo(_0x4c67c8));const _0x481b82=_0x28444b(_0x1d6edf,_0x2535a1);_0x2535a1[_0x3ccb('0x5')](()=>{for(const _0x45e8f8 of _0x481b82)_0x5cd262[_0x3ccb('0xa')](_0x45e8f8,{'commandName':_0x3ccb('0x18'),'commandParams':[{..._0x10be0f,'forceValue':_0x2c6210}],'formatGroupId':_0x3ccb('0x20')});});}),(_0x5cd262[_0x3ccb('0x1a')][_0x3ccb('0x25')](_0x3ccb('0x18'),_0x1b1ded=>_0x143e73(_0x5e3409,_0x3ccb('0x22'),_0x1b1ded)),_0x5cd262['_descriptionFactory'][_0x3ccb('0x0')](_0x32f687=>{if(_0x3ccb('0x13')!=_0x32f687[_0x3ccb('0x24')])return;const _0x355af1=_0x5e3409['t'],{data:_0x4f0800}=_0x32f687;if(!_0x4f0800||_0x3ccb('0x18')!=_0x4f0800[_0x3ccb('0xf')])return;const _0x5bf5ee=_0x4f0800[_0x3ccb('0x8')][0x0][_0x3ccb('0x2')],_0x493d9e=_0x355af1(_0x53c78b[_0x3ccb('0x4')](_0x7e5119=>_0x7e5119[_0x3ccb('0x2')]===_0x5bf5ee)['label'])[_0x3ccb('0x1d')]();return _0x4f0800[_0x3ccb('0x8')][0x0]['forceValue']?{'type':_0x3ccb('0x1e'),'content':_0x143e73(_0x5e3409,'*Set\x20format:*\x20%0',_0x143e73(_0x5e3409,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x493d9e+')')}:{'type':_0x3ccb('0x1e'),'content':_0x143e73(_0x5e3409,_0x3ccb('0x7'),_0x143e73(_0x5e3409,_0x3ccb('0x22'),0x1))};}));}}function eo(_0x124b95){return _0x3ccb('0x18')==_0x124b95['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcad7=['CommentsEditing','has','enableCommand','afterInit','addCommentThread','plugins'];(function(_0x40f2c1,_0xcad7c5){const _0x3bcb78=function(_0x189d81){while(--_0x189d81){_0x40f2c1['push'](_0x40f2c1['shift']());}};_0x3bcb78(++_0xcad7c5);}(_0xcad7,0x75));const _0x3bcb=function(_0x40f2c1,_0xcad7c5){_0x40f2c1=_0x40f2c1-0x0;let _0x3bcb78=_0xcad7[_0x40f2c1];return _0x3bcb78;};import{Plugin as _0x3c7726}from'ckeditor5/src/core.js';export default class H extends _0x3c7726{[_0x3bcb('0x0')](){const _0x1022a1=this['editor'];if(!_0x1022a1[_0x3bcb('0x2')][_0x3bcb('0x4')](_0x3bcb('0x3')))return;_0x1022a1[_0x3bcb('0x2')]['get']('TrackChangesEditing')[_0x3bcb('0x5')](_0x3bcb('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12cd=['createRange','enableCommand','bind','requires','lock','get','remove','buffer','commands','deleteForward','createSelection','unbindElementFromMarkerName','document','data','start','batch','addMarker:suggestion:deletion','options','merge','forward','downcastDispatcher','high','unit','writer','mapper','showSuggestionHighlights','modifySelection','enqueueChange','editor','model','selection','fromRange','rootName','removeMarker:suggestion:deletion','isCollapsed','editing','markerName','init','$graveyard','end','markerNameToElements','plugins','TrackChangesEditing'];(function(_0xfcf417,_0x12cd42){const _0x2b8ff8=function(_0x2a7498){while(--_0x2a7498){_0xfcf417['push'](_0xfcf417['shift']());}};_0x2b8ff8(++_0x12cd42);}(_0x12cd,0xa6));const _0x2b8f=function(_0xfcf417,_0x12cd42){_0xfcf417=_0xfcf417-0x0;let _0x2b8ff8=_0x12cd[_0xfcf417];return _0x2b8ff8;};import{Plugin as _0x30ded5}from'ckeditor5/src/core.js';import{LiveRange as _0x3f6f36}from'ckeditor5/src/engine.js';import{Delete as _0x4aaf80}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x404efa}from'./utils.js';export default class q extends _0x30ded5{static get[_0x2b8f('0x9')](){return[_0x4aaf80];}[_0x2b8f('0x0')](){const _0x5ea2ef=this[_0x2b8f('0x22')],_0x2e2ea3=_0x5ea2ef[_0x2b8f('0x4')][_0x2b8f('0xb')](_0x2b8f('0x5'));_0x2e2ea3[_0x2b8f('0x7')]('delete');const _0x29dc50=_0x5ea2ef[_0x2b8f('0xe')][_0x2b8f('0xb')](_0x2b8f('0xf'));_0x2e2ea3[_0x2b8f('0x7')](_0x2b8f('0xf'),(_0x50d2cb,_0x1941e6={})=>{const _0x4b9f08=_0x5ea2ef[_0x2b8f('0x23')][_0x2b8f('0x10')](_0x5ea2ef['model'][_0x2b8f('0x12')][_0x2b8f('0x24')]);_0x4b9f08[_0x2b8f('0x28')]&&_0x5ea2ef['model'][_0x2b8f('0x20')](_0x4b9f08,{'direction':_0x2b8f('0x19'),'unit':_0x1941e6[_0x2b8f('0x1c')]});const _0x1539e7=_0x4b9f08['getFirstRange'](),_0x4f7ffb=_0x3f6f36[_0x2b8f('0x25')](_0x1539e7);let _0x28d5d9;_0x50d2cb(_0x1941e6),_0x28d5d9=_0x2b8f('0x1')==_0x4f7ffb['root'][_0x2b8f('0x26')]?_0x5ea2ef['model'][_0x2b8f('0x6')](_0x1539e7[_0x2b8f('0x14')]):_0x5ea2ef[_0x2b8f('0x23')][_0x2b8f('0x6')](_0x4f7ffb[_0x2b8f('0x14')],_0x4f7ffb[_0x2b8f('0x2')]),_0x4f7ffb['detach'](),_0x5ea2ef['model'][_0x2b8f('0x21')](_0x29dc50['buffer'][_0x2b8f('0x15')],_0x4f48db=>{_0x29dc50[_0x2b8f('0xd')][_0x2b8f('0xa')](),_0x4f48db['setSelection'](_0x4f48db[_0x2b8f('0x6')](_0x28d5d9[_0x2b8f('0x2')])),_0x29dc50[_0x2b8f('0xd')]['unlock']();});}),_0x5ea2ef[_0x2b8f('0x29')][_0x2b8f('0x1a')]['on'](_0x2b8f('0x16'),_0x404efa(_0x5ea2ef,_0x2b8f('0x18')),{'priority':_0x2b8f('0x1b')}),_0x5ea2ef[_0x2b8f('0x13')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3a113b,_0x3cc66f,_0xabe205)=>{_0xabe205[_0x2b8f('0x17')][_0x2b8f('0x1f')]&&_0x404efa(_0x5ea2ef,_0x2b8f('0x18'),{'showActiveMarker':!0x1})[_0x2b8f('0x8')](this)(_0x3a113b,_0x3cc66f,_0xabe205);},{'priority':_0x2b8f('0x1b')}),_0x5ea2ef[_0x2b8f('0x29')][_0x2b8f('0x1a')]['on'](_0x2b8f('0x27'),(_0x838d88,_0x33b84d,_0x2f5778)=>{const _0x132133=_0x2f5778['mapper'][_0x2b8f('0x3')](_0x33b84d[_0x2b8f('0x2a')]);if(_0x132133)for(const _0x521fe0 of _0x132133)_0x521fe0['is']('uiElement')&&(_0x2f5778[_0x2b8f('0x1e')][_0x2b8f('0x11')](_0x521fe0,_0x33b84d[_0x2b8f('0x2a')]),_0x2f5778[_0x2b8f('0x1d')][_0x2b8f('0xc')](_0x521fe0));},{'priority':_0x2b8f('0x1b')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13ff=['enableCommand','hasClass','requires','parent','mapper','data','downcastDispatcher','markerNameToElements','remove','getFirstPosition','change','markerName','fire','TrackChangesEditing','enterBlock','document','enter','unbindElementFromMarkerName','writer','getFirstRange','showSuggestionHighlights','get','editing','addMarker:suggestion:insertion','bind','split','init','selection','high','options','removeMarker:suggestion:insertion','createRange','nextSibling','model','fromRange'];(function(_0x46bf07,_0x13ff40){const _0x2cd0d7=function(_0x26bb76){while(--_0x26bb76){_0x46bf07['push'](_0x46bf07['shift']());}};_0x2cd0d7(++_0x13ff40);}(_0x13ff,0x18d));const _0x2cd0=function(_0x46bf07,_0x13ff40){_0x46bf07=_0x46bf07-0x0;let _0x2cd0d7=_0x13ff[_0x46bf07];return _0x2cd0d7;};import{Plugin as _0x59cc0c}from'ckeditor5/src/core.js';import{Enter as _0x2ccea4}from'ckeditor5/src/enter.js';import{LiveRange as _0x60c43c}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x3480d1}from'./utils.js';export default class W extends _0x59cc0c{static get[_0x2cd0('0x19')](){return[_0x2ccea4];}[_0x2cd0('0xe')](){const _0x5db60c=this['editor'],_0x2925d8=_0x5db60c['plugins'][_0x2cd0('0x9')](_0x2cd0('0x1')),_0x1225b4=_0x5db60c['commands'][_0x2cd0('0x9')]('enter');_0x2925d8[_0x2cd0('0x17')](_0x2cd0('0x4'),()=>{_0x5db60c[_0x2cd0('0x15')][_0x2cd0('0x21')](_0x3575c0=>{const _0x53d162=_0x5db60c['model'][_0x2cd0('0x3')][_0x2cd0('0xf')],_0x153f16=_0x53d162[_0x2cd0('0x20')](),_0x1d3d8b=_0x60c43c[_0x2cd0('0x16')](_0x53d162[_0x2cd0('0x7')]());if(_0x1225b4[_0x2cd0('0x2')](_0x3575c0)){const _0x15e630=_0x5db60c[_0x2cd0('0x15')]['createPositionAt'](_0x153f16[_0x2cd0('0x1a')][_0x2cd0('0x14')],0x0),_0x19898d=_0x3575c0[_0x2cd0('0x13')](_0x153f16,_0x15e630);_0x2925d8['markInsertion'](_0x19898d);}else _0x3575c0['setSelection'](_0x3575c0[_0x2cd0('0x13')](_0x1d3d8b['end']));_0x1d3d8b['detach'](),_0x1225b4[_0x2cd0('0x0')]('afterExecute',{'writer':_0x3575c0});});}),_0x5db60c['editing'][_0x2cd0('0x1d')]['on'](_0x2cd0('0xb'),_0x3480d1(_0x5db60c,_0x2cd0('0xd')),{'priority':_0x2cd0('0x10')}),_0x5db60c[_0x2cd0('0xa')][_0x2cd0('0x1d')]['on'](_0x2cd0('0x12'),(_0x554753,_0x2614e7,_0x1adfc0)=>{const _0x67d92e=_0x1adfc0[_0x2cd0('0x1b')][_0x2cd0('0x1e')](_0x2614e7[_0x2cd0('0x22')]);if(_0x67d92e)for(const _0x4c2123 of _0x67d92e)_0x4c2123[_0x2cd0('0x18')]('ck-suggestion-marker-split')&&(_0x1adfc0[_0x2cd0('0x1b')][_0x2cd0('0x5')](_0x4c2123,_0x2614e7['markerName']),_0x1adfc0[_0x2cd0('0x6')][_0x2cd0('0x1f')](_0x4c2123));},{'priority':_0x2cd0('0x10')}),_0x5db60c[_0x2cd0('0x1c')][_0x2cd0('0x1d')]['on']('addMarker:suggestion:insertion',(_0x6f73e7,_0x40d214,_0x1e8e55)=>{_0x1e8e55[_0x2cd0('0x11')][_0x2cd0('0x8')]&&_0x3480d1(_0x5db60c,_0x2cd0('0xd'),{'showActiveMarker':!0x1})[_0x2cd0('0xc')](this)(_0x6f73e7,_0x40d214,_0x1e8e55);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x422d=['get','FindAndReplaceEditing','find','model','handleFindCommand','editor','bind','FindAndReplaceUtils','TrackChangesEditing','getRange','has','replace','filter','end','markers','findNext','createRange','_isInDeletionRange','findPrevious','plugins','getMarkersGroup','enableCommand','afterInit','start','getIntersection','createPositionAt'];(function(_0x3aa8e2,_0x422dcb){const _0x3f94c4=function(_0x25412b){while(--_0x25412b){_0x3aa8e2['push'](_0x3aa8e2['shift']());}};_0x3f94c4(++_0x422dcb);}(_0x422d,0x15a));const _0x3f94=function(_0x3aa8e2,_0x422dcb){_0x3aa8e2=_0x3aa8e2-0x0;let _0x3f94c4=_0x422d[_0x3aa8e2];return _0x3f94c4;};import{Plugin as _0xd518db}from'ckeditor5/src/core.js';export default class J extends _0xd518db{[_0x3f94('0xe')](){if(!this[_0x3f94('0x17')]['plugins'][_0x3f94('0x2')](_0x3f94('0x13')))return;const _0x5e0832=this[_0x3f94('0x17')][_0x3f94('0xb')][_0x3f94('0x12')](_0x3f94('0x0'));_0x5e0832[_0x3f94('0xd')](_0x3f94('0x14'),this[_0x3f94('0x16')][_0x3f94('0x18')](this)),_0x5e0832[_0x3f94('0xd')](_0x3f94('0x7')),_0x5e0832['enableCommand'](_0x3f94('0xa')),_0x5e0832[_0x3f94('0xd')](_0x3f94('0x3')),_0x5e0832[_0x3f94('0xd')]('replaceAll');}[_0x3f94('0x16')](_0x4ccce0,_0x569831,_0x11b7a3={}){const _0x54b988=this['editor']['plugins']['get'](_0x3f94('0x19'));return _0x4ccce0(_0x5c3299=>('string'==typeof _0x569831?_0x54b988['findByTextCallback'](_0x569831,_0x11b7a3):_0x569831)(_0x5c3299)[_0x3f94('0x4')](_0x49e923=>!0x1===this[_0x3f94('0x9')](_0x49e923,_0x5c3299['item'])),_0x11b7a3);}[_0x3f94('0x9')](_0x94f796,_0x4254fd){const _0x470436=this[_0x3f94('0x17')]['model'][_0x3f94('0x8')](this[_0x3f94('0x17')][_0x3f94('0x15')][_0x3f94('0x11')](_0x4254fd,_0x94f796[_0x3f94('0xf')]),this[_0x3f94('0x17')][_0x3f94('0x15')][_0x3f94('0x11')](_0x4254fd,_0x94f796[_0x3f94('0x5')]));for(const _0x5e81b9 of this[_0x3f94('0x17')][_0x3f94('0x15')][_0x3f94('0x6')][_0x3f94('0xc')]('suggestion:deletion'))if(null!==_0x470436[_0x3f94('0x10')](_0x5e81b9[_0x3f94('0x1')]()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3826=['FORMAT_FONT_SIZE','_enableDefaultAttributesIntegration','find','locale','*Reset\x20font\x20size*','*Set\x20font\x20family:*\x20%0','trim','fontFamily','type','has','FORMAT_FONT_COLOR','registerDescriptionCallback','*Set\x20font\x20background\x20color:*\x20%0','fontColor.colors','FontFamilyEditing','FontSizeEditing','value','label','config','title','registerAttributeLabel','fontSize','afterInit','*Set\x20font\x20color:*\x20%0','toLowerCase','_descriptionFactory','commandParams','_registerLegacyDescription','*Reset\x20font\x20color*','editor','fontSize.options','TrackChangesEditing','fontBackgroundColor','get','commandName','plugins','FORMAT_FONT_FAMILY','formatInline','fontColor','format','FontBackgroundColorEditing','*Reset\x20font\x20family*'];(function(_0x1fd56c,_0x38268d){const _0x1b4b28=function(_0x5a80d4){while(--_0x5a80d4){_0x1fd56c['push'](_0x1fd56c['shift']());}};_0x1b4b28(++_0x38268d);}(_0x3826,0xe9));const _0x1b4b=function(_0x1fd56c,_0x38268d){_0x1fd56c=_0x1fd56c-0x0;let _0x1b4b28=_0x3826[_0x1fd56c];return _0x1b4b28;};import{Plugin as _0x1c573e}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x5122ec}from'ckeditor5/src/ui.js';import{getTranslation as _0x30398e}from'../utils/common-translations.js';const ro=[{'pluginName':_0x1b4b('0x22'),'commandName':'fontSize'},{'pluginName':_0x1b4b('0x21'),'commandName':_0x1b4b('0x1a')},{'pluginName':'FontColorEditing','commandName':_0x1b4b('0xf')},{'pluginName':_0x1b4b('0x11'),'commandName':'fontBackgroundColor'}];export default class Q extends _0x1c573e{[_0x1b4b('0x29')](){const _0x99c1c8=this[_0x1b4b('0x6')][_0x1b4b('0x16')],_0x2d5f08=this['editor'][_0x1b4b('0xc')][_0x1b4b('0xa')](_0x1b4b('0x8'));for(const {pluginName:_0xcb5133,commandName:_0xe37bdd}of ro)this[_0x1b4b('0x6')]['plugins'][_0x1b4b('0x1c')](_0xcb5133)&&_0x2d5f08[_0x1b4b('0x14')](_0xe37bdd,[_0xe37bdd]);_0x99c1c8['t'],(_0x2d5f08[_0x1b4b('0x2')][_0x1b4b('0x27')]('fontSize',_0x30398e(_0x99c1c8,_0x1b4b('0x13'))),_0x2d5f08[_0x1b4b('0x2')][_0x1b4b('0x27')]('fontFamily',_0x30398e(_0x99c1c8,_0x1b4b('0xd'))),_0x2d5f08['_descriptionFactory'][_0x1b4b('0x27')](_0x1b4b('0xf'),_0x30398e(_0x99c1c8,_0x1b4b('0x1d'))),_0x2d5f08[_0x1b4b('0x2')][_0x1b4b('0x27')](_0x1b4b('0x9'),_0x30398e(_0x99c1c8,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']());}[_0x1b4b('0x4')](){const _0x4b3fd5=this[_0x1b4b('0x6')],_0x544de4=_0x4b3fd5['locale'];_0x4b3fd5[_0x1b4b('0xc')]['get'](_0x1b4b('0x8'))[_0x1b4b('0x2')][_0x1b4b('0x1e')](_0x169b2d=>{const _0x31638e=_0x544de4['t'];if(_0x1b4b('0xe')!=_0x169b2d[_0x1b4b('0x1b')])return;const {data:_0x52249e}=_0x169b2d;if(null!=_0x52249e){if(_0x1b4b('0x28')==_0x52249e[_0x1b4b('0xb')]){const _0x14bcfa=_0x52249e[_0x1b4b('0x3')][0x0][_0x1b4b('0x23')];if(_0x14bcfa){const _0x1bdd8e=_0x31638e(this[_0x1b4b('0x6')][_0x1b4b('0xc')][_0x1b4b('0xa')]('FontSize')['normalizeSizeOptions'](this[_0x1b4b('0x6')][_0x1b4b('0x25')]['get'](_0x1b4b('0x7')))[_0x1b4b('0x15')](_0x32652c=>_0x32652c['model']==_0x14bcfa)[_0x1b4b('0x26')])[_0x1b4b('0x1')]();return{'type':_0x1b4b('0x10'),'content':_0x30398e(_0x544de4,'*Set\x20font\x20size:*\x20%0',_0x1bdd8e)};}return{'type':_0x1b4b('0x10'),'content':_0x30398e(_0x544de4,_0x1b4b('0x17'))};}if('fontFamily'==_0x52249e[_0x1b4b('0xb')]){const _0x1772a8=_0x52249e[_0x1b4b('0x3')][0x0][_0x1b4b('0x23')];return _0x1772a8?{'type':_0x1b4b('0x10'),'content':_0x30398e(_0x544de4,_0x1b4b('0x18'),_0x1772a8)}:{'type':'format','content':_0x30398e(_0x544de4,_0x1b4b('0x12'))};}if(_0x1b4b('0xf')==_0x52249e[_0x1b4b('0xb')]){const _0x595cf0=_0x52249e[_0x1b4b('0x3')][0x0][_0x1b4b('0x23')];if(_0x595cf0){const _0x41d4be=_0x5122ec(this['editor']['config'][_0x1b4b('0xa')](_0x1b4b('0x20')))[_0x1b4b('0x15')](_0x52ec50=>_0x52ec50['model']==_0x595cf0);let _0x3634d3=_0x595cf0,_0x54ec9d='';return _0x41d4be&&(_0x3634d3=_0x41d4be['label'],_0x54ec9d=_0x31638e(_0x3634d3)[_0x1b4b('0x1')]()),{'type':'format','content':_0x30398e(_0x544de4,_0x1b4b('0x0'),_0x54ec9d)[_0x1b4b('0x19')](),'color':{'value':_0x595cf0,'title':_0x54ec9d||_0x3634d3}};}return{'type':'format','content':_0x30398e(_0x544de4,_0x1b4b('0x5'))};}if('fontBackgroundColor'==_0x52249e[_0x1b4b('0xb')]){const _0x177b55=_0x52249e[_0x1b4b('0x3')][0x0][_0x1b4b('0x23')];if(_0x177b55){const _0x22e9f2=_0x5122ec(this[_0x1b4b('0x6')][_0x1b4b('0x25')][_0x1b4b('0xa')]('fontBackgroundColor.colors'))['find'](_0x259baa=>_0x259baa['model']==_0x177b55);let _0x379b84=_0x177b55,_0x422f0c='';return _0x22e9f2&&(_0x379b84=_0x22e9f2[_0x1b4b('0x24')],_0x422f0c=_0x31638e(_0x379b84)['toLowerCase']()),{'type':_0x1b4b('0x10'),'content':_0x30398e(_0x544de4,_0x1b4b('0x1f'),_0x422f0c)[_0x1b4b('0x19')](),'color':{'value':_0x177b55,'title':_0x422f0c||_0x379b84}};}return{'type':_0x1b4b('0x10'),'content':_0x30398e(_0x544de4,'*Reset\x20font\x20background\x20color*')};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x200e=['fontColor.colors','_registerLegacyDescription','toUpperCase','*Set\x20format\x20to:*\x20%0','fontBackgroundColor','toLowerCase','title','config','label','fontSize','join','push','commandName','formatBlock','find','length','FontSize','get','type','model','commandParams','*Remove\x20all\x20formatting*','format','fontSize.options','TrackChangesEditing','pasteFormat','commands','_enableDefaultAttributesIntegration','split','boolean','slice','copyFormat','locale','entries','normalizeSizeOptions','charAt','editor'];(function(_0x57b772,_0x200eb4){const _0x4b3580=function(_0x5c1382){while(--_0x5c1382){_0x57b772['push'](_0x57b772['shift']());}};_0x4b3580(++_0x200eb4);}(_0x200e,0x1d4));const _0x4b35=function(_0x57b772,_0x200eb4){_0x57b772=_0x57b772-0x0;let _0x4b3580=_0x200e[_0x57b772];return _0x4b3580;};import{Plugin as _0x2d6378}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x2052c4}from'ckeditor5/src/ui.js';import{getTranslation as _0x4abc1d}from'../utils/common-translations.js';export default class X extends _0x2d6378{['afterInit'](){const _0xcd1e8b=this['editor'],_0x185a79=_0xcd1e8b['plugins'][_0x4b35('0x1e')]('TrackChangesEditing'),_0x4ab19c=_0xcd1e8b[_0x4b35('0x2')][_0x4b35('0x1e')](_0x4b35('0x7')),_0x301581=_0xcd1e8b[_0x4b35('0x2')][_0x4b35('0x1e')](_0x4b35('0x1'));_0x4ab19c&&_0x301581&&(_0x185a79[_0x4b35('0x3')](_0x4b35('0x1')),_0x185a79['enableCommand']('copyFormat'),this[_0x4b35('0xe')]());}['_registerLegacyDescription'](){const _0x107b8d=this[_0x4b35('0xc')],_0x4369d2=_0x107b8d[_0x4b35('0x8')];_0x107b8d['plugins']['get'](_0x4b35('0x0'))['_descriptionFactory']['registerDescriptionCallback'](_0x27a87e=>{if(_0x4b35('0x1a')!=_0x27a87e[_0x4b35('0x1f')]&&'formatInline'!=_0x27a87e[_0x4b35('0x1f')])return;const {data:_0x10c9b0}=_0x27a87e;if(_0x10c9b0&&_0x4b35('0x1')===_0x10c9b0[_0x4b35('0x19')]){const _0x2dd85a=[],_0xf99ad5=_0x10c9b0[_0x4b35('0x21')][0x0];for(const [_0x2630df,_0x3d5157]of Object[_0x4b35('0x9')](_0xf99ad5))_0x2dd85a[_0x4b35('0x18')](so(_0x107b8d,_0x2630df,_0x3d5157));return _0x2dd85a[_0x4b35('0x1c')]?{'type':_0x4b35('0x23'),'content':_0x4abc1d(_0x4369d2,_0x4b35('0x10'),_0x2dd85a[_0x4b35('0x17')](',\x20'))}:{'type':_0x4b35('0x23'),'content':_0x4abc1d(_0x4369d2,_0x4b35('0x22'))};}});}}function so(_0x347ca7,_0x3d2c29,_0x2d6f05){const _0x596d45=_0x347ca7['locale']['t'],_0x3cf115=_0x3d2c29[_0x4b35('0x4')](/(?=[A-Z])/)['join']('\x20'),_0x14179c=_0x596d45(_0x3cf115[_0x4b35('0xb')](0x0)[_0x4b35('0xf')]()+_0x3cf115[_0x4b35('0x6')](0x1))[_0x4b35('0x12')]();if(_0x4b35('0x5')==typeof _0x2d6f05)return _0x14179c;if('fontColor'===_0x3d2c29||_0x4b35('0x11')===_0x3d2c29){const _0x7dc44=_0x2052c4(_0x347ca7[_0x4b35('0x14')][_0x4b35('0x1e')](_0x4b35('0xd')))[_0x4b35('0x1b')](_0x756400=>_0x756400[_0x4b35('0x20')]==_0x2d6f05);return _0x14179c+'\x20('+(_0x7dc44?_0x596d45(_0x7dc44[_0x4b35('0x15')])['toLowerCase']():_0x2d6f05)+')';}if(_0x4b35('0x16')===_0x3d2c29&&isNaN(parseFloat(_0x2d6f05))){const _0xdbc42e=_0x347ca7['plugins'][_0x4b35('0x1e')](_0x4b35('0x1d'))[_0x4b35('0xa')](_0x347ca7[_0x4b35('0x14')][_0x4b35('0x1e')](_0x4b35('0x24')))[_0x4b35('0x1b')](_0x37a086=>_0x37a086[_0x4b35('0x20')]==_0x2d6f05);return _0x14179c+'\x20('+(_0xdbc42e?_0x596d45(_0xdbc42e[_0x4b35('0x13')])[_0x4b35('0x12')]():_0x2d6f05)+')';}return _0x14179c+'\x20('+_0x2d6f05+')';}
|