@ckeditor/ckeditor5-track-changes 37.1.0 → 38.0.0-rc.1
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/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/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/tr.js +1 -1
- package/build/translations/uk.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/translations/ar.po +7 -7
- package/lang/translations/bg.po +3 -3
- package/lang/translations/bn.po +3 -3
- package/lang/translations/ca.po +3 -3
- package/lang/translations/cs.po +5 -5
- package/lang/translations/da.po +3 -3
- package/lang/translations/de.po +3 -3
- package/lang/translations/el.po +3 -3
- package/lang/translations/en-au.po +23 -23
- package/lang/translations/es.po +4 -4
- package/lang/translations/et.po +3 -3
- package/lang/translations/fi.po +3 -3
- package/lang/translations/fr.po +4 -4
- package/lang/translations/he.po +5 -5
- package/lang/translations/hi.po +3 -3
- package/lang/translations/hr.po +26 -26
- package/lang/translations/hu.po +3 -3
- package/lang/translations/id.po +2 -2
- package/lang/translations/it.po +4 -4
- package/lang/translations/ja.po +2 -2
- package/lang/translations/ko.po +2 -2
- package/lang/translations/lt.po +5 -5
- package/lang/translations/lv.po +4 -4
- package/lang/translations/ms.po +2 -2
- package/lang/translations/nl.po +3 -3
- package/lang/translations/no.po +3 -3
- package/lang/translations/pl.po +5 -5
- package/lang/translations/pt-br.po +4 -4
- package/lang/translations/pt.po +4 -4
- package/lang/translations/ro.po +4 -4
- package/lang/translations/ru.po +5 -5
- package/lang/translations/sk.po +5 -5
- package/lang/translations/sr-latn.po +4 -4
- package/lang/translations/sr.po +4 -4
- package/lang/translations/sv.po +3 -3
- package/lang/translations/th.po +2 -2
- package/lang/translations/tr.po +3 -3
- package/lang/translations/uk.po +5 -5
- package/lang/translations/vi.po +2 -2
- package/lang/translations/zh-cn.po +2 -2
- package/lang/translations/zh.po +2 -2
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +23 -5
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +23 -5
- 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 _0x1f85=['markBlockFormat','center','afterInit','selection','change','locale','document','get','FORMAT_JUSTIFY_TEXT','alignment','right','value','plugins','justify','checkAttribute','getAttribute','TrackChangesEditing','_descriptionFactory','commandName','has','format','filter','editor','left','enableCommand','from','registerDescriptionCallback','model','AlignmentEditing','commandParams','contentLanguageDirection','getSelectedBlocks'];(function(_0x194328,_0x1f85d2){const _0x5a524d=function(_0x225680){while(--_0x225680){_0x194328['push'](_0x194328['shift']());}};_0x5a524d(++_0x1f85d2);}(_0x1f85,0xce));const _0x5a52=function(_0x194328,_0x1f85d2){_0x194328=_0x194328-0x0;let _0x5a524d=_0x1f85[_0x194328];return _0x5a524d;};import{Plugin as _0x5dd42e}from'ckeditor5/src/core';import{getTranslation as _0x2e19ff}from'../utils/common-translations';export default class x extends _0x5dd42e{[_0x5a52('0x14')](){const _0x103745=this[_0x5a52('0x8')],_0x660361=_0x103745[_0x5a52('0x17')];if(!_0x103745['plugins'][_0x5a52('0x5')](_0x5a52('0xe')))return;const _0x2131e8=_0x103745[_0x5a52('0x1e')][_0x5a52('0x19')](_0x5a52('0x2'));_0x2131e8[_0x5a52('0xa')](_0x5a52('0x1b'),(_0x523ff0,_0xcab433={})=>{let _0x243aa4=_0xcab433[_0x5a52('0x1d')];_0xcab433[_0x5a52('0x1d')]||(_0x243aa4='ltr'===_0x103745[_0x5a52('0x17')][_0x5a52('0x10')]?_0x5a52('0x9'):_0x5a52('0x1c'));const _0x935931=Array[_0x5a52('0xb')](this[_0x5a52('0x8')][_0x5a52('0xd')][_0x5a52('0x18')][_0x5a52('0x15')][_0x5a52('0x11')]())[_0x5a52('0x7')](_0x329b92=>function(_0x437b4b,_0x42d988,_0x1fd315){const _0x3a21a5=_0x437b4b[_0x5a52('0x1')](_0x5a52('0x1b'))||null;return _0x42d988[_0x5a52('0x0')](_0x437b4b,'alignment')&&_0x1fd315!=_0x3a21a5;}(_0x329b92,this[_0x5a52('0x8')][_0x5a52('0xd')]['schema'],_0x243aa4));_0x103745[_0x5a52('0xd')][_0x5a52('0x16')](()=>{for(const _0x1f9d10 of _0x935931)_0x2131e8[_0x5a52('0x12')](_0x1f9d10,{'commandName':_0x5a52('0x1b'),'commandParams':[{'value':_0x243aa4}]});});}),_0x2131e8[_0x5a52('0x3')][_0x5a52('0xc')](_0x42a33c=>{const {data:_0x260c1e}=_0x42a33c;if(_0x260c1e&&_0x5a52('0x1b')==_0x260c1e[_0x5a52('0x4')]){const _0xebfafd=_0x260c1e[_0x5a52('0xf')][0x0][_0x5a52('0x1d')];return{'type':_0x5a52('0x6'),'content':_0x2e19ff(_0x660361,'*Format:*\x20%0',function(_0xc797b0){switch(_0xc797b0){case _0x5a52('0x9'):return _0x2e19ff(_0x660361,'FORMAT_ALIGN_TO_LEFT');case _0x5a52('0x1c'):return _0x2e19ff(_0x660361,'FORMAT_ALIGN_TO_RIGHT');case _0x5a52('0x13'):return _0x2e19ff(_0x660361,'FORMAT_ALIGN_TO_CENTER');case _0x5a52('0x1f'):return _0x2e19ff(_0x660361,_0x5a52('0x1a'));}}(_0xebfafd))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5658=['_descriptionFactory','subscript','FORMAT_UNDERLINE','format','forceValue','isCollapsed','toLowerCase','slice','plugins','StrikethroughEditing','*Remove\x20format:*\x20%0','strikethrough','selection','editor','get','SuperscriptEditing','enableCommand','afterInit','getRanges','bold','*Format:*\x20%0','UnderlineEditing','from','FORMAT_ITALIC','commands','FORMAT_STRIKETHROUGH','registerDescriptionCallback','FORMAT_CODE','code','markInlineFormat','document','BoldEditing','change','has'];(function(_0x230ed1,_0x565872){const _0x541565=function(_0xdb1322){while(--_0xdb1322){_0x230ed1['push'](_0x230ed1['shift']());}};_0x541565(++_0x565872);}(_0x5658,0xf7));const _0x5415=function(_0x230ed1,_0x565872){_0x230ed1=_0x230ed1-0x0;let _0x541565=_0x5658[_0x230ed1];return _0x541565;};import{Plugin as _0x43fa8a}from'ckeditor5/src/core';import{getTranslation as _0x51f61b}from'../utils/common-translations';import{getRangesWithAttribute as _0x169dc8}from'./utils';const Kt=[_0x5415('0x16'),'ItalicEditing',_0x5415('0xc'),'CodeEditing',_0x5415('0x0'),'SubscriptEditing',_0x5415('0x6')];export default class U extends _0x43fa8a{[_0x5415('0x8')](){const _0x50aefb=this[_0x5415('0x4')],_0x2a6df4=_0x50aefb['model'],_0x5f56f9=_0x50aefb[_0x5415('0x21')][_0x5415('0x5')]('TrackChangesEditing'),_0x166c14=_0x50aefb['locale'];for(const _0x41404e of Kt){if(!_0x50aefb[_0x5415('0x21')][_0x5415('0x18')](_0x41404e))continue;const _0x3a407f=_0x41404e[_0x5415('0x20')](0x0,-0x7)[_0x5415('0x1f')](),_0x3ea0ec=_0x50aefb[_0x5415('0xf')][_0x5415('0x5')](_0x3a407f);_0x5f56f9[_0x5415('0x7')](_0x3a407f,(_0x25c1d1,_0x1feede={})=>{const _0x3f8664=_0x2a6df4[_0x5415('0x15')][_0x5415('0x3')];if(_0x3f8664[_0x5415('0x1e')])return void _0x25c1d1(_0x1feede);const _0x5651dc=void 0x0!==_0x1feede[_0x5415('0x1d')]?_0x1feede['forceValue']:!_0x3ea0ec['value'];_0x2a6df4[_0x5415('0x17')](()=>{const _0x48d0d1=Array[_0x5415('0xd')](_0x3f8664[_0x5415('0x9')]());for(const _0x25e03a of _0x48d0d1){const _0x1e305d=_0x5651dc?[_0x25e03a]:_0x169dc8(_0x3a407f,_0x25e03a,_0x2a6df4);for(const _0x395b23 of _0x1e305d)_0x5f56f9[_0x5415('0x14')](_0x395b23,{'commandName':_0x3a407f,'commandParams':[{'forceValue':_0x5651dc}]});}});});}function _0x51289e(_0x385d79,_0x27228b){_0x5f56f9[_0x5415('0x19')][_0x5415('0x11')](_0x13b08e=>{const {data:_0x391bad}=_0x13b08e;if(_0x391bad&&_0x391bad['commandName']===_0x385d79)return _0x391bad['commandParams'][0x0][_0x5415('0x1d')]?{'type':_0x5415('0x1c'),'content':_0x51f61b(_0x166c14,_0x5415('0xb'),_0x27228b)}:{'type':_0x5415('0x1c'),'content':_0x51f61b(_0x166c14,_0x5415('0x1'),_0x27228b)};});}_0x51289e(_0x5415('0xa'),_0x51f61b(_0x166c14,'FORMAT_BOLD')),_0x51289e('italic',_0x51f61b(_0x166c14,_0x5415('0xe'))),_0x51289e('underline',_0x51f61b(_0x166c14,_0x5415('0x1b'))),_0x51289e(_0x5415('0x13'),_0x51f61b(_0x166c14,_0x5415('0x12'))),_0x51289e(_0x5415('0x2'),_0x51f61b(_0x166c14,_0x5415('0x10'))),_0x51289e(_0x5415('0x1a'),_0x51f61b(_0x166c14,'FORMAT_SUBSCRIPT')),_0x51289e('superscript',_0x51f61b(_0x166c14,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c20=['registerDescriptionCallback','format','value','model','document','change','commandName','$root','enableCommand','blockQuote','ELEMENT_BLOCK_QUOTE','from','commands','parent','forceValue','BlockQuoteEditing','*Format:*\x20%0','commandParams','getSelectedBlocks','checkChild','_descriptionFactory','selection','schema','has','afterInit','*Remove\x20format:*\x20%0','filter','TrackChangesEditing','plugins','markBlockFormat','get','editor','name'];(function(_0x1d0d65,_0x3c203d){const _0x38abb3=function(_0x1c479c){while(--_0x1c479c){_0x1d0d65['push'](_0x1d0d65['shift']());}};_0x38abb3(++_0x3c203d);}(_0x3c20,0xde));const _0x38ab=function(_0x1d0d65,_0x3c203d){_0x1d0d65=_0x1d0d65-0x0;let _0x38abb3=_0x3c20[_0x1d0d65];return _0x38abb3;};import{Plugin as _0x120c58}from'ckeditor5/src/core';import{getTranslation as _0x15c388}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x18fafa}from'../utils/utils';export default class j extends _0x120c58{[_0x38ab('0x0')](){const _0x24efb9=this[_0x38ab('0x7')],_0x466b79=_0x24efb9['locale'];if(!_0x24efb9[_0x38ab('0x4')][_0x38ab('0x20')](_0x38ab('0x18')))return;const _0x54002d=_0x24efb9[_0x38ab('0x4')][_0x38ab('0x6')](_0x38ab('0x3')),_0x2599a9=this[_0x38ab('0x7')][_0x38ab('0x15')][_0x38ab('0x6')](_0x38ab('0x12'));_0x54002d[_0x38ab('0x11')]('blockQuote',(_0x429ab0,_0x490a4a={})=>{const _0x620a68=this[_0x38ab('0x7')][_0x38ab('0xc')][_0x38ab('0xd')][_0x38ab('0x1e')],_0x7dda54=_0x490a4a&&void 0x0!==_0x490a4a[_0x38ab('0x17')]?_0x490a4a[_0x38ab('0x17')]:!_0x2599a9[_0x38ab('0xb')];let _0x47999e=[];if(_0x7dda54){const _0x71e744=Array[_0x38ab('0x14')](_0x620a68[_0x38ab('0x1b')]())['filter'](_0x758359=>Xt(_0x758359)||function(_0x72997f,_0x420a90){const _0xc3d0f2=_0x420a90[_0x38ab('0x1c')](_0x72997f[_0x38ab('0x16')],'blockQuote'),_0x22b35f=_0x420a90[_0x38ab('0x1c')]([_0x38ab('0x10'),_0x38ab('0x12')],_0x72997f);return _0xc3d0f2&&_0x22b35f;}(_0x758359,this[_0x38ab('0x7')]['model'][_0x38ab('0x1f')]));_0x47999e=_0x18fafa(_0x71e744,_0x24efb9[_0x38ab('0xc')]);}else{const _0x43047e=Array[_0x38ab('0x14')](_0x620a68['getSelectedBlocks']())[_0x38ab('0x2')](_0x2ded80=>Xt(_0x2ded80));_0x47999e=_0x18fafa(_0x43047e,_0x24efb9[_0x38ab('0xc')]);}_0x24efb9[_0x38ab('0xc')][_0x38ab('0xe')](()=>{for(const _0x50920d of _0x47999e)_0x54002d[_0x38ab('0x5')](_0x50920d,{'commandName':_0x38ab('0x12'),'commandParams':[{'forceValue':_0x7dda54}]});});}),_0x54002d[_0x38ab('0x1d')][_0x38ab('0x9')](_0x163d23=>{const {data:_0x46c22b}=_0x163d23;if(_0x46c22b&&'blockQuote'==_0x46c22b[_0x38ab('0xf')]){const _0x1a5cce=_0x15c388(_0x466b79,_0x38ab('0x13'));return _0x46c22b[_0x38ab('0x1a')][0x0]['forceValue']?{'type':_0x38ab('0xa'),'content':_0x15c388(_0x466b79,_0x38ab('0x19'),_0x1a5cce)}:{'type':_0x38ab('0xa'),'content':_0x15c388(_0x466b79,_0x38ab('0x1'),_0x1a5cce)};}});}}function Xt(_0x3919cf){return'blockQuote'==_0x3919cf[_0x38ab('0x16')][_0x38ab('0x8')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c64=['enableCommand','plugins','commands','afterInit','editor','get','TrackChangesEditing','ckbox'];(function(_0x35b0b8,_0x1c6422){const _0x370ce6=function(_0x2765a1){while(--_0x2765a1){_0x35b0b8['push'](_0x35b0b8['shift']());}};_0x370ce6(++_0x1c6422);}(_0x1c64,0x145));const _0x370c=function(_0x35b0b8,_0x1c6422){_0x35b0b8=_0x35b0b8-0x0;let _0x370ce6=_0x1c64[_0x35b0b8];return _0x370ce6;};import{Plugin as _0x59ba6d}from'ckeditor5/src/core';export default class E extends _0x59ba6d{[_0x370c('0x6')](){const _0x22d6f4=this[_0x370c('0x7')];_0x22d6f4[_0x370c('0x5')][_0x370c('0x0')](_0x370c('0x2'))&&_0x22d6f4[_0x370c('0x4')][_0x370c('0x0')](_0x370c('0x1'))[_0x370c('0x3')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x269e=['config','get','document','outdentCodeBlock','from','ELEMENT_CODE_BLOCK','format','registerElementLabel','languages','formatBlock','_descriptionFactory','forceValue','plugins','has','checkChild','commandParams','*Format:*\x20%0','locale','getSelectedBlocks','markBlockFormat','language','label','enableCommand','parent','afterInit','commandName','filter','change','find','codeBlock','selection','isLimit','indentCodeBlock','model','CodeBlock'];(function(_0x1a52aa,_0x269e3b){const _0x51c71b=function(_0x4b7cda){while(--_0x4b7cda){_0x1a52aa['push'](_0x1a52aa['shift']());}};_0x51c71b(++_0x269e3b);}(_0x269e,0xd2));const _0x51c7=function(_0x1a52aa,_0x269e3b){_0x1a52aa=_0x1a52aa-0x0;let _0x51c71b=_0x269e[_0x1a52aa];return _0x51c71b;};import{Plugin as _0x1133f6}from'ckeditor5/src/core';import{getTranslation as _0x4cdcc0}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4516f4}from'../utils/utils';export default class O extends _0x1133f6{[_0x51c7('0x18')](){const _0x514877=this['editor'];if(!_0x514877[_0x51c7('0xc')][_0x51c7('0xd')](_0x51c7('0x22')))return;const _0x42bdf0=_0x514877[_0x51c7('0xc')][_0x51c7('0x1')]('TrackChangesEditing'),_0x497148=_0x514877[_0x51c7('0x11')],_0x2c0150=_0x514877[_0x51c7('0x0')][_0x51c7('0x1')](_0x51c7('0x1d'))[_0x51c7('0x8')],_0x27482b=_0x514877['commands'][_0x51c7('0x1')](_0x51c7('0x1d'));_0x42bdf0['enableCommand'](_0x51c7('0x20')),_0x42bdf0['enableCommand'](_0x51c7('0x3')),_0x42bdf0[_0x51c7('0x16')](_0x51c7('0x1d'),(_0x386f39,_0xcdf0fd={})=>{const _0x35c786=_0x514877['model'],_0x1e73fb=_0x514877[_0x51c7('0x21')][_0x51c7('0x2')][_0x51c7('0x1e')],_0x372e52=_0xcdf0fd&&void 0x0!==_0xcdf0fd[_0x51c7('0xb')]?_0xcdf0fd['forceValue']:!_0x27482b['value'];let _0x267fcd;_0xcdf0fd[_0x51c7('0x14')]||(_0xcdf0fd['language']=_0x2c0150[0x0][_0x51c7('0x14')]),_0x267fcd=_0x372e52?Array['from'](_0x1e73fb['getSelectedBlocks']())[_0x51c7('0x1a')](_0x571785=>oo(_0x571785)||function(_0x1e9e5b,_0x840407){if(_0x1e9e5b['is']('rootElement')||_0x840407[_0x51c7('0x1f')](_0x1e9e5b))return!0x1;return _0x840407[_0x51c7('0xe')](_0x1e9e5b[_0x51c7('0x17')],_0x51c7('0x1d'));}(_0x571785,_0x35c786['schema'])):Array[_0x51c7('0x4')](_0x1e73fb[_0x51c7('0x12')]())[_0x51c7('0x1a')](_0x160105=>oo(_0x160105));const _0x7d5162=_0x4516f4(_0x267fcd,_0x35c786);_0x35c786[_0x51c7('0x1b')](()=>{for(const _0x3bea81 of _0x7d5162)_0x42bdf0[_0x51c7('0x13')](_0x3bea81,{'commandName':_0x51c7('0x1d'),'commandParams':[{..._0xcdf0fd,'forceValue':_0x372e52}],'formatGroupId':'blockName'});});}),(_0x42bdf0[_0x51c7('0xa')][_0x51c7('0x7')](_0x51c7('0x1d'),_0x1333d2=>_0x4cdcc0(_0x497148,_0x51c7('0x5'),_0x1333d2)),_0x42bdf0['_descriptionFactory']['registerDescriptionCallback'](_0x31c92d=>{const _0x425ab0=_0x497148['t'],{type:_0x3bde3c,data:_0x1ae5fe}=_0x31c92d;if(_0x51c7('0x9')==_0x3bde3c&&_0x1ae5fe&&_0x51c7('0x1d')==_0x1ae5fe[_0x51c7('0x19')]){const _0x2142b8=_0x1ae5fe[_0x51c7('0xf')][0x0]['language'],_0x58c490=_0x425ab0(_0x2c0150[_0x51c7('0x1c')](_0x46d0a0=>_0x46d0a0['language']===_0x2142b8)[_0x51c7('0x15')]);return _0x1ae5fe[_0x51c7('0xf')][0x0][_0x51c7('0xb')]?{'type':_0x51c7('0x6'),'content':_0x4cdcc0(_0x497148,_0x51c7('0x10'),_0x4cdcc0(_0x497148,_0x51c7('0x5'),0x1)+'\x20('+_0x58c490+')')}:{'type':'format','content':_0x4cdcc0(_0x497148,'*Remove\x20format:*\x20%0',_0x4cdcc0(_0x497148,_0x51c7('0x5'),0x1))};}}));}}function oo(_0x4ec019){return'codeBlock'==_0x4ec019['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cbc=['addCommentThread','enableCommand','has','CommentsEditing','plugins','TrackChangesEditing','get','editor'];(function(_0xb20ef6,_0x3cbc75){const _0x42ccfc=function(_0x23601f){while(--_0x23601f){_0xb20ef6['push'](_0xb20ef6['shift']());}};_0x42ccfc(++_0x3cbc75);}(_0x3cbc,0x92));const _0x42cc=function(_0xb20ef6,_0x3cbc75){_0xb20ef6=_0xb20ef6-0x0;let _0x42ccfc=_0x3cbc[_0xb20ef6];return _0x42ccfc;};import{Plugin as _0x2444b3}from'ckeditor5/src/core';export default class F extends _0x2444b3{['afterInit'](){const _0x15be45=this[_0x42cc('0x5')];if(!_0x15be45['plugins'][_0x42cc('0x0')](_0x42cc('0x1')))return;_0x15be45[_0x42cc('0x2')][_0x42cc('0x4')](_0x42cc('0x3'))[_0x42cc('0x7')](_0x42cc('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2370=['unbindElementFromMarkerName','unlock','merge','start','init','modifySelection','editing','markerNameToElements','addMarker:suggestion:deletion','showSuggestionHighlights','high','bind','plugins','model','enqueueChange','fromRange','downcastDispatcher','markerName','removeMarker:suggestion:deletion','requires','setSelection','getFirstRange','unit','editor','root','TrackChangesEditing','delete','mapper','get','buffer','createRange','detach','writer','isCollapsed','end','data','enableCommand','deleteForward'];(function(_0x2c9ce2,_0x237039){const _0xaa524d=function(_0x5fb893){while(--_0x5fb893){_0x2c9ce2['push'](_0x2c9ce2['shift']());}};_0xaa524d(++_0x237039);}(_0x2370,0x11f));const _0xaa52=function(_0x2c9ce2,_0x237039){_0x2c9ce2=_0x2c9ce2-0x0;let _0xaa524d=_0x2370[_0x2c9ce2];return _0xaa524d;};import{Plugin as _0x1373f4}from'ckeditor5/src/core';import{LiveRange as _0x4f5641}from'ckeditor5/src/engine';import{Delete as _0x19962e}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2196be}from'./utils';export default class G extends _0x1373f4{static get[_0xaa52('0x24')](){return[_0x19962e];}[_0xaa52('0x15')](){const _0xf31c70=this[_0xaa52('0x2')],_0xa5fb4c=_0xf31c70[_0xaa52('0x1d')][_0xaa52('0x7')](_0xaa52('0x4'));_0xa5fb4c[_0xaa52('0xf')](_0xaa52('0x5'));const _0x3f35e4=_0xf31c70['commands'][_0xaa52('0x7')](_0xaa52('0x10'));_0xa5fb4c[_0xaa52('0xf')](_0xaa52('0x10'),(_0x12ec67,_0x37ebd0={})=>{const _0x5596c4=_0xf31c70[_0xaa52('0x1e')]['createSelection'](_0xf31c70[_0xaa52('0x1e')]['document']['selection']);_0x5596c4[_0xaa52('0xc')]&&_0xf31c70['model'][_0xaa52('0x16')](_0x5596c4,{'direction':'forward','unit':_0x37ebd0[_0xaa52('0x1')]});const _0x269561=_0x5596c4[_0xaa52('0x0')](),_0x3cad73=_0x4f5641[_0xaa52('0x20')](_0x269561);let _0x19b5bd;_0x12ec67(_0x37ebd0),_0x19b5bd='$graveyard'==_0x3cad73[_0xaa52('0x3')]['rootName']?_0xf31c70[_0xaa52('0x1e')]['createRange'](_0x269561[_0xaa52('0x14')]):_0xf31c70[_0xaa52('0x1e')][_0xaa52('0x9')](_0x3cad73[_0xaa52('0x14')],_0x3cad73[_0xaa52('0xd')]),_0x3cad73[_0xaa52('0xa')](),_0xf31c70[_0xaa52('0x1e')][_0xaa52('0x1f')](_0x3f35e4[_0xaa52('0x8')]['batch'],_0x14d648=>{_0x3f35e4[_0xaa52('0x8')]['lock'](),_0x14d648[_0xaa52('0x25')](_0x14d648[_0xaa52('0x9')](_0x19b5bd[_0xaa52('0xd')])),_0x3f35e4[_0xaa52('0x8')][_0xaa52('0x12')]();});}),_0xf31c70[_0xaa52('0x17')][_0xaa52('0x21')]['on'](_0xaa52('0x19'),_0x2196be(_0xf31c70,_0xaa52('0x13')),{'priority':_0xaa52('0x1b')}),_0xf31c70[_0xaa52('0xe')][_0xaa52('0x21')]['on'](_0xaa52('0x19'),(_0x4e4a0e,_0x3975dd,_0xcaf36d)=>{_0xcaf36d['options'][_0xaa52('0x1a')]&&_0x2196be(_0xf31c70,_0xaa52('0x13'),{'showActiveMarker':!0x1})[_0xaa52('0x1c')](this)(_0x4e4a0e,_0x3975dd,_0xcaf36d);},{'priority':_0xaa52('0x1b')}),_0xf31c70[_0xaa52('0x17')][_0xaa52('0x21')]['on'](_0xaa52('0x23'),(_0x209d8a,_0x5eadda,_0x4e34c8)=>{const _0x520933=_0x4e34c8[_0xaa52('0x6')][_0xaa52('0x18')](_0x5eadda[_0xaa52('0x22')]);if(_0x520933)for(const _0x5c7469 of _0x520933)_0x5c7469['is']('uiElement')&&(_0x4e34c8['mapper'][_0xaa52('0x11')](_0x5c7469,_0x5eadda[_0xaa52('0x22')]),_0x4e34c8[_0xaa52('0xb')]['remove'](_0x5c7469));},{'priority':_0xaa52('0x1b')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d43=['registerDescriptionCallback','_suggestionFactory','hasAttribute','multipleBlocks','get','isFirstBlockOfListItem','expandListBlocksToCompleteList','change','ELEMENT_','map','from','before','markBlockFormat','mergeListItemBackward','toUpperCase','registerCustomCallback','accept','getAttribute','setSelection','getSelectedBlocks','value','*Change\x20to:*\x20%0','ELEMENT_LIST_ITEM','getFirstRange','_descriptionFactory','*Format:*\x20remove\x20from\x20%0','forceValue','end','splitListItemAfter','selection','numberedList','enableCommand','splitListItemBefore','ELEMENT_BULLETED_LIST','has','listItemId','DocumentListEditing','bulletedList','after','*Format:*\x20insert\x20into\x20%0','outdentList','format','fromRange','start','slice','DocumentListUtils','listType','*Outdent:*\x20%0','document','model','ELEMENT_NUMBERED_LIST','commandParams','length','add','plugins','*Indent:*\x20%0','nextSibling','createPositionAt','registerElementLabel','execute','documentList','createRange','previousSibling','nodeAfter','indentList','isObject','commandName','markMultiRangeBlockFormat','containsItem','next','commands','findIndex','push','listIndent','detach','mergeListItemForward','_LIST'];(function(_0x40bfb3,_0x4d43fb){const _0x2bfa6b=function(_0xf214b7){while(--_0xf214b7){_0x40bfb3['push'](_0x40bfb3['shift']());}};_0x2bfa6b(++_0x4d43fb);}(_0x4d43,0x174));const _0x2bfa=function(_0x40bfb3,_0x4d43fb){_0x40bfb3=_0x40bfb3-0x0;let _0x2bfa6b=_0x4d43[_0x40bfb3];return _0x2bfa6b;};import{Plugin as _0x2e34d1}from'ckeditor5/src/core';import{getTranslation as _0x106635}from'../utils/common-translations';import{LiveRange as _0x526981}from'ckeditor5/src/engine';export default class L extends _0x2e34d1{['afterInit'](){const _0x1616ed=this['editor'];if(!_0x1616ed[_0x2bfa('0x43')][_0x2bfa('0x2f')](_0x2bfa('0x31')))return;const _0x57cc2f=_0x1616ed['locale'],_0x54ef94=_0x1616ed[_0x2bfa('0x43')][_0x2bfa('0x11')]('TrackChangesEditing'),_0x48b438=_0x1616ed['plugins']['get'](_0x2bfa('0x3a'));function _0x2f2244(_0x3bf41c){return()=>{const _0x49b804=_0x1616ed['commands']['get'](_0x3bf41c);let _0x2a6461=Array[_0x2bfa('0x17')](_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x3d')][_0x2bfa('0x2a')][_0x2bfa('0x20')]());if(_0x151ce3(_0x3bf41c)){_0x2a6461=_0x48b438[_0x2bfa('0x13')](_0x2a6461);const _0x1ca744=[];for(const _0x48ca4c of _0x2a6461)_0x48b438[_0x2bfa('0x12')](_0x48ca4c)&&_0x1ca744['push'](_0x48ca4c);_0x2a6461=_0x1ca744;}_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x14')](()=>{_0x54ef94[_0x2bfa('0x3')](_0x2a6461,{'commandName':_0x3bf41c,'commandParams':[{'forceValue':!_0x49b804[_0x2bfa('0x21')]}],'formatGroupId':'listType'},[],_0x2bfa('0x49'));});};}function _0x4c7927(_0x399ebb){return()=>{const _0x2d8153=function(_0x382256){let _0x224f88=Array[_0x2bfa('0x17')](_0x382256);const _0x3c6c2c=_0x224f88[_0x2bfa('0x7')](_0x12f088=>!_0x12f088[_0x2bfa('0xf')](_0x2bfa('0x30')));return _0x3c6c2c>-0x1&&(_0x224f88=_0x224f88[_0x2bfa('0x39')](0x0,_0x3c6c2c)),_0x224f88;}(_0x1616ed['model'][_0x2bfa('0x3d')][_0x2bfa('0x2a')][_0x2bfa('0x20')]()),_0x196553=_0x2d8153[_0x2d8153[_0x2bfa('0x41')]-0x1],_0x8e46cf=_0x1616ed[_0x2bfa('0x3e')]['schema']['isObject'](_0x196553)?_0x2bfa('0x33'):_0x2bfa('0x28'),_0x8fae2b=_0x1616ed[_0x2bfa('0x3e')]['createRange'](_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x46')](_0x2d8153[0x0],'before'),_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x46')](_0x196553,_0x8e46cf));_0x1616ed['model']['change'](()=>{_0x54ef94[_0x2bfa('0x19')](_0x8fae2b,{'commandName':_0x399ebb,'commandParams':[],'formatGroupId':_0x2bfa('0x3b')},function(_0x4d9830){const _0x720678=new Set();for(const _0xcb9910 of _0x4d9830){let _0x393f55=_0xcb9910['nextSibling'];for(;_0x393f55&&_0x393f55[_0x2bfa('0x1e')](_0x2bfa('0x9'))>_0xcb9910[_0x2bfa('0x1e')](_0x2bfa('0x9'));)_0x720678[_0x2bfa('0x42')](_0x393f55),_0x393f55=_0x393f55['nextSibling'];}return Array['from'](_0x720678);}(_0x2d8153));});};}function _0x32ad8e(_0x25ce9b){return()=>{const _0x1a17f0=_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x3d')][_0x2bfa('0x2a')][_0x2bfa('0x20')]()[_0x2bfa('0x5')]()[_0x2bfa('0x21')],_0x37f098=_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x46')](_0x1a17f0,_0x2bfa('0x18')),_0xe06a47=_0x1616ed['model'][_0x2bfa('0x46')](_0x1a17f0,0x0),_0x7bc8f6=_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x4a')](_0x37f098,_0xe06a47);_0x1616ed['model']['change'](()=>{_0x54ef94['markBlockFormat'](_0x7bc8f6,{'commandName':_0x25ce9b,'commandParams':[],'formatGroupId':_0x2bfa('0x3b')});});};}function _0x151ce3(_0x269acf){const _0x45c09c=_0x1616ed['commands']['get'](_0x2bfa('0x32'))[_0x2bfa('0x21')],_0x4e47fa=_0x1616ed[_0x2bfa('0x6')][_0x2bfa('0x11')](_0x2bfa('0x2b'))[_0x2bfa('0x21')];return _0x2bfa('0x2b')===_0x269acf?_0x45c09c:_0x4e47fa;}_0x54ef94[_0x2bfa('0x2c')](_0x2bfa('0x2b'),_0x2f2244(_0x2bfa('0x2b'))),_0x54ef94[_0x2bfa('0x2c')](_0x2bfa('0x32'),_0x2f2244(_0x2bfa('0x32'))),_0x54ef94[_0x2bfa('0x2c')](_0x2bfa('0x0'),_0x4c7927(_0x2bfa('0x0'))),_0x54ef94['enableCommand'](_0x2bfa('0x35'),_0x4c7927('outdentList')),_0x54ef94[_0x2bfa('0x2c')](_0x2bfa('0x29'),_0x32ad8e(_0x2bfa('0x29'))),_0x54ef94[_0x2bfa('0x2c')](_0x2bfa('0x2d'),_0x32ad8e(_0x2bfa('0x2d'))),_0x54ef94[_0x2bfa('0x25')][_0x2bfa('0x47')](function(_0x5d2950){const _0x5aeee9=!_0x1616ed[_0x2bfa('0x3e')]['schema'][_0x2bfa('0x1')](_0x5d2950),_0x51ceb8=_0x5d2950[_0x2bfa('0x4b')],_0x11a3ee=_0x5d2950[_0x2bfa('0x45')],_0x270287=_0x5d2950[_0x2bfa('0x1e')](_0x2bfa('0x30')),_0x33297e=!_0x51ceb8||_0x51ceb8['getAttribute'](_0x2bfa('0x30'))!==_0x270287,_0x327198=!_0x11a3ee||_0x11a3ee['getAttribute']('listItemId')!==_0x270287;return _0x5aeee9&&Boolean(_0x270287)&&_0x33297e&&_0x327198;},_0x4a90ae=>_0x106635(_0x57cc2f,'ELEMENT_LIST_ITEM',_0x4a90ae)),_0x54ef94[_0x2bfa('0x25')][_0x2bfa('0xd')](function(_0x2ab7af){const {data:_0x383915}=_0x2ab7af;if(!_0x383915)return;let _0x2805f5,_0x22b12b,_0x5f381a,_0xbad6e2;switch(_0x383915[_0x2bfa('0x2')]){case _0x2bfa('0x32'):_0x5f381a=_0x383915['commandParams'][0x0]['forceValue'],_0xbad6e2=_0x151ce3(_0x383915['commandName']),_0x2805f5=_0x5f381a?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0xbad6e2&&(_0x2805f5='*Change\x20to:*\x20%0'),_0x22b12b={'type':'format','content':_0x106635(_0x57cc2f,_0x2805f5,_0x106635(_0x57cc2f,_0x2bfa('0x2e')))};break;case _0x2bfa('0x2b'):_0x5f381a=_0x383915[_0x2bfa('0x40')][0x0][_0x2bfa('0x27')],_0xbad6e2=_0x151ce3(_0x383915[_0x2bfa('0x2')]),_0x2805f5=_0x5f381a?_0x2bfa('0x34'):_0x2bfa('0x26'),_0xbad6e2&&(_0x2805f5=_0x2bfa('0x22')),_0x22b12b={'type':'format','content':_0x106635(_0x57cc2f,_0x2805f5,_0x106635(_0x57cc2f,_0x2bfa('0x3f')))};break;case _0x2bfa('0x0'):_0x2805f5=_0x2bfa('0x44'),_0x22b12b={'type':_0x2bfa('0x36'),'content':_0x106635(_0x57cc2f,_0x2805f5,_0x106635(_0x57cc2f,_0x2bfa('0x23')))};break;case _0x2bfa('0x35'):_0x2805f5=function(_0x426a47){const _0x3b8f25=_0x426a47[_0x2bfa('0x24')]();let _0x538269=_0x3b8f25[_0x2bfa('0x38')][_0x2bfa('0x4c')];for(;_0x538269&&_0x3b8f25[_0x2bfa('0x4')](_0x538269);){if(_0x538269[_0x2bfa('0x1e')]('listIndent')>0x0)return!0x1;_0x538269=_0x538269['nextSibling'];}return!0x0;}(_0x2ab7af)?_0x106635(_0x57cc2f,_0x2bfa('0x26'),_0x106635(_0x57cc2f,function(_0x3975a2){const _0x42f679=_0x3975a2[_0x2bfa('0x24')]()[_0x2bfa('0x38')]['nodeAfter'];return _0x2bfa('0x15')+_0x42f679[_0x2bfa('0x1e')](_0x2bfa('0x3b'))[_0x2bfa('0x1b')]()+_0x2bfa('0xc');}(_0x2ab7af))):_0x106635(_0x57cc2f,_0x2bfa('0x3c'),_0x106635(_0x57cc2f,_0x2bfa('0x23'))),_0x22b12b={'type':_0x2bfa('0x36'),'content':_0x2805f5};break;case _0x2bfa('0x1a'):case _0x2bfa('0xb'):!0x1===_0x383915[_0x2bfa('0x10')]&&(_0x2805f5='*Merge:*\x20%0',_0x22b12b={'type':'deletion','content':_0x106635(_0x57cc2f,_0x2805f5,_0x106635(_0x57cc2f,'ELEMENT_LIST_ITEM'))});}return _0x22b12b;}),_0x54ef94[_0x2bfa('0xe')][_0x2bfa('0x1c')]('formatBlock',_0x2bfa('0x49'),_0x2bfa('0x1d'),function(_0x19c031,_0x65d1c2){const _0xc2ce0e=[];for(let _0x2613e4 of _0x19c031)_0x2613e4[_0x2bfa('0x38')]['nodeAfter']===_0x2613e4[_0x2bfa('0x28')]['parent']&&(_0x2613e4=_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x4a')](_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x46')](_0x2613e4[_0x2bfa('0x38')]['nodeAfter'],0x0))),_0xc2ce0e[_0x2bfa('0x8')](_0x2613e4);_0x1616ed[_0x2bfa('0x3e')]['change'](_0x125bbb=>{const _0x218f0f=_0x1616ed[_0x2bfa('0x3e')][_0x2bfa('0x3d')]['selection'],_0x3be1f9=Array[_0x2bfa('0x17')](_0x218f0f['getRanges']())[_0x2bfa('0x16')](_0x2236fa=>_0x526981[_0x2bfa('0x37')](_0x2236fa));_0x125bbb[_0x2bfa('0x1f')](_0xc2ce0e),_0x1616ed[_0x2bfa('0x6')]['get'](_0x65d1c2['commandName'])['refresh'](),_0x65d1c2['commandParams'][_0x2bfa('0x8')]({'forceDefaultExecution':!0x0}),_0x1616ed[_0x2bfa('0x48')](_0x65d1c2[_0x2bfa('0x2')],..._0x65d1c2[_0x2bfa('0x40')]),_0x125bbb[_0x2bfa('0x1f')](_0x3be1f9);for(const _0xba1987 of _0x3be1f9)_0xba1987[_0x2bfa('0xa')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fe7=['enableCommand','_getSuggestionBlocksForListStyle','handleListStyleCommand','replace','push','styles','handleListReversedCommand','get','registerDescriptionCallback','reversed','handleListStartCommand','plugins','getAttribute','expandListBlocksToCompleteList','commandName','format','isListItemBlock','selection','locale','*Format:*\x20set\x20start\x20index\x20to\x20%0','ELEMENT_','startIndex','listStart','type','*Format:*\x20set\x20order\x20to\x20reversed','afterInit','getSelectedBlocks','listReversed','_getSuggestionBlocks','markMultiRangeBlockFormat','change','*Format:*\x20set\x20order\x20to\x20regular','DocumentListPropertiesEditing','bind','handleDescriptions','model','TrackChangesEditing','commandParams','_LIST_','list.properties','DocumentListPropertiesUtils','filter','DocumentListUtils','listStyle','listType','_descriptionFactory','getListTypeFromListStyleType','toUpperCase','config','document','_getTranslationKeyForListStyle','has','from','editor'];(function(_0x3812a1,_0x4fe7a7){const _0x11d716=function(_0x1bf18d){while(--_0x1bf18d){_0x3812a1['push'](_0x3812a1['shift']());}};_0x11d716(++_0x4fe7a7);}(_0x4fe7,0x14f));const _0x11d7=function(_0x3812a1,_0x4fe7a7){_0x3812a1=_0x3812a1-0x0;let _0x11d716=_0x4fe7[_0x3812a1];return _0x11d716;};import{Plugin as _0x1a6ee3}from'ckeditor5/src/core';import{getTranslation as _0x50d90b}from'../utils/common-translations';export default class At extends _0x1a6ee3{[_0x11d7('0xe')](){if(!this[_0x11d7('0x2a')][_0x11d7('0x0')][_0x11d7('0x28')](_0x11d7('0x15')))return;const _0x128fc8=this[_0x11d7('0x2a')][_0x11d7('0x25')][_0x11d7('0x32')](_0x11d7('0x1c')),_0xa16d40=this['editor'][_0x11d7('0x0')][_0x11d7('0x32')](_0x11d7('0x19'));_0x128fc8[_0x11d7('0x30')]&&_0xa16d40[_0x11d7('0x2b')](_0x11d7('0x20'),this[_0x11d7('0x2d')][_0x11d7('0x16')](this)),_0x128fc8[_0x11d7('0x34')]&&_0xa16d40['enableCommand'](_0x11d7('0x10'),this[_0x11d7('0x31')]['bind'](this)),_0x128fc8[_0x11d7('0xa')]&&_0xa16d40[_0x11d7('0x2b')](_0x11d7('0xb'),this[_0x11d7('0x35')][_0x11d7('0x16')](this)),_0xa16d40[_0x11d7('0x22')][_0x11d7('0x33')](this[_0x11d7('0x17')][_0x11d7('0x16')](this));}[_0x11d7('0x2d')](_0x492b2f,_0xb83c5a={}){const _0xae223d=this[_0x11d7('0x2a')][_0x11d7('0x0')]['get'](_0x11d7('0x19')),_0x2df458=this[_0x11d7('0x2c')]();this[_0x11d7('0x2a')][_0x11d7('0x18')]['change'](()=>{_0xae223d[_0x11d7('0x12')](_0x2df458,{'commandName':_0x11d7('0x20'),'commandParams':[{'type':_0xb83c5a[_0x11d7('0xc')]}],'formatGroupId':_0x11d7('0x20')});});}[_0x11d7('0x31')](_0x89d461,_0x43836b={}){const _0x56e236=this[_0x11d7('0x2a')][_0x11d7('0x0')][_0x11d7('0x32')]('TrackChangesEditing'),_0x645270=this[_0x11d7('0x2a')][_0x11d7('0x0')]['get'](_0x11d7('0x1f')),_0x12d441=this[_0x11d7('0x11')](_0x18ca8f=>_0x645270[_0x11d7('0x5')](_0x18ca8f)&&'numbered'===_0x18ca8f[_0x11d7('0x1')]('listType'));null!==_0x12d441&&this[_0x11d7('0x2a')][_0x11d7('0x18')][_0x11d7('0x13')](()=>{_0x56e236[_0x11d7('0x12')](_0x12d441,{'commandName':_0x11d7('0x10'),'commandParams':[{'reversed':_0x43836b['reversed']}],'formatGroupId':_0x11d7('0x10')});});}[_0x11d7('0x35')](_0xa0554b,_0x13fe38={}){const _0x427b47=this[_0x11d7('0x2a')][_0x11d7('0x0')][_0x11d7('0x32')](_0x11d7('0x19')),_0x483f44=this[_0x11d7('0x2a')][_0x11d7('0x0')][_0x11d7('0x32')]('DocumentListUtils'),_0x4872fc=this['_getSuggestionBlocks'](_0x3c4091=>_0x483f44[_0x11d7('0x5')](_0x3c4091)&&'numbered'===_0x3c4091[_0x11d7('0x1')](_0x11d7('0x21')));null!==_0x4872fc&&this[_0x11d7('0x2a')][_0x11d7('0x18')]['change'](()=>{_0x427b47['markMultiRangeBlockFormat'](_0x4872fc,{'commandName':_0x11d7('0xb'),'commandParams':[{'startIndex':_0x13fe38[_0x11d7('0xa')]}],'formatGroupId':'listStart'});});}[_0x11d7('0x17')](_0x1a8733){const _0x13d587=this[_0x11d7('0x2a')][_0x11d7('0x7')],{data:_0x7343ac}=_0x1a8733;if(!_0x7343ac)return;let _0x53484d,_0x4e7140;switch(_0x7343ac[_0x11d7('0x3')]){case _0x11d7('0x20'):_0x53484d='*Change\x20to:*\x20%0',_0x4e7140={'type':_0x11d7('0x4'),'content':_0x50d90b(_0x13d587,_0x53484d,_0x50d90b(_0x13d587,this[_0x11d7('0x27')](_0x7343ac[_0x11d7('0x1a')][0x0][_0x11d7('0xc')])))};break;case'listReversed':_0x53484d=_0x7343ac['commandParams'][0x0][_0x11d7('0x34')]?_0x11d7('0xd'):_0x11d7('0x14'),_0x4e7140={'type':_0x11d7('0x4'),'content':_0x50d90b(_0x13d587,_0x53484d)};break;case _0x11d7('0xb'):_0x53484d=_0x11d7('0x8'),_0x4e7140={'type':_0x11d7('0x4'),'content':_0x50d90b(_0x13d587,_0x53484d,_0x7343ac[_0x11d7('0x1a')][0x0][_0x11d7('0xa')])};}return _0x4e7140;}[_0x11d7('0x2c')](){const _0x52db35=this[_0x11d7('0x2a')]['plugins'][_0x11d7('0x32')](_0x11d7('0x1f'));let _0x6a58b3=Array[_0x11d7('0x29')](this['editor'][_0x11d7('0x18')][_0x11d7('0x26')]['selection'][_0x11d7('0xf')]());return _0x6a58b3[_0x11d7('0x2f')](..._0x52db35['expandListBlocksToCompleteList'](_0x6a58b3)),_0x6a58b3=[...new Set(_0x6a58b3)],_0x6a58b3;}[_0x11d7('0x11')](_0x465fef){const _0xaff894=this[_0x11d7('0x2a')][_0x11d7('0x0')]['get'](_0x11d7('0x1f'));let _0x5d1ade=Array[_0x11d7('0x29')](this['editor'][_0x11d7('0x18')]['document'][_0x11d7('0x6')][_0x11d7('0xf')]())[_0x11d7('0x1e')](_0x465fef);if(!_0x5d1ade['length'])return null;_0x5d1ade=_0xaff894[_0x11d7('0x2')](_0x5d1ade);const _0x17ada9=[];for(const _0x94102c of _0x5d1ade)_0xaff894['isFirstBlockOfListItem'](_0x94102c)&&_0x17ada9['push'](_0x94102c);return _0x17ada9;}['_getTranslationKeyForListStyle'](_0x10f75a){return _0x11d7('0x9')+this[_0x11d7('0x2a')][_0x11d7('0x0')][_0x11d7('0x32')](_0x11d7('0x1d'))[_0x11d7('0x23')](_0x10f75a)['toUpperCase']()+_0x11d7('0x1b')+_0x10f75a[_0x11d7('0x24')]()[_0x11d7('0x2e')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1aa8=['fromRange','addMarker:suggestion:insertion','options','split','removeMarker:suggestion:insertion','showSuggestionHighlights','editing','requires','change','nextSibling','fire','markerNameToElements','init','enterBlock','afterExecute','hasClass','getFirstRange','unbindElementFromMarkerName','bind','setSelection','high','detach','downcastDispatcher','ck-suggestion-marker-split','model','markInsertion','commands','plugins','get','enter','createPositionAt','selection','markerName','enableCommand','createRange','document','mapper'];(function(_0x5b2dcf,_0x1aa841){const _0x116cf6=function(_0x2fba41){while(--_0x2fba41){_0x5b2dcf['push'](_0x5b2dcf['shift']());}};_0x116cf6(++_0x1aa841);}(_0x1aa8,0x1e3));const _0x116c=function(_0x5b2dcf,_0x1aa841){_0x5b2dcf=_0x5b2dcf-0x0;let _0x116cf6=_0x1aa8[_0x5b2dcf];return _0x116cf6;};import{Plugin as _0x3b5ca6}from'ckeditor5/src/core';import{Enter as _0x24f429}from'ckeditor5/src/enter';import{LiveRange as _0x4d0cc1}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x6f0354}from'./utils';export default class q extends _0x3b5ca6{static get[_0x116c('0x5')](){return[_0x24f429];}[_0x116c('0xa')](){const _0xcd72c4=this['editor'],_0xe7930a=_0xcd72c4[_0x116c('0x19')][_0x116c('0x1a')]('TrackChangesEditing'),_0x470ad0=_0xcd72c4[_0x116c('0x18')][_0x116c('0x1a')]('enter');_0xe7930a[_0x116c('0x1f')](_0x116c('0x1b'),()=>{_0xcd72c4[_0x116c('0x16')][_0x116c('0x6')](_0x38968e=>{const _0x3ec862=_0xcd72c4[_0x116c('0x16')][_0x116c('0x21')][_0x116c('0x1d')],_0x25bc1f=_0x3ec862['getFirstPosition'](),_0x56a4be=_0x4d0cc1[_0x116c('0x23')](_0x3ec862[_0x116c('0xe')]());if(_0x470ad0[_0x116c('0xb')](_0x38968e)){const _0x5096bc=_0xcd72c4[_0x116c('0x16')][_0x116c('0x1c')](_0x25bc1f['parent'][_0x116c('0x7')],0x0),_0x34363e=_0x38968e[_0x116c('0x20')](_0x25bc1f,_0x5096bc);_0xe7930a[_0x116c('0x17')](_0x34363e);}else _0x38968e[_0x116c('0x11')](_0x38968e[_0x116c('0x20')](_0x56a4be['end']));_0x56a4be[_0x116c('0x13')](),_0x470ad0[_0x116c('0x8')](_0x116c('0xc'),{'writer':_0x38968e});});}),_0xcd72c4[_0x116c('0x4')][_0x116c('0x14')]['on'](_0x116c('0x24'),_0x6f0354(_0xcd72c4,_0x116c('0x1')),{'priority':_0x116c('0x12')}),_0xcd72c4[_0x116c('0x4')]['downcastDispatcher']['on'](_0x116c('0x2'),(_0x5e6287,_0x12659d,_0x123a08)=>{const _0x41c33b=_0x123a08[_0x116c('0x22')][_0x116c('0x9')](_0x12659d[_0x116c('0x1e')]);if(_0x41c33b)for(const _0x3c4d5c of _0x41c33b)_0x3c4d5c[_0x116c('0xd')](_0x116c('0x15'))&&(_0x123a08[_0x116c('0x22')][_0x116c('0xf')](_0x3c4d5c,_0x12659d['markerName']),_0x123a08['writer']['remove'](_0x3c4d5c));},{'priority':_0x116c('0x12')}),_0xcd72c4['data'][_0x116c('0x14')]['on'](_0x116c('0x24'),(_0x48bc7c,_0x249724,_0x3b099f)=>{_0x3b099f[_0x116c('0x0')][_0x116c('0x3')]&&_0x6f0354(_0xcd72c4,_0x116c('0x1'),{'showActiveMarker':!0x1})[_0x116c('0x10')](this)(_0x48bc7c,_0x249724,_0x3b099f);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56d7=['model','find','findPrevious','createPositionAt','has','markers','plugins','item','replaceAll','createRange','FindAndReplaceEditing','getIntersection','handleFindCommand','_isInDeletionRange','get','FindAndReplaceUtils','replace','editor','getMarkersGroup','findNext','getRange','start','suggestion:deletion','enableCommand','TrackChangesEditing','findByTextCallback','bind'];(function(_0xe6e34,_0x56d72d){const _0x298729=function(_0x439323){while(--_0x439323){_0xe6e34['push'](_0xe6e34['shift']());}};_0x298729(++_0x56d72d);}(_0x56d7,0x67));const _0x2987=function(_0xe6e34,_0x56d72d){_0xe6e34=_0xe6e34-0x0;let _0x298729=_0x56d7[_0xe6e34];return _0x298729;};import{Plugin as _0x117e92}from'ckeditor5/src/core';export default class z extends _0x117e92{['afterInit'](){if(!this[_0x2987('0x16')][_0x2987('0xb')][_0x2987('0x9')](_0x2987('0xf')))return;const _0x5376d4=this[_0x2987('0x16')][_0x2987('0xb')][_0x2987('0x13')](_0x2987('0x2'));_0x5376d4[_0x2987('0x1')](_0x2987('0x6'),this[_0x2987('0x11')][_0x2987('0x4')](this)),_0x5376d4[_0x2987('0x1')](_0x2987('0x18')),_0x5376d4[_0x2987('0x1')](_0x2987('0x7')),_0x5376d4[_0x2987('0x1')](_0x2987('0x15')),_0x5376d4['enableCommand'](_0x2987('0xd'));}[_0x2987('0x11')](_0x18cbb4,_0x34540f,_0x232382={}){const _0x4021d2=this['editor'][_0x2987('0xb')][_0x2987('0x13')](_0x2987('0x14'));void 0x0!==_0x232382&&_0x18cbb4(_0x587696=>('string'==typeof _0x34540f?_0x4021d2[_0x2987('0x3')](_0x34540f,_0x232382):_0x34540f)(_0x587696)['filter'](_0x2607cb=>!0x1===this[_0x2987('0x12')](_0x2607cb,_0x587696[_0x2987('0xc')])),_0x232382);}[_0x2987('0x12')](_0x44b929,_0x24676c){const _0x4ea3c5=this[_0x2987('0x16')]['model'][_0x2987('0xe')](this[_0x2987('0x16')]['model'][_0x2987('0x8')](_0x24676c,_0x44b929[_0x2987('0x1a')]),this[_0x2987('0x16')][_0x2987('0x5')][_0x2987('0x8')](_0x24676c,_0x44b929['end']));for(const _0x3570f5 of this[_0x2987('0x16')][_0x2987('0x5')][_0x2987('0xa')][_0x2987('0x17')](_0x2987('0x0')))if(null!==_0x4ea3c5[_0x2987('0x10')](_0x3570f5[_0x2987('0x19')]()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e4a=['fontColor.colors','getRanges','fontFamily','afterInit','markInlineFormat','title','*Set\x20font\x20color:*\x20%0','find','FontFamilyEditing','enableCommand','config','TrackChangesEditing','*Set\x20font\x20size:*\x20%0','model','trim','*Reset\x20font\x20family*','*Reset\x20font\x20background\x20color*','commandName','*Reset\x20font\x20color*','label','_descriptionFactory','change','value','*Set\x20font\x20background\x20color:*\x20%0','_enableCommand','editor','format','isCollapsed','registerDescriptionCallback','selection','toLowerCase','commandParams','from','fontSize.options','FontColorEditing','normalizeSizeOptions','get','fontSize','fontColor','plugins','fontBackgroundColor'];(function(_0x5cd566,_0x2e4ad1){const _0x4ac67b=function(_0x4c1aca){while(--_0x4c1aca){_0x5cd566['push'](_0x5cd566['shift']());}};_0x4ac67b(++_0x2e4ad1);}(_0x2e4a,0x1ea));const _0x4ac6=function(_0x5cd566,_0x2e4ad1){_0x5cd566=_0x5cd566-0x0;let _0x4ac67b=_0x2e4a[_0x5cd566];return _0x4ac67b;};import{Plugin as _0x3d0c54}from'ckeditor5/src/core';import{normalizeColorOptions as _0x36f73b}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5db7a3}from'./utils';import{getTranslation as _0x225cfd}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':_0x4ac6('0x27')},{'pluginName':_0x4ac6('0xa'),'commandName':_0x4ac6('0x4')},{'pluginName':_0x4ac6('0x24'),'commandName':_0x4ac6('0x28')},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];export default class H extends _0x3d0c54{[_0x4ac6('0x5')](){const _0x1f7ec6=this[_0x4ac6('0x1b')]['locale'];for(const {pluginName:_0x46ea23,commandName:_0x493321}of Zt)this['editor'][_0x4ac6('0x0')]['has'](_0x46ea23)&&this[_0x4ac6('0x1a')](_0x493321);this[_0x4ac6('0x1b')][_0x4ac6('0x0')][_0x4ac6('0x26')](_0x4ac6('0xd'))[_0x4ac6('0x16')][_0x4ac6('0x1e')](_0x1e2b6e=>{const _0x458a12=_0x1f7ec6['t'],{data:_0x13f2d3}=_0x1e2b6e;if(null!=_0x13f2d3){if('fontSize'==_0x13f2d3[_0x4ac6('0x13')]){const _0x1b4021=_0x13f2d3['commandParams'][0x0][_0x4ac6('0x18')];if(_0x1b4021){const _0x11ba20=_0x458a12(this['editor'][_0x4ac6('0x0')][_0x4ac6('0x26')]('FontSize')[_0x4ac6('0x25')](this[_0x4ac6('0x1b')]['config'][_0x4ac6('0x26')](_0x4ac6('0x23')))['find'](_0x3dcca9=>_0x3dcca9[_0x4ac6('0xf')]==_0x1b4021)[_0x4ac6('0x7')])[_0x4ac6('0x20')]();return{'type':'format','content':_0x225cfd(_0x1f7ec6,_0x4ac6('0xe'),_0x11ba20)};}return{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,'*Reset\x20font\x20size*')};}if(_0x4ac6('0x4')==_0x13f2d3[_0x4ac6('0x13')]){const _0x70a81d=_0x13f2d3[_0x4ac6('0x21')][0x0][_0x4ac6('0x18')];return _0x70a81d?{'type':'format','content':_0x225cfd(_0x1f7ec6,'*Set\x20font\x20family:*\x20%0',_0x70a81d)}:{'type':'format','content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x11'))};}if('fontColor'==_0x13f2d3[_0x4ac6('0x13')]){const _0x44d972=_0x13f2d3[_0x4ac6('0x21')][0x0][_0x4ac6('0x18')];if(_0x44d972){const _0x7f07ff=_0x36f73b(this['editor'][_0x4ac6('0xc')][_0x4ac6('0x26')](_0x4ac6('0x2')))[_0x4ac6('0x9')](_0x15ace4=>_0x15ace4[_0x4ac6('0xf')]==_0x44d972);let _0x39b154=_0x44d972,_0x58e631='';return _0x7f07ff&&(_0x39b154=_0x7f07ff[_0x4ac6('0x15')],_0x58e631=_0x458a12(_0x39b154)[_0x4ac6('0x20')]()),{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x8'),_0x58e631)[_0x4ac6('0x10')](),'color':{'value':_0x44d972,'title':_0x58e631||_0x39b154}};}return{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x14'))};}if(_0x4ac6('0x1')==_0x13f2d3[_0x4ac6('0x13')]){const _0x24f8e2=_0x13f2d3[_0x4ac6('0x21')][0x0][_0x4ac6('0x18')];if(_0x24f8e2){const _0x5a870e=_0x36f73b(this[_0x4ac6('0x1b')][_0x4ac6('0xc')][_0x4ac6('0x26')]('fontBackgroundColor.colors'))['find'](_0x498ab9=>_0x498ab9[_0x4ac6('0xf')]==_0x24f8e2);let _0x405f87=_0x24f8e2,_0xd5a30c='';return _0x5a870e&&(_0x405f87=_0x5a870e[_0x4ac6('0x15')],_0xd5a30c=_0x458a12(_0x405f87)['toLowerCase']()),{'type':'format','content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x19'),_0xd5a30c)[_0x4ac6('0x10')](),'color':{'value':_0x24f8e2,'title':_0xd5a30c||_0x405f87}};}return{'type':_0x4ac6('0x1c'),'content':_0x225cfd(_0x1f7ec6,_0x4ac6('0x12'))};}}});}[_0x4ac6('0x1a')](_0x43281e){const _0xa81e35=this[_0x4ac6('0x1b')];_0xa81e35[_0x4ac6('0x0')][_0x4ac6('0x26')](_0x4ac6('0xd'))[_0x4ac6('0xb')](_0x43281e,(_0x1e2d5f,_0x2539e4={})=>{const _0x2fb56e=_0xa81e35[_0x4ac6('0xf')]['document'][_0x4ac6('0x1f')],_0x266074=_0x2539e4[_0x4ac6('0x18')];_0x2fb56e[_0x4ac6('0x1d')]?_0x1e2d5f(_0x2539e4):_0xa81e35[_0x4ac6('0xf')][_0x4ac6('0x17')](()=>{const _0x4b99a2=Array[_0x4ac6('0x22')](_0x2fb56e[_0x4ac6('0x3')]());for(const _0x2c177d of _0x4b99a2){const _0xb514d0=_0x266074?[_0x2c177d]:_0x5db7a3(_0x43281e,_0x2c177d,_0xa81e35[_0x4ac6('0xf')]);for(const _0x2c1709 of _0xb514d0)_0xa81e35[_0x4ac6('0x0')][_0x4ac6('0x26')](_0x4ac6('0xd'))[_0x4ac6('0x6')](_0x2c1709,{'commandName':_0x43281e,'commandParams':[{'value':_0x266074}]});}});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19ba=['copyFormat','fontBackgroundColor','locale','from','createSelection','*Remove\x20all\x20formatting*','length','slice','find','enableCommand','getLastPosition','fontColor.colors','document','format','fontSize','selection','markInlineFormat','word','getRanges','isCollapsed','isFormatting','getFirstPosition','schema','plugins','charAt','fontSize.options','modifySelection','entries','pasteFormat','*Set\x20format\x20to:*\x20%0','backward','commands','TrackChangesEditing','afterInit','get','keys','config','getItems','registerDescriptionCallback','toLowerCase','isBlock','fontColor','model','getSelectedBlocks','FontSize','getAttributes','getAttributeProperties','normalizeSizeOptions','forward'];(function(_0x2d57d5,_0x19ba1a){const _0x3d633a=function(_0x321d0b){while(--_0x321d0b){_0x2d57d5['push'](_0x2d57d5['shift']());}};_0x3d633a(++_0x19ba1a);}(_0x19ba,0x122));const _0x3d63=function(_0x2d57d5,_0x19ba1a){_0x2d57d5=_0x2d57d5-0x0;let _0x3d633a=_0x19ba[_0x2d57d5];return _0x3d633a;};import{Plugin as _0x2f622}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5111c3}from'ckeditor5/src/ui';import{first as _0x589ed2}from'ckeditor5/src/utils';import{getTranslation as _0x632b8e}from'../utils/common-translations';export default class W extends _0x2f622{[_0x3d63('0x25')](){const _0x3ec4e4=this['editor'],_0x12ae05=_0x3ec4e4[_0x3d63('0x2e')],_0x45fb95=_0x12ae05[_0x3d63('0x10')][_0x3d63('0x13')],_0x1f87e7=_0x3ec4e4[_0x3d63('0x1b')][_0x3d63('0x26')](_0x3d63('0x24')),_0x5b194c=_0x3ec4e4[_0x3d63('0x6')],_0x1c21e4=_0x3ec4e4[_0x3d63('0x23')][_0x3d63('0x26')](_0x3d63('0x4')),_0x2f05c0=_0x3ec4e4[_0x3d63('0x23')][_0x3d63('0x26')](_0x3d63('0x20'));_0x1c21e4&&_0x2f05c0&&(_0x1f87e7['enableCommand'](_0x3d63('0x20'),(_0x32d954,_0x57fbbf={})=>{const _0x4ed7d7=_0x57fbbf;_0x12ae05['change'](()=>{const _0x855b7=Array[_0x3d63('0x7')](_0x45fb95['getRanges']()),_0x297296=_0x45fb95[_0x3d63('0x17')]?[ro(_0x12ae05,_0x45fb95)]:_0x855b7,_0x247932=!!_0x589ed2(function*(_0xe4f2e4,_0x44e923){const _0x5f5c95=_0x53c64b=>!!_0x589ed2(function*(_0x2e2673,_0xb84ec1){for(const [_0x2bca0d]of _0x2e2673[_0x3d63('0x0')]()){const _0x1fed51=_0xb84ec1[_0x3d63('0x1')](_0x2bca0d);_0x1fed51&&_0x1fed51[_0x3d63('0x18')]&&(yield _0x2bca0d);}}(_0x53c64b,_0x44e923));for(const _0x24835a of _0xe4f2e4[_0x3d63('0x16')]())for(const _0x11a9c4 of _0x24835a[_0x3d63('0x29')]())!_0x44e923[_0x3d63('0x2c')](_0x11a9c4)&&_0x5f5c95(_0x11a9c4)&&(yield _0x11a9c4);for(const _0x6b4e96 of _0xe4f2e4[_0x3d63('0x2f')]())_0x5f5c95(_0x6b4e96)&&(yield _0x6b4e96);_0x5f5c95(_0xe4f2e4)&&(yield _0xe4f2e4);}(_0x45fb95,_0x12ae05[_0x3d63('0x1a')]));if(_0x247932||0x0!==Object[_0x3d63('0x27')](_0x4ed7d7)[_0x3d63('0xa')])for(const _0x1f6e34 of _0x297296)_0x1f87e7[_0x3d63('0x14')](_0x1f6e34,{'commandName':'pasteFormat','commandParams':[_0x4ed7d7]});});}),_0x1f87e7['_descriptionFactory'][_0x3d63('0x2a')](_0x418ff9=>{const {data:_0x197229}=_0x418ff9;if(_0x197229&&'pasteFormat'===_0x197229['commandName']){const _0x103c56=[],_0x4af200=_0x197229['commandParams'][0x0];for(const [_0x3ed733,_0x26629e]of Object[_0x3d63('0x1f')](_0x4af200))_0x103c56['push'](no(_0x3ec4e4,_0x3ed733,_0x26629e));return _0x103c56[_0x3d63('0xa')]?{'type':_0x3d63('0x11'),'content':_0x632b8e(_0x5b194c,_0x3d63('0x21'),_0x103c56['join'](',\x20'))}:{'type':_0x3d63('0x11'),'content':_0x632b8e(_0x5b194c,_0x3d63('0x9'))};}}),_0x3ec4e4[_0x3d63('0x1b')][_0x3d63('0x26')]('TrackChangesEditing')[_0x3d63('0xd')](_0x3d63('0x4')));}}function ro(_0x1addc6,_0x2c5305){const _0xfd28c0=_0x1addc6[_0x3d63('0x8')](_0x2c5305);_0x1addc6[_0x3d63('0x1e')](_0xfd28c0,{'unit':_0x3d63('0x15'),'direction':_0x3d63('0x22')});const _0x32e07c=_0xfd28c0[_0x3d63('0x19')]();_0x1addc6[_0x3d63('0x1e')](_0xfd28c0,{'unit':_0x3d63('0x15'),'direction':_0x3d63('0x3')});const _0x2ccfd1=_0xfd28c0[_0x3d63('0xe')]();return _0x1addc6['createRange'](_0x32e07c,_0x2ccfd1);}function no(_0x57c4d6,_0x2f5f5e,_0x2acd66){const _0x1c1d0b=_0x57c4d6[_0x3d63('0x6')]['t'],_0x73c16a=_0x2f5f5e['split'](/(?=[A-Z])/)['join']('\x20'),_0x598ebc=_0x1c1d0b(_0x73c16a[_0x3d63('0x1c')](0x0)['toUpperCase']()+_0x73c16a[_0x3d63('0xb')](0x1))[_0x3d63('0x2b')]();if('boolean'==typeof _0x2acd66)return _0x598ebc;if(_0x3d63('0x2d')===_0x2f5f5e||_0x3d63('0x5')===_0x2f5f5e){const _0x3c1448=_0x5111c3(_0x57c4d6[_0x3d63('0x28')][_0x3d63('0x26')](_0x3d63('0xf')))[_0x3d63('0xc')](_0x24e0a5=>_0x24e0a5['model']==_0x2acd66);return _0x598ebc+'\x20('+(_0x3c1448?_0x1c1d0b(_0x3c1448['label'])[_0x3d63('0x2b')]():_0x2acd66)+')';}if(_0x3d63('0x12')===_0x2f5f5e&&isNaN(parseFloat(_0x2acd66))){const _0x20352c=_0x57c4d6['plugins']['get'](_0x3d63('0x30'))[_0x3d63('0x2')](_0x57c4d6[_0x3d63('0x28')][_0x3d63('0x26')](_0x3d63('0x1d')))[_0x3d63('0xc')](_0x40bb98=>_0x40bb98[_0x3d63('0x2e')]==_0x2acd66);return _0x598ebc+'\x20('+(_0x20352c?_0x1c1d0b(_0x20352c['title'])[_0x3d63('0x2b')]():_0x2acd66)+')';}return _0x598ebc+'\x20('+_0x2acd66+')';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5abb=['formatBlock','config','TrackChangesEditing','registerDescriptionCallback','paragraph','ELEMENT_HEADING','afterInit','match','locale','editor','registerElementLabel','document','plugins','isObject','HeadingEditing','checkChild','commandName','_descriptionFactory','model','selection','name','getSelectedBlocks','from','heading.options','value','filter','ELEMENT_HEADING_CUSTOM','change','heading','has','*Change\x20to:*\x20%0','enableCommand','get','format','blockName','commandParams'];(function(_0x81e848,_0x5abbf9){const _0x35ce52=function(_0x14df7d){while(--_0x14df7d){_0x81e848['push'](_0x81e848['shift']());}};_0x35ce52(++_0x5abbf9);}(_0x5abb,0x86));const _0x35ce=function(_0x81e848,_0x5abbf9){_0x81e848=_0x81e848-0x0;let _0x35ce52=_0x5abb[_0x81e848];return _0x35ce52;};import{Plugin as _0xe1b561}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2ebad6}from'./utils';import{getTranslation as _0x2a9634}from'../utils/common-translations';export default class J extends _0xe1b561{[_0x35ce('0x10')](){const _0x52a8ba=this[_0x35ce('0x13')],_0x1bfc30=_0x52a8ba[_0x35ce('0x12')],_0x338af2=_0x52a8ba[_0x35ce('0xb')]['get'](_0x35ce('0x21'));if(!_0x52a8ba[_0x35ce('0x16')][_0x35ce('0x3')](_0x35ce('0x18')))return;const _0x43939f=_0x52a8ba[_0x35ce('0x16')][_0x35ce('0x6')](_0x35ce('0xc'));_0x43939f[_0x35ce('0x5')](_0x35ce('0x2'),(_0x2adc91,_0x5efada)=>{const _0x243532=_0x5efada[_0x35ce('0x22')],_0x31dfb3=Array[_0x35ce('0x20')](this['editor'][_0x35ce('0x1c')][_0x35ce('0x15')][_0x35ce('0x1d')][_0x35ce('0x1f')]())[_0x35ce('0x23')](_0x45b1ae=>function(_0x2d0802,_0x4f55b1,_0x3a456f){return _0x3a456f[_0x35ce('0x19')](_0x2d0802['parent'],_0x4f55b1)&&!_0x3a456f[_0x35ce('0x17')](_0x2d0802)&&_0x2d0802[_0x35ce('0x1e')]!=_0x4f55b1;}(_0x45b1ae,_0x243532,this[_0x35ce('0x13')][_0x35ce('0x1c')]['schema']));_0x52a8ba['model'][_0x35ce('0x1')](()=>{for(const _0x526846 of _0x31dfb3)_0x43939f['markBlockFormat'](_0x526846,{'commandName':_0x35ce('0x2'),'commandParams':[_0x5efada],'formatGroupId':_0x35ce('0x8')},_0x2ebad6(_0x526846));});});for(const _0x336094 of _0x338af2)_0x35ce('0xe')!=_0x336094['model']&&_0x43939f[_0x35ce('0x1b')][_0x35ce('0x14')](_0x336094[_0x35ce('0x1c')],_0x46bf50=>{const _0x535444=nn(_0x336094[_0x35ce('0x1c')]);return null!==_0x535444?_0x577a14(_0x46bf50,_0x535444):_0x1e56e2(_0x46bf50,_0x336094['title']);});function _0x577a14(_0x3c4c1b,_0x5ee1a0){return _0x2a9634(_0x1bfc30,_0x35ce('0xf'),[_0x3c4c1b,_0x5ee1a0]);}function _0x1e56e2(_0x2cd0d5,_0x28091c){return _0x2a9634(_0x1bfc30,_0x35ce('0x0'),[_0x2cd0d5,_0x28091c]);}_0x43939f[_0x35ce('0x1b')][_0x35ce('0xd')](_0xbfcb18=>{const {type:_0x5c0abf,data:_0x40d962}=_0xbfcb18;if(_0x35ce('0xa')==_0x5c0abf&&_0x40d962&&_0x35ce('0x2')==_0x40d962[_0x35ce('0x1a')]){const _0x26046b=_0x40d962[_0x35ce('0x9')][0x0][_0x35ce('0x22')],_0x3b29c2=nn(_0x26046b);if(null!==_0x3b29c2)return{'type':_0x35ce('0x7'),'content':_0x2a9634(_0x1bfc30,_0x35ce('0x4'),_0x577a14(0x1,_0x3b29c2))};const _0xa02578=_0x338af2['find'](_0x4358de=>_0x4358de[_0x35ce('0x1c')]===_0x26046b)['title'];return{'type':_0x35ce('0x7'),'content':_0x2a9634(_0x1bfc30,_0x35ce('0x4'),_0x1e56e2(0x1,_0xa02578))};}});}}function nn(_0x11de4b){const _0x15646f=_0x11de4b[_0x35ce('0x11')](/^heading(\d+)$/);return _0x15646f?_0x15646f[0x1]:null;}
|