@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231114.0 → 0.0.0-nightly-20231116.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 _0x4688=['imageStylePostApply','from','commands','value','markInlineFormat','imageCaption','hasSuggestion','afterInit','filter','format','getContainedElement','*Format:*\x20%0','_registerLegacyDescription','getFirstRange','isIntersecting','end','editor','name','commandName','get','suggestion','differ','FORMAT_SIDE_IMAGE','imageStylePreApply','getSuggestions','change','isEqual','commandParams','plugins','isBefore','markBlockFormat','getChangedMarkers','type','imageTypeBlock','getSuggestion','formatInline','setImageNaturalSizeAttributes','forEach','findIndex','getClosestSelectedImageElement','_suggestionFactory','_descriptionFactory','nodeAfter','subType','accept','refresh','document','join','formatBlock','isBlockImage','start','newRange','length','shouldConvertImageType','chain','getSuggestionCallback','_splitMarkerName','TrackChangesEditing','model','registerPostFixer','convertInlineImageToBlock','discardSuggestion','createRangeOn','isInlineImage','title','author','ImageStyleEditing','_findSuggestions','registerDescriptionCallback','isInContent','registerCustomCallback','imageStyle','insertion','normalizedStyles','selection','commandReversedParams','discard','next'];(function(_0x1f4154,_0x468810){const _0x1b4e89=function(_0xd2898b){while(--_0xd2898b){_0x1f4154['push'](_0x1f4154['shift']());}};_0x1b4e89(++_0x468810);}(_0x4688,0xe7));const _0x1b4e=function(_0x1f4154,_0x468810){_0x1f4154=_0x1f4154-0x0;let _0x1b4e89=_0x4688[_0x1f4154];return _0x1b4e89;};import{Plugin as _0x137f5f}from'ckeditor5/src/core';import{uid as _0x4a24ec}from'ckeditor5/src/utils';import{getTranslation as _0x1ee67d}from'../utils/common-translations';export default class nt extends _0x137f5f{[_0x1b4e('0xa')](){const _0xe2555f=this[_0x1b4e('0x13')];if(!_0xe2555f[_0x1b4e('0x1f')]['has'](_0x1b4e('0x45')))return;const _0x5389cf=_0xe2555f[_0x1b4e('0x1f')][_0x1b4e('0x16')]('TrackChangesEditing'),_0x52d2e8=_0xe2555f['plugins'][_0x1b4e('0x16')]('ImageUtils'),_0x17a25f={};_0x5389cf['enableCommand']('imageStyle',(_0x58f5a0,_0x2b74fd)=>{const _0x43563a=_0xe2555f[_0x1b4e('0x1f')]['get']('Users')['me'],_0x46f585=_0xe2555f[_0x1b4e('0x5')]['get'](_0x1b4e('0x4a'));let _0x13df4f=_0x52d2e8[_0x1b4e('0x2a')](_0xe2555f[_0x1b4e('0x3d')][_0x1b4e('0x31')][_0x1b4e('0x4d')]),_0x522e9e=_0xe2555f[_0x1b4e('0x3d')][_0x1b4e('0x41')](_0x13df4f),_0x4d60a1=_0x46f585[_0x1b4e('0x6')];if(_0x4d60a1==_0x2b74fd[_0x1b4e('0x6')])return;const _0xb86b38={'commandName':_0x1b4e('0x4a'),'commandParams':[_0x2b74fd],'formatGroupId':_0x4a24ec()};_0xe2555f['model'][_0x1b4e('0x1c')](()=>{if(_0x5389cf[_0x1b4e('0x1b')]()['filter'](_0x571ac0=>_0x571ac0[_0x1b4e('0x48')]&&_0x43563a==_0x571ac0[_0x1b4e('0x44')]&&('formatBlock'==_0x571ac0[_0x1b4e('0x23')]||_0x1b4e('0x26')==_0x571ac0[_0x1b4e('0x23')])&&('imageStylePreApply'==_0x571ac0[_0x1b4e('0x2e')]||_0x1b4e('0x3')==_0x571ac0[_0x1b4e('0x2e')])&&_0x571ac0[_0x1b4e('0x10')]()[_0x1b4e('0x1d')](_0x522e9e))[_0x1b4e('0x28')](_0x1711d7=>_0x5389cf[_0x1b4e('0x40')](_0x1711d7['head'])),_0x13df4f=_0x52d2e8[_0x1b4e('0x2a')](_0xe2555f[_0x1b4e('0x3d')][_0x1b4e('0x31')]['selection']),_0x522e9e=_0xe2555f['model']['createRangeOn'](_0x13df4f),_0x46f585['refresh'](),_0xe2555f['commands'][_0x1b4e('0x16')]('imageTypeInline')[_0x1b4e('0x30')](),_0xe2555f[_0x1b4e('0x5')][_0x1b4e('0x16')](_0x1b4e('0x24'))[_0x1b4e('0x30')](),_0x4d60a1=_0x46f585[_0x1b4e('0x6')],_0x4d60a1!=_0x2b74fd[_0x1b4e('0x6')])return _0x52d2e8[_0x1b4e('0x42')](_0x13df4f)&&_0x46f585[_0x1b4e('0x38')](_0x2b74fd['value'],_0x13df4f)?(_0x58f5a0({..._0x2b74fd,'setImageSizes':!0x1}),_0x13df4f=_0x52d2e8['getClosestSelectedImageElement'](_0xe2555f[_0x1b4e('0x3d')][_0x1b4e('0x31')][_0x1b4e('0x4d')]),void _0x5389cf[_0x1b4e('0x21')](_0x13df4f,{..._0xb86b38,'commandReversedParams':[{'value':_0x4d60a1||null,'setImageSizes':!0x1}]},[],_0x1b4e('0x1a'))):void(_0x52d2e8['isBlockImage'](_0x13df4f)?_0x5389cf['markBlockFormat'](_0x13df4f,_0xb86b38,[],_0x1b4e('0x3')):_0x5389cf[_0x1b4e('0x7')](_0x522e9e,_0xb86b38,_0x1b4e('0x3')));});});for(const _0x1d5c82 of _0xe2555f[_0x1b4e('0x1f')][_0x1b4e('0x16')]('ImageStyleEditing')[_0x1b4e('0x4c')])_0x17a25f[_0x1d5c82[_0x1b4e('0x14')]]=_0x1d5c82[_0x1b4e('0x43')]['toLowerCase']();_0x5389cf['_suggestionFactory'][_0x1b4e('0x49')](_0x1b4e('0x33'),_0x1b4e('0x1a'),'join',()=>!0x1),_0x5389cf[_0x1b4e('0x2b')][_0x1b4e('0x49')]('formatBlock',_0x1b4e('0x3'),_0x1b4e('0x32'),()=>!0x1),_0x5389cf[_0x1b4e('0x2b')]['registerCustomCallback'](_0x1b4e('0x26'),'imageStylePostApply','join',()=>!0x1),_0x5389cf[_0x1b4e('0x2b')]['registerCustomCallback'](_0x1b4e('0x33'),_0x1b4e('0x1a'),_0x1b4e('0x2f'),([_0x26264b])=>{_0x52d2e8[_0x1b4e('0x27')](_0x26264b['getContainedElement']());}),_0x5389cf[_0x1b4e('0x2b')][_0x1b4e('0x49')](_0x1b4e('0x33'),_0x1b4e('0x1a'),_0x1b4e('0x1'),(_0x1b9201,_0x2e7170)=>{_0x5389cf[_0x1b4e('0x2b')][_0x1b4e('0x3a')](_0x1b4e('0x33'),'',_0x1b4e('0x2f'))(_0x1b9201,{'commandName':_0x2e7170[_0x1b4e('0x15')],'commandParams':_0x2e7170[_0x1b4e('0x0')]});}),_0x5389cf['_suggestionFactory'][_0x1b4e('0x49')](_0x1b4e('0x33'),_0x1b4e('0x1a'),_0x1b4e('0x39'),function(_0x3c1949,_0x52471b){if(_0x47a203(_0x3c1949,_0x52471b))return[_0x3c1949,_0x52471b];if(_0x47a203(_0x52471b,_0x3c1949))return[_0x52471b,_0x3c1949];return null;});const _0x157bdc=[{'type':_0x1b4e('0x33'),'subType':'imageStylePreApply'},{'type':_0x1b4e('0x4b'),'subType':'imageCaption'},{'type':_0x1b4e('0x33'),'subType':_0x1b4e('0x3f')},{'type':_0x1b4e('0x4b'),'subType':_0x1b4e('0x3f')}];function _0x47a203(_0x2e5b9b,_0x2017cf){const _0x4ec575=_0x157bdc[_0x1b4e('0x29')](({type:_0x5e3d71,subType:_0x298be1})=>_0x2e5b9b[_0x1b4e('0x23')]==_0x5e3d71&&_0x2e5b9b[_0x1b4e('0x2e')]==_0x298be1),_0x12b87b=_0x157bdc[_0x1b4e('0x29')](({type:_0x2d1032,subType:_0x63810})=>_0x2017cf[_0x1b4e('0x23')]==_0x2d1032&&_0x2017cf[_0x1b4e('0x2e')]==_0x63810);if(_0x4ec575<0x0||_0x12b87b<0x0)return!0x1;const _0x104414=_0x2e5b9b[_0x1b4e('0x10')](),_0x19f7ea=_0x2017cf[_0x1b4e('0x10')]();if((0x0==_0x4ec575||0x1==_0x4ec575)&&0x2==_0x12b87b&&_0x104414[_0x1b4e('0x11')](_0x19f7ea))return!0x0;if(0x2==_0x4ec575&&0x3==_0x12b87b){const _0x33f6d9=_0x5389cf[_0x1b4e('0x46')](_0x104414,'insertion')[_0x1b4e('0xb')](({suggestion:_0x4cf263,meta:_0xf0cb4f})=>_0xf0cb4f['isOwn']&&_0x1b4e('0x3f')==_0x4cf263[_0x1b4e('0x2e')]);if(_0x33f6d9[_0x1b4e('0x37')]>0x1&&_0x19f7ea['end']['isEqual'](_0x104414[_0x1b4e('0x35')]))return!0x0;if(0x1==_0x33f6d9[_0x1b4e('0x37')]&&(_0x104414['start']['isEqual'](_0x19f7ea[_0x1b4e('0x12')])||_0x104414['end'][_0x1b4e('0x1d')](_0x19f7ea[_0x1b4e('0x35')])))return!0x0;}if(0x3==_0x4ec575&&0x3==_0x12b87b&&_0x104414['start'][_0x1b4e('0x20')](_0x19f7ea[_0x1b4e('0x35')])){const _0x3f706c=_0x104414[_0x1b4e('0x12')][_0x1b4e('0x2d')],_0x2c8fa0=_0x19f7ea[_0x1b4e('0x35')]['nodeBefore'];return _0x52d2e8['isBlockImage'](_0x3f706c)&&_0x3f706c===_0x2c8fa0;}return!0x1;}_0xe2555f[_0x1b4e('0x3d')][_0x1b4e('0x31')][_0x1b4e('0x3e')](()=>{let _0x2e589b=!0x1;const _0x9f5876=Array[_0x1b4e('0x4')](_0xe2555f[_0x1b4e('0x3d')]['document'][_0x1b4e('0x18')][_0x1b4e('0x22')]());for(const {name:_0x220546,data:_0x235d53}of _0x9f5876){const {group:_0x11065b,type:_0x52d6e5,subType:_0x3fa838,id:_0xab89d6}=_0x5389cf[_0x1b4e('0x3b')](_0x220546);if(_0x1b4e('0x17')==_0x11065b&&_0x5389cf[_0x1b4e('0x9')](_0xab89d6)){if('formatBlock'==_0x52d6e5&&(_0x1b4e('0x1a')==_0x3fa838||_0x1b4e('0x3')==_0x3fa838)){const _0x563a22=_0x5389cf[_0x1b4e('0x25')](_0xab89d6);if(_0x235d53[_0x1b4e('0x36')]){const _0xce50a6=_0x563a22[_0x1b4e('0x10')]()[_0x1b4e('0xd')]();if(_0x52d2e8[_0x1b4e('0x34')](_0xce50a6))continue;_0x5389cf[_0x1b4e('0x40')](_0x563a22),_0x2e589b=!0x0;}}if(_0x1b4e('0x4b')==_0x52d6e5&&_0x1b4e('0x8')==_0x3fa838&&!_0x235d53[_0x1b4e('0x36')]){const _0x465f86=_0x5389cf['getSuggestion'](_0xab89d6);_0x465f86['next']&&_0x465f86[_0x1b4e('0x2')]['isInContent']&&(_0x5389cf[_0x1b4e('0x40')](_0x465f86[_0x1b4e('0x2')]),_0x2e589b=!0x0);}}}return _0x2e589b;}),this[_0x1b4e('0xf')](_0x17a25f);}[_0x1b4e('0xf')](_0x517993){const _0x228579=this[_0x1b4e('0x13')],_0x178989=_0x228579['locale'];_0x228579['plugins'][_0x1b4e('0x16')](_0x1b4e('0x3c'))[_0x1b4e('0x2c')][_0x1b4e('0x47')](_0x20c544=>{if(_0x1b4e('0x33')!=_0x20c544['type']&&_0x1b4e('0x26')!=_0x20c544[_0x1b4e('0x23')])return;const {data:_0x461f3f}=_0x20c544;if(!_0x461f3f||_0x1b4e('0x4a')!=_0x461f3f[_0x1b4e('0x15')])return;const _0x25e97f=_0x461f3f[_0x1b4e('0x1e')][0x0][_0x1b4e('0x6')];return _0x271277('side'===_0x25e97f?_0x1ee67d(_0x178989,_0x1b4e('0x19')):_0x517993[_0x25e97f]||_0x25e97f);function _0x271277(_0x2ec279){return{'type':_0x1b4e('0xc'),'content':_0x1ee67d(_0x178989,_0x1b4e('0xe'),_0x2ec279)};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f2d=['bind','dataInsert','commands','afterInit','track_changes','_trackChangesValueDuringImport','execute','_handleImportedData','plugins','TrackChangesEditing','importWord','editor','Users','_trackChangesExecuted','collaboration_features','_setSuggestionData','enableCommand','lowest','trackChanges','listenTo','get','forEach'];(function(_0x1cbb91,_0x4f2d8e){const _0x401114=function(_0x16e773){while(--_0x16e773){_0x1cbb91['push'](_0x1cbb91['shift']());}};_0x401114(++_0x4f2d8e);}(_0x4f2d,0xdc));const _0x4011=function(_0x1cbb91,_0x4f2d8e){_0x1cbb91=_0x1cbb91-0x0;let _0x401114=_0x4f2d[_0x1cbb91];return _0x401114;};import{Plugin as _0x1de0e5}from'ckeditor5/src/core';export default class st extends _0x1de0e5{constructor(_0x55bd86){super(_0x55bd86),this['_trackChangesValueDuringImport']=!0x1,this[_0x4011('0xd')]=!0x1;}[_0x4011('0x3')](){const _0x5f275e=this[_0x4011('0xb')],_0x97c568=_0x5f275e[_0x4011('0x2')]['get']('importWord'),_0x3fc3f8=_0x5f275e[_0x4011('0x2')][_0x4011('0x14')]('trackChanges');_0x97c568&&(_0x97c568['on']('execute',(_0x6032c5,[,_0x18e926])=>{this[_0x4011('0x5')]=_0x3fc3f8['value'],_0x18e926[_0x4011('0xe')][_0x4011('0x4')]=!this[_0x4011('0x5')];},{'priority':'high'}),this[_0x4011('0x13')](_0x97c568,_0x4011('0x1'),this[_0x4011('0x7')][_0x4011('0x0')](this)),this[_0x4011('0x13')](_0x97c568,_0x4011('0x1'),()=>{this['_trackChangesExecuted']&&(_0x3fc3f8[_0x4011('0x6')](),this[_0x4011('0xd')]=!0x1);},{'priority':_0x4011('0x11')}),_0x5f275e[_0x4011('0x8')][_0x4011('0x14')](_0x4011('0x9'))[_0x4011('0x10')]('importWord'));}[_0x4011('0x7')](_0xe232b1,_0x1879ac){const {suggestions:_0x30b5a8}=_0x1879ac,_0x4b9d64=this[_0x4011('0xb')]['commands'][_0x4011('0x14')](_0x4011('0x12')),_0x191f56=_0x4b9d64['value'];this[_0x4011('0x5')]!==_0x191f56&&(_0x4b9d64[_0x4011('0x6')](),this[_0x4011('0xd')]=!0x0),_0x30b5a8&&_0x30b5a8[_0x4011('0x15')](({id:_0x4e3fae,type:_0x1b075d,author:_0x2e7896,created_at:_0x4ba010})=>{const _0x26aea6={'id':_0x4e3fae,'type':_0x1b075d,'authorId':this[_0x4011('0xb')]['plugins'][_0x4011('0x14')](_0x4011('0xc'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2e7896,'createdAt':_0x4ba010?new Date(_0x4ba010):new Date(),'source':_0x4011('0xa')}}};this[_0x4011('0xb')][_0x4011('0x8')]['get'](_0x4011('0x9'))[_0x4011('0xf')](_0x26aea6);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a44=['registerDescriptionCallback','enableCommand','commandName','outdent','type','getItems','indent','has','indentBlock','registerAttributeLabel','_registerLegacyDescription','IndentEditing','outdentBlock','TrackChangesEditing','locale','afterInit','*Indent:*\x20%0','_descriptionFactory','_registerBlockAttribute','plugins','blockIndent','format','get','*Outdent:*\x20%0','_enableDefaultAttributesIntegration','editor'];(function(_0x420d4d,_0x3a449e){const _0x2cec80=function(_0x31dcbd){while(--_0x31dcbd){_0x420d4d['push'](_0x420d4d['shift']());}};_0x2cec80(++_0x3a449e);}(_0x3a44,0x179));const _0x2cec=function(_0x420d4d,_0x3a449e){_0x420d4d=_0x420d4d-0x0;let _0x2cec80=_0x3a44[_0x420d4d];return _0x2cec80;};import{Plugin as _0x2ad15b}from'ckeditor5/src/core';import{getTranslation as _0x51cb5e}from'../utils/common-translations';export default class ot extends _0x2ad15b{[_0x2cec('0x2')](){const _0x29dea9=this[_0x2cec('0xc')],_0x3ef353=_0x29dea9[_0x2cec('0x6')][_0x2cec('0x9')](_0x2cec('0x0'));if(_0x29dea9[_0x2cec('0x6')][_0x2cec('0x14')](_0x2cec('0x18'))&&(_0x3ef353[_0x2cec('0xe')](_0x2cec('0x13')),_0x3ef353['enableCommand'](_0x2cec('0x10'))),_0x29dea9[_0x2cec('0x6')]['has']('IndentBlock'))for(const _0x3e103d of[_0x2cec('0x15'),_0x2cec('0x19')])_0x3ef353[_0x2cec('0xb')](_0x3e103d);const _0x350465=_0x29dea9[_0x2cec('0x1')];_0x3ef353[_0x2cec('0x5')](_0x2cec('0x7')),_0x3ef353[_0x2cec('0x4')][_0x2cec('0x16')](_0x2cec('0x7'),_0x51cb5e(_0x350465,'FORMAT_INDENT')),this[_0x2cec('0x17')]();}[_0x2cec('0x17')](){const _0x32c699=this[_0x2cec('0xc')],_0x137513=_0x32c699['locale'],_0x1c8e28=_0x32c699['plugins'][_0x2cec('0x9')](_0x2cec('0x0'));_0x1c8e28[_0x2cec('0x4')][_0x2cec('0xd')](_0x356f78=>{if('formatBlock'!=_0x356f78[_0x2cec('0x11')])return;const {data:_0x42ff1b}=_0x356f78;if(!_0x42ff1b)return;if(_0x2cec('0x15')!=_0x42ff1b[_0x2cec('0xf')]&&_0x2cec('0x19')!=_0x42ff1b[_0x2cec('0xf')])return;const _0x291543=_0x356f78[_0x2cec('0x12')]()[0x0],_0x2ee064=_0x1c8e28[_0x2cec('0x4')]['getItemLabel'](_0x291543);return'indentBlock'==_0x42ff1b[_0x2cec('0xf')]?{'type':_0x2cec('0x8'),'content':_0x51cb5e(_0x137513,_0x2cec('0x3'),_0x2ee064)}:_0x2cec('0x19')==_0x42ff1b[_0x2cec('0xf')]?{'type':'format','content':_0x51cb5e(_0x137513,_0x2cec('0xa'),_0x2ee064)}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3e0b=['plugins','enableCommand','editor'];(function(_0x4ae716,_0x3e0b07){var _0x3c0e42=function(_0x31167e){while(--_0x31167e){_0x4ae716['push'](_0x4ae716['shift']());}};_0x3c0e42(++_0x3e0b07);}(_0x3e0b,0x77));var _0x3c0e=function(_0x4ae716,_0x3e0b07){_0x4ae716=_0x4ae716-0x0;var _0x3c0e42=_0x3e0b[_0x4ae716];return _0x3c0e42;};import{Plugin as _0x3e17d4}from'ckeditor5/src/core';import{Input as _0x1eee2e}from'ckeditor5/src/typing';export default class rt extends _0x3e17d4{static get['requires'](){return[_0x1eee2e];}['init'](){this[_0x3c0e('0x0')][_0x3c0e('0x1')]['get']('TrackChangesEditing')[_0x3c0e('0x2')]('input');}}
|
package/src/integrations/link.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23a3=['link','map','_enableDefaultAttributesIntegration','key','formatInline','commands','registerDescriptionCallback','unlink','commandName','has','linkHref','format','attribute','link\x20(','_registerLegacyDescription','plugins','get','manualDecorators','locale','*Remove\x20link*','newValue','_descriptionFactory','TrackChangesEditing','toLowerCase','editor','*Set\x20link:*\x20%0'];(function(_0x16f3cb,_0x23a3e8){const _0x43aa68=function(_0x377379){while(--_0x377379){_0x16f3cb['push'](_0x16f3cb['shift']());}};_0x43aa68(++_0x23a3e8);}(_0x23a3,0xc4));const _0x43aa=function(_0x16f3cb,_0x23a3e8){_0x16f3cb=_0x16f3cb-0x0;let _0x43aa68=_0x23a3[_0x16f3cb];return _0x43aa68;};import{Plugin as _0xfccdff}from'ckeditor5/src/core';import{getTranslation as _0x55e3ec}from'../utils/common-translations';export default class at extends _0xfccdff{['afterInit'](){const _0x133021=this['editor'];if(!_0x133021[_0x43aa('0x1')][_0x43aa('0x15')]('LinkEditing'))return;const _0x1103f5=_0x133021[_0x43aa('0x1')]['get'](_0x43aa('0x8')),_0x173f95=_0x133021[_0x43aa('0x11')][_0x43aa('0x2')](_0x43aa('0xc'));_0x1103f5['_enableDefaultAttributesIntegration'](_0x43aa('0xc'),[_0x43aa('0x16'),..._0x173f95[_0x43aa('0x3')][_0x43aa('0xd')](_0x4e4758=>_0x4e4758['id'])]),_0x1103f5[_0x43aa('0xe')]('unlink');for(const _0x11b8cd of _0x173f95[_0x43aa('0x3')])_0x1103f5[_0x43aa('0x7')]['registerAttributeLabel'](_0x11b8cd['id'],_0x43aa('0x19')+_0x11b8cd['label'][_0x43aa('0x9')]()+')');_0x1103f5[_0x43aa('0x7')][_0x43aa('0x12')](_0x12902f=>{if(_0x43aa('0x18')!=_0x12902f['type'])return;const {data:_0x3ff2b1}=_0x12902f;if(!_0x3ff2b1||_0x43aa('0x16')!=_0x3ff2b1[_0x43aa('0xf')])return;const _0x406055=_0x3ff2b1[_0x43aa('0x6')],_0x524e54=_0x133021[_0x43aa('0x4')];return{'type':'format','content':_0x406055?_0x55e3ec(_0x524e54,'*Set\x20link:*\x20%0','\x22'+_0x406055+'\x22'):_0x55e3ec(_0x524e54,_0x43aa('0x5'))};}),this[_0x43aa('0x0')]();}[_0x43aa('0x0')](){const _0x219a58=this[_0x43aa('0xa')],_0xc4d79c=_0x219a58[_0x43aa('0x4')];_0x219a58[_0x43aa('0x1')]['get'](_0x43aa('0x8'))['_descriptionFactory']['registerDescriptionCallback'](_0x29533a=>{if(_0x43aa('0x10')!=_0x29533a['type'])return;const {data:_0x25a026}=_0x29533a;if(_0x25a026){if('link'==_0x25a026['commandName']){const _0x5c20b8=_0x25a026['commandParams'][0x0];return{'type':'format','content':_0x55e3ec(_0xc4d79c,_0x43aa('0xb'),'\x22'+_0x5c20b8+'\x22')};}return _0x43aa('0x13')==_0x25a026[_0x43aa('0x14')]?{'type':_0x43aa('0x17'),'content':_0x55e3ec(_0xc4d79c,_0x43aa('0x5'))}:void 0x0;}});}}
|
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x260d=['nextSibling','locale','commands','value','numbered','commandName','afterInit','element','model','*Outdent:*\x20%0','add','_descriptionFactory','bulleted','List','format','checkChild','todoListChecked','getSelectedBlocks','parent','enableCommand','ELEMENT_TODO_LIST','slice','numberedList','type','ListEditing','outdentList','getAttribute','ELEMENT_LIST_ITEM','length','replace','document','isObject','name','*Indent:*\x20%0','end','*Uncheck\x20item*','formatBlock','from','previousSibling','bulletedList','registerElementLabel','change','indentList','*Check\x20item*','createPositionAt','TodoListEditing','todoList','listIndent','editor','TrackChangesEditing','markBlockFormat','createRange','get','blockName','checkTodoList','plugins','schema','formatInline','filter','listItem','forceValue','todo','selection','ELEMENT_BULLETED_LIST'];(function(_0x508fe9,_0x260d51){const _0x4d6cfb=function(_0x615bd8){while(--_0x615bd8){_0x508fe9['push'](_0x508fe9['shift']());}};_0x4d6cfb(++_0x260d51);}(_0x260d,0x1b6));const _0x4d6c=function(_0x508fe9,_0x260d51){_0x508fe9=_0x508fe9-0x0;let _0x4d6cfb=_0x260d[_0x508fe9];return _0x4d6cfb;};import{Plugin as _0x327d8a}from'ckeditor5/src/core';import{getTranslation as _0x4eb4e1}from'../utils/common-translations';export default class ct extends _0x327d8a{[_0x4d6c('0x10')](){const _0x16d2a4=this[_0x4d6c('0x3a')],_0x5f4d45=_0x16d2a4[_0x4d6c('0xb')];if(!_0x16d2a4['plugins']['has'](_0x4d6c('0x22')))return;const _0x5605cf=_0x16d2a4[_0x4d6c('0x1')][_0x4d6c('0x3e')](_0x4d6c('0x3b')),_0x227605=_0x16d2a4[_0x4d6c('0x1')]['has'](_0x4d6c('0x37'));function _0xf5cb32(_0x14b6cf){return()=>{const _0x3320bd=_0x16d2a4[_0x4d6c('0x12')]['document'][_0x4d6c('0x8')],_0x5ef6bc=_0x16d2a4[_0x4d6c('0xc')][_0x4d6c('0x3e')](_0x14b6cf);if(_0x5ef6bc[_0x4d6c('0xd')])return void _0x16d2a4['execute']('paragraph',{});const _0x506664=_0x14b6cf[_0x4d6c('0x1f')](0x0,-0x4),_0x56592c=function(_0x33b406,_0x446a1e,_0x51b15b){let _0x7cb433=Array['from'](_0x33b406)[_0x4d6c('0x4')](_0x41e0fe=>function(_0x2698e9,_0x216892){return _0x216892[_0x4d6c('0x19')](_0x2698e9[_0x4d6c('0x1c')],_0x4d6c('0x5'))&&!_0x216892[_0x4d6c('0x29')](_0x2698e9);}(_0x41e0fe,_0x51b15b));_0x7cb433=_0x7cb433['filter'](_0x2f5ee2=>!_0x2f5ee2['is']('element',_0x4d6c('0x5'))||_0x2f5ee2['getAttribute']('listType')!=_0x446a1e);const _0x561fd1=new Set();for(const _0x533575 of _0x7cb433)_0x533575['is'](_0x4d6c('0x11'),_0x4d6c('0x5'))?_0x561fd1[_0x4d6c('0x14')](ne(_0x533575)):_0x561fd1[_0x4d6c('0x14')](_0x533575);return Array[_0x4d6c('0x2f')](_0x561fd1);}(_0x3320bd[_0x4d6c('0x1b')](),_0x506664,_0x16d2a4['model'][_0x4d6c('0x2')]);_0x16d2a4[_0x4d6c('0x12')][_0x4d6c('0x33')](()=>{for(const _0x312edc of _0x56592c)_0x5605cf[_0x4d6c('0x3c')](_0x312edc,{'commandName':_0x14b6cf,'commandParams':[{'forceValue':!_0x5ef6bc[_0x4d6c('0xd')]}],'formatGroupId':_0x4d6c('0x3f')},oe(_0x312edc));});};}function _0x3e3844(_0x1bc5df){return()=>{const _0x48291a=function(_0xa37928){let _0x2f1787=Array[_0x4d6c('0x2f')](_0xa37928);const _0x1fe65d=_0x2f1787['findIndex'](_0xa8ac0b=>_0x4d6c('0x5')!=_0xa8ac0b[_0x4d6c('0x2a')]);return _0x1fe65d>-0x1&&(_0x2f1787=_0x2f1787[_0x4d6c('0x1f')](0x0,_0x1fe65d)),_0x2f1787;}(_0x16d2a4[_0x4d6c('0x12')][_0x4d6c('0x28')][_0x4d6c('0x8')]['getSelectedBlocks']()),_0x380a50=_0x16d2a4[_0x4d6c('0x12')][_0x4d6c('0x3d')](_0x16d2a4[_0x4d6c('0x12')][_0x4d6c('0x36')](_0x48291a[0x0],'before'),_0x16d2a4[_0x4d6c('0x12')][_0x4d6c('0x36')](_0x48291a[_0x48291a[_0x4d6c('0x26')]-0x1],_0x4d6c('0x2c')));_0x16d2a4[_0x4d6c('0x12')]['change'](()=>{_0x5605cf[_0x4d6c('0x3c')](_0x380a50,{'commandName':_0x1bc5df,'commandParams':[],'formatGroupId':_0x4d6c('0x39')},function(_0x991aec){const _0x32933d=new Set();for(const _0x4b79a0 of _0x991aec){let _0x234131=_0x4b79a0['nextSibling'];for(;_0x234131&&_0x234131['getAttribute'](_0x4d6c('0x39'))>_0x4b79a0['getAttribute'](_0x4d6c('0x39'));)_0x32933d[_0x4d6c('0x14')](_0x234131),_0x234131=_0x234131[_0x4d6c('0xa')];}return Array[_0x4d6c('0x2f')](_0x32933d);}(_0x48291a));});};}_0x5605cf[_0x4d6c('0x1d')](_0x4d6c('0x20'),_0xf5cb32(_0x4d6c('0x20'))),_0x5605cf[_0x4d6c('0x1d')](_0x4d6c('0x31'),_0xf5cb32(_0x4d6c('0x31'))),_0x227605&&_0x5605cf['enableCommand'](_0x4d6c('0x38'),_0xf5cb32(_0x4d6c('0x38'))),_0x5605cf[_0x4d6c('0x1d')](_0x4d6c('0x34'),_0x3e3844(_0x4d6c('0x34'))),_0x5605cf['enableCommand'](_0x4d6c('0x23'),_0x3e3844('outdentList')),_0x227605&&_0x5605cf['enableCommand'](_0x4d6c('0x0'),()=>{const _0x2c7ef8=_0x16d2a4[_0x4d6c('0xc')][_0x4d6c('0x3e')](_0x4d6c('0x0')),_0x4675d8=Array[_0x4d6c('0x2f')](_0x2c7ef8['_selectedElements']);_0x4675d8[_0x4d6c('0x4')](_0xd6505e=>_0xd6505e[_0x4d6c('0x24')](_0x4d6c('0x1a'))!=_0x2c7ef8[_0x4d6c('0xd')]),_0x16d2a4['model']['change'](()=>{for(const _0x28829a of _0x4675d8)_0x5605cf['markBlockFormat'](_0x28829a,{'commandName':_0x4d6c('0x0'),'commandParams':[{'forceValue':!_0x2c7ef8[_0x4d6c('0xd')]}]});});}),_0x5605cf[_0x4d6c('0x15')][_0x4d6c('0x32')](_0x4d6c('0x5'),_0x104d16=>_0x4eb4e1(_0x5f4d45,_0x4d6c('0x25'),_0x104d16)),_0x5605cf[_0x4d6c('0x15')]['registerDescriptionCallback'](_0x597eee=>{if(_0x4d6c('0x2e')!=_0x597eee[_0x4d6c('0x21')]&&_0x4d6c('0x3')!=_0x597eee['type'])return;const {data:_0x3e35c0}=_0x597eee;if(_0x3e35c0){if(_0x4d6c('0x20')==_0x3e35c0[_0x4d6c('0xf')]||_0x4d6c('0x31')==_0x3e35c0[_0x4d6c('0xf')]||_0x4d6c('0x38')==_0x3e35c0[_0x4d6c('0xf')])switch(_0x3e35c0[_0x4d6c('0xf')][_0x4d6c('0x27')](_0x4d6c('0x17'),'')){case _0x4d6c('0x16'):return _0x25a2f6(_0x4eb4e1(_0x5f4d45,_0x4d6c('0x9')));case _0x4d6c('0xe'):return _0x25a2f6(_0x4eb4e1(_0x5f4d45,'ELEMENT_NUMBERED_LIST'));case _0x4d6c('0x7'):return _0x25a2f6(_0x4eb4e1(_0x5f4d45,_0x4d6c('0x1e')));}if(_0x4d6c('0x34')==_0x3e35c0[_0x4d6c('0xf')])return{'type':_0x4d6c('0x18'),'content':_0x4eb4e1(_0x5f4d45,_0x4d6c('0x2b'),_0x4eb4e1(_0x5f4d45,_0x4d6c('0x25')))};if(_0x4d6c('0x23')==_0x3e35c0[_0x4d6c('0xf')])return{'type':_0x4d6c('0x18'),'content':_0x4eb4e1(_0x5f4d45,_0x4d6c('0x13'),_0x4eb4e1(_0x5f4d45,_0x4d6c('0x25')))};if('checkTodoList'==_0x3e35c0[_0x4d6c('0xf')])return _0x3e35c0['commandParams'][0x0][_0x4d6c('0x6')]?{'type':_0x4d6c('0x18'),'content':_0x4eb4e1(_0x5f4d45,_0x4d6c('0x35'))}:{'type':_0x4d6c('0x18'),'content':_0x4eb4e1(_0x5f4d45,_0x4d6c('0x2d'))};}function _0x25a2f6(_0x353d05){return{'type':'format','content':_0x4eb4e1(_0x5f4d45,'*Change\x20to:*\x20%0',_0x353d05)};}});}}function ne(_0x324872){const _0x595d99=_0x324872[_0x4d6c('0x24')]('listIndent');if(0x0==_0x595d99)return _0x324872;let _0x2b15fd=_0x324872;for(;_0x324872['previousSibling']&&_0x324872[_0x4d6c('0x30')]['is'](_0x4d6c('0x11'),_0x4d6c('0x5'));){const _0x3bdffd=_0x324872[_0x4d6c('0x30')][_0x4d6c('0x24')](_0x4d6c('0x39'));if(_0x3bdffd==_0x595d99)_0x2b15fd=_0x324872['previousSibling'];else{if(_0x3bdffd<_0x595d99)break;}_0x324872=_0x324872[_0x4d6c('0x30')];}return _0x2b15fd;}function oe(_0x34d3a8){const _0x30d0aa=[];if(_0x34d3a8['is'](_0x4d6c('0x11'),_0x4d6c('0x5'))&&_0x34d3a8[_0x4d6c('0x24')](_0x4d6c('0x39'))>0x0){let _0x2c7fec=_0x34d3a8['nextSibling'];for(;_0x2c7fec&&_0x4d6c('0x5')==_0x2c7fec['name']&&_0x2c7fec[_0x4d6c('0x24')](_0x4d6c('0x39'))==_0x34d3a8[_0x4d6c('0x24')]('listIndent');)_0x30d0aa['push'](_0x2c7fec),_0x2c7fec=_0x2c7fec[_0x4d6c('0xa')];}return _0x30d0aa;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19ca=['createRange','plugins','change','editor','afterInit','listItem','getSiblingNodes','forward','TrackChangesEditing','*Change\x20to:*\x20%0','formatInline','listStyle','document','listStart','markMultiRangeBlockFormat','_getSuggestionBlocksForListStyle','element','ELEMENT_','has','listType','getLastPosition','*Format:*\x20set\x20start\x20index\x20to\x20%0','bind','format','_LIST_','_getTranslationKeyForListStyle','get','handleDescriptions','createPositionAt','enableCommand','replace','model','getFirstPosition','before','ListUtils','listReversed','length','startIndex','getSelectedBlocks','ListPropertiesEditing','type','handleListStartCommand','from','handleListReversedCommand','map','list.properties','getListTypeFromListStyleType','push','filter','_getSuggestionBlocks','styles','*Format:*\x20set\x20order\x20to\x20reversed','backward','*Format:*\x20set\x20order\x20to\x20regular','commandName','numbered','commandParams','selection','handleListStyleCommand','locale','reversed'];(function(_0x5713e1,_0x19ca1e){const _0x28f12a=function(_0x38025f){while(--_0x38025f){_0x5713e1['push'](_0x5713e1['shift']());}};_0x28f12a(++_0x19ca1e);}(_0x19ca,0x1d2));const _0x28f1=function(_0x5713e1,_0x19ca1e){_0x5713e1=_0x5713e1-0x0;let _0x28f12a=_0x19ca[_0x5713e1];return _0x28f12a;};import{Plugin as _0x34c0ac}from'ckeditor5/src/core';import{getTranslation as _0x1b0a27}from'../utils/common-translations';export default class ut extends _0x34c0ac{[_0x28f1('0x1a')](){if(!this[_0x28f1('0x19')][_0x28f1('0x17')][_0x28f1('0x28')](_0x28f1('0x0')))return;const _0x3f861f=this[_0x28f1('0x19')]['config'][_0x28f1('0x30')](_0x28f1('0x6')),_0x435ff6=this[_0x28f1('0x19')][_0x28f1('0x17')]['get']('TrackChangesEditing');_0x3f861f[_0x28f1('0xb')]&&_0x435ff6[_0x28f1('0x33')](_0x28f1('0x21'),this[_0x28f1('0x13')][_0x28f1('0x2c')](this)),_0x3f861f['reversed']&&_0x435ff6['enableCommand'](_0x28f1('0x39'),this[_0x28f1('0x4')][_0x28f1('0x2c')](this)),_0x3f861f[_0x28f1('0x3b')]&&_0x435ff6['enableCommand']('listStart',this['handleListStartCommand'][_0x28f1('0x2c')](this)),_0x435ff6['_descriptionFactory']['registerDescriptionCallback'](this[_0x28f1('0x31')][_0x28f1('0x2c')](this));}[_0x28f1('0x13')](_0x53c9fc,_0x1c7b3b={}){const _0x19544b=this[_0x28f1('0x19')][_0x28f1('0x17')][_0x28f1('0x30')](_0x28f1('0x1e')),_0xe48183=this[_0x28f1('0x25')]();this[_0x28f1('0x19')][_0x28f1('0x35')]['change'](()=>{_0x19544b[_0x28f1('0x24')](_0xe48183,{'commandName':_0x28f1('0x21'),'commandParams':[{'type':_0x1c7b3b[_0x28f1('0x1')]}],'formatGroupId':_0x28f1('0x21')});});}[_0x28f1('0x4')](_0x2284c5,_0x39b2d2={}){const _0x25a71c=this[_0x28f1('0x19')][_0x28f1('0x17')][_0x28f1('0x30')](_0x28f1('0x1e')),_0x31d50b=this[_0x28f1('0xa')](_0x2a4187=>_0x2a4187['is'](_0x28f1('0x26'),_0x28f1('0x1b'))&&_0x28f1('0x10')===_0x2a4187['getAttribute'](_0x28f1('0x29')));if(_0x31d50b['length']<0x1)return;const _0x424e8a=_0x31d50b['map'](_0x14b457=>this[_0x28f1('0x19')]['model'][_0x28f1('0x16')](this[_0x28f1('0x19')][_0x28f1('0x35')][_0x28f1('0x32')](_0x14b457,_0x28f1('0x37')),this[_0x28f1('0x19')][_0x28f1('0x35')][_0x28f1('0x32')](_0x14b457,0x0)));this[_0x28f1('0x19')][_0x28f1('0x35')]['change'](()=>{_0x25a71c[_0x28f1('0x24')](_0x424e8a,{'commandName':'listReversed','commandParams':[{'reversed':_0x39b2d2['reversed']}],'formatGroupId':_0x28f1('0x39')});});}[_0x28f1('0x2')](_0x49c03f,_0x3ec8f7={}){const _0x29c0c4=this[_0x28f1('0x19')]['plugins'][_0x28f1('0x30')](_0x28f1('0x1e')),_0x221569=this[_0x28f1('0xa')](_0x4231b6=>_0x4231b6['is'](_0x28f1('0x26'),_0x28f1('0x1b'))&&'numbered'===_0x4231b6['getAttribute'](_0x28f1('0x29')));if(_0x221569[_0x28f1('0x3a')]<0x1)return;const _0x52c762=_0x221569[_0x28f1('0x5')](_0x54084b=>this[_0x28f1('0x19')]['model'][_0x28f1('0x16')](this[_0x28f1('0x19')][_0x28f1('0x35')]['createPositionAt'](_0x54084b,_0x28f1('0x37')),this[_0x28f1('0x19')][_0x28f1('0x35')][_0x28f1('0x32')](_0x54084b,0x0)));this['editor'][_0x28f1('0x35')][_0x28f1('0x18')](()=>{_0x29c0c4['markMultiRangeBlockFormat'](_0x52c762,{'commandName':_0x28f1('0x23'),'commandParams':[{'startIndex':_0x3ec8f7['startIndex']}],'formatGroupId':_0x28f1('0x23')});});}[_0x28f1('0x31')](_0x5d9883){if('formatBlock'!=_0x5d9883[_0x28f1('0x1')]&&_0x28f1('0x20')!=_0x5d9883['type'])return;const _0x26200e=this['editor'][_0x28f1('0x14')],{data:_0x4ae997}=_0x5d9883;if(!_0x4ae997)return;let _0x155ec3,_0x53734f;switch(_0x4ae997[_0x28f1('0xf')]){case _0x28f1('0x21'):_0x155ec3=_0x28f1('0x1f'),_0x53734f={'type':_0x28f1('0x2d'),'content':_0x1b0a27(_0x26200e,_0x155ec3,_0x1b0a27(_0x26200e,this[_0x28f1('0x2f')](_0x4ae997[_0x28f1('0x11')][0x0][_0x28f1('0x1')])))};break;case'listReversed':_0x155ec3=_0x4ae997[_0x28f1('0x11')][0x0][_0x28f1('0x15')]?_0x28f1('0xc'):_0x28f1('0xe'),_0x53734f={'type':_0x28f1('0x2d'),'content':_0x1b0a27(_0x26200e,_0x155ec3)};break;case _0x28f1('0x23'):_0x155ec3=_0x28f1('0x2b'),_0x53734f={'type':_0x28f1('0x2d'),'content':_0x1b0a27(_0x26200e,_0x155ec3,_0x4ae997[_0x28f1('0x11')][0x0][_0x28f1('0x3b')])};}return _0x53734f;}[_0x28f1('0x25')](){var _0x488413,_0x11ebd1,_0x56d27c,_0x390f9d;const _0x5374e0=this[_0x28f1('0x19')][_0x28f1('0x17')]['get'](_0x28f1('0x38'));let _0x42cf38=Array[_0x28f1('0x3')](this['editor']['model'][_0x28f1('0x22')][_0x28f1('0x12')][_0x28f1('0x3c')]());return(null===(_0x488413=_0x42cf38[0x0])||void 0x0===_0x488413?void 0x0:_0x488413['is'](_0x28f1('0x26'),_0x28f1('0x1b')))&&_0x42cf38['unshift'](..._0x5374e0[_0x28f1('0x1c')](this[_0x28f1('0x19')]['model']['document']['selection'][_0x28f1('0x36')](),_0x28f1('0xd'))),(null===(_0x11ebd1=_0x42cf38[_0x42cf38[_0x28f1('0x3a')]-0x1])||void 0x0===_0x11ebd1?void 0x0:_0x11ebd1['is'](_0x28f1('0x26'),'listItem'))&&_0x42cf38[_0x28f1('0x8')](..._0x5374e0[_0x28f1('0x1c')](this[_0x28f1('0x19')][_0x28f1('0x35')]['document'][_0x28f1('0x12')][_0x28f1('0x2a')](),_0x28f1('0x1d'))),_0x42cf38=[...new Set(_0x42cf38)],(null===(_0x390f9d=null===(_0x56d27c=this[_0x28f1('0x19')][_0x28f1('0x35')]['document']['selection'][_0x28f1('0x36')]())||void 0x0===_0x56d27c?void 0x0:_0x56d27c['parent'])||void 0x0===_0x390f9d?void 0x0:_0x390f9d['is'](_0x28f1('0x26'),'listItem'))&&(_0x42cf38=_0x42cf38['filter'](_0x247cce=>_0x247cce['is'](_0x28f1('0x26'),'listItem'))),_0x42cf38;}[_0x28f1('0xa')](_0x1c4447){const _0x43ce8f=this[_0x28f1('0x19')][_0x28f1('0x17')]['get']('ListUtils');let _0x573851=Array[_0x28f1('0x3')](this[_0x28f1('0x19')][_0x28f1('0x35')][_0x28f1('0x22')][_0x28f1('0x12')]['getSelectedBlocks']())[_0x28f1('0x9')](_0x1c4447)['map'](_0x19ffb0=>{const _0x222d6a=this[_0x28f1('0x19')][_0x28f1('0x35')][_0x28f1('0x32')](_0x19ffb0,0x0);return[..._0x43ce8f['getSiblingNodes'](_0x222d6a,_0x28f1('0xd')),..._0x43ce8f[_0x28f1('0x1c')](_0x222d6a,_0x28f1('0x1d'))];})['flat']();return _0x573851=[...new Set(_0x573851)],_0x573851;}[_0x28f1('0x2f')](_0x1b4cc1){return _0x28f1('0x27')+this['editor'][_0x28f1('0x17')]['get'](_0x28f1('0x38'))[_0x28f1('0x7')](_0x1b4cc1)['toUpperCase']()+_0x28f1('0x2e')+_0x1b4cc1['toUpperCase']()[_0x28f1('0x34')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a4e=['get','media','plugins','stop','elementToElement','high','data','ELEMENT_MEDIA','MediaEmbedEditing','dataDowncast','conversion','options','editor','div','mediaEmbed','TrackChangesEditing','attribute:url:media','showSuggestionHighlights','createEmptyElement','downcastDispatcher','for','_descriptionFactory','registerElementLabel','enableCommand','locale'];(function(_0x5f597f,_0x4a4ef2){const _0x2a3d2f=function(_0x2bf459){while(--_0x2bf459){_0x5f597f['push'](_0x5f597f['shift']());}};_0x2a3d2f(++_0x4a4ef2);}(_0x4a4e,0x1f4));const _0x2a3d=function(_0x5f597f,_0x4a4ef2){_0x5f597f=_0x5f597f-0x0;let _0x2a3d2f=_0x4a4e[_0x5f597f];return _0x2a3d2f;};import{Plugin as _0x55a645}from'ckeditor5/src/core';import{getTranslation as _0x3f8415}from'../utils/common-translations';export default class ht extends _0x55a645{['afterInit'](){const _0x22c09f=this[_0x2a3d('0xc')];if(!_0x22c09f['plugins']['has'](_0x2a3d('0x8')))return;const _0x7d2f58=_0x22c09f[_0x2a3d('0x2')][_0x2a3d('0x0')](_0x2a3d('0xf')),_0x4f37b2=_0x22c09f[_0x2a3d('0x18')];_0x7d2f58[_0x2a3d('0x17')](_0x2a3d('0xe')),_0x7d2f58[_0x2a3d('0x15')][_0x2a3d('0x16')](_0x2a3d('0x1'),_0x2d1126=>_0x3f8415(_0x4f37b2,_0x2a3d('0x7'),_0x2d1126)),_0x22c09f[_0x2a3d('0xa')][_0x2a3d('0x14')](_0x2a3d('0x9'))[_0x2a3d('0x4')]({'model':_0x2a3d('0x1'),'view':(_0x38f502,{writer:_0x27e9a0,options:_0x4ee883})=>{if(_0x4ee883[_0x2a3d('0x11')])return _0x27e9a0[_0x2a3d('0x12')](_0x2a3d('0xd'));},'converterPriority':_0x2a3d('0x5')}),_0x22c09f[_0x2a3d('0x6')][_0x2a3d('0x13')]['on'](_0x2a3d('0x10'),(_0xb0a819,_0x3fbbd7,_0x2d699c)=>{_0x2d699c[_0x2a3d('0xb')]['showSuggestionHighlights']&&_0xb0a819[_0x2a3d('0x3')]();},{'priority':_0x2a3d('0x5')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5da2=['editor','has','TrackChangesEditing','afterInit','plugins','mention','enableCommand','MentionEditing','get'];(function(_0xbd7761,_0x5da22a){const _0x43f54d=function(_0x34aab5){while(--_0x34aab5){_0xbd7761['push'](_0xbd7761['shift']());}};_0x43f54d(++_0x5da22a);}(_0x5da2,0x95));const _0x43f5=function(_0xbd7761,_0x5da22a){_0xbd7761=_0xbd7761-0x0;let _0x43f54d=_0x5da2[_0xbd7761];return _0x43f54d;};import{Plugin as _0xf94991}from'ckeditor5/src/core';export default class ft extends _0xf94991{[_0x43f5('0x7')](){const _0x1dea63=this[_0x43f5('0x4')];_0x1dea63[_0x43f5('0x8')][_0x43f5('0x5')](_0x43f5('0x2'))&&_0x1dea63[_0x43f5('0x8')][_0x43f5('0x3')](_0x43f5('0x6'))[_0x43f5('0x1')](_0x43f5('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40e0=['pageBreak','editor','get','afterInit','plugins','enableCommand','PageBreakEditing','_descriptionFactory','TrackChangesEditing','registerElementLabel'];(function(_0x4e64c3,_0x40e040){const _0x4ab985=function(_0x2b6d56){while(--_0x2b6d56){_0x4e64c3['push'](_0x4e64c3['shift']());}};_0x4ab985(++_0x40e040);}(_0x40e0,0x1ad));const _0x4ab9=function(_0x4e64c3,_0x40e040){_0x4e64c3=_0x4e64c3-0x0;let _0x4ab985=_0x40e0[_0x4e64c3];return _0x4ab985;};import{Plugin as _0x14d8de}from'ckeditor5/src/core';import{getTranslation as _0x38dfde}from'../utils/common-translations';export default class gt extends _0x14d8de{[_0x4ab9('0x4')](){const _0x492719=this[_0x4ab9('0x2')];if(!_0x492719[_0x4ab9('0x5')]['has'](_0x4ab9('0x7')))return;_0x492719[_0x4ab9('0x5')][_0x4ab9('0x3')]('TrackChangesEditing')[_0x4ab9('0x6')](_0x4ab9('0x1'));const _0xb26083=_0x492719[_0x4ab9('0x5')][_0x4ab9('0x3')](_0x4ab9('0x9')),_0x193172=_0x492719['locale'];_0xb26083[_0x4ab9('0x8')][_0x4ab9('0x0')](_0x4ab9('0x1'),_0x2d0d16=>_0x38dfde(_0x193172,'ELEMENT_PAGE_BREAK',_0x2d0d16));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4da5=['markerRange','locale','checkChild','insertion','ck-suggestion-marker-split','includes','isBlock','writer','Paragraph','editing','enableCommand','isLimit','markerName','formatBlock','get','isTouching','insert','commandName','type','paragraph','addMarker:suggestion:insertion','start','addClass','toViewPosition','end','mapper','model','createUIElement','_registerLegacyDescription','editor','showSuggestionHighlights','_enableDefaultAttributesIntegration','nodeAfter','schema','ELEMENT_PARAGRAPH','highest','plugins','*Insert:*\x20%0','span','options','registerElementLabel','$text','TrackChangesEditing','activeMarkers','_descriptionFactory'];(function(_0x1d7f1f,_0x4da519){const _0x281eae=function(_0x488ebe){while(--_0x488ebe){_0x1d7f1f['push'](_0x1d7f1f['shift']());}};_0x281eae(++_0x4da519);}(_0x4da5,0xdf));const _0x281e=function(_0x1d7f1f,_0x4da519){_0x1d7f1f=_0x1d7f1f-0x0;let _0x281eae=_0x4da5[_0x1d7f1f];return _0x281eae;};import{Plugin as _0x50ff45}from'ckeditor5/src/core';import{getTranslation as _0x15e0df}from'../utils/common-translations';export default class lt extends _0x50ff45{['afterInit'](){const _0x497120=this['editor'];if(!_0x497120[_0x281e('0x26')]['has'](_0x281e('0xa')))return;const _0x2de256=_0x497120[_0x281e('0x3')],_0xc48ca3=_0x497120[_0x281e('0x26')][_0x281e('0x10')](_0x281e('0x2c'));_0xc48ca3[_0x281e('0x1')][_0x281e('0x2a')](_0x281e('0x15'),_0x10c834=>_0x15e0df(_0x2de256,'ELEMENT_PARAGRAPH',_0x10c834)),_0xc48ca3[_0x281e('0x21')](_0x281e('0x15')),_0xc48ca3[_0x281e('0xc')]('insertParagraph'),_0x497120[_0x281e('0xb')]['downcastDispatcher']['on'](_0x281e('0x16'),nr(_0x497120),{'priority':_0x281e('0x25')}),_0x497120['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x189668,_0x307a17,_0x4c736c)=>{_0x4c736c[_0x281e('0x29')][_0x281e('0x20')]&&nr(_0x497120,{'showActiveMarker':!0x1})(_0x189668,_0x307a17,_0x4c736c);},{'priority':_0x281e('0x25')});const _0x3485b1=_0xc48ca3[_0x281e('0x1')];_0x3485b1['registerDescriptionCallback'](_0xe5cc59=>{if(_0x281e('0x5')!==_0xe5cc59[_0x281e('0x14')])return;const {start:_0xffa636,end:_0x4f41ea}=_0xe5cc59['getFirstRange']();if(!_0xffa636[_0x281e('0x11')](_0x4f41ea)||!_0xffa636[_0x281e('0x22')])return;const _0x3e1189=_0x497120[_0x281e('0x1c')][_0x281e('0x23')],_0x157147=_0xffa636[_0x281e('0x22')];return _0x3e1189[_0x281e('0x8')](_0x157147)&&!_0x3e1189['isLimit'](_0x157147)&&_0x3e1189[_0x281e('0x4')](_0x157147,_0x281e('0x2b'))?{'type':_0x281e('0x5'),'content':_0x15e0df(_0x2de256,_0x281e('0x27'),_0x3485b1['getItemLabel'](_0x157147,0x1))}:void 0x0;}),this[_0x281e('0x1e')]();}['_registerLegacyDescription'](){const _0x4a24ce=this[_0x281e('0x1f')],_0x3371de=_0x4a24ce[_0x281e('0x3')];_0x4a24ce[_0x281e('0x26')]['get']('TrackChangesEditing')[_0x281e('0x1')]['registerDescriptionCallback'](_0x14c49f=>{if(_0x281e('0xf')!=_0x14c49f[_0x281e('0x14')])return;const {data:_0x5611ca}=_0x14c49f;return _0x5611ca&&'paragraph'==_0x5611ca[_0x281e('0x13')]?{'type':'format','content':_0x15e0df(_0x3371de,'*Change\x20to:*\x20%0',_0x15e0df(_0x3371de,_0x281e('0x24')))}:void 0x0;});}}function nr(_0x143dba,{showActiveMarker:_0x384c34=!0x0}={}){return(_0x746e5d,_0x407c97,_0x42a080)=>{const _0x40b71a=_0x143dba['plugins'][_0x281e('0x10')]('TrackChangesEditing'),_0x1227de=_0x407c97[_0x281e('0x2')][_0x281e('0x17')],_0x58dbbf=_0x407c97[_0x281e('0x2')][_0x281e('0x1a')],_0x5ea2c7=_0x143dba[_0x281e('0x1c')][_0x281e('0x23')];if(!_0x1227de[_0x281e('0x11')](_0x58dbbf)||!_0x1227de['nodeAfter'])return;const _0x16e65d=_0x1227de[_0x281e('0x22')];if(_0x5ea2c7['isBlock'](_0x16e65d)&&!_0x5ea2c7[_0x281e('0xd')](_0x16e65d)&&_0x5ea2c7[_0x281e('0x4')](_0x16e65d,_0x281e('0x2b'))){if(!_0x42a080['consumable']['consume'](_0x407c97[_0x281e('0x2')],_0x746e5d['name']))return;const _0x493052=_0x42a080[_0x281e('0x9')][_0x281e('0x1d')](_0x281e('0x28'),{'class':_0x281e('0x6')}),_0x292c6c=_0x42a080[_0x281e('0x1b')][_0x281e('0x19')](_0x58dbbf);_0x384c34&&_0x40b71a[_0x281e('0x0')][_0x281e('0x7')](_0x407c97[_0x281e('0xe')])&&_0x42a080[_0x281e('0x9')][_0x281e('0x18')]('ck-suggestion-marker--active',_0x493052),_0x42a080[_0x281e('0x9')][_0x281e('0x12')](_0x292c6c,_0x493052),_0x42a080[_0x281e('0x1b')]['bindElementToMarker'](_0x493052,_0x407c97['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f28=['*Remove\x20all\x20formatting*','TrackChangesEditing','_registerLegacyDescription','_enableDefaultAttributesIntegration','removeFormat','format','formatBlock','has','get','registerDescriptionCallback','type','editor','plugins','commandName'];(function(_0x303412,_0x4f28d7){const _0xa494f4=function(_0x5d176e){while(--_0x5d176e){_0x303412['push'](_0x303412['shift']());}};_0xa494f4(++_0x4f28d7);}(_0x4f28,0x12e));const _0xa494=function(_0x303412,_0x4f28d7){_0x303412=_0x303412-0x0;let _0xa494f4=_0x4f28[_0x303412];return _0xa494f4;};import{Plugin as _0x355fb9}from'ckeditor5/src/core';import{getTranslation as _0x28bc92}from'../utils/common-translations';export default class mt extends _0x355fb9{['afterInit'](){const _0x25f482=this[_0xa494('0x3')];if(!_0x25f482[_0xa494('0x4')][_0xa494('0xd')]('RemoveFormatEditing'))return;_0x25f482[_0xa494('0x4')][_0xa494('0x0')]('TrackChangesEditing')[_0xa494('0x9')](_0xa494('0xa')),this[_0xa494('0x8')]();}[_0xa494('0x8')](){const _0x55a243=this[_0xa494('0x3')];_0x55a243[_0xa494('0x4')][_0xa494('0x0')](_0xa494('0x7'))['_descriptionFactory'][_0xa494('0x1')](_0x11ea57=>{if(_0xa494('0xc')!=_0x11ea57['type']&&'formatInline'!=_0x11ea57[_0xa494('0x2')])return;const {data:_0x2265bf}=_0x11ea57;return _0x2265bf&&_0xa494('0xa')==_0x2265bf[_0xa494('0x5')]?{'type':_0xa494('0xb'),'content':_0x28bc92(_0x55a243['locale'],_0xa494('0x6'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41e0=['acceptSelectedSuggestions','goToPreviousRestrictedEditingException','goToNextRestrictedEditingException','plugins','has','editor','afterInit','discardSuggestion','RestrictedEditingModeEditing','get','enableCommand','discardAllSuggestions','trackChanges'];(function(_0x495cd4,_0x41e034){const _0x21e936=function(_0x256da9){while(--_0x256da9){_0x495cd4['push'](_0x495cd4['shift']());}};_0x21e936(++_0x41e034);}(_0x41e0,0x198));const _0x21e9=function(_0x495cd4,_0x41e034){_0x495cd4=_0x495cd4-0x0;let _0x21e936=_0x41e0[_0x495cd4];return _0x21e936;};import{Plugin as _0x323485}from'ckeditor5/src/core';export default class dt extends _0x323485{[_0x21e9('0x1')](){const _0x4d1222=this[_0x21e9('0x0')];if(!_0x4d1222[_0x21e9('0xb')][_0x21e9('0xc')](_0x21e9('0x3')))return;const _0x471f86=_0x4d1222[_0x21e9('0xb')][_0x21e9('0x4')]('TrackChangesEditing');_0x471f86[_0x21e9('0x5')](_0x21e9('0x9')),_0x471f86[_0x21e9('0x5')](_0x21e9('0xa'));const _0x3c8bd9=_0x4d1222['plugins']['get']('RestrictedEditingModeEditing');_0x3c8bd9[_0x21e9('0x5')](_0x21e9('0x7')),_0x3c8bd9[_0x21e9('0x5')]('acceptSuggestion'),_0x3c8bd9[_0x21e9('0x5')](_0x21e9('0x2')),_0x3c8bd9[_0x21e9('0x5')]('acceptAllSuggestions'),_0x3c8bd9[_0x21e9('0x5')](_0x21e9('0x6')),_0x3c8bd9[_0x21e9('0x5')](_0x21e9('0x8')),_0x3c8bd9[_0x21e9('0x5')]('discardSelectedSuggestions');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x583e=['createUIElement','markerRange','element','enableCommand','softBreak','addMarker:suggestion:deletion','insert','ELEMENT_LINE_BREAK','test','registerElementLabel','activeMarkers','TrackChangesEditing','ck-suggestion-marker-','addMarker:suggestion','locale','includes','model','markerName','mapper','toViewPosition','editor','span','high','merge','get','downcastDispatcher','consumable','ck-suggestion-marker--active','split','requires','editing','bindElementToMarker','writer','plugins','init','name','addClass','createPositionBefore'];(function(_0x1eebfb,_0x583eb2){const _0x1c76a3=function(_0x221e62){while(--_0x221e62){_0x1eebfb['push'](_0x1eebfb['shift']());}};_0x1c76a3(++_0x583eb2);}(_0x583e,0xe5));const _0x1c76=function(_0x1eebfb,_0x583eb2){_0x1eebfb=_0x1eebfb-0x0;let _0x1c76a3=_0x583e[_0x1eebfb];return _0x1c76a3;};import{Plugin as _0x309e3d}from'ckeditor5/src/core';import{ShiftEnter as _0x51f44f}from'ckeditor5/src/enter';import{getTranslation as _0x20cdf3}from'../utils/common-translations';export default class pt extends _0x309e3d{static get[_0x1c76('0x1c')](){return[_0x51f44f];}[_0x1c76('0x21')](){const _0x555828=this[_0x1c76('0x13')],_0x483d05=_0x555828[_0x1c76('0x20')][_0x1c76('0x17')](_0x1c76('0xa'));_0x483d05[_0x1c76('0x2')]('shiftEnter'),_0x555828[_0x1c76('0x1d')][_0x1c76('0x18')]['on']('addMarker:suggestion:insertion',re(_0x555828),{'priority':_0x1c76('0x15')}),_0x555828[_0x1c76('0x1d')][_0x1c76('0x18')]['on'](_0x1c76('0x4'),re(_0x555828),{'priority':_0x1c76('0x15')}),_0x555828['data'][_0x1c76('0x18')]['on'](_0x1c76('0xc'),(_0x1afb8f,_0x9f092d,_0x162a05)=>{_0x162a05['options']['showSuggestionHighlights']&&re(_0x555828,{'showActiveMarker':!0x1})(_0x1afb8f,_0x9f092d,_0x162a05);}),_0x483d05['_descriptionFactory'][_0x1c76('0x8')]('softBreak',_0x3e546b=>_0x20cdf3(_0x555828[_0x1c76('0xd')],_0x1c76('0x6'),_0x3e546b));}}function re(_0x26bf45,{showActiveMarker:_0x3b2868=!0x0}={}){return(_0x5e9da6,_0x57cb8c,_0x467637)=>{const _0x383004=_0x26bf45[_0x1c76('0x20')][_0x1c76('0x17')](_0x1c76('0xa'));if(!_0x467637[_0x1c76('0x19')][_0x1c76('0x7')](_0x57cb8c[_0x1c76('0x0')],_0x5e9da6[_0x1c76('0x22')]))return;const _0xfcda49=_0x26bf45[_0x1c76('0xf')];for(const _0x3617ad of _0x57cb8c[_0x1c76('0x0')]['getItems']()){if(!_0x3617ad['is'](_0x1c76('0x1'),_0x1c76('0x3')))continue;const _0x35947a='deletion'==_0x57cb8c[_0x1c76('0x10')][_0x1c76('0x1b')](':')[0x1]?_0x1c76('0x16'):_0x1c76('0x1b'),_0x2191f6=_0x467637['writer'][_0x1c76('0x25')](_0x1c76('0x14'),{'class':_0x1c76('0xb')+_0x35947a}),_0x161659=_0x467637[_0x1c76('0x11')][_0x1c76('0x12')](_0xfcda49[_0x1c76('0x24')](_0x3617ad));_0x3b2868&&_0x383004[_0x1c76('0x9')][_0x1c76('0xe')](_0x57cb8c[_0x1c76('0x10')])&&_0x467637[_0x1c76('0x1f')][_0x1c76('0x23')](_0x1c76('0x1a'),_0x2191f6),_0x467637[_0x1c76('0x1f')][_0x1c76('0x5')](_0x161659,_0x2191f6),_0x467637[_0x1c76('0x11')][_0x1c76('0x1e')](_0x2191f6,_0x57cb8c['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2781=['_descriptionFactory','commands','registerDescriptionCallback','model','StandardEditingModeEditing','editor','forceValue','type','formatBlock','get','FORMAT_RESTRICTED_ENABLED','from','getRanges','FORMAT_RESTRICTED_DISABLED','change','restrictedEditingException','plugins','has','markInlineFormat','selection','TrackChangesEditing','document','commandParams','format','afterInit','locale'];(function(_0x385bf2,_0x2781e4){const _0x27e80c=function(_0x2b4aeb){while(--_0x2b4aeb){_0x385bf2['push'](_0x385bf2['shift']());}};_0x27e80c(++_0x2781e4);}(_0x2781,0x150));const _0x27e8=function(_0x385bf2,_0x2781e4){_0x385bf2=_0x385bf2-0x0;let _0x27e80c=_0x2781[_0x385bf2];return _0x27e80c;};import{Plugin as _0x419c71}from'ckeditor5/src/core';import{getRangesWithAttribute as _0xc13e20}from'./utils';import{getTranslation as _0xcb04e8}from'../utils/common-translations';export default class kt extends _0x419c71{[_0x27e8('0x0')](){const _0xd08967=this[_0x27e8('0x7')],_0x2ed964=_0xd08967[_0x27e8('0x5')],_0x15012c=_0xd08967[_0x27e8('0x1')];if(!_0xd08967[_0x27e8('0x12')][_0x27e8('0x13')](_0x27e8('0x6')))return;const _0x3c5f72=_0xd08967[_0x27e8('0x12')][_0x27e8('0xb')](_0x27e8('0x16')),_0x467ef2=_0x27e8('0x11'),_0x518973=_0xd08967[_0x27e8('0x3')][_0x27e8('0xb')](_0x467ef2);_0x3c5f72['enableCommand'](_0x467ef2,(_0x1dff5a,_0x3bad67={})=>{const _0x36e710=_0x2ed964[_0x27e8('0x17')][_0x27e8('0x15')];if(_0x36e710['isCollapsed'])return void _0x1dff5a(_0x3bad67);const _0x373ab5=void 0x0!==_0x3bad67[_0x27e8('0x8')]?_0x3bad67['forceValue']:!_0x518973['value'];_0x2ed964[_0x27e8('0x10')](()=>{const _0x35f71b=Array[_0x27e8('0xd')](_0x36e710[_0x27e8('0xe')]());for(const _0x40fdbb of _0x35f71b){const _0x5eca9f=_0x373ab5?[_0x40fdbb]:_0xc13e20(_0x467ef2,_0x40fdbb,_0x2ed964);for(const _0x40ca83 of _0x5eca9f)_0x3c5f72[_0x27e8('0x14')](_0x40ca83,{'commandName':_0x467ef2,'commandParams':[{'forceValue':_0x373ab5}]});}});}),_0x3c5f72[_0x27e8('0x2')][_0x27e8('0x4')](_0xa3789b=>{if(_0x27e8('0xa')!=_0xa3789b[_0x27e8('0x9')]&&'formatInline'!=_0xa3789b[_0x27e8('0x9')])return;const {data:_0x4ce054}=_0xa3789b;return _0x4ce054&&_0x4ce054['commandName']==_0x467ef2?_0x4ce054[_0x27e8('0x18')][0x0][_0x27e8('0x8')]?{'type':_0x27e8('0x19'),'content':_0xcb04e8(_0x15012c,_0x27e8('0xc'))}:{'type':_0x27e8('0x19'),'content':_0xcb04e8(_0x15012c,_0x27e8('0xf'))}: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
|
/**
|