@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231115.0 → 0.0.0-nightly-20231117.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/sq.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 +3 -3
- package/lang/translations/ar.po +19 -19
- package/lang/translations/bg.po +19 -19
- package/lang/translations/bn.po +19 -19
- package/lang/translations/ca.po +19 -19
- package/lang/translations/cs.po +19 -19
- package/lang/translations/da.po +19 -19
- package/lang/translations/de.po +19 -19
- package/lang/translations/el.po +19 -19
- package/lang/translations/es.po +19 -19
- package/lang/translations/et.po +19 -19
- package/lang/translations/fi.po +19 -19
- package/lang/translations/fr.po +19 -19
- package/lang/translations/he.po +19 -19
- package/lang/translations/hi.po +19 -19
- package/lang/translations/hu.po +19 -19
- package/lang/translations/id.po +19 -19
- package/lang/translations/it.po +19 -19
- package/lang/translations/ja.po +19 -19
- package/lang/translations/ko.po +19 -19
- package/lang/translations/lt.po +19 -19
- package/lang/translations/lv.po +19 -19
- package/lang/translations/ms.po +19 -19
- package/lang/translations/nl.po +19 -19
- package/lang/translations/no.po +19 -19
- package/lang/translations/pl.po +19 -19
- package/lang/translations/pt-br.po +19 -19
- package/lang/translations/pt.po +19 -19
- package/lang/translations/ro.po +19 -19
- package/lang/translations/ru.po +19 -19
- package/lang/translations/sk.po +19 -19
- package/lang/translations/sr.po +19 -19
- package/lang/translations/sv.po +19 -19
- package/lang/translations/th.po +19 -19
- package/lang/translations/tr.po +19 -19
- package/lang/translations/uk.po +19 -19
- package/lang/translations/vi.po +19 -19
- package/lang/translations/zh-cn.po +19 -19
- package/lang/translations/zh.po +19 -19
- 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/index.d.ts +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/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/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/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.d.ts +0 -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.d.ts +7 -4
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +0 -67
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +22 -19
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +14 -23
- 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.d.ts +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 _0x3d82=['name','getSuggestionCallback','TrackChangesEditing','isIntersecting','newRange','next','_registerLegacyDescription','registerDescriptionCallback','commandReversedParams','getFirstRange','formatInline','head','markBlockFormat','imageCaption','findIndex','createRangeOn','subType','markInlineFormat','convertInlineImageToBlock','discard','value','differ','ImageStyleEditing','format','getSuggestion','getSuggestions','registerPostFixer','isOwn','change','suggestion','getClosestSelectedImageElement','locale','afterInit','forEach','toLowerCase','_suggestionFactory','nodeAfter','insertion','discardSuggestion','Users','setImageNaturalSizeAttributes','_descriptionFactory','hasSuggestion','isEqual','isInContent','imageStylePreApply','length','commandParams','registerCustomCallback','imageStylePostApply','formatBlock','normalizedStyles','get','start','join','filter','commands','document','end','selection','side','getChangedMarkers','model','plugins','getContainedElement','type','accept','commandName','editor','refresh','_splitMarkerName','has','shouldConvertImageType','imageStyle','from','author','isBlockImage'];(function(_0x4870b4,_0x3d8271){const _0xa58689=function(_0x3721ba){while(--_0x3721ba){_0x4870b4['push'](_0x4870b4['shift']());}};_0xa58689(++_0x3d8271);}(_0x3d82,0x194));const _0xa586=function(_0x4870b4,_0x3d8271){_0x4870b4=_0x4870b4-0x0;let _0xa58689=_0x3d82[_0x4870b4];return _0xa58689;};import{Plugin as _0x5344b6}from'ckeditor5/src/core';import{uid as _0x5ec65a}from'ckeditor5/src/utils';import{getTranslation as _0x59e4e3}from'../utils/common-translations';export default class nt extends _0x5344b6{[_0xa586('0xd')](){const _0xb32845=this[_0xa586('0x31')];if(!_0xb32845[_0xa586('0x2c')][_0xa586('0x34')](_0xa586('0x3')))return;const _0x51aa07=_0xb32845[_0xa586('0x2c')][_0xa586('0x21')](_0xa586('0x3c')),_0x90be94=_0xb32845[_0xa586('0x2c')][_0xa586('0x21')]('ImageUtils'),_0x776afd={};_0x51aa07['enableCommand'](_0xa586('0x36'),(_0x2e7c8b,_0x3ba006)=>{const _0x180a72=_0xb32845[_0xa586('0x2c')][_0xa586('0x21')](_0xa586('0x14'))['me'],_0x4a26f8=_0xb32845[_0xa586('0x25')][_0xa586('0x21')](_0xa586('0x36'));let _0x51076d=_0x90be94[_0xa586('0xb')](_0xb32845[_0xa586('0x2b')][_0xa586('0x26')]['selection']),_0x3d7c5e=_0xb32845[_0xa586('0x2b')][_0xa586('0x49')](_0x51076d),_0x717ae0=_0x4a26f8['value'];if(_0x717ae0==_0x3ba006[_0xa586('0x1')])return;const _0x138811={'commandName':_0xa586('0x36'),'commandParams':[_0x3ba006],'formatGroupId':_0x5ec65a()};_0xb32845['model'][_0xa586('0x9')](()=>{if(_0x51aa07[_0xa586('0x6')]()[_0xa586('0x24')](_0x3c943c=>_0x3c943c[_0xa586('0x19')]&&_0x180a72==_0x3c943c[_0xa586('0x38')]&&(_0xa586('0x1f')==_0x3c943c[_0xa586('0x2e')]||_0xa586('0x44')==_0x3c943c['type'])&&('imageStylePreApply'==_0x3c943c[_0xa586('0x4a')]||_0xa586('0x1e')==_0x3c943c[_0xa586('0x4a')])&&_0x3c943c[_0xa586('0x43')]()[_0xa586('0x18')](_0x3d7c5e))[_0xa586('0xe')](_0x4b4483=>_0x51aa07['discardSuggestion'](_0x4b4483[_0xa586('0x45')])),_0x51076d=_0x90be94[_0xa586('0xb')](_0xb32845[_0xa586('0x2b')][_0xa586('0x26')]['selection']),_0x3d7c5e=_0xb32845[_0xa586('0x2b')][_0xa586('0x49')](_0x51076d),_0x4a26f8[_0xa586('0x32')](),_0xb32845[_0xa586('0x25')][_0xa586('0x21')]('imageTypeInline')[_0xa586('0x32')](),_0xb32845['commands']['get']('imageTypeBlock')[_0xa586('0x32')](),_0x717ae0=_0x4a26f8[_0xa586('0x1')],_0x717ae0!=_0x3ba006[_0xa586('0x1')])return _0x90be94['isInlineImage'](_0x51076d)&&_0x4a26f8[_0xa586('0x35')](_0x3ba006[_0xa586('0x1')],_0x51076d)?(_0x2e7c8b({..._0x3ba006,'setImageSizes':!0x1}),_0x51076d=_0x90be94[_0xa586('0xb')](_0xb32845[_0xa586('0x2b')][_0xa586('0x26')][_0xa586('0x28')]),void _0x51aa07['markBlockFormat'](_0x51076d,{..._0x138811,'commandReversedParams':[{'value':_0x717ae0||null,'setImageSizes':!0x1}]},[],_0xa586('0x1a'))):void(_0x90be94['isBlockImage'](_0x51076d)?_0x51aa07[_0xa586('0x46')](_0x51076d,_0x138811,[],'imageStylePostApply'):_0x51aa07[_0xa586('0x4b')](_0x3d7c5e,_0x138811,_0xa586('0x1e')));});});for(const _0x45afa8 of _0xb32845['plugins'][_0xa586('0x21')](_0xa586('0x3'))[_0xa586('0x20')])_0x776afd[_0x45afa8[_0xa586('0x3a')]]=_0x45afa8['title'][_0xa586('0xf')]();_0x51aa07[_0xa586('0x10')]['registerCustomCallback'](_0xa586('0x1f'),_0xa586('0x1a'),_0xa586('0x23'),()=>!0x1),_0x51aa07[_0xa586('0x10')][_0xa586('0x1d')](_0xa586('0x1f'),_0xa586('0x1e'),'join',()=>!0x1),_0x51aa07['_suggestionFactory']['registerCustomCallback']('formatInline',_0xa586('0x1e'),_0xa586('0x23'),()=>!0x1),_0x51aa07[_0xa586('0x10')][_0xa586('0x1d')](_0xa586('0x1f'),_0xa586('0x1a'),_0xa586('0x2f'),([_0x42a470])=>{_0x90be94[_0xa586('0x15')](_0x42a470[_0xa586('0x2d')]());}),_0x51aa07[_0xa586('0x10')][_0xa586('0x1d')](_0xa586('0x1f'),_0xa586('0x1a'),_0xa586('0x0'),(_0x2d1ed2,_0x55510d)=>{_0x51aa07['_suggestionFactory'][_0xa586('0x3b')]('formatBlock','',_0xa586('0x2f'))(_0x2d1ed2,{'commandName':_0x55510d[_0xa586('0x30')],'commandParams':_0x55510d[_0xa586('0x42')]});}),_0x51aa07[_0xa586('0x10')][_0xa586('0x1d')](_0xa586('0x1f'),_0xa586('0x1a'),'chain',function(_0x1edb35,_0x174d12){if(_0x39c75d(_0x1edb35,_0x174d12))return[_0x1edb35,_0x174d12];if(_0x39c75d(_0x174d12,_0x1edb35))return[_0x174d12,_0x1edb35];return null;});const _0x38e3b1=[{'type':_0xa586('0x1f'),'subType':_0xa586('0x1a')},{'type':_0xa586('0x12'),'subType':_0xa586('0x47')},{'type':_0xa586('0x1f'),'subType':_0xa586('0x4c')},{'type':_0xa586('0x12'),'subType':_0xa586('0x4c')}];function _0x39c75d(_0x5b096b,_0x109b6b){const _0xf7ab17=_0x38e3b1['findIndex'](({type:_0x9a392a,subType:_0x3a2db3})=>_0x5b096b[_0xa586('0x2e')]==_0x9a392a&&_0x5b096b[_0xa586('0x4a')]==_0x3a2db3),_0x5a99b5=_0x38e3b1[_0xa586('0x48')](({type:_0x10699c,subType:_0x56c925})=>_0x109b6b[_0xa586('0x2e')]==_0x10699c&&_0x109b6b['subType']==_0x56c925);if(_0xf7ab17<0x0||_0x5a99b5<0x0)return!0x1;const _0x3cb955=_0x5b096b[_0xa586('0x43')](),_0x14989e=_0x109b6b[_0xa586('0x43')]();if((0x0==_0xf7ab17||0x1==_0xf7ab17)&&0x2==_0x5a99b5&&_0x3cb955[_0xa586('0x3d')](_0x14989e))return!0x0;if(0x2==_0xf7ab17&&0x3==_0x5a99b5){const _0x14b1e6=_0x51aa07['_findSuggestions'](_0x3cb955,_0xa586('0x12'))[_0xa586('0x24')](({suggestion:_0x157bc1,meta:_0x201e51})=>_0x201e51[_0xa586('0x8')]&&_0xa586('0x4c')==_0x157bc1[_0xa586('0x4a')]);if(_0x14b1e6['length']>0x1&&_0x14989e[_0xa586('0x27')][_0xa586('0x18')](_0x3cb955[_0xa586('0x22')]))return!0x0;if(0x1==_0x14b1e6[_0xa586('0x1b')]&&(_0x3cb955['start'][_0xa586('0x18')](_0x14989e['end'])||_0x3cb955[_0xa586('0x27')][_0xa586('0x18')](_0x14989e['start'])))return!0x0;}if(0x3==_0xf7ab17&&0x3==_0x5a99b5&&_0x3cb955[_0xa586('0x22')]['isBefore'](_0x14989e[_0xa586('0x22')])){const _0x2583e4=_0x3cb955[_0xa586('0x27')][_0xa586('0x11')],_0x466c7e=_0x14989e['start']['nodeBefore'];return _0x90be94[_0xa586('0x39')](_0x2583e4)&&_0x2583e4===_0x466c7e;}return!0x1;}_0xb32845[_0xa586('0x2b')][_0xa586('0x26')][_0xa586('0x7')](()=>{let _0xc43ff7=!0x1;const _0x2dde08=Array[_0xa586('0x37')](_0xb32845[_0xa586('0x2b')][_0xa586('0x26')][_0xa586('0x2')][_0xa586('0x2a')]());for(const {name:_0x21cf43,data:_0x17f316}of _0x2dde08){const {group:_0xc2b80a,type:_0x25661d,subType:_0x33492d,id:_0x17ea63}=_0x51aa07[_0xa586('0x33')](_0x21cf43);if(_0xa586('0xa')==_0xc2b80a&&_0x51aa07[_0xa586('0x17')](_0x17ea63)){if(_0xa586('0x1f')==_0x25661d&&(_0xa586('0x1a')==_0x33492d||_0xa586('0x1e')==_0x33492d)){const _0x2ed39a=_0x51aa07[_0xa586('0x5')](_0x17ea63);if(_0x17f316[_0xa586('0x3e')]){const _0x58bcd5=_0x2ed39a[_0xa586('0x43')]()[_0xa586('0x2d')]();if(_0x90be94[_0xa586('0x39')](_0x58bcd5))continue;_0x51aa07[_0xa586('0x13')](_0x2ed39a),_0xc43ff7=!0x0;}}if(_0xa586('0x12')==_0x25661d&&_0xa586('0x47')==_0x33492d&&!_0x17f316['newRange']){const _0x532984=_0x51aa07['getSuggestion'](_0x17ea63);_0x532984[_0xa586('0x3f')]&&_0x532984[_0xa586('0x3f')][_0xa586('0x19')]&&(_0x51aa07['discardSuggestion'](_0x532984[_0xa586('0x3f')]),_0xc43ff7=!0x0);}}}return _0xc43ff7;}),this[_0xa586('0x40')](_0x776afd);}[_0xa586('0x40')](_0x3405a4){const _0x4f8183=this['editor'],_0x23ffb0=_0x4f8183[_0xa586('0xc')];_0x4f8183[_0xa586('0x2c')]['get']('TrackChangesEditing')[_0xa586('0x16')][_0xa586('0x41')](_0x33d50c=>{if(_0xa586('0x1f')!=_0x33d50c['type']&&'formatInline'!=_0x33d50c[_0xa586('0x2e')])return;const {data:_0x4adc89}=_0x33d50c;if(!_0x4adc89||_0xa586('0x36')!=_0x4adc89[_0xa586('0x30')])return;const _0x568b64=_0x4adc89[_0xa586('0x1c')][0x0]['value'];return _0x361c08(_0xa586('0x29')===_0x568b64?_0x59e4e3(_0x23ffb0,'FORMAT_SIDE_IMAGE'):_0x3405a4[_0x568b64]||_0x568b64);function _0x361c08(_0x180b46){return{'type':_0xa586('0x4'),'content':_0x59e4e3(_0x23ffb0,'*Format:*\x20%0',_0x180b46)};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48bf=['track_changes','_handleImportedData','importWord','get','_trackChangesValueDuringImport','_trackChangesExecuted','enableCommand','bind','value','listenTo','forEach','execute','_setSuggestionData','Users','high','lowest','commands','dataInsert','editor','afterInit','plugins'];(function(_0x33e655,_0x48bf59){const _0x4119a1=function(_0x368a1c){while(--_0x368a1c){_0x33e655['push'](_0x33e655['shift']());}};_0x4119a1(++_0x48bf59);}(_0x48bf,0x13e));const _0x4119=function(_0x33e655,_0x48bf59){_0x33e655=_0x33e655-0x0;let _0x4119a1=_0x48bf[_0x33e655];return _0x4119a1;};import{Plugin as _0x563532}from'ckeditor5/src/core';export default class st extends _0x563532{constructor(_0x463910){super(_0x463910),this[_0x4119('0x1')]=!0x1,this[_0x4119('0x2')]=!0x1;}[_0x4119('0x10')](){const _0x5294e4=this[_0x4119('0xf')],_0x425c64=_0x5294e4[_0x4119('0xd')][_0x4119('0x0')](_0x4119('0x14')),_0x1aadac=_0x5294e4[_0x4119('0xd')]['get']('trackChanges');_0x425c64&&(_0x425c64['on'](_0x4119('0x8'),(_0x38b65f,[,_0x3a8cd1])=>{this[_0x4119('0x1')]=_0x1aadac[_0x4119('0x5')],_0x3a8cd1['collaboration_features'][_0x4119('0x12')]=!this[_0x4119('0x1')];},{'priority':_0x4119('0xb')}),this['listenTo'](_0x425c64,_0x4119('0xe'),this[_0x4119('0x13')][_0x4119('0x4')](this)),this[_0x4119('0x6')](_0x425c64,_0x4119('0xe'),()=>{this['_trackChangesExecuted']&&(_0x1aadac[_0x4119('0x8')](),this[_0x4119('0x2')]=!0x1);},{'priority':_0x4119('0xc')}),_0x5294e4[_0x4119('0x11')][_0x4119('0x0')]('TrackChangesEditing')[_0x4119('0x3')](_0x4119('0x14')));}['_handleImportedData'](_0x5ef873,_0x3a746a){const {suggestions:_0xe4e0ba}=_0x3a746a,_0x3a14a0=this['editor']['commands'][_0x4119('0x0')]('trackChanges'),_0x438e8b=_0x3a14a0[_0x4119('0x5')];this[_0x4119('0x1')]!==_0x438e8b&&(_0x3a14a0[_0x4119('0x8')](),this[_0x4119('0x2')]=!0x0),_0xe4e0ba&&_0xe4e0ba[_0x4119('0x7')](({id:_0x40e228,type:_0x200629,author:_0x90d3bc,created_at:_0x238212})=>{const _0x11b1c9={'id':_0x40e228,'type':_0x200629,'authorId':this[_0x4119('0xf')]['plugins'][_0x4119('0x0')](_0x4119('0xa'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x90d3bc,'createdAt':_0x238212?new Date(_0x238212):new Date(),'source':'importWord'}}};this[_0x4119('0xf')]['plugins']['get']('TrackChangesEditing')[_0x4119('0x9')](_0x11b1c9);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2327=['plugins','_registerLegacyDescription','indentBlock','_registerBlockAttribute','commandName','afterInit','IndentEditing','format','has','FORMAT_INDENT','_enableDefaultAttributesIntegration','outdentBlock','IndentBlock','blockIndent','registerAttributeLabel','_descriptionFactory','type','locale','indent','*Outdent:*\x20%0','outdent','TrackChangesEditing','get','enableCommand','formatBlock'];(function(_0x539aa8,_0x23278b){const _0x44b19d=function(_0x19ae4f){while(--_0x19ae4f){_0x539aa8['push'](_0x539aa8['shift']());}};_0x44b19d(++_0x23278b);}(_0x2327,0x1c3));const _0x44b1=function(_0x539aa8,_0x23278b){_0x539aa8=_0x539aa8-0x0;let _0x44b19d=_0x2327[_0x539aa8];return _0x44b19d;};import{Plugin as _0x17adc7}from'ckeditor5/src/core';import{getTranslation as _0x15c4d6}from'../utils/common-translations';export default class ot extends _0x17adc7{[_0x44b1('0x4')](){const _0xd456aa=this['editor'],_0x501ab7=_0xd456aa[_0x44b1('0x18')][_0x44b1('0x15')](_0x44b1('0x14'));if(_0xd456aa[_0x44b1('0x18')][_0x44b1('0x7')](_0x44b1('0x5'))&&(_0x501ab7[_0x44b1('0x16')](_0x44b1('0x11')),_0x501ab7[_0x44b1('0x16')](_0x44b1('0x13'))),_0xd456aa[_0x44b1('0x18')][_0x44b1('0x7')](_0x44b1('0xb')))for(const _0x2f0af0 of['indentBlock','outdentBlock'])_0x501ab7[_0x44b1('0x9')](_0x2f0af0);const _0x1a3794=_0xd456aa['locale'];_0x501ab7[_0x44b1('0x2')](_0x44b1('0xc')),_0x501ab7[_0x44b1('0xe')][_0x44b1('0xd')](_0x44b1('0xc'),_0x15c4d6(_0x1a3794,_0x44b1('0x8'))),this[_0x44b1('0x0')]();}['_registerLegacyDescription'](){const _0x1f1720=this['editor'],_0xc3e9b3=_0x1f1720[_0x44b1('0x10')],_0x12c815=_0x1f1720[_0x44b1('0x18')][_0x44b1('0x15')](_0x44b1('0x14'));_0x12c815[_0x44b1('0xe')]['registerDescriptionCallback'](_0x51d958=>{if(_0x44b1('0x17')!=_0x51d958[_0x44b1('0xf')])return;const {data:_0x3e051b}=_0x51d958;if(!_0x3e051b)return;if(_0x44b1('0x1')!=_0x3e051b[_0x44b1('0x3')]&&_0x44b1('0xa')!=_0x3e051b[_0x44b1('0x3')])return;const _0x575221=_0x51d958['getItems']()[0x0],_0x4a9414=_0x12c815['_descriptionFactory']['getItemLabel'](_0x575221);return'indentBlock'==_0x3e051b[_0x44b1('0x3')]?{'type':_0x44b1('0x6'),'content':_0x15c4d6(_0xc3e9b3,'*Indent:*\x20%0',_0x4a9414)}:_0x44b1('0xa')==_0x3e051b[_0x44b1('0x3')]?{'type':'format','content':_0x15c4d6(_0xc3e9b3,_0x44b1('0x12'),_0x4a9414)}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3fef=['init','editor','TrackChangesEditing','requires'];(function(_0x104f48,_0x3fefc5){var _0xa2e310=function(_0x16d209){while(--_0x16d209){_0x104f48['push'](_0x104f48['shift']());}};_0xa2e310(++_0x3fefc5);}(_0x3fef,0xa8));var _0xa2e3=function(_0x104f48,_0x3fefc5){_0x104f48=_0x104f48-0x0;var _0xa2e310=_0x3fef[_0x104f48];return _0xa2e310;};import{Plugin as _0xba8917}from'ckeditor5/src/core';import{Input as _0xf2445f}from'ckeditor5/src/typing';export default class rt extends _0xba8917{static get[_0xa2e3('0x3')](){return[_0xf2445f];}[_0xa2e3('0x0')](){this[_0xa2e3('0x1')]['plugins']['get'](_0xa2e3('0x2'))['enableCommand']('input');}}
|
package/src/integrations/link.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5474=['_enableDefaultAttributesIntegration','editor','link\x20(','type','TrackChangesEditing','has','registerDescriptionCallback','get','_registerLegacyDescription','plugins','map','_descriptionFactory','formatInline','format','commandName','attribute','label','commands','newValue','link','afterInit','linkHref','registerAttributeLabel','*Set\x20link:*\x20%0','commandParams','unlink','locale','toLowerCase','*Remove\x20link*','manualDecorators'];(function(_0x29042b,_0x547491){const _0x749740=function(_0x5a7883){while(--_0x5a7883){_0x29042b['push'](_0x29042b['shift']());}};_0x749740(++_0x547491);}(_0x5474,0x110));const _0x7497=function(_0x29042b,_0x547491){_0x29042b=_0x29042b-0x0;let _0x749740=_0x5474[_0x29042b];return _0x749740;};import{Plugin as _0x227702}from'ckeditor5/src/core';import{getTranslation as _0x3861e5}from'../utils/common-translations';export default class at extends _0x227702{[_0x7497('0x12')](){const _0x1ff768=this[_0x7497('0x1d')];if(!_0x1ff768['plugins'][_0x7497('0x3')]('LinkEditing'))return;const _0x2e1d1b=_0x1ff768[_0x7497('0x7')][_0x7497('0x5')](_0x7497('0x2')),_0x4e962a=_0x1ff768[_0x7497('0xf')][_0x7497('0x5')](_0x7497('0x11'));_0x2e1d1b[_0x7497('0x1c')](_0x7497('0x11'),[_0x7497('0x13'),..._0x4e962a['manualDecorators'][_0x7497('0x8')](_0x189fbc=>_0x189fbc['id'])]),_0x2e1d1b[_0x7497('0x1c')](_0x7497('0x17'));for(const _0x105edf of _0x4e962a[_0x7497('0x1b')])_0x2e1d1b[_0x7497('0x9')][_0x7497('0x14')](_0x105edf['id'],_0x7497('0x0')+_0x105edf[_0x7497('0xe')][_0x7497('0x19')]()+')');_0x2e1d1b[_0x7497('0x9')][_0x7497('0x4')](_0x27ecd8=>{if(_0x7497('0xd')!=_0x27ecd8[_0x7497('0x1')])return;const {data:_0x47b299}=_0x27ecd8;if(!_0x47b299||_0x7497('0x13')!=_0x47b299['key'])return;const _0x24b0fa=_0x47b299[_0x7497('0x10')],_0x477beb=_0x1ff768[_0x7497('0x18')];return{'type':_0x7497('0xb'),'content':_0x24b0fa?_0x3861e5(_0x477beb,'*Set\x20link:*\x20%0','\x22'+_0x24b0fa+'\x22'):_0x3861e5(_0x477beb,_0x7497('0x1a'))};}),this[_0x7497('0x6')]();}[_0x7497('0x6')](){const _0x5b0c02=this[_0x7497('0x1d')],_0x2d0b63=_0x5b0c02[_0x7497('0x18')];_0x5b0c02[_0x7497('0x7')]['get']('TrackChangesEditing')[_0x7497('0x9')][_0x7497('0x4')](_0x4c42c2=>{if(_0x7497('0xa')!=_0x4c42c2['type'])return;const {data:_0x43ee3f}=_0x4c42c2;if(_0x43ee3f){if(_0x7497('0x11')==_0x43ee3f[_0x7497('0xc')]){const _0x2deb47=_0x43ee3f[_0x7497('0x16')][0x0];return{'type':_0x7497('0xb'),'content':_0x3861e5(_0x2d0b63,_0x7497('0x15'),'\x22'+_0x2deb47+'\x22')};}return _0x7497('0x17')==_0x43ee3f['commandName']?{'type':_0x7497('0xb'),'content':_0x3861e5(_0x2d0b63,'*Remove\x20link*')}:void 0x0;}});}}
|
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bb4=['todoListChecked','editor','numbered','end','ELEMENT_LIST_ITEM','*Change\x20to:*\x20%0','model','*Check\x20item*','commands','checkChild','filter','execute','from','length','indentList','List','get','*Uncheck\x20item*','nextSibling','checkTodoList','push','markBlockFormat','value','ListEditing','numberedList','*Outdent:*\x20%0','isObject','slice','enableCommand','schema','registerDescriptionCallback','_selectedElements','formatBlock','document','formatInline','commandParams','todoList','createRange','add','_descriptionFactory','TrackChangesEditing','previousSibling','ELEMENT_TODO_LIST','ELEMENT_BULLETED_LIST','has','before','change','format','paragraph','plugins','outdentList','bulletedList','getAttribute','selection','listIndent','listItem','type','listType','createPositionAt','element','forceValue','TodoListEditing','todo','locale','commandName','getSelectedBlocks'];(function(_0x343eab,_0x1bb49e){const _0x4de34d=function(_0x189d6d){while(--_0x189d6d){_0x343eab['push'](_0x343eab['shift']());}};_0x4de34d(++_0x1bb49e);}(_0x1bb4,0x13f));const _0x4de3=function(_0x343eab,_0x1bb49e){_0x343eab=_0x343eab-0x0;let _0x4de34d=_0x1bb4[_0x343eab];return _0x4de34d;};import{Plugin as _0x2f734c}from'ckeditor5/src/core';import{getTranslation as _0xe9d73c}from'../utils/common-translations';export default class ct extends _0x2f734c{['afterInit'](){const _0x3e7a3c=this[_0x4de3('0xc')],_0x5b73c1=_0x3e7a3c[_0x4de3('0x8')];if(!_0x3e7a3c['plugins'][_0x4de3('0x37')](_0x4de3('0x22')))return;const _0x347623=_0x3e7a3c[_0x4de3('0x3c')][_0x4de3('0x1b')](_0x4de3('0x33')),_0xec78e1=_0x3e7a3c[_0x4de3('0x3c')][_0x4de3('0x37')](_0x4de3('0x6'));function _0x1934e0(_0x488665){return()=>{const _0x2e6fbf=_0x3e7a3c[_0x4de3('0x11')]['document'][_0x4de3('0x40')],_0x1d7dd6=_0x3e7a3c['commands'][_0x4de3('0x1b')](_0x488665);if(_0x1d7dd6[_0x4de3('0x21')])return void _0x3e7a3c[_0x4de3('0x16')](_0x4de3('0x3b'),{});const _0x362eb8=_0x488665[_0x4de3('0x26')](0x0,-0x4),_0x3f0f3a=function(_0x18bcf0,_0xc73652,_0x106191){let _0x237123=Array[_0x4de3('0x17')](_0x18bcf0)[_0x4de3('0x15')](_0x57e20c=>function(_0x30eb45,_0x23d060){return _0x23d060[_0x4de3('0x14')](_0x30eb45['parent'],_0x4de3('0x0'))&&!_0x23d060[_0x4de3('0x25')](_0x30eb45);}(_0x57e20c,_0x106191));_0x237123=_0x237123['filter'](_0x56e608=>!_0x56e608['is'](_0x4de3('0x4'),'listItem')||_0x56e608[_0x4de3('0x3f')](_0x4de3('0x2'))!=_0xc73652);const _0x45c4eb=new Set();for(const _0x2cfb24 of _0x237123)_0x2cfb24['is'](_0x4de3('0x4'),_0x4de3('0x0'))?_0x45c4eb[_0x4de3('0x31')](ne(_0x2cfb24)):_0x45c4eb['add'](_0x2cfb24);return Array[_0x4de3('0x17')](_0x45c4eb);}(_0x2e6fbf[_0x4de3('0xa')](),_0x362eb8,_0x3e7a3c[_0x4de3('0x11')][_0x4de3('0x28')]);_0x3e7a3c[_0x4de3('0x11')][_0x4de3('0x39')](()=>{for(const _0x12092a of _0x3f0f3a)_0x347623[_0x4de3('0x20')](_0x12092a,{'commandName':_0x488665,'commandParams':[{'forceValue':!_0x1d7dd6[_0x4de3('0x21')]}],'formatGroupId':'blockName'},oe(_0x12092a));});};}function _0xed6d6b(_0xcc30e8){return()=>{const _0xb72d5a=function(_0x2594bf){let _0x33a745=Array[_0x4de3('0x17')](_0x2594bf);const _0x59f0db=_0x33a745['findIndex'](_0x478e71=>_0x4de3('0x0')!=_0x478e71['name']);return _0x59f0db>-0x1&&(_0x33a745=_0x33a745[_0x4de3('0x26')](0x0,_0x59f0db)),_0x33a745;}(_0x3e7a3c['model'][_0x4de3('0x2c')][_0x4de3('0x40')]['getSelectedBlocks']()),_0x5ed843=_0x3e7a3c['model'][_0x4de3('0x30')](_0x3e7a3c[_0x4de3('0x11')][_0x4de3('0x3')](_0xb72d5a[0x0],_0x4de3('0x38')),_0x3e7a3c[_0x4de3('0x11')][_0x4de3('0x3')](_0xb72d5a[_0xb72d5a[_0x4de3('0x18')]-0x1],_0x4de3('0xe')));_0x3e7a3c[_0x4de3('0x11')]['change'](()=>{_0x347623['markBlockFormat'](_0x5ed843,{'commandName':_0xcc30e8,'commandParams':[],'formatGroupId':_0x4de3('0x41')},function(_0xf44ef7){const _0x2bd36c=new Set();for(const _0x58d6b6 of _0xf44ef7){let _0x1b52d0=_0x58d6b6[_0x4de3('0x1d')];for(;_0x1b52d0&&_0x1b52d0[_0x4de3('0x3f')](_0x4de3('0x41'))>_0x58d6b6[_0x4de3('0x3f')](_0x4de3('0x41'));)_0x2bd36c[_0x4de3('0x31')](_0x1b52d0),_0x1b52d0=_0x1b52d0['nextSibling'];}return Array[_0x4de3('0x17')](_0x2bd36c);}(_0xb72d5a));});};}_0x347623[_0x4de3('0x27')]('numberedList',_0x1934e0(_0x4de3('0x23'))),_0x347623[_0x4de3('0x27')]('bulletedList',_0x1934e0('bulletedList')),_0xec78e1&&_0x347623[_0x4de3('0x27')](_0x4de3('0x2f'),_0x1934e0(_0x4de3('0x2f'))),_0x347623[_0x4de3('0x27')](_0x4de3('0x19'),_0xed6d6b(_0x4de3('0x19'))),_0x347623['enableCommand'](_0x4de3('0x3d'),_0xed6d6b(_0x4de3('0x3d'))),_0xec78e1&&_0x347623[_0x4de3('0x27')](_0x4de3('0x1e'),()=>{const _0x126906=_0x3e7a3c[_0x4de3('0x13')]['get'](_0x4de3('0x1e')),_0x2e7f85=Array[_0x4de3('0x17')](_0x126906[_0x4de3('0x2a')]);_0x2e7f85[_0x4de3('0x15')](_0x9ed092=>_0x9ed092[_0x4de3('0x3f')](_0x4de3('0xb'))!=_0x126906['value']),_0x3e7a3c[_0x4de3('0x11')][_0x4de3('0x39')](()=>{for(const _0x149af6 of _0x2e7f85)_0x347623[_0x4de3('0x20')](_0x149af6,{'commandName':_0x4de3('0x1e'),'commandParams':[{'forceValue':!_0x126906[_0x4de3('0x21')]}]});});}),_0x347623['_descriptionFactory']['registerElementLabel'](_0x4de3('0x0'),_0x5211c0=>_0xe9d73c(_0x5b73c1,_0x4de3('0xf'),_0x5211c0)),_0x347623[_0x4de3('0x32')][_0x4de3('0x29')](_0xdafcdd=>{if(_0x4de3('0x2b')!=_0xdafcdd[_0x4de3('0x1')]&&_0x4de3('0x2d')!=_0xdafcdd['type'])return;const {data:_0x337da8}=_0xdafcdd;if(_0x337da8){if(_0x4de3('0x23')==_0x337da8['commandName']||_0x4de3('0x3e')==_0x337da8[_0x4de3('0x9')]||_0x4de3('0x2f')==_0x337da8['commandName'])switch(_0x337da8[_0x4de3('0x9')]['replace'](_0x4de3('0x1a'),'')){case'bulleted':return _0x2a06f0(_0xe9d73c(_0x5b73c1,_0x4de3('0x36')));case _0x4de3('0xd'):return _0x2a06f0(_0xe9d73c(_0x5b73c1,'ELEMENT_NUMBERED_LIST'));case _0x4de3('0x7'):return _0x2a06f0(_0xe9d73c(_0x5b73c1,_0x4de3('0x35')));}if(_0x4de3('0x19')==_0x337da8[_0x4de3('0x9')])return{'type':_0x4de3('0x3a'),'content':_0xe9d73c(_0x5b73c1,'*Indent:*\x20%0',_0xe9d73c(_0x5b73c1,'ELEMENT_LIST_ITEM'))};if(_0x4de3('0x3d')==_0x337da8['commandName'])return{'type':'format','content':_0xe9d73c(_0x5b73c1,_0x4de3('0x24'),_0xe9d73c(_0x5b73c1,_0x4de3('0xf')))};if(_0x4de3('0x1e')==_0x337da8[_0x4de3('0x9')])return _0x337da8[_0x4de3('0x2e')][0x0][_0x4de3('0x5')]?{'type':_0x4de3('0x3a'),'content':_0xe9d73c(_0x5b73c1,_0x4de3('0x12'))}:{'type':_0x4de3('0x3a'),'content':_0xe9d73c(_0x5b73c1,_0x4de3('0x1c'))};}function _0x2a06f0(_0x14354e){return{'type':_0x4de3('0x3a'),'content':_0xe9d73c(_0x5b73c1,_0x4de3('0x10'),_0x14354e)};}});}}function ne(_0xf0b4f9){const _0xce66b=_0xf0b4f9[_0x4de3('0x3f')]('listIndent');if(0x0==_0xce66b)return _0xf0b4f9;let _0x252c53=_0xf0b4f9;for(;_0xf0b4f9[_0x4de3('0x34')]&&_0xf0b4f9[_0x4de3('0x34')]['is']('element',_0x4de3('0x0'));){const _0xda3105=_0xf0b4f9[_0x4de3('0x34')][_0x4de3('0x3f')](_0x4de3('0x41'));if(_0xda3105==_0xce66b)_0x252c53=_0xf0b4f9[_0x4de3('0x34')];else{if(_0xda3105<_0xce66b)break;}_0xf0b4f9=_0xf0b4f9[_0x4de3('0x34')];}return _0x252c53;}function oe(_0x45653f){const _0x2c9d1b=[];if(_0x45653f['is']('element',_0x4de3('0x0'))&&_0x45653f[_0x4de3('0x3f')](_0x4de3('0x41'))>0x0){let _0x4f3023=_0x45653f[_0x4de3('0x1d')];for(;_0x4f3023&&_0x4de3('0x0')==_0x4f3023['name']&&_0x4f3023[_0x4de3('0x3f')](_0x4de3('0x41'))==_0x45653f[_0x4de3('0x3f')](_0x4de3('0x41'));)_0x2c9d1b[_0x4de3('0x1f')](_0x4f3023),_0x4f3023=_0x4f3023[_0x4de3('0x1d')];}return _0x2c9d1b;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3841=['element','handleListStyleCommand','type','document','TrackChangesEditing','registerDescriptionCallback','listStyle','handleDescriptions','map','format','replace','push','_getSuggestionBlocks','has','listItem','startIndex','unshift','numbered','getLastPosition','editor','get','length','getSiblingNodes','selection','createRange','_LIST_','list.properties','markMultiRangeBlockFormat','handleListStartCommand','bind','*Format:*\x20set\x20start\x20index\x20to\x20%0','createPositionAt','handleListReversedCommand','listStart','_getTranslationKeyForListStyle','*Format:*\x20set\x20order\x20to\x20regular','config','toUpperCase','afterInit','getAttribute','change','before','enableCommand','commandParams','model','filter','*Change\x20to:*\x20%0','reversed','_getSuggestionBlocksForListStyle','getSelectedBlocks','listType','ListPropertiesEditing','from','listReversed','plugins','getFirstPosition','getListTypeFromListStyleType','formatBlock','forward','commandName','backward','_descriptionFactory','parent','ListUtils'];(function(_0x224c89,_0x38413a){const _0x24b0c8=function(_0x3167c0){while(--_0x3167c0){_0x224c89['push'](_0x224c89['shift']());}};_0x24b0c8(++_0x38413a);}(_0x3841,0xf4));const _0x24b0=function(_0x224c89,_0x38413a){_0x224c89=_0x224c89-0x0;let _0x24b0c8=_0x3841[_0x224c89];return _0x24b0c8;};import{Plugin as _0x4efa14}from'ckeditor5/src/core';import{getTranslation as _0x306996}from'../utils/common-translations';export default class ut extends _0x4efa14{[_0x24b0('0x32')](){if(!this['editor'][_0x24b0('0x2')][_0x24b0('0x19')](_0x24b0('0x3f')))return;const _0x2719ad=this[_0x24b0('0x1f')][_0x24b0('0x30')][_0x24b0('0x20')](_0x24b0('0x26')),_0x55ceb9=this['editor'][_0x24b0('0x2')]['get']('TrackChangesEditing');_0x2719ad['styles']&&_0x55ceb9[_0x24b0('0x36')](_0x24b0('0x12'),this[_0x24b0('0xd')][_0x24b0('0x29')](this)),_0x2719ad['reversed']&&_0x55ceb9['enableCommand'](_0x24b0('0x1'),this['handleListReversedCommand'][_0x24b0('0x29')](this)),_0x2719ad[_0x24b0('0x1b')]&&_0x55ceb9[_0x24b0('0x36')](_0x24b0('0x2d'),this['handleListStartCommand'][_0x24b0('0x29')](this)),_0x55ceb9[_0x24b0('0x9')][_0x24b0('0x11')](this[_0x24b0('0x13')][_0x24b0('0x29')](this));}[_0x24b0('0xd')](_0x516176,_0xa6c837={}){const _0x4141de=this[_0x24b0('0x1f')][_0x24b0('0x2')]['get']('TrackChangesEditing'),_0x45489d=this[_0x24b0('0x3c')]();this[_0x24b0('0x1f')]['model'][_0x24b0('0x34')](()=>{_0x4141de[_0x24b0('0x27')](_0x45489d,{'commandName':_0x24b0('0x12'),'commandParams':[{'type':_0xa6c837[_0x24b0('0xe')]}],'formatGroupId':'listStyle'});});}[_0x24b0('0x2c')](_0x5b0a38,_0x2e0713={}){const _0x29093c=this['editor'][_0x24b0('0x2')][_0x24b0('0x20')](_0x24b0('0x10')),_0x2fbfd7=this[_0x24b0('0x18')](_0x2ea28b=>_0x2ea28b['is'](_0x24b0('0xc'),_0x24b0('0x1a'))&&_0x24b0('0x1d')===_0x2ea28b[_0x24b0('0x33')](_0x24b0('0x3e')));if(_0x2fbfd7[_0x24b0('0x21')]<0x1)return;const _0x541459=_0x2fbfd7['map'](_0x388cb2=>this[_0x24b0('0x1f')][_0x24b0('0x38')]['createRange'](this[_0x24b0('0x1f')][_0x24b0('0x38')]['createPositionAt'](_0x388cb2,_0x24b0('0x35')),this[_0x24b0('0x1f')]['model'][_0x24b0('0x2b')](_0x388cb2,0x0)));this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0x34')](()=>{_0x29093c[_0x24b0('0x27')](_0x541459,{'commandName':_0x24b0('0x1'),'commandParams':[{'reversed':_0x2e0713[_0x24b0('0x3b')]}],'formatGroupId':_0x24b0('0x1')});});}[_0x24b0('0x28')](_0x1bcff8,_0x362acc={}){const _0x52b449=this['editor'][_0x24b0('0x2')][_0x24b0('0x20')](_0x24b0('0x10')),_0x2d8360=this['_getSuggestionBlocks'](_0x45499b=>_0x45499b['is'](_0x24b0('0xc'),_0x24b0('0x1a'))&&_0x24b0('0x1d')===_0x45499b[_0x24b0('0x33')](_0x24b0('0x3e')));if(_0x2d8360[_0x24b0('0x21')]<0x1)return;const _0x198986=_0x2d8360[_0x24b0('0x14')](_0x4a3101=>this[_0x24b0('0x1f')]['model'][_0x24b0('0x24')](this[_0x24b0('0x1f')]['model']['createPositionAt'](_0x4a3101,_0x24b0('0x35')),this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0x2b')](_0x4a3101,0x0)));this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0x34')](()=>{_0x52b449[_0x24b0('0x27')](_0x198986,{'commandName':_0x24b0('0x2d'),'commandParams':[{'startIndex':_0x362acc[_0x24b0('0x1b')]}],'formatGroupId':_0x24b0('0x2d')});});}['handleDescriptions'](_0x103e18){if(_0x24b0('0x5')!=_0x103e18[_0x24b0('0xe')]&&'formatInline'!=_0x103e18[_0x24b0('0xe')])return;const _0x14e2c2=this[_0x24b0('0x1f')]['locale'],{data:_0x164c44}=_0x103e18;if(!_0x164c44)return;let _0x3f48b9,_0x27c5fa;switch(_0x164c44[_0x24b0('0x7')]){case _0x24b0('0x12'):_0x3f48b9=_0x24b0('0x3a'),_0x27c5fa={'type':_0x24b0('0x15'),'content':_0x306996(_0x14e2c2,_0x3f48b9,_0x306996(_0x14e2c2,this[_0x24b0('0x2e')](_0x164c44[_0x24b0('0x37')][0x0][_0x24b0('0xe')])))};break;case'listReversed':_0x3f48b9=_0x164c44[_0x24b0('0x37')][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x24b0('0x2f'),_0x27c5fa={'type':'format','content':_0x306996(_0x14e2c2,_0x3f48b9)};break;case _0x24b0('0x2d'):_0x3f48b9=_0x24b0('0x2a'),_0x27c5fa={'type':_0x24b0('0x15'),'content':_0x306996(_0x14e2c2,_0x3f48b9,_0x164c44[_0x24b0('0x37')][0x0][_0x24b0('0x1b')])};}return _0x27c5fa;}[_0x24b0('0x3c')](){var _0x4325cb,_0x52f005,_0x550d44,_0x34040a;const _0x3f2b5e=this[_0x24b0('0x1f')][_0x24b0('0x2')]['get'](_0x24b0('0xb'));let _0x3d7e53=Array[_0x24b0('0x0')](this[_0x24b0('0x1f')][_0x24b0('0x38')]['document'][_0x24b0('0x23')][_0x24b0('0x3d')]());return(null===(_0x4325cb=_0x3d7e53[0x0])||void 0x0===_0x4325cb?void 0x0:_0x4325cb['is'](_0x24b0('0xc'),_0x24b0('0x1a')))&&_0x3d7e53[_0x24b0('0x1c')](..._0x3f2b5e['getSiblingNodes'](this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0xf')][_0x24b0('0x23')][_0x24b0('0x3')](),_0x24b0('0x8'))),(null===(_0x52f005=_0x3d7e53[_0x3d7e53[_0x24b0('0x21')]-0x1])||void 0x0===_0x52f005?void 0x0:_0x52f005['is']('element',_0x24b0('0x1a')))&&_0x3d7e53[_0x24b0('0x17')](..._0x3f2b5e[_0x24b0('0x22')](this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0xf')][_0x24b0('0x23')][_0x24b0('0x1e')](),_0x24b0('0x6'))),_0x3d7e53=[...new Set(_0x3d7e53)],(null===(_0x34040a=null===(_0x550d44=this['editor'][_0x24b0('0x38')][_0x24b0('0xf')][_0x24b0('0x23')][_0x24b0('0x3')]())||void 0x0===_0x550d44?void 0x0:_0x550d44[_0x24b0('0xa')])||void 0x0===_0x34040a?void 0x0:_0x34040a['is']('element',_0x24b0('0x1a')))&&(_0x3d7e53=_0x3d7e53[_0x24b0('0x39')](_0x7b5dd8=>_0x7b5dd8['is'](_0x24b0('0xc'),'listItem'))),_0x3d7e53;}['_getSuggestionBlocks'](_0x3e5014){const _0x248323=this[_0x24b0('0x1f')][_0x24b0('0x2')][_0x24b0('0x20')](_0x24b0('0xb'));let _0x5d013d=Array['from'](this[_0x24b0('0x1f')][_0x24b0('0x38')]['document'][_0x24b0('0x23')][_0x24b0('0x3d')]())[_0x24b0('0x39')](_0x3e5014)[_0x24b0('0x14')](_0x1b2d6c=>{const _0x2d0cb3=this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0x2b')](_0x1b2d6c,0x0);return[..._0x248323[_0x24b0('0x22')](_0x2d0cb3,_0x24b0('0x8')),..._0x248323['getSiblingNodes'](_0x2d0cb3,_0x24b0('0x6'))];})['flat']();return _0x5d013d=[...new Set(_0x5d013d)],_0x5d013d;}[_0x24b0('0x2e')](_0x5d7ceb){return'ELEMENT_'+this[_0x24b0('0x1f')][_0x24b0('0x2')][_0x24b0('0x20')](_0x24b0('0xb'))[_0x24b0('0x4')](_0x5d7ceb)[_0x24b0('0x31')]()+_0x24b0('0x25')+_0x5d7ceb[_0x24b0('0x31')]()[_0x24b0('0x16')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3736=['dataDowncast','data','_descriptionFactory','has','MediaEmbedEditing','high','ELEMENT_MEDIA','elementToElement','enableCommand','get','downcastDispatcher','for','div','media','registerElementLabel','mediaEmbed','conversion','plugins','attribute:url:media','locale','showSuggestionHighlights'];(function(_0x4f1b1d,_0x37365d){const _0x4f9d11=function(_0x552bf4){while(--_0x552bf4){_0x4f1b1d['push'](_0x4f1b1d['shift']());}};_0x4f9d11(++_0x37365d);}(_0x3736,0x1b0));const _0x4f9d=function(_0x4f1b1d,_0x37365d){_0x4f1b1d=_0x4f1b1d-0x0;let _0x4f9d11=_0x3736[_0x4f1b1d];return _0x4f9d11;};import{Plugin as _0x37364c}from'ckeditor5/src/core';import{getTranslation as _0x143e0f}from'../utils/common-translations';export default class ht extends _0x37364c{['afterInit'](){const _0x29f749=this['editor'];if(!_0x29f749[_0x4f9d('0x5')][_0x4f9d('0xc')](_0x4f9d('0xd')))return;const _0x38950c=_0x29f749['plugins'][_0x4f9d('0x12')]('TrackChangesEditing'),_0x2a69fb=_0x29f749[_0x4f9d('0x7')];_0x38950c[_0x4f9d('0x11')](_0x4f9d('0x3')),_0x38950c[_0x4f9d('0xb')][_0x4f9d('0x2')](_0x4f9d('0x1'),_0x5bf106=>_0x143e0f(_0x2a69fb,_0x4f9d('0xf'),_0x5bf106)),_0x29f749[_0x4f9d('0x4')][_0x4f9d('0x14')](_0x4f9d('0x9'))[_0x4f9d('0x10')]({'model':_0x4f9d('0x1'),'view':(_0x350100,{writer:_0xf19a78,options:_0x4eb241})=>{if(_0x4eb241[_0x4f9d('0x8')])return _0xf19a78['createEmptyElement'](_0x4f9d('0x0'));},'converterPriority':'high'}),_0x29f749[_0x4f9d('0xa')][_0x4f9d('0x13')]['on'](_0x4f9d('0x6'),(_0x324ec9,_0x3b82ab,_0x38b11d)=>{_0x38b11d['options'][_0x4f9d('0x8')]&&_0x324ec9['stop']();},{'priority':_0x4f9d('0xe')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32b3=['editor','mention','TrackChangesEditing','get','afterInit','plugins','MentionEditing','enableCommand'];(function(_0x1c98b3,_0x32b360){const _0xf04bf3=function(_0x404d18){while(--_0x404d18){_0x1c98b3['push'](_0x1c98b3['shift']());}};_0xf04bf3(++_0x32b360);}(_0x32b3,0xdc));const _0xf04b=function(_0x1c98b3,_0x32b360){_0x1c98b3=_0x1c98b3-0x0;let _0xf04bf3=_0x32b3[_0x1c98b3];return _0xf04bf3;};import{Plugin as _0x19f278}from'ckeditor5/src/core';export default class ft extends _0x19f278{[_0xf04b('0x0')](){const _0x4d8ddd=this[_0xf04b('0x4')];_0x4d8ddd[_0xf04b('0x1')]['has'](_0xf04b('0x2'))&&_0x4d8ddd['plugins'][_0xf04b('0x7')](_0xf04b('0x6'))[_0xf04b('0x3')](_0xf04b('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x572d=['ELEMENT_PAGE_BREAK','locale','PageBreakEditing','enableCommand','_descriptionFactory','TrackChangesEditing','editor','has','get','afterInit','plugins','pageBreak','registerElementLabel'];(function(_0x4c2079,_0x572df4){const _0x2361eb=function(_0x163c9d){while(--_0x163c9d){_0x4c2079['push'](_0x4c2079['shift']());}};_0x2361eb(++_0x572df4);}(_0x572d,0x1a4));const _0x2361=function(_0x4c2079,_0x572df4){_0x4c2079=_0x4c2079-0x0;let _0x2361eb=_0x572d[_0x4c2079];return _0x2361eb;};import{Plugin as _0x136625}from'ckeditor5/src/core';import{getTranslation as _0x51a9bd}from'../utils/common-translations';export default class gt extends _0x136625{[_0x2361('0x5')](){const _0x4db508=this[_0x2361('0x2')];if(!_0x4db508[_0x2361('0x6')][_0x2361('0x3')](_0x2361('0xb')))return;_0x4db508[_0x2361('0x6')]['get']('TrackChangesEditing')[_0x2361('0xc')]('pageBreak');const _0xcfd127=_0x4db508[_0x2361('0x6')][_0x2361('0x4')](_0x2361('0x1')),_0x1f1873=_0x4db508[_0x2361('0xa')];_0xcfd127[_0x2361('0x0')][_0x2361('0x8')](_0x2361('0x7'),_0x479ea9=>_0x51a9bd(_0x1f1873,_0x2361('0x9'),_0x479ea9));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x566b=['insertion','name','get','ELEMENT_PARAGRAPH','$text','has','data','registerDescriptionCallback','editing','start','options','_descriptionFactory','markerRange','end','ck-suggestion-marker--active','insertParagraph','TrackChangesEditing','addClass','insert','commandName','isBlock','plugins','bindElementToMarker','writer','ck-suggestion-marker-split','registerElementLabel','getFirstRange','_registerLegacyDescription','isTouching','isLimit','includes','getItemLabel','mapper','model','editor','locale','type','formatBlock','schema','consume','paragraph','markerName','downcastDispatcher','addMarker:suggestion:insertion','nodeAfter','span','checkChild','Paragraph','highest'];(function(_0x4b7d31,_0x566b87){const _0x26087d=function(_0x5abe06){while(--_0x5abe06){_0x4b7d31['push'](_0x4b7d31['shift']());}};_0x26087d(++_0x566b87);}(_0x566b,0x1a1));const _0x2608=function(_0x4b7d31,_0x566b87){_0x4b7d31=_0x4b7d31-0x0;let _0x26087d=_0x566b[_0x4b7d31];return _0x26087d;};import{Plugin as _0x3256bf}from'ckeditor5/src/core';import{getTranslation as _0x42cbdc}from'../utils/common-translations';export default class lt extends _0x3256bf{['afterInit'](){const _0x5ba224=this['editor'];if(!_0x5ba224[_0x2608('0x2d')][_0x2608('0x1d')](_0x2608('0x16')))return;const _0x3aceab=_0x5ba224[_0x2608('0xa')],_0x3bcc46=_0x5ba224[_0x2608('0x2d')][_0x2608('0x1a')]('TrackChangesEditing');_0x3bcc46[_0x2608('0x23')][_0x2608('0x0')](_0x2608('0xf'),_0xd2b662=>_0x42cbdc(_0x3aceab,_0x2608('0x1b'),_0xd2b662)),_0x3bcc46['_enableDefaultAttributesIntegration']('paragraph'),_0x3bcc46['enableCommand'](_0x2608('0x27')),_0x5ba224[_0x2608('0x20')][_0x2608('0x11')]['on'](_0x2608('0x12'),nr(_0x5ba224),{'priority':_0x2608('0x17')}),_0x5ba224[_0x2608('0x1e')][_0x2608('0x11')]['on'](_0x2608('0x12'),(_0x335a6c,_0x277d3d,_0x54c61c)=>{_0x54c61c[_0x2608('0x22')]['showSuggestionHighlights']&&nr(_0x5ba224,{'showActiveMarker':!0x1})(_0x335a6c,_0x277d3d,_0x54c61c);},{'priority':_0x2608('0x17')});const _0x57aa72=_0x3bcc46[_0x2608('0x23')];_0x57aa72[_0x2608('0x1f')](_0x13c7fc=>{if('insertion'!==_0x13c7fc['type'])return;const {start:_0x3d67ca,end:_0xca6fa9}=_0x13c7fc[_0x2608('0x1')]();if(!_0x3d67ca[_0x2608('0x3')](_0xca6fa9)||!_0x3d67ca[_0x2608('0x13')])return;const _0x19ec94=_0x5ba224['model'][_0x2608('0xd')],_0x40e5df=_0x3d67ca[_0x2608('0x13')];return _0x19ec94['isBlock'](_0x40e5df)&&!_0x19ec94[_0x2608('0x4')](_0x40e5df)&&_0x19ec94[_0x2608('0x15')](_0x40e5df,_0x2608('0x1c'))?{'type':_0x2608('0x18'),'content':_0x42cbdc(_0x3aceab,'*Insert:*\x20%0',_0x57aa72[_0x2608('0x6')](_0x40e5df,0x1))}:void 0x0;}),this[_0x2608('0x2')]();}[_0x2608('0x2')](){const _0x564d84=this[_0x2608('0x9')],_0x3055b6=_0x564d84[_0x2608('0xa')];_0x564d84[_0x2608('0x2d')][_0x2608('0x1a')]('TrackChangesEditing')[_0x2608('0x23')][_0x2608('0x1f')](_0x1447f0=>{if(_0x2608('0xc')!=_0x1447f0[_0x2608('0xb')])return;const {data:_0x311ebc}=_0x1447f0;return _0x311ebc&&_0x2608('0xf')==_0x311ebc[_0x2608('0x2b')]?{'type':'format','content':_0x42cbdc(_0x3055b6,'*Change\x20to:*\x20%0',_0x42cbdc(_0x3055b6,_0x2608('0x1b')))}:void 0x0;});}}function nr(_0x146a7c,{showActiveMarker:_0x32a596=!0x0}={}){return(_0x30f171,_0x5ef903,_0x4b0acf)=>{const _0x7af3be=_0x146a7c['plugins']['get'](_0x2608('0x28')),_0x1ea9f0=_0x5ef903['markerRange'][_0x2608('0x21')],_0x394ec9=_0x5ef903[_0x2608('0x24')][_0x2608('0x25')],_0x1959e8=_0x146a7c[_0x2608('0x8')]['schema'];if(!_0x1ea9f0[_0x2608('0x3')](_0x394ec9)||!_0x1ea9f0['nodeAfter'])return;const _0x36658a=_0x1ea9f0[_0x2608('0x13')];if(_0x1959e8[_0x2608('0x2c')](_0x36658a)&&!_0x1959e8[_0x2608('0x4')](_0x36658a)&&_0x1959e8['checkChild'](_0x36658a,_0x2608('0x1c'))){if(!_0x4b0acf['consumable'][_0x2608('0xe')](_0x5ef903[_0x2608('0x24')],_0x30f171[_0x2608('0x19')]))return;const _0x419f50=_0x4b0acf[_0x2608('0x2f')]['createUIElement'](_0x2608('0x14'),{'class':_0x2608('0x30')}),_0x59598e=_0x4b0acf[_0x2608('0x7')]['toViewPosition'](_0x394ec9);_0x32a596&&_0x7af3be['activeMarkers'][_0x2608('0x5')](_0x5ef903[_0x2608('0x10')])&&_0x4b0acf['writer'][_0x2608('0x29')](_0x2608('0x26'),_0x419f50),_0x4b0acf['writer'][_0x2608('0x2a')](_0x59598e,_0x419f50),_0x4b0acf[_0x2608('0x7')][_0x2608('0x2e')](_0x419f50,_0x5ef903['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9cf9=['removeFormat','plugins','registerDescriptionCallback','commandName','TrackChangesEditing','_registerLegacyDescription','_descriptionFactory','locale','editor','_enableDefaultAttributesIntegration','get','type','*Remove\x20all\x20formatting*','format','afterInit'];(function(_0x453a48,_0x9cf9f){const _0x17ac83=function(_0x5bee40){while(--_0x5bee40){_0x453a48['push'](_0x453a48['shift']());}};_0x17ac83(++_0x9cf9f);}(_0x9cf9,0x187));const _0x17ac=function(_0x453a48,_0x9cf9f){_0x453a48=_0x453a48-0x0;let _0x17ac83=_0x9cf9[_0x453a48];return _0x17ac83;};import{Plugin as _0x599990}from'ckeditor5/src/core';import{getTranslation as _0xad0a0f}from'../utils/common-translations';export default class mt extends _0x599990{[_0x17ac('0xd')](){const _0x5cb797=this[_0x17ac('0x7')];if(!_0x5cb797[_0x17ac('0x0')]['has']('RemoveFormatEditing'))return;_0x5cb797[_0x17ac('0x0')][_0x17ac('0x9')](_0x17ac('0x3'))[_0x17ac('0x8')](_0x17ac('0xe')),this['_registerLegacyDescription']();}[_0x17ac('0x4')](){const _0x5ffb46=this['editor'];_0x5ffb46[_0x17ac('0x0')][_0x17ac('0x9')](_0x17ac('0x3'))[_0x17ac('0x5')][_0x17ac('0x1')](_0x487804=>{if('formatBlock'!=_0x487804[_0x17ac('0xa')]&&'formatInline'!=_0x487804[_0x17ac('0xa')])return;const {data:_0x387e3b}=_0x487804;return _0x387e3b&&'removeFormat'==_0x387e3b[_0x17ac('0x2')]?{'type':_0x17ac('0xc'),'content':_0xad0a0f(_0x5ffb46[_0x17ac('0x6')],_0x17ac('0xb'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdb81=['goToNextRestrictedEditingException','acceptSelectedSuggestions','has','acceptSuggestion','enableCommand','TrackChangesEditing','plugins','editor','goToPreviousRestrictedEditingException','discardSuggestion','get','RestrictedEditingModeEditing'];(function(_0x2f3abb,_0xdb81d7){const _0x33b06d=function(_0x1c8e38){while(--_0x1c8e38){_0x2f3abb['push'](_0x2f3abb['shift']());}};_0x33b06d(++_0xdb81d7);}(_0xdb81,0x12a));const _0x33b0=function(_0x2f3abb,_0xdb81d7){_0x2f3abb=_0x2f3abb-0x0;let _0x33b06d=_0xdb81[_0x2f3abb];return _0x33b06d;};import{Plugin as _0x14b63e}from'ckeditor5/src/core';export default class dt extends _0x14b63e{['afterInit'](){const _0x4197a6=this[_0x33b0('0x9')];if(!_0x4197a6[_0x33b0('0x8')][_0x33b0('0x4')](_0x33b0('0x1')))return;const _0x42b6ab=_0x4197a6[_0x33b0('0x8')][_0x33b0('0x0')](_0x33b0('0x7'));_0x42b6ab['enableCommand'](_0x33b0('0xa')),_0x42b6ab['enableCommand'](_0x33b0('0x2'));const _0x5b1b63=_0x4197a6[_0x33b0('0x8')][_0x33b0('0x0')]('RestrictedEditingModeEditing');_0x5b1b63[_0x33b0('0x6')]('trackChanges'),_0x5b1b63[_0x33b0('0x6')](_0x33b0('0x5')),_0x5b1b63[_0x33b0('0x6')](_0x33b0('0xb')),_0x5b1b63[_0x33b0('0x6')]('acceptAllSuggestions'),_0x5b1b63[_0x33b0('0x6')]('discardAllSuggestions'),_0x5b1b63[_0x33b0('0x6')](_0x33b0('0x3')),_0x5b1b63[_0x33b0('0x6')]('discardSelectedSuggestions');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xffc9=['consumable','markerRange','addMarker:suggestion:insertion','enableCommand','locale','markerName','editing','model','activeMarkers','getItems','mapper','ck-suggestion-marker-','get','element','downcastDispatcher','createPositionBefore','addMarker:suggestion:deletion','addClass','name','ELEMENT_LINE_BREAK','init','TrackChangesEditing','softBreak','high','test','requires','editor','deletion','addMarker:suggestion','data','span','registerElementLabel','shiftEnter','writer','merge','split','plugins','ck-suggestion-marker--active','_descriptionFactory','options','insert'];(function(_0x8fc79f,_0xffc918){const _0x4d4469=function(_0x29db60){while(--_0x29db60){_0x8fc79f['push'](_0x8fc79f['shift']());}};_0x4d4469(++_0xffc918);}(_0xffc9,0x89));const _0x4d44=function(_0x8fc79f,_0xffc918){_0x8fc79f=_0x8fc79f-0x0;let _0x4d4469=_0xffc9[_0x8fc79f];return _0x4d4469;};import{Plugin as _0x7cf9f5}from'ckeditor5/src/core';import{ShiftEnter as _0x5086c1}from'ckeditor5/src/enter';import{getTranslation as _0xf99eed}from'../utils/common-translations';export default class pt extends _0x7cf9f5{static get[_0x4d44('0xb')](){return[_0x5086c1];}[_0x4d44('0x6')](){const _0x4a19cf=this[_0x4d44('0xc')],_0x4f89eb=_0x4a19cf[_0x4d44('0x16')][_0x4d44('0x27')](_0x4d44('0x7'));_0x4f89eb[_0x4d44('0x1e')](_0x4d44('0x12')),_0x4a19cf['editing'][_0x4d44('0x0')]['on'](_0x4d44('0x1d'),re(_0x4a19cf),{'priority':_0x4d44('0x9')}),_0x4a19cf[_0x4d44('0x21')]['downcastDispatcher']['on'](_0x4d44('0x2'),re(_0x4a19cf),{'priority':_0x4d44('0x9')}),_0x4a19cf[_0x4d44('0xf')]['downcastDispatcher']['on'](_0x4d44('0xe'),(_0x2374e6,_0x472a9a,_0x3e6649)=>{_0x3e6649[_0x4d44('0x19')]['showSuggestionHighlights']&&re(_0x4a19cf,{'showActiveMarker':!0x1})(_0x2374e6,_0x472a9a,_0x3e6649);}),_0x4f89eb[_0x4d44('0x18')][_0x4d44('0x11')](_0x4d44('0x8'),_0x38fe8f=>_0xf99eed(_0x4a19cf[_0x4d44('0x1f')],_0x4d44('0x5'),_0x38fe8f));}}function re(_0x168a7f,{showActiveMarker:_0x470216=!0x0}={}){return(_0x5372d5,_0x2e7280,_0x1bf9b6)=>{const _0x560435=_0x168a7f['plugins'][_0x4d44('0x27')](_0x4d44('0x7'));if(!_0x1bf9b6[_0x4d44('0x1b')][_0x4d44('0xa')](_0x2e7280['markerRange'],_0x5372d5[_0x4d44('0x4')]))return;const _0x5de101=_0x168a7f[_0x4d44('0x22')];for(const _0x54f113 of _0x2e7280[_0x4d44('0x1c')][_0x4d44('0x24')]()){if(!_0x54f113['is'](_0x4d44('0x28'),_0x4d44('0x8')))continue;const _0x51a854=_0x4d44('0xd')==_0x2e7280['markerName'][_0x4d44('0x15')](':')[0x1]?_0x4d44('0x14'):_0x4d44('0x15'),_0xe49163=_0x1bf9b6[_0x4d44('0x13')]['createUIElement'](_0x4d44('0x10'),{'class':_0x4d44('0x26')+_0x51a854}),_0x11c7d4=_0x1bf9b6[_0x4d44('0x25')]['toViewPosition'](_0x5de101[_0x4d44('0x1')](_0x54f113));_0x470216&&_0x560435[_0x4d44('0x23')]['includes'](_0x2e7280[_0x4d44('0x20')])&&_0x1bf9b6[_0x4d44('0x13')][_0x4d44('0x3')](_0x4d44('0x17'),_0xe49163),_0x1bf9b6['writer'][_0x4d44('0x1a')](_0x11c7d4,_0xe49163),_0x1bf9b6[_0x4d44('0x25')]['bindElementToMarker'](_0xe49163,_0x2e7280[_0x4d44('0x20')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x407a=['FORMAT_RESTRICTED_DISABLED','plugins','get','restrictedEditingException','from','markInlineFormat','getRanges','afterInit','enableCommand','commands','FORMAT_RESTRICTED_ENABLED','type','document','selection','isCollapsed','has','forceValue','TrackChangesEditing','registerDescriptionCallback','_descriptionFactory','formatInline','locale','value','editor'];(function(_0x97580e,_0x407a86){const _0xa04e70=function(_0xa36d23){while(--_0xa36d23){_0x97580e['push'](_0x97580e['shift']());}};_0xa04e70(++_0x407a86);}(_0x407a,0x8b));const _0xa04e=function(_0x97580e,_0x407a86){_0x97580e=_0x97580e-0x0;let _0xa04e70=_0x407a[_0x97580e];return _0xa04e70;};import{Plugin as _0x4f81ee}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x366c26}from'./utils';import{getTranslation as _0x4cf8ce}from'../utils/common-translations';export default class kt extends _0x4f81ee{[_0xa04e('0xc')](){const _0x78cadb=this[_0xa04e('0x4')],_0x58ece0=_0x78cadb['model'],_0x273c68=_0x78cadb[_0xa04e('0x2')];if(!_0x78cadb[_0xa04e('0x6')][_0xa04e('0x14')]('StandardEditingModeEditing'))return;const _0x582ca7=_0x78cadb['plugins']['get'](_0xa04e('0x16')),_0x93379d=_0xa04e('0x8'),_0x1a9f13=_0x78cadb[_0xa04e('0xe')][_0xa04e('0x7')](_0x93379d);_0x582ca7[_0xa04e('0xd')](_0x93379d,(_0x4282e1,_0x36f2cc={})=>{const _0x5d8564=_0x58ece0[_0xa04e('0x11')][_0xa04e('0x12')];if(_0x5d8564[_0xa04e('0x13')])return void _0x4282e1(_0x36f2cc);const _0x4d7853=void 0x0!==_0x36f2cc[_0xa04e('0x15')]?_0x36f2cc[_0xa04e('0x15')]:!_0x1a9f13[_0xa04e('0x3')];_0x58ece0['change'](()=>{const _0x2bc8d0=Array[_0xa04e('0x9')](_0x5d8564[_0xa04e('0xb')]());for(const _0x1901af of _0x2bc8d0){const _0xcb9bad=_0x4d7853?[_0x1901af]:_0x366c26(_0x93379d,_0x1901af,_0x58ece0);for(const _0x49e7d7 of _0xcb9bad)_0x582ca7[_0xa04e('0xa')](_0x49e7d7,{'commandName':_0x93379d,'commandParams':[{'forceValue':_0x4d7853}]});}});}),_0x582ca7[_0xa04e('0x0')][_0xa04e('0x17')](_0x520480=>{if('formatBlock'!=_0x520480[_0xa04e('0x10')]&&_0xa04e('0x1')!=_0x520480[_0xa04e('0x10')])return;const {data:_0x30e9f3}=_0x520480;return _0x30e9f3&&_0x30e9f3['commandName']==_0x93379d?_0x30e9f3['commandParams'][0x0][_0xa04e('0x15')]?{'type':'format','content':_0x4cf8ce(_0x273c68,_0xa04e('0xf'))}:{'type':'format','content':_0x4cf8ce(_0x273c68,_0xa04e('0x5'))}:void 0x0;});}}
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
import { Plugin } from 'ckeditor5/src/core';
|
|
9
9
|
/**
|
|
10
10
|
* Provides track changes plugin integration for styles dropdown feature.
|
|
11
|
-
* @todo Remove "any" casts after plugin has been rewritten to TS.
|
|
12
11
|
*/
|
|
13
12
|
export default class TrackChangesStylesDropdown extends Plugin {
|
|
14
13
|
/**
|