@ckeditor/ckeditor5-track-changes 35.3.1 → 35.4.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 +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +13 -0
- package/lang/translations/ar.po +55 -3
- package/lang/translations/az.po +52 -0
- package/lang/translations/bg.po +55 -3
- package/lang/translations/bn.po +55 -3
- package/lang/translations/ca.po +55 -3
- package/lang/translations/cs.po +55 -3
- package/lang/translations/da.po +55 -3
- package/lang/translations/de.po +55 -3
- package/lang/translations/el.po +55 -3
- package/lang/translations/en-au.po +52 -0
- package/lang/translations/en.po +52 -0
- package/lang/translations/es.po +55 -3
- package/lang/translations/et.po +55 -3
- package/lang/translations/fi.po +55 -3
- package/lang/translations/fr.po +55 -3
- package/lang/translations/gl.po +52 -0
- package/lang/translations/he.po +55 -3
- package/lang/translations/hi.po +55 -3
- package/lang/translations/hr.po +52 -0
- package/lang/translations/hu.po +55 -3
- package/lang/translations/id.po +55 -3
- package/lang/translations/it.po +55 -3
- package/lang/translations/ja.po +55 -3
- package/lang/translations/ko.po +55 -3
- package/lang/translations/lt.po +55 -3
- package/lang/translations/lv.po +55 -3
- package/lang/translations/ms.po +55 -3
- package/lang/translations/nl.po +55 -3
- package/lang/translations/no.po +55 -3
- package/lang/translations/pl.po +55 -3
- package/lang/translations/pt-br.po +55 -3
- package/lang/translations/pt.po +55 -3
- package/lang/translations/ro.po +55 -3
- package/lang/translations/ru.po +55 -3
- package/lang/translations/sk.po +55 -3
- package/lang/translations/sr-latn.po +52 -0
- package/lang/translations/sr.po +55 -3
- package/lang/translations/sv.po +55 -3
- package/lang/translations/th.po +55 -3
- package/lang/translations/tk.po +52 -0
- package/lang/translations/tr.po +55 -3
- package/lang/translations/tt.po +52 -0
- package/lang/translations/uk.po +55 -3
- package/lang/translations/ur.po +52 -0
- package/lang/translations/vi.po +55 -3
- package/lang/translations/zh-cn.po +55 -3
- package/lang/translations/zh.po +55 -3
- package/package.json +4 -4
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +23 -0
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +23 -0
- 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 +23 -0
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3659=['_suggestions','get','editor','refresh','plugins','TrackChangesEditing','execute','track-changes-accept-suggestion-not-found','acceptSuggestion'];(function(_0x28836d,_0x3659c3){const _0x202558=function(_0x5b31e2){while(--_0x5b31e2){_0x28836d['push'](_0x28836d['shift']());}};_0x202558(++_0x3659c3);}(_0x3659,0x10e));const _0x2025=function(_0x28836d,_0x3659c3){_0x28836d=_0x28836d-0x0;let _0x202558=_0x3659[_0x28836d];return _0x202558;};import{Command as _0x44bb30}from'ckeditor5/src/core';import{CKEditorError as _0x64572b}from'ckeditor5/src/utils';export default class R extends _0x44bb30{constructor(_0x4dd88f,_0x5e0561){super(_0x4dd88f),this[_0x2025('0x0')]=_0x5e0561,this[_0x2025('0x3')]();}[_0x2025('0x3')](){this['isEnabled']=!0x0;}[_0x2025('0x6')](_0x4fb811){const _0x1d8d17=this[_0x2025('0x0')]['get'](_0x4fb811);if(!_0x1d8d17)throw new _0x64572b(_0x2025('0x7'),this);this[_0x2025('0x2')][_0x2025('0x4')][_0x2025('0x1')](_0x2025('0x5'))[_0x2025('0x8')](_0x1d8d17);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2909=['TrackChangesEditing','get','plugins','track-changes-discard-suggestion-not-found','_suggestions','isEnabled','editor','refresh'];(function(_0x3f9aa4,_0x29093f){const _0x4a4632=function(_0x3d2c3a){while(--_0x3d2c3a){_0x3f9aa4['push'](_0x3f9aa4['shift']());}};_0x4a4632(++_0x29093f);}(_0x2909,0x16f));const _0x4a46=function(_0x3f9aa4,_0x29093f){_0x3f9aa4=_0x3f9aa4-0x0;let _0x4a4632=_0x2909[_0x3f9aa4];return _0x4a4632;};import{Command as _0x234fb5}from'ckeditor5/src/core';import{CKEditorError as _0x1de2a8}from'ckeditor5/src/utils';export default class x extends _0x234fb5{constructor(_0x5bdf4d,_0x493db7){super(_0x5bdf4d),this['_suggestions']=_0x493db7,this['refresh']();}[_0x4a46('0x0')](){this[_0x4a46('0x6')]=!0x0;}['execute'](_0x10dde9){const _0x227242=this[_0x4a46('0x5')]['get'](_0x10dde9);if(!_0x227242)throw new _0x1de2a8(_0x4a46('0x4'),this);this[_0x4a46('0x7')][_0x4a46('0x3')][_0x4a46('0x2')](_0x4a46('0x1'))['discardSuggestion'](_0x227242);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39bf=['isEnabled','some','_suggestions','editor','from','isInContent','refresh','_command','values'];(function(_0x40e9a8,_0x39bfe9){const _0x2398cb=function(_0x39ab1a){while(--_0x39ab1a){_0x40e9a8['push'](_0x40e9a8['shift']());}};_0x2398cb(++_0x39bfe9);}(_0x39bf,0x174));const _0x2398=function(_0x40e9a8,_0x39bfe9){_0x40e9a8=_0x40e9a8-0x0;let _0x2398cb=_0x39bf[_0x40e9a8];return _0x2398cb;};import{Command as _0x56814a}from'ckeditor5/src/core';import{sortSuggestions as _0x4d7905,executeCommandForSuggestions as _0x347504}from'../utils/utils';export default class U extends _0x56814a{constructor(_0x364c19,_0x8b1bc9,_0xa0c15c){super(_0x364c19),this[_0x2398('0x4')]=_0x8b1bc9,this[_0x2398('0x8')]=_0xa0c15c,this[_0x2398('0x3')]();}[_0x2398('0x3')](){const _0xe507b7=Array['from'](this[_0x2398('0x8')]['values']())[_0x2398('0x7')](_0x377192=>_0x377192[_0x2398('0x2')]);this['isEnabled']=this[_0x2398('0x4')][_0x2398('0x6')]&&_0xe507b7;}['execute'](){const _0x2bc0e5=_0x4d7905(Array[_0x2398('0x1')](this['_suggestions'][_0x2398('0x5')]()));_0x347504(this[_0x2398('0x0')]['model'],this[_0x2398('0x4')],_0x2bc0e5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45ae=['model','_command','values','size','_selectedSuggestions','_suggestions','from','isEnabled','refresh','editor','execute','document','selection'];(function(_0x5562e6,_0x45aeb8){const _0x3b7bb1=function(_0x5d7834){while(--_0x5d7834){_0x5562e6['push'](_0x5562e6['shift']());}};_0x3b7bb1(++_0x45aeb8);}(_0x45ae,0x1cb));const _0x3b7b=function(_0x5562e6,_0x45aeb8){_0x5562e6=_0x5562e6-0x0;let _0x3b7bb1=_0x45ae[_0x5562e6];return _0x3b7bb1;};import{Command as _0x492249}from'ckeditor5/src/core';import{sortSuggestions as _0x2f91ae,getSelectedSuggestions as _0x321165,executeCommandForSuggestions as _0x449fa5}from'../utils/utils';export default class j extends _0x492249{constructor(_0x1ae7e6,_0x1964b8,_0x3347d8){super(_0x1ae7e6),this[_0x3b7b('0xa')]=_0x1964b8,this[_0x3b7b('0x1')]=_0x3347d8,this[_0x3b7b('0x0')]=new Set(),this[_0x3b7b('0x4')]();}[_0x3b7b('0x4')](){const _0x649dd5=this[_0x3b7b('0x5')]['model'][_0x3b7b('0x7')][_0x3b7b('0x8')],_0x305724=Array[_0x3b7b('0x2')](this[_0x3b7b('0x1')][_0x3b7b('0xb')]());this[_0x3b7b('0x0')]=_0x321165(_0x649dd5,_0x305724),this[_0x3b7b('0x3')]=this[_0x3b7b('0xa')][_0x3b7b('0x3')]&&!!this[_0x3b7b('0x0')][_0x3b7b('0xc')];}[_0x3b7b('0x6')](){const _0x154ae0=_0x2f91ae(Array[_0x3b7b('0x2')](this[_0x3b7b('0x0')]));_0x449fa5(this['editor'][_0x3b7b('0x9')],this[_0x3b7b('0xa')],_0x154ae0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20ce=['refresh','affectsData','isEnabled','value','TrackChangesCommand','execute','commands','editor','_disableUnsupportedCommands','has','_enableCommands','_enabledCommands'];(function(_0xd2276b,_0x20ceab){const _0x5dcbf4=function(_0x59dd81){while(--_0x59dd81){_0xd2276b['push'](_0xd2276b['shift']());}};_0x5dcbf4(++_0x20ceab);}(_0x20ce,0x9b));const _0x5dcb=function(_0xd2276b,_0x20ceab){_0xd2276b=_0xd2276b-0x0;let _0x5dcbf4=_0x20ce[_0xd2276b];return _0x5dcbf4;};import{Command as _0x588db7}from'ckeditor5/src/core';export default class N extends _0x588db7{constructor(_0x3758ba,_0x2d0493){super(_0x3758ba),this[_0x5dcb('0x0')]=_0x2d0493,this['value']=!0x1,this[_0x5dcb('0x1')]();}[_0x5dcb('0x1')](){this[_0x5dcb('0x3')]=!0x0;}[_0x5dcb('0x6')](){this[_0x5dcb('0x4')]=!this['value'],this[_0x5dcb('0x4')]?this[_0x5dcb('0x9')]():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x2ccd7e of this[_0x5dcb('0x8')]['commands'][_0x5dcb('0x7')]())_0x2ccd7e[_0x5dcb('0x2')]&&!this[_0x5dcb('0x0')][_0x5dcb('0xa')](_0x2ccd7e)&&_0x2ccd7e['forceDisabled'](_0x5dcb('0x5'));}[_0x5dcb('0xb')](){for(const _0x34f17b of this[_0x5dcb('0x8')][_0x5dcb('0x7')][_0x5dcb('0x7')]())_0x34f17b[_0x5dcb('0x2')]&&!this[_0x5dcb('0x0')][_0x5dcb('0xa')](_0x34f17b)&&_0x34f17b['clearForceDisabled'](_0x5dcb('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30b3=['AlignmentEditing','FORMAT_JUSTIFY_TEXT','editor','left','locale','document','get','schema','value','center','checkAttribute','has','change','justify','model','getAttribute','FORMAT_ALIGN_TO_RIGHT','right','commandName','markBlockFormat','*Format:*\x20%0','plugins','alignment','enableCommand','registerDescriptionCallback','afterInit','getSelectedBlocks','selection','FORMAT_ALIGN_TO_LEFT','TrackChangesEditing','filter'];(function(_0x1ded47,_0x30b318){const _0x23afac=function(_0x4fa743){while(--_0x4fa743){_0x1ded47['push'](_0x1ded47['shift']());}};_0x23afac(++_0x30b318);}(_0x30b3,0xe1));const _0x23af=function(_0x1ded47,_0x30b318){_0x1ded47=_0x1ded47-0x0;let _0x23afac=_0x30b3[_0x1ded47];return _0x23afac;};import{Plugin as _0x483866}from'ckeditor5/src/core';import{getTranslation as _0x32fab2}from'../utils/common-translations';export default class E extends _0x483866{[_0x23af('0x11')](){const _0x5bdaf8=this[_0x23af('0x19')],_0x3a13fa=_0x5bdaf8[_0x23af('0x1b')];if(!_0x5bdaf8[_0x23af('0xd')][_0x23af('0x3')](_0x23af('0x17')))return;const _0x57b51b=_0x5bdaf8['plugins'][_0x23af('0x1d')](_0x23af('0x15'));_0x57b51b[_0x23af('0xf')](_0x23af('0xe'),(_0xd8f1ff,_0x27fa71={})=>{let _0x4bdf85=_0x27fa71[_0x23af('0x0')];_0x27fa71[_0x23af('0x0')]||(_0x4bdf85='ltr'===_0x5bdaf8[_0x23af('0x1b')]['contentLanguageDirection']?_0x23af('0x1a'):_0x23af('0x9'));const _0x221807=Array['from'](this[_0x23af('0x19')]['model'][_0x23af('0x1c')][_0x23af('0x13')][_0x23af('0x12')]())[_0x23af('0x16')](_0x2cf923=>function(_0x690ff0,_0x322589,_0x49faeb){const _0x219174=_0x690ff0[_0x23af('0x7')]('alignment')||null;return _0x322589[_0x23af('0x2')](_0x690ff0,'alignment')&&_0x49faeb!=_0x219174;}(_0x2cf923,this[_0x23af('0x19')][_0x23af('0x6')][_0x23af('0x1e')],_0x4bdf85));_0x5bdaf8[_0x23af('0x6')][_0x23af('0x4')](()=>{for(const _0x1c3b9f of _0x221807)_0x57b51b[_0x23af('0xb')](_0x1c3b9f,{'commandName':'alignment','commandParams':[{'value':_0x4bdf85}]});});}),_0x57b51b['_descriptionFactory'][_0x23af('0x10')](_0x2389cf=>{const {data:_0x452a1d}=_0x2389cf;if(_0x452a1d&&_0x23af('0xe')==_0x452a1d[_0x23af('0xa')]){const _0x212ad8=_0x452a1d['commandParams'][0x0]['value'];return{'type':'format','content':_0x32fab2(_0x3a13fa,_0x23af('0xc'),function(_0xe66fff){switch(_0xe66fff){case _0x23af('0x1a'):return _0x32fab2(_0x3a13fa,_0x23af('0x14'));case _0x23af('0x9'):return _0x32fab2(_0x3a13fa,_0x23af('0x8'));case _0x23af('0x1'):return _0x32fab2(_0x3a13fa,'FORMAT_ALIGN_TO_CENTER');case _0x23af('0x5'):return _0x32fab2(_0x3a13fa,_0x23af('0x18'));}}(_0x212ad8))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59bd=['_descriptionFactory','*Format:*\x20%0','getRanges','superscript','change','markInlineFormat','FORMAT_STRIKETHROUGH','subscript','value','FORMAT_SUPERSCRIPT','ItalicEditing','has','SubscriptEditing','format','model','get','UnderlineEditing','bold','isCollapsed','document','locale','strikethrough','italic','commandParams','*Remove\x20format:*\x20%0','FORMAT_UNDERLINE','plugins','commands','toLowerCase','enableCommand','FORMAT_SUBSCRIPT','TrackChangesEditing','FORMAT_ITALIC','registerDescriptionCallback','selection','afterInit','CodeEditing','editor','BoldEditing','forceValue'];(function(_0x3275c7,_0x59bd32){const _0xdbd189=function(_0x13159f){while(--_0x13159f){_0x3275c7['push'](_0x3275c7['shift']());}};_0xdbd189(++_0x59bd32);}(_0x59bd,0x138));const _0xdbd1=function(_0x3275c7,_0x59bd32){_0x3275c7=_0x3275c7-0x0;let _0xdbd189=_0x59bd[_0x3275c7];return _0xdbd189;};import{Plugin as _0x55459a}from'ckeditor5/src/core';import{getTranslation as _0x5c7003}from'../utils/common-translations';import{getRangesWithAttribute as _0x3ab753}from'./utils';const Ht=[_0xdbd1('0x6'),_0xdbd1('0x12'),_0xdbd1('0x18'),_0xdbd1('0x4'),'StrikethroughEditing',_0xdbd1('0x14'),'SuperscriptEditing'];export default class O extends _0x55459a{[_0xdbd1('0x3')](){const _0x52da83=this[_0xdbd1('0x5')],_0x3f51c7=_0x52da83[_0xdbd1('0x16')],_0x5014a3=_0x52da83[_0xdbd1('0x22')][_0xdbd1('0x17')](_0xdbd1('0x27')),_0x5719d3=_0x52da83[_0xdbd1('0x1c')];for(const _0x5fef8a of Ht){if(!_0x52da83['plugins'][_0xdbd1('0x13')](_0x5fef8a))continue;const _0x5ad507=_0x5fef8a['slice'](0x0,-0x7)[_0xdbd1('0x24')](),_0x19901c=_0x52da83[_0xdbd1('0x23')][_0xdbd1('0x17')](_0x5ad507);_0x5014a3[_0xdbd1('0x25')](_0x5ad507,(_0x27a945,_0x3f6508={})=>{const _0x4aaa89=_0x3f51c7[_0xdbd1('0x1b')][_0xdbd1('0x2')];if(_0x4aaa89[_0xdbd1('0x1a')])return void _0x27a945(_0x3f6508);const _0x4da68b=void 0x0!==_0x3f6508[_0xdbd1('0x7')]?_0x3f6508[_0xdbd1('0x7')]:!_0x19901c[_0xdbd1('0x10')];_0x3f51c7[_0xdbd1('0xc')](()=>{const _0x201c8a=Array['from'](_0x4aaa89[_0xdbd1('0xa')]());for(const _0x2462c1 of _0x201c8a){const _0x1b1a3b=_0x4da68b?[_0x2462c1]:_0x3ab753(_0x5ad507,_0x2462c1,_0x3f51c7);for(const _0x582077 of _0x1b1a3b)_0x5014a3[_0xdbd1('0xd')](_0x582077,{'commandName':_0x5ad507,'commandParams':[{'forceValue':_0x4da68b}]});}});});}function _0x34b3e4(_0x2a52cd,_0x5a33dc){_0x5014a3[_0xdbd1('0x8')][_0xdbd1('0x1')](_0x526060=>{const {data:_0x3b8eef}=_0x526060;if(_0x3b8eef&&_0x3b8eef['commandName']===_0x2a52cd)return _0x3b8eef[_0xdbd1('0x1f')][0x0][_0xdbd1('0x7')]?{'type':_0xdbd1('0x15'),'content':_0x5c7003(_0x5719d3,_0xdbd1('0x9'),_0x5a33dc)}:{'type':_0xdbd1('0x15'),'content':_0x5c7003(_0x5719d3,_0xdbd1('0x20'),_0x5a33dc)};});}_0x34b3e4(_0xdbd1('0x19'),_0x5c7003(_0x5719d3,'FORMAT_BOLD')),_0x34b3e4(_0xdbd1('0x1e'),_0x5c7003(_0x5719d3,_0xdbd1('0x0'))),_0x34b3e4('underline',_0x5c7003(_0x5719d3,_0xdbd1('0x21'))),_0x34b3e4('code',_0x5c7003(_0x5719d3,'FORMAT_CODE')),_0x34b3e4(_0xdbd1('0x1d'),_0x5c7003(_0x5719d3,_0xdbd1('0xe'))),_0x34b3e4(_0xdbd1('0xf'),_0x5c7003(_0x5719d3,_0xdbd1('0x26'))),_0x34b3e4(_0xdbd1('0xb'),_0x5c7003(_0x5719d3,_0xdbd1('0x11')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4aa5=['change','forceValue','BlockQuoteEditing','get','_descriptionFactory','getSelectedBlocks','$root','plugins','from','format','name','*Format:*\x20%0','commands','afterInit','has','blockQuote','filter','value','locale','selection','registerDescriptionCallback','editor','*Remove\x20format:*\x20%0','checkChild','commandParams','enableCommand','model','schema'];(function(_0x175f9e,_0x4aa511){const _0x425720=function(_0xa4bb66){while(--_0xa4bb66){_0x175f9e['push'](_0x175f9e['shift']());}};_0x425720(++_0x4aa511);}(_0x4aa5,0xc6));const _0x4257=function(_0x175f9e,_0x4aa511){_0x175f9e=_0x175f9e-0x0;let _0x425720=_0x4aa5[_0x175f9e];return _0x425720;};import{Plugin as _0x42d70e}from'ckeditor5/src/core';import{getTranslation as _0x32fdbf}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xfcb5ce}from'../utils/utils';export default class F extends _0x42d70e{[_0x4257('0xb')](){const _0x195932=this[_0x4257('0x13')],_0x537dfd=_0x195932[_0x4257('0x10')];if(!_0x195932[_0x4257('0x5')][_0x4257('0xc')](_0x4257('0x0')))return;const _0x53bf31=_0x195932[_0x4257('0x5')]['get']('TrackChangesEditing'),_0x1198b3=this['editor'][_0x4257('0xa')][_0x4257('0x1')]('blockQuote');_0x53bf31[_0x4257('0x17')](_0x4257('0xd'),(_0x4a68e9,_0x244d4f={})=>{const _0x3cb4cd=this['editor'][_0x4257('0x18')]['document'][_0x4257('0x11')],_0x2fb854=_0x244d4f&&void 0x0!==_0x244d4f[_0x4257('0x1b')]?_0x244d4f[_0x4257('0x1b')]:!_0x1198b3[_0x4257('0xf')];let _0x2a5686=[];if(_0x2fb854){const _0x769abd=Array[_0x4257('0x6')](_0x3cb4cd[_0x4257('0x3')]())[_0x4257('0xe')](_0x5b6736=>Kt(_0x5b6736)||function(_0x41b596,_0x6b4fa9){const _0x2ad2da=_0x6b4fa9['checkChild'](_0x41b596['parent'],_0x4257('0xd')),_0x48d092=_0x6b4fa9[_0x4257('0x15')]([_0x4257('0x4'),_0x4257('0xd')],_0x41b596);return _0x2ad2da&&_0x48d092;}(_0x5b6736,this[_0x4257('0x13')]['model'][_0x4257('0x19')]));_0x2a5686=_0xfcb5ce(_0x769abd,_0x195932[_0x4257('0x18')]);}else{const _0x3c7726=Array[_0x4257('0x6')](_0x3cb4cd[_0x4257('0x3')]())[_0x4257('0xe')](_0x1ea192=>Kt(_0x1ea192));_0x2a5686=_0xfcb5ce(_0x3c7726,_0x195932[_0x4257('0x18')]);}_0x195932['model'][_0x4257('0x1a')](()=>{for(const _0x3e77e6 of _0x2a5686)_0x53bf31['markBlockFormat'](_0x3e77e6,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x2fb854}]});});}),_0x53bf31[_0x4257('0x2')][_0x4257('0x12')](_0x2fa820=>{const {data:_0x3cb3a0}=_0x2fa820;if(_0x3cb3a0&&_0x4257('0xd')==_0x3cb3a0['commandName']){const _0x564143=_0x32fdbf(_0x537dfd,'ELEMENT_BLOCK_QUOTE');return _0x3cb3a0[_0x4257('0x16')][0x0]['forceValue']?{'type':_0x4257('0x7'),'content':_0x32fdbf(_0x537dfd,_0x4257('0x9'),_0x564143)}:{'type':_0x4257('0x7'),'content':_0x32fdbf(_0x537dfd,_0x4257('0x14'),_0x564143)};}});}}function Kt(_0x2d27ab){return _0x4257('0xd')==_0x2d27ab['parent'][_0x4257('0x8')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x297a=['afterInit','plugins','editor','commands','get','enableCommand','ckbox'];(function(_0x541166,_0x297aee){const _0x4d69c6=function(_0x39c343){while(--_0x39c343){_0x541166['push'](_0x541166['shift']());}};_0x4d69c6(++_0x297aee);}(_0x297a,0x1c5));const _0x4d69=function(_0x541166,_0x297aee){_0x541166=_0x541166-0x0;let _0x4d69c6=_0x297a[_0x541166];return _0x4d69c6;};import{Plugin as _0x385cb4}from'ckeditor5/src/core';export default class P extends _0x385cb4{[_0x4d69('0x2')](){const _0x285f22=this[_0x4d69('0x4')];_0x285f22[_0x4d69('0x5')][_0x4d69('0x6')](_0x4d69('0x1'))&&_0x285f22[_0x4d69('0x3')][_0x4d69('0x6')]('TrackChangesEditing')[_0x4d69('0x0')](_0x4d69('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x332b=['get','TrackChangesEditing','parent','getSelectedBlocks','find','value','outdentCodeBlock','schema','commands','model','selection','plugins','*Remove\x20format:*\x20%0','formatBlock','isLimit','*Format:*\x20%0','blockName','indentCodeBlock','name','commandName','afterInit','markBlockFormat','checkChild','language','enableCommand','format','_descriptionFactory','ELEMENT_CODE_BLOCK','locale','registerElementLabel','config','commandParams','filter','forceValue','from','change','codeBlock','document','languages','label','CodeBlock'];(function(_0x761602,_0x332bca){const _0x3be733=function(_0x8c207c){while(--_0x8c207c){_0x761602['push'](_0x761602['shift']());}};_0x3be733(++_0x332bca);}(_0x332b,0x82));const _0x3be7=function(_0x761602,_0x332bca){_0x761602=_0x761602-0x0;let _0x3be733=_0x332b[_0x761602];return _0x3be733;};import{Plugin as _0x1123c3}from'ckeditor5/src/core';import{getTranslation as _0x4fa398}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2cca61}from'../utils/utils';export default class G extends _0x1123c3{[_0x3be7('0xd')](){const _0x709633=this['editor'];if(!_0x709633[_0x3be7('0x4')]['has'](_0x3be7('0x21')))return;const _0x9e4d4b=_0x709633[_0x3be7('0x4')][_0x3be7('0x22')](_0x3be7('0x23')),_0x4295f7=_0x709633[_0x3be7('0x15')],_0x5d28db=_0x709633[_0x3be7('0x17')][_0x3be7('0x22')]('codeBlock')[_0x3be7('0x1f')],_0x3560de=_0x709633[_0x3be7('0x1')][_0x3be7('0x22')](_0x3be7('0x1d'));_0x9e4d4b[_0x3be7('0x11')](_0x3be7('0xa')),_0x9e4d4b['enableCommand'](_0x3be7('0x28')),_0x9e4d4b[_0x3be7('0x11')]('codeBlock',(_0x2d0daa,_0x559667={})=>{const _0x171f11=_0x709633[_0x3be7('0x2')],_0xbebe50=_0x709633[_0x3be7('0x2')][_0x3be7('0x1e')][_0x3be7('0x3')],_0x497a0a=_0x559667&&void 0x0!==_0x559667['forceValue']?_0x559667[_0x3be7('0x1a')]:!_0x3560de[_0x3be7('0x27')];let _0x33439a;_0x559667[_0x3be7('0x10')]||(_0x559667[_0x3be7('0x10')]=_0x5d28db[0x0][_0x3be7('0x10')]),_0x33439a=_0x497a0a?Array[_0x3be7('0x1b')](_0xbebe50[_0x3be7('0x25')]())[_0x3be7('0x19')](_0x5e14fb=>oo(_0x5e14fb)||function(_0x3e8875,_0x2aa380){if(_0x3e8875['is']('rootElement')||_0x2aa380[_0x3be7('0x7')](_0x3e8875))return!0x1;return _0x2aa380[_0x3be7('0xf')](_0x3e8875[_0x3be7('0x24')],'codeBlock');}(_0x5e14fb,_0x171f11[_0x3be7('0x0')])):Array[_0x3be7('0x1b')](_0xbebe50[_0x3be7('0x25')]())[_0x3be7('0x19')](_0x585850=>oo(_0x585850));const _0x544b45=_0x2cca61(_0x33439a,_0x171f11);_0x171f11[_0x3be7('0x1c')](()=>{for(const _0x541045 of _0x544b45)_0x9e4d4b[_0x3be7('0xe')](_0x541045,{'commandName':_0x3be7('0x1d'),'commandParams':[{..._0x559667,'forceValue':_0x497a0a}],'formatGroupId':_0x3be7('0x9')});});}),(_0x9e4d4b[_0x3be7('0x13')][_0x3be7('0x16')](_0x3be7('0x1d'),_0x5ed2c1=>_0x4fa398(_0x4295f7,'ELEMENT_CODE_BLOCK',_0x5ed2c1)),_0x9e4d4b[_0x3be7('0x13')]['registerDescriptionCallback'](_0x168b27=>{const {type:_0x1f3a53,data:_0x4b3214}=_0x168b27;if(_0x3be7('0x6')==_0x1f3a53&&_0x4b3214&&_0x3be7('0x1d')==_0x4b3214[_0x3be7('0xc')]){const _0x5761d8=_0x4b3214[_0x3be7('0x18')][0x0][_0x3be7('0x10')],_0x2eb7de=_0x5d28db[_0x3be7('0x26')](_0x2ba0b5=>_0x2ba0b5[_0x3be7('0x10')]===_0x5761d8)[_0x3be7('0x20')],_0x51fd53=_0x4295f7['_t'](_0x2eb7de);return _0x4b3214[_0x3be7('0x18')][0x0]['forceValue']?{'type':_0x3be7('0x12'),'content':_0x4fa398(_0x4295f7,_0x3be7('0x8'),_0x4fa398(_0x4295f7,_0x3be7('0x14'),0x1)+'\x20('+_0x51fd53+')')}:{'type':_0x3be7('0x12'),'content':_0x4fa398(_0x4295f7,_0x3be7('0x5'),_0x4fa398(_0x4295f7,_0x3be7('0x14'),0x1))};}}));}}function oo(_0x3dd6b3){return'codeBlock'==_0x3dd6b3[_0x3be7('0xb')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1508=['has','afterInit','enableCommand','TrackChangesEditing','editor','get','plugins','addCommentThread'];(function(_0x3fadbe,_0x1508b7){const _0x31a896=function(_0x2b5b7d){while(--_0x2b5b7d){_0x3fadbe['push'](_0x3fadbe['shift']());}};_0x31a896(++_0x1508b7);}(_0x1508,0x16f));const _0x31a8=function(_0x3fadbe,_0x1508b7){_0x3fadbe=_0x3fadbe-0x0;let _0x31a896=_0x1508[_0x3fadbe];return _0x31a896;};import{Plugin as _0x41541d}from'ckeditor5/src/core';export default class L extends _0x41541d{[_0x31a8('0x2')](){const _0x2d6c5a=this[_0x31a8('0x5')];if(!_0x2d6c5a[_0x31a8('0x7')][_0x31a8('0x1')]('CommentsEditing'))return;_0x2d6c5a[_0x31a8('0x7')][_0x31a8('0x6')](_0x31a8('0x4'))[_0x31a8('0x3')](_0x31a8('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e61=['enableCommand','init','downcastDispatcher','writer','model','requires','showSuggestionHighlights','createRange','enqueueChange','detach','modifySelection','removeMarker:suggestion:deletion','selection','plugins','unbindElementFromMarkerName','buffer','unlock','fromRange','mapper','setSelection','TrackChangesEditing','markerName','data','document','high','markerNameToElements','addMarker:suggestion:deletion','commands','get','editing','createSelection','deleteForward','unit','$graveyard','root','batch','start','forward','isCollapsed','uiElement','end'];(function(_0x1e3ff9,_0x2e6193){const _0x5c293d=function(_0x1d9282){while(--_0x1d9282){_0x1e3ff9['push'](_0x1e3ff9['shift']());}};_0x5c293d(++_0x2e6193);}(_0x2e61,0xe3));const _0x5c29=function(_0x1e3ff9,_0x2e6193){_0x1e3ff9=_0x1e3ff9-0x0;let _0x5c293d=_0x2e61[_0x1e3ff9];return _0x5c293d;};import{Plugin as _0x3b10b8}from'ckeditor5/src/core';import{Delete as _0x51cf02}from'ckeditor5/src/typing';import{LiveRange as _0x1cc968}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x29810b}from'./utils';export default class q extends _0x3b10b8{static get[_0x5c29('0x18')](){return[_0x51cf02];}[_0x5c29('0x14')](){const _0x25a35c=this['editor'],_0x587835=_0x25a35c[_0x5c29('0x20')][_0x5c29('0x6')](_0x5c29('0x27'));_0x587835['enableCommand']('delete');const _0x15b687=_0x25a35c[_0x5c29('0x5')][_0x5c29('0x6')](_0x5c29('0x9'));_0x587835[_0x5c29('0x13')](_0x5c29('0x9'),(_0x2215ff,_0x4b635c={})=>{const _0x2abab2=_0x25a35c[_0x5c29('0x17')][_0x5c29('0x8')](_0x25a35c[_0x5c29('0x17')][_0x5c29('0x1')][_0x5c29('0x1f')]);_0x2abab2[_0x5c29('0x10')]&&_0x25a35c['model'][_0x5c29('0x1d')](_0x2abab2,{'direction':_0x5c29('0xf'),'unit':_0x4b635c[_0x5c29('0xa')]});const _0x3228e1=_0x2abab2['getFirstRange'](),_0x481601=_0x1cc968[_0x5c29('0x24')](_0x3228e1);let _0x1d10be;_0x2215ff(_0x4b635c),_0x1d10be=_0x5c29('0xb')==_0x481601[_0x5c29('0xc')]['rootName']?_0x25a35c[_0x5c29('0x17')][_0x5c29('0x1a')](_0x3228e1[_0x5c29('0xe')]):_0x25a35c[_0x5c29('0x17')]['createRange'](_0x481601[_0x5c29('0xe')],_0x481601[_0x5c29('0x12')]),_0x481601[_0x5c29('0x1c')](),_0x25a35c[_0x5c29('0x17')][_0x5c29('0x1b')](_0x15b687[_0x5c29('0x22')][_0x5c29('0xd')],_0x2dff1f=>{_0x15b687[_0x5c29('0x22')]['lock'](),_0x2dff1f[_0x5c29('0x26')](_0x2dff1f[_0x5c29('0x1a')](_0x1d10be[_0x5c29('0x12')])),_0x15b687[_0x5c29('0x22')][_0x5c29('0x23')]();});}),_0x25a35c[_0x5c29('0x7')][_0x5c29('0x15')]['on']('addMarker:suggestion:deletion',_0x29810b(_0x25a35c,'merge'),{'priority':_0x5c29('0x2')}),_0x25a35c[_0x5c29('0x0')]['downcastDispatcher']['on'](_0x5c29('0x4'),(_0x2bf012,_0x35af91,_0x34ee91)=>{_0x34ee91['options'][_0x5c29('0x19')]&&_0x29810b(_0x25a35c,'merge',{'showActiveMarker':!0x1})(_0x2bf012,_0x35af91,_0x34ee91);},{'priority':_0x5c29('0x2')}),_0x25a35c[_0x5c29('0x7')]['downcastDispatcher']['on'](_0x5c29('0x1e'),(_0x12263c,_0x4090ac,_0x4d6540)=>{const _0x144ae6=_0x4d6540[_0x5c29('0x25')][_0x5c29('0x3')](_0x4090ac[_0x5c29('0x28')]);if(_0x144ae6)for(const _0x29cbfb of _0x144ae6)_0x29cbfb['is'](_0x5c29('0x11'))&&(_0x4d6540[_0x5c29('0x25')][_0x5c29('0x21')](_0x29cbfb,_0x4090ac[_0x5c29('0x28')]),_0x4d6540[_0x5c29('0x16')]['remove'](_0x29cbfb));},{'priority':_0x5c29('0x2')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ac4=['commandParams','_suggestionFactory','registerElementLabel','multipleBlocks','ELEMENT_BULLETED_LIST','from','schema','hasAttribute','indentList','getSelectedBlocks','nextSibling','markBlockFormat','refresh','*Indent:*\x20%0','push','selection','expandListBlocksToCompleteList','listType','add','detach','registerDescriptionCallback','end','bulletedList','next','splitListItemBefore','listIndent','isFirstBlockOfListItem','before','enableCommand','value','getRanges','numberedList','listItemId','createRange','commands','format','TrackChangesEditing','outdentList','execute','setSelection','splitListItemAfter','accept','*Change\x20to:*\x20%0','document','get','model','fromRange','*Format:*\x20insert\x20into\x20%0','createPositionAt','previousSibling','markMultiRangeBlockFormat','locale','plugins','formatBlock','start','_descriptionFactory','map','getAttribute','change','isObject','ELEMENT_LIST_ITEM','has','nodeAfter','*Outdent:*\x20%0','commandName'];(function(_0x43735f,_0x4ac441){const _0x5b6beb=function(_0x14346a){while(--_0x14346a){_0x43735f['push'](_0x43735f['shift']());}};_0x5b6beb(++_0x4ac441);}(_0x4ac4,0x17f));const _0x5b6b=function(_0x43735f,_0x4ac441){_0x43735f=_0x43735f-0x0;let _0x5b6beb=_0x4ac4[_0x43735f];return _0x5b6beb;};import{Plugin as _0x4d6535}from'ckeditor5/src/core';import{getTranslation as _0x485f49}from'../utils/common-translations';import{LiveRange as _0x32a7b9}from'ckeditor5/src/engine';export default class z extends _0x4d6535{['afterInit'](){const _0x1e9b6f=this['editor'];if(!_0x1e9b6f[_0x5b6b('0x3b')][_0x5b6b('0x3')]('DocumentListEditing'))return;const _0x31a957=_0x1e9b6f[_0x5b6b('0x3a')],_0x3b6a4e=_0x1e9b6f[_0x5b6b('0x3b')]['get'](_0x5b6b('0x2b')),_0x4cf6e2=_0x1e9b6f['plugins'][_0x5b6b('0x33')]('DocumentListUtils');function _0x4c9ac8(_0x266317){return()=>{const _0x5cfecc=_0x1e9b6f[_0x5b6b('0x29')]['get'](_0x266317);let _0x32e935=Array['from'](_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x32')][_0x5b6b('0x16')]['getSelectedBlocks']());if(_0x13d902(_0x266317)){_0x32e935=_0x4cf6e2[_0x5b6b('0x17')](_0x32e935);const _0x41d961=[];for(const _0x37de0a of _0x32e935)_0x4cf6e2[_0x5b6b('0x21')](_0x37de0a)&&_0x41d961[_0x5b6b('0x15')](_0x37de0a);_0x32e935=_0x41d961;}_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x0')](()=>{_0x3b6a4e[_0x5b6b('0x39')](_0x32e935,{'commandName':_0x266317,'commandParams':[{'forceValue':!_0x5cfecc[_0x5b6b('0x24')]}],'formatGroupId':_0x5b6b('0x18')},[],'documentList');});};}function _0x2f8be0(_0x288f57){return()=>{const _0x2da40d=function(_0x3f2e52){const _0x1dd98d=(_0x3f2e52=Array[_0x5b6b('0xc')](_0x3f2e52))['findIndex'](_0x14986c=>!_0x14986c[_0x5b6b('0xe')]('listItemId'));return _0x1dd98d>-0x1&&(_0x3f2e52=_0x3f2e52['slice'](0x0,_0x1dd98d)),_0x3f2e52;}(_0x1e9b6f[_0x5b6b('0x34')]['document'][_0x5b6b('0x16')][_0x5b6b('0x10')]()),_0x171e4c=_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x28')](_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x37')](_0x2da40d[0x0],_0x5b6b('0x22')),_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x37')](_0x2da40d[_0x2da40d['length']-0x1],_0x5b6b('0x1c')));_0x1e9b6f[_0x5b6b('0x34')]['change'](()=>{_0x3b6a4e[_0x5b6b('0x12')](_0x171e4c,{'commandName':_0x288f57,'commandParams':[],'formatGroupId':_0x5b6b('0x18')},function(_0x7470f4){const _0x32365e=new Set();for(const _0xecf46f of _0x7470f4){let _0x4d2df2=_0xecf46f[_0x5b6b('0x11')];for(;_0x4d2df2&&_0x4d2df2[_0x5b6b('0x40')](_0x5b6b('0x20'))>_0xecf46f[_0x5b6b('0x40')]('listIndent');)_0x32365e[_0x5b6b('0x19')](_0x4d2df2),_0x4d2df2=_0x4d2df2['nextSibling'];}return Array['from'](_0x32365e);}(_0x2da40d));});};}function _0x1594dc(_0x4dedee){return()=>{const _0x56304c=_0x1e9b6f['model'][_0x5b6b('0x32')][_0x5b6b('0x16')]['getSelectedBlocks']()[_0x5b6b('0x1e')]()[_0x5b6b('0x24')],_0x4d8298=_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x37')](_0x56304c,'before'),_0x21026c=_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x37')](_0x56304c,0x0),_0x38638e=_0x1e9b6f['model'][_0x5b6b('0x28')](_0x4d8298,_0x21026c);_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x0')](()=>{_0x3b6a4e[_0x5b6b('0x12')](_0x38638e,{'commandName':_0x4dedee,'commandParams':[],'formatGroupId':'listType'});});};}function _0x13d902(_0x1ea7ea){const _0x54c903=_0x1e9b6f[_0x5b6b('0x29')][_0x5b6b('0x33')]('bulletedList')[_0x5b6b('0x24')],_0x51bac1=_0x1e9b6f[_0x5b6b('0x29')][_0x5b6b('0x33')](_0x5b6b('0x26'))['value'];return'numberedList'===_0x1ea7ea?_0x54c903:_0x51bac1;}_0x3b6a4e[_0x5b6b('0x23')](_0x5b6b('0x26'),_0x4c9ac8(_0x5b6b('0x26'))),_0x3b6a4e['enableCommand'](_0x5b6b('0x1d'),_0x4c9ac8(_0x5b6b('0x1d'))),_0x3b6a4e[_0x5b6b('0x23')]('indentList',_0x2f8be0(_0x5b6b('0xf'))),_0x3b6a4e[_0x5b6b('0x23')](_0x5b6b('0x2c'),_0x2f8be0('outdentList')),_0x3b6a4e['enableCommand'](_0x5b6b('0x2f'),_0x1594dc('splitListItemAfter')),_0x3b6a4e[_0x5b6b('0x23')](_0x5b6b('0x1f'),_0x1594dc(_0x5b6b('0x1f'))),_0x3b6a4e[_0x5b6b('0x3e')][_0x5b6b('0x9')](function(_0x4f22a9){const _0x20d26c=!_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0xd')][_0x5b6b('0x1')](_0x4f22a9),_0x3ffada=_0x4f22a9[_0x5b6b('0x38')],_0x189cef=_0x4f22a9[_0x5b6b('0x11')],_0x350a33=_0x4f22a9[_0x5b6b('0x40')]('listItemId'),_0x472f58=!_0x3ffada||_0x3ffada[_0x5b6b('0x40')](_0x5b6b('0x27'))!==_0x350a33,_0x177741=!_0x189cef||_0x189cef['getAttribute'](_0x5b6b('0x27'))!==_0x350a33;return _0x20d26c&&_0x350a33&&_0x472f58&&_0x177741;},_0xafa5db=>_0x485f49(_0x31a957,_0x5b6b('0x2'),_0xafa5db)),_0x3b6a4e['_descriptionFactory'][_0x5b6b('0x1b')](function(_0x13a5e3){const {data:_0x4167a5}=_0x13a5e3;if(!_0x4167a5)return;let _0x137cc9,_0x545d38,_0x5357bf,_0x18eff0;switch(_0x4167a5[_0x5b6b('0x6')]){case _0x5b6b('0x1d'):_0x5357bf=_0x4167a5[_0x5b6b('0x7')][0x0]['forceValue'],_0x18eff0=_0x13d902(_0x4167a5[_0x5b6b('0x6')]),_0x137cc9=_0x5357bf?_0x5b6b('0x36'):'*Format:*\x20remove\x20from\x20%0',_0x18eff0&&(_0x137cc9=_0x5b6b('0x31')),_0x545d38={'type':_0x5b6b('0x2a'),'content':_0x485f49(_0x31a957,_0x137cc9,_0x485f49(_0x31a957,_0x5b6b('0xb')))};break;case _0x5b6b('0x26'):_0x5357bf=_0x4167a5[_0x5b6b('0x7')][0x0]['forceValue'],_0x18eff0=_0x13d902(_0x4167a5['commandName']),_0x137cc9=_0x5357bf?_0x5b6b('0x36'):'*Format:*\x20remove\x20from\x20%0',_0x18eff0&&(_0x137cc9=_0x5b6b('0x31')),_0x545d38={'type':_0x5b6b('0x2a'),'content':_0x485f49(_0x31a957,_0x137cc9,_0x485f49(_0x31a957,'ELEMENT_NUMBERED_LIST'))};break;case _0x5b6b('0xf'):_0x137cc9=_0x5b6b('0x14'),_0x545d38={'type':_0x5b6b('0x2a'),'content':_0x485f49(_0x31a957,_0x137cc9,_0x485f49(_0x31a957,_0x5b6b('0x2')))};break;case _0x5b6b('0x2c'):_0x137cc9=_0x5b6b('0x5'),_0x545d38={'type':_0x5b6b('0x2a'),'content':_0x485f49(_0x31a957,_0x137cc9,_0x485f49(_0x31a957,_0x5b6b('0x2')))};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x4167a5[_0x5b6b('0xa')]&&(_0x137cc9='*Merge:*\x20%0',_0x545d38={'type':'deletion','content':_0x485f49(_0x31a957,_0x137cc9,_0x485f49(_0x31a957,_0x5b6b('0x2')))});}return _0x545d38;}),_0x3b6a4e[_0x5b6b('0x8')]['registerCustomCallback'](_0x5b6b('0x3c'),'documentList',_0x5b6b('0x30'),function(_0xcdc003,_0x34baf9){const _0x104b01=[];for(let _0x1ff3b9 of _0xcdc003)_0x1ff3b9[_0x5b6b('0x3d')][_0x5b6b('0x4')]===_0x1ff3b9['end']['parent']&&(_0x1ff3b9=_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x28')](_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x37')](_0x1ff3b9['start']['nodeAfter'],0x0))),_0x104b01[_0x5b6b('0x15')](_0x1ff3b9);_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x0')](_0x1456f3=>{const _0x32a6d9=_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x32')][_0x5b6b('0x16')],_0x4a1a67=Array[_0x5b6b('0xc')](_0x32a6d9[_0x5b6b('0x25')]())[_0x5b6b('0x3f')](_0x746bda=>_0x32a7b9[_0x5b6b('0x35')](_0x746bda));_0x1456f3[_0x5b6b('0x2e')](_0x104b01),_0x1e9b6f['commands'][_0x5b6b('0x33')](_0x34baf9['commandName'])[_0x5b6b('0x13')](),_0x34baf9[_0x5b6b('0x7')]['push']({'forceDefaultExecution':!0x0}),_0x1e9b6f[_0x5b6b('0x2d')](_0x34baf9['commandName'],..._0x34baf9['commandParams']),_0x1456f3[_0x5b6b('0x2e')](_0x4a1a67);for(const _0x59bd6c of _0x4a1a67)_0x59bd6c[_0x5b6b('0x1a')]();});});}}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x333d=['model','TrackChangesEditing','toUpperCase','getSelectedBlocks','get','listReversed','bind','expandListBlocksToCompleteList','format','filter','plugins','change','reversed','document','_LIST_','hasAttribute','replaceAll','list.properties','isListItemBlock','_getSuggestionBlocks','startIndex','type','listStart','DocumentListPropertiesUtils','editor','handleDescriptions','handleListStyleCommand','push','_getTranslationKeyForListStyle','config','DocumentListPropertiesEditing','listType','from','isFirstBlockOfListItem','has','*Format:*\x20set\x20order\x20to\x20regular','enableCommand','getAttribute','commandName','commandParams','DocumentListUtils','numbered','handleListReversedCommand','length','afterInit','*Format:*\x20set\x20start\x20index\x20to\x20%0','*Format:*\x20set\x20order\x20to\x20reversed','*Change\x20to:*\x20%0','markMultiRangeBlockFormat','listStyle'];(function(_0x324731,_0x333df){const _0x228d5e=function(_0x1ab0dc){while(--_0x1ab0dc){_0x324731['push'](_0x324731['shift']());}};_0x228d5e(++_0x333df);}(_0x333d,0x137));const _0x228d=function(_0x324731,_0x333df){_0x324731=_0x324731-0x0;let _0x228d5e=_0x333d[_0x324731];return _0x228d5e;};import{Plugin as _0x528d96}from'ckeditor5/src/core';import{getTranslation as _0x44e777}from'../utils/common-translations';export default class St extends _0x528d96{[_0x228d('0x21')](){if(!this[_0x228d('0xd')][_0x228d('0x31')][_0x228d('0x17')](_0x228d('0x13')))return;const _0x2b3678=this[_0x228d('0xd')][_0x228d('0x12')]['get'](_0x228d('0x6')),_0x14fbc3=this[_0x228d('0xd')]['plugins'][_0x228d('0x2b')](_0x228d('0x28'));_0x2b3678['styles']&&_0x14fbc3['enableCommand'](_0x228d('0x26'),this[_0x228d('0xf')][_0x228d('0x2d')](this)),_0x2b3678['reversed']&&_0x14fbc3[_0x228d('0x19')](_0x228d('0x2c'),this['handleListReversedCommand']['bind'](this)),_0x2b3678[_0x228d('0x9')]&&_0x14fbc3['enableCommand']('listStart',this['handleListStartCommand'][_0x228d('0x2d')](this)),_0x14fbc3['_descriptionFactory']['registerDescriptionCallback'](this[_0x228d('0xe')][_0x228d('0x2d')](this));}[_0x228d('0xf')](_0x10b5dd,_0x4dc281){const _0xc5860d=this[_0x228d('0xd')][_0x228d('0x31')][_0x228d('0x2b')](_0x228d('0x28')),_0x5cf106=this[_0x228d('0x8')](_0x5264bf=>_0x5264bf[_0x228d('0x4')]('listType'));null!==_0x5cf106&&this[_0x228d('0xd')]['model'][_0x228d('0x0')](()=>{_0xc5860d[_0x228d('0x25')](_0x5cf106,{'commandName':_0x228d('0x26'),'commandParams':[{'type':_0x4dc281[_0x228d('0xa')]}],'formatGroupId':_0x228d('0x26')});});}[_0x228d('0x1f')](_0x583d04,_0x37b376){const _0x60420a=this[_0x228d('0xd')][_0x228d('0x31')][_0x228d('0x2b')](_0x228d('0x28')),_0x460955=this[_0x228d('0xd')]['plugins'][_0x228d('0x2b')]('DocumentListUtils'),_0x24e287=this[_0x228d('0x8')](_0xef0085=>_0x460955[_0x228d('0x7')](_0xef0085)&&_0x228d('0x1e')===_0xef0085[_0x228d('0x1a')](_0x228d('0x14')));null!==_0x24e287&&this[_0x228d('0xd')][_0x228d('0x27')][_0x228d('0x0')](()=>{_0x60420a[_0x228d('0x25')](_0x24e287,{'commandName':'listReversed','commandParams':[{'reversed':_0x37b376[_0x228d('0x1')]}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x35cd04,_0x241f48){const _0x278c7e=this[_0x228d('0xd')][_0x228d('0x31')]['get'](_0x228d('0x28')),_0x1828fc=this['editor'][_0x228d('0x31')][_0x228d('0x2b')](_0x228d('0x1d')),_0x56df28=this[_0x228d('0x8')](_0x4953a6=>_0x1828fc[_0x228d('0x7')](_0x4953a6)&&_0x228d('0x1e')===_0x4953a6['getAttribute']('listType'));null!==_0x56df28&&this[_0x228d('0xd')][_0x228d('0x27')][_0x228d('0x0')](()=>{_0x278c7e[_0x228d('0x25')](_0x56df28,{'commandName':_0x228d('0xb'),'commandParams':[{'startIndex':_0x241f48[_0x228d('0x9')]}],'formatGroupId':'listStart'});});}[_0x228d('0xe')](_0x26a96b){const _0x596abb=this['editor']['locale'],{data:_0x89b95c}=_0x26a96b;if(!_0x89b95c)return;let _0x588786,_0x4fa6bf;switch(_0x89b95c[_0x228d('0x1b')]){case _0x228d('0x26'):_0x588786=_0x228d('0x24'),_0x4fa6bf={'type':'format','content':_0x44e777(_0x596abb,_0x588786,_0x44e777(_0x596abb,this[_0x228d('0x11')](_0x89b95c[_0x228d('0x1c')][0x0][_0x228d('0xa')])))};break;case _0x228d('0x2c'):_0x588786=_0x89b95c[_0x228d('0x1c')][0x0][_0x228d('0x1')]?_0x228d('0x23'):_0x228d('0x18'),_0x4fa6bf={'type':_0x228d('0x2f'),'content':_0x44e777(_0x596abb,_0x588786)};break;case _0x228d('0xb'):_0x588786=_0x228d('0x22'),_0x4fa6bf={'type':_0x228d('0x2f'),'content':_0x44e777(_0x596abb,_0x588786,_0x89b95c[_0x228d('0x1c')][0x0][_0x228d('0x9')])};}return _0x4fa6bf;}[_0x228d('0x8')](_0x1a2949){const _0x18ae23=this[_0x228d('0xd')][_0x228d('0x31')][_0x228d('0x2b')]('DocumentListUtils');let _0x494aac=Array[_0x228d('0x15')](this[_0x228d('0xd')][_0x228d('0x27')][_0x228d('0x2')]['selection'][_0x228d('0x2a')]())[_0x228d('0x30')](_0x1a2949);if(!_0x494aac[_0x228d('0x20')])return null;_0x494aac=_0x18ae23[_0x228d('0x2e')](_0x494aac);const _0x22f606=[];for(const _0x552351 of _0x494aac)_0x18ae23[_0x228d('0x16')](_0x552351)&&_0x22f606[_0x228d('0x10')](_0x552351);return _0x22f606;}[_0x228d('0x11')](_0x5cfa42){return'ELEMENT_'+this[_0x228d('0xd')][_0x228d('0x31')][_0x228d('0x2b')](_0x228d('0xc'))['getListTypeFromListStyleType'](_0x5cfa42)[_0x228d('0x29')]()+_0x228d('0x3')+_0x5cfa42['toUpperCase']()[_0x228d('0x5')]('-','_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x384f=['remove','split','enter','markerName','writer','fromRange','document','nextSibling','addMarker:suggestion:insertion','afterExecute','plugins','editor','editing','markerNameToElements','fire','showSuggestionHighlights','createRange','detach','enableCommand','parent','model','getFirstPosition','init','removeMarker:suggestion:insertion','enterBlock','createPositionAt','get','ck-suggestion-marker-split','downcastDispatcher','end','unbindElementFromMarkerName','selection','mapper','commands','setSelection','markInsertion'];(function(_0x2d27ef,_0x384f13){const _0x4a4a5d=function(_0x515a82){while(--_0x515a82){_0x2d27ef['push'](_0x2d27ef['shift']());}};_0x4a4a5d(++_0x384f13);}(_0x384f,0x121));const _0x4a4a=function(_0x2d27ef,_0x384f13){_0x2d27ef=_0x2d27ef-0x0;let _0x4a4a5d=_0x384f[_0x2d27ef];return _0x4a4a5d;};import{Plugin as _0x47b7a1}from'ckeditor5/src/core';import{Enter as _0x40930b}from'ckeditor5/src/enter';import{LiveRange as _0x5dae19}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3e7b2d}from'./utils';export default class H extends _0x47b7a1{static get['requires'](){return[_0x40930b];}[_0x4a4a('0x15')](){const _0x5d86a3=this[_0x4a4a('0xa')],_0x114180=_0x5d86a3[_0x4a4a('0x9')][_0x4a4a('0x19')]('TrackChangesEditing'),_0x3c4436=_0x5d86a3[_0x4a4a('0x20')]['get'](_0x4a4a('0x1'));_0x114180[_0x4a4a('0x11')](_0x4a4a('0x1'),()=>{_0x5d86a3[_0x4a4a('0x13')]['change'](_0x19f15b=>{const _0xc6728e=_0x5d86a3['model'][_0x4a4a('0x5')][_0x4a4a('0x1e')],_0x165e1e=_0xc6728e[_0x4a4a('0x14')](),_0x21fd6f=_0x5dae19[_0x4a4a('0x4')](_0xc6728e['getFirstRange']());if(_0x3c4436[_0x4a4a('0x17')](_0x19f15b)){const _0xac1da=_0x5d86a3[_0x4a4a('0x13')][_0x4a4a('0x18')](_0x165e1e[_0x4a4a('0x12')][_0x4a4a('0x6')],0x0),_0x2a04c9=_0x19f15b[_0x4a4a('0xf')](_0x165e1e,_0xac1da);_0x114180[_0x4a4a('0x22')](_0x2a04c9);}else _0x19f15b[_0x4a4a('0x21')](_0x19f15b[_0x4a4a('0xf')](_0x21fd6f[_0x4a4a('0x1c')]));_0x21fd6f[_0x4a4a('0x10')](),_0x3c4436[_0x4a4a('0xd')](_0x4a4a('0x8'),{'writer':_0x19f15b});});}),_0x5d86a3[_0x4a4a('0xb')][_0x4a4a('0x1b')]['on'](_0x4a4a('0x7'),_0x3e7b2d(_0x5d86a3,'split'),{'priority':'high'}),_0x5d86a3[_0x4a4a('0xb')][_0x4a4a('0x1b')]['on'](_0x4a4a('0x16'),(_0x1d7458,_0x1598d9,_0x4da716)=>{const _0x560add=_0x4da716[_0x4a4a('0x1f')][_0x4a4a('0xc')](_0x1598d9[_0x4a4a('0x2')]);if(_0x560add)for(const _0x5d483c of _0x560add)_0x5d483c['hasClass'](_0x4a4a('0x1a'))&&(_0x4da716[_0x4a4a('0x1f')][_0x4a4a('0x1d')](_0x5d483c,_0x1598d9['markerName']),_0x4da716[_0x4a4a('0x3')][_0x4a4a('0x23')](_0x5d483c));},{'priority':'high'}),_0x5d86a3['data']['downcastDispatcher']['on'](_0x4a4a('0x7'),(_0xd96263,_0x494326,_0x12ddf3)=>{_0x12ddf3['options'][_0x4a4a('0xe')]&&_0x3e7b2d(_0x5d86a3,_0x4a4a('0x0'),{'showActiveMarker':!0x1})(_0xd96263,_0x494326,_0x12ddf3);},{'priority':'high'});}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5880=['commandName','commandParams','registerDescriptionCallback','from','*Reset\x20font\x20background\x20color*','afterInit','*Reset\x20font\x20family*','fontSize','*Set\x20font\x20size:*\x20%0','TrackChangesEditing','title','selection','fontColor','FontBackgroundColorEditing','format','config','editor','isCollapsed','plugins','get','*Set\x20font\x20color:*\x20%0','toLowerCase','_enableCommand','locale','trim','enableCommand','getRanges','value','*Set\x20font\x20family:*\x20%0','label','has','_descriptionFactory','fontFamily','find','fontColor.colors','model','fontBackgroundColor'];(function(_0x7b1078,_0x58809f){const _0x3c5aa1=function(_0x167f46){while(--_0x167f46){_0x7b1078['push'](_0x7b1078['shift']());}};_0x3c5aa1(++_0x58809f);}(_0x5880,0x84));const _0x3c5a=function(_0x7b1078,_0x58809f){_0x7b1078=_0x7b1078-0x0;let _0x3c5aa1=_0x5880[_0x7b1078];return _0x3c5aa1;};import{Plugin as _0x98be4}from'ckeditor5/src/core';import{normalizeColorOptions as _0x45affd}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x421341}from'./utils';import{getTranslation as _0x3ab345}from'../utils/common-translations';const Jt=[{'pluginName':'FontSizeEditing','commandName':_0x3c5a('0x17')},{'pluginName':'FontFamilyEditing','commandName':_0x3c5a('0xb')},{'pluginName':'FontColorEditing','commandName':_0x3c5a('0x1c')},{'pluginName':_0x3c5a('0x1d'),'commandName':_0x3c5a('0xf')}];export default class W extends _0x98be4{[_0x3c5a('0x15')](){const _0x41e3c7=this[_0x3c5a('0x20')][_0x3c5a('0x2')];for(const {pluginName:_0x48c434,commandName:_0x268c46}of Jt)this[_0x3c5a('0x20')][_0x3c5a('0x22')][_0x3c5a('0x9')](_0x48c434)&&this[_0x3c5a('0x1')](_0x268c46);this['editor']['plugins'][_0x3c5a('0x23')](_0x3c5a('0x19'))[_0x3c5a('0xa')][_0x3c5a('0x12')](_0x379458=>{const {data:_0x96e129}=_0x379458;if(null!=_0x96e129){if('fontSize'==_0x96e129[_0x3c5a('0x10')]){const _0x43dff0=_0x96e129[_0x3c5a('0x11')][0x0][_0x3c5a('0x6')];if(_0x43dff0){const _0x2c1ba8=this[_0x3c5a('0x20')]['plugins'][_0x3c5a('0x23')]('FontSize')['normalizeSizeOptions'](this[_0x3c5a('0x20')][_0x3c5a('0x1f')]['get']('fontSize.options'))[_0x3c5a('0xc')](_0x195763=>_0x195763['model']==_0x43dff0)[_0x3c5a('0x1a')],_0x218b5d=this[_0x3c5a('0x20')][_0x3c5a('0x2')]['_t'](_0x2c1ba8)[_0x3c5a('0x0')]();return{'type':_0x3c5a('0x1e'),'content':_0x3ab345(_0x41e3c7,_0x3c5a('0x18'),_0x218b5d)};}return{'type':_0x3c5a('0x1e'),'content':_0x3ab345(_0x41e3c7,'*Reset\x20font\x20size*')};}if(_0x3c5a('0xb')==_0x96e129['commandName']){const _0x56ceb8=_0x96e129[_0x3c5a('0x11')][0x0][_0x3c5a('0x6')];return _0x56ceb8?{'type':_0x3c5a('0x1e'),'content':_0x3ab345(_0x41e3c7,_0x3c5a('0x7'),_0x56ceb8)}:{'type':'format','content':_0x3ab345(_0x41e3c7,_0x3c5a('0x16'))};}if(_0x3c5a('0x1c')==_0x96e129['commandName']){const _0x4859fc=_0x96e129[_0x3c5a('0x11')][0x0][_0x3c5a('0x6')];if(_0x4859fc){const _0x1cfb62=_0x45affd(this[_0x3c5a('0x20')][_0x3c5a('0x1f')][_0x3c5a('0x23')](_0x3c5a('0xd')))[_0x3c5a('0xc')](_0x13c009=>_0x13c009[_0x3c5a('0xe')]==_0x4859fc);let _0x2321eb=_0x4859fc,_0x4c1b87='';return _0x1cfb62&&(_0x2321eb=_0x1cfb62[_0x3c5a('0x8')],_0x4c1b87=_0x41e3c7['_t'](_0x2321eb)[_0x3c5a('0x0')]()),{'type':_0x3c5a('0x1e'),'content':_0x3ab345(_0x41e3c7,_0x3c5a('0x24'),_0x4c1b87)[_0x3c5a('0x3')](),'color':{'value':_0x4859fc,'title':_0x4c1b87||_0x2321eb}};}return{'type':_0x3c5a('0x1e'),'content':_0x3ab345(_0x41e3c7,'*Reset\x20font\x20color*')};}if(_0x3c5a('0xf')==_0x96e129[_0x3c5a('0x10')]){const _0x19d12e=_0x96e129[_0x3c5a('0x11')][0x0]['value'];if(_0x19d12e){const _0x541718=_0x45affd(this[_0x3c5a('0x20')]['config'][_0x3c5a('0x23')]('fontBackgroundColor.colors'))[_0x3c5a('0xc')](_0x145dca=>_0x145dca['model']==_0x19d12e);let _0x1caa3c=_0x19d12e,_0x3fd526='';return _0x541718&&(_0x1caa3c=_0x541718[_0x3c5a('0x8')],_0x3fd526=_0x41e3c7['_t'](_0x1caa3c)[_0x3c5a('0x0')]()),{'type':'format','content':_0x3ab345(_0x41e3c7,'*Set\x20font\x20background\x20color:*\x20%0',_0x3fd526)['trim'](),'color':{'value':_0x19d12e,'title':_0x3fd526||_0x1caa3c}};}return{'type':'format','content':_0x3ab345(_0x41e3c7,_0x3c5a('0x14'))};}}});}[_0x3c5a('0x1')](_0x499af0){const _0x5958c8=this[_0x3c5a('0x20')];_0x5958c8[_0x3c5a('0x22')][_0x3c5a('0x23')]('TrackChangesEditing')[_0x3c5a('0x4')](_0x499af0,(_0x265bd7,_0x3deaff={})=>{const _0x247e17=_0x5958c8[_0x3c5a('0xe')]['document'][_0x3c5a('0x1b')],_0x531786=_0x3deaff[_0x3c5a('0x6')];_0x247e17[_0x3c5a('0x21')]?_0x265bd7(_0x3deaff):_0x5958c8[_0x3c5a('0xe')]['change'](()=>{const _0x19e13e=Array[_0x3c5a('0x13')](_0x247e17[_0x3c5a('0x5')]());for(const _0xaf6a3f of _0x19e13e){const _0x4a1882=_0x531786?[_0xaf6a3f]:_0x421341(_0x499af0,_0xaf6a3f,_0x5958c8[_0x3c5a('0xe')]);for(const _0x1f377c of _0x4a1882)_0x5958c8[_0x3c5a('0x22')][_0x3c5a('0x23')](_0x3c5a('0x19'))['markInlineFormat'](_0x1f377c,{'commandName':_0x499af0,'commandParams':[{'value':_0x531786}]});}});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4562=['filter','checkChild','selection','name','parent','change','blockName','ELEMENT_HEADING_CUSTOM','paragraph','plugins','heading','find','has','enableCommand','_descriptionFactory','config','document','title','*Change\x20to:*\x20%0','from','match','model','afterInit','TrackChangesEditing','value','schema','editor','commandName','isObject','format','get','registerElementLabel','heading.options','registerDescriptionCallback'];(function(_0x182fee,_0x4562b5){const _0x48f633=function(_0x24644e){while(--_0x24644e){_0x182fee['push'](_0x182fee['shift']());}};_0x48f633(++_0x4562b5);}(_0x4562,0xc9));const _0x48f6=function(_0x182fee,_0x4562b5){_0x182fee=_0x182fee-0x0;let _0x48f633=_0x4562[_0x182fee];return _0x48f633;};import{Plugin as _0x2b30ba}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2a18fe}from'./utils';import{getTranslation as _0x2df148}from'../utils/common-translations';export default class J extends _0x2b30ba{[_0x48f6('0x19')](){const _0x447857=this[_0x48f6('0x1d')],_0x26a8d4=_0x447857['locale'],_0x4e53dc=_0x447857[_0x48f6('0x12')][_0x48f6('0x21')](_0x48f6('0x1'));if(!_0x447857[_0x48f6('0xc')][_0x48f6('0xf')]('HeadingEditing'))return;const _0xc9d3ed=_0x447857[_0x48f6('0xc')]['get'](_0x48f6('0x1a'));_0xc9d3ed[_0x48f6('0x10')](_0x48f6('0xd'),(_0x483cc4,_0x4cd2bf)=>{const _0x1ae19d=_0x4cd2bf[_0x48f6('0x1b')],_0x4353fa=Array[_0x48f6('0x16')](this[_0x48f6('0x1d')][_0x48f6('0x18')][_0x48f6('0x13')][_0x48f6('0x5')]['getSelectedBlocks']())[_0x48f6('0x3')](_0x43f913=>function(_0x4458c7,_0x26c0b2,_0x4e28c3){return _0x4e28c3[_0x48f6('0x4')](_0x4458c7[_0x48f6('0x7')],_0x26c0b2)&&!_0x4e28c3[_0x48f6('0x1f')](_0x4458c7)&&_0x4458c7[_0x48f6('0x6')]!=_0x26c0b2;}(_0x43f913,_0x1ae19d,this[_0x48f6('0x1d')][_0x48f6('0x18')][_0x48f6('0x1c')]));_0x447857[_0x48f6('0x18')][_0x48f6('0x8')](()=>{for(const _0x142e2c of _0x4353fa)_0xc9d3ed['markBlockFormat'](_0x142e2c,{'commandName':_0x48f6('0xd'),'commandParams':[_0x4cd2bf],'formatGroupId':_0x48f6('0x9')},_0x2a18fe(_0x142e2c));});});for(const _0x18bf2d of _0x4e53dc)_0x48f6('0xb')!=_0x18bf2d[_0x48f6('0x18')]&&_0xc9d3ed[_0x48f6('0x11')][_0x48f6('0x0')](_0x18bf2d[_0x48f6('0x18')],_0x5d2b1d=>{const _0x330716=Xt(_0x18bf2d[_0x48f6('0x18')]);return null!==_0x330716?_0x5b1c80(_0x5d2b1d,_0x330716):_0x21a91d(_0x5d2b1d,_0x18bf2d['title']);});function _0x5b1c80(_0x92474e,_0xf8acd6){return _0x2df148(_0x26a8d4,'ELEMENT_HEADING',[_0x92474e,_0xf8acd6]);}function _0x21a91d(_0x28709a,_0x4404bf){return _0x2df148(_0x26a8d4,_0x48f6('0xa'),[_0x28709a,_0x4404bf]);}_0xc9d3ed['_descriptionFactory'][_0x48f6('0x2')](_0x25a3ca=>{const {type:_0x71ec64,data:_0x4aad2d}=_0x25a3ca;if('formatBlock'==_0x71ec64&&_0x4aad2d&&_0x48f6('0xd')==_0x4aad2d[_0x48f6('0x1e')]){const _0x286aef=_0x4aad2d['commandParams'][0x0]['value'],_0x5b4a4a=Xt(_0x286aef);if(null!==_0x5b4a4a)return{'type':_0x48f6('0x20'),'content':_0x2df148(_0x26a8d4,_0x48f6('0x15'),_0x5b1c80(0x1,_0x5b4a4a))};const _0xba40fc=_0x4e53dc[_0x48f6('0xe')](_0x10b63b=>_0x10b63b[_0x48f6('0x18')]===_0x286aef)[_0x48f6('0x14')];return{'type':_0x48f6('0x20'),'content':_0x2df148(_0x26a8d4,'*Change\x20to:*\x20%0',_0x21a91d(0x1,_0xba40fc))};}});}}function Xt(_0x14b0b7){const _0x2d70d4=_0x14b0b7[_0x48f6('0x17')](/^heading(\d+)$/);return _0x2d70d4?_0x2d70d4[0x1]:null;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57f6=['editor','backward','HighlightEditing','getLastMatchingPosition','find','enableCommand','hasAttribute','format','model','locale','get','item','registerDescriptionCallback','document','highlight','has','afterInit','getAttribute','formatInline','change','value','title','getRanges','toLowerCase','isCollapsed','color','_descriptionFactory','push','createRange','FORMAT_HIGHLIGHT','*Remove\x20highlight*'];(function(_0x388651,_0x57f6f8){const _0x566d5b=function(_0x3809e0){while(--_0x3809e0){_0x388651['push'](_0x388651['shift']());}};_0x566d5b(++_0x57f6f8);}(_0x57f6,0x151));const _0x566d=function(_0x388651,_0x57f6f8){_0x388651=_0x388651-0x0;let _0x566d5b=_0x57f6[_0x388651];return _0x566d5b;};import{Plugin as _0x4c8688}from'ckeditor5/src/core';import{getTranslation as _0x4cdbb5}from'../utils/common-translations';import{getRangesWithAttribute as _0x45c753}from'./utils';export default class K extends _0x4c8688{[_0x566d('0x14')](){const _0xa22a05=this[_0x566d('0x4')];if(!_0xa22a05['plugins'][_0x566d('0x13')](_0x566d('0x6')))return;const _0x37029a=_0xa22a05['plugins'][_0x566d('0xe')]('TrackChangesEditing');_0x37029a[_0x566d('0x9')]('highlight',(_0x10a147,_0x210214={})=>{const _0x3c2f92=_0xa22a05[_0x566d('0xc')][_0x566d('0x11')]['selection'],_0x5480cc=_0x3c2f92[_0x566d('0x15')](_0x566d('0x12'));let _0x58497c=_0x210214['value'],_0x612319=[];if(_0x3c2f92[_0x566d('0x1c')]){const _0x59f3ff=_0x3c2f92['getFirstPosition']();if(!_0x3c2f92[_0x566d('0xa')](_0x566d('0x12')))return void _0x10a147(_0x210214);{const _0x50e3cc=_0x223696=>_0x223696[_0x566d('0xf')]['getAttribute'](_0x566d('0x12'))===_0x5480cc,_0x379b1c=_0x59f3ff['getLastMatchingPosition'](_0x50e3cc,{'direction':_0x566d('0x5')}),_0x15d7ee=_0x59f3ff[_0x566d('0x7')](_0x50e3cc);_0x612319=[_0xa22a05[_0x566d('0xc')][_0x566d('0x1')](_0x379b1c,_0x15d7ee)],_0x58497c==_0x5480cc&&(_0x58497c=null);}}else for(const _0x22ba00 of _0x3c2f92[_0x566d('0x1a')]())_0x58497c?_0x612319[_0x566d('0x0')](_0x22ba00):_0x612319[_0x566d('0x0')](..._0x45c753('highlight',_0x22ba00,_0xa22a05['model']));_0xa22a05[_0x566d('0xc')][_0x566d('0x17')](()=>{for(const _0x32a62b of _0x612319)_0x37029a['markInlineFormat'](_0x32a62b,{'commandName':_0x566d('0x12'),'commandParams':[{'value':_0x58497c}]});});});const _0x2ed459=_0xa22a05[_0x566d('0xd')];_0x37029a[_0x566d('0x1e')][_0x566d('0x10')](_0x24b8ed=>{const {type:_0xae84a8,data:_0x12203b}=_0x24b8ed;if(_0x566d('0x16')==_0xae84a8&&_0x12203b&&'highlight'==_0x12203b['commandName']){const _0x5e2e7d=_0x12203b['commandParams'][0x0][_0x566d('0x18')];if(_0x5e2e7d){const _0x34d180=_0xa22a05['config']['get']('highlight.options')[_0x566d('0x8')](_0x4c91ec=>_0x4c91ec[_0x566d('0xc')]==_0x5e2e7d),_0x3795c3=_0x2ed459['_t'](_0x34d180['title'])[_0x566d('0x1b')]();return{'type':_0x566d('0xb'),'content':_0x4cdbb5(_0x2ed459,'*Set\x20highlight:*\x20%0',_0x3795c3),'color':{'value':_0x34d180[_0x566d('0x1d')],'title':_0x34d180[_0x566d('0x19')]}};}return{'type':'format','content':_0x4cdbb5(_0x2ed459,_0x566d('0x3'),_0x4cdbb5(_0x2ed459,_0x566d('0x2')))};}});}}
|