@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230723.0 → 0.0.0-nightly-20230725.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/README.md +0 -1
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/augmentation.d.ts +4 -0
- package/src/commands/acceptsuggestioncommand.d.ts +4 -0
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.d.ts +4 -0
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.d.ts +4 -0
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.d.ts +4 -0
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.d.ts +4 -0
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +4 -0
- package/src/integrations/alignment.d.ts +4 -0
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.d.ts +4 -0
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.d.ts +4 -0
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.d.ts +4 -0
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.d.ts +4 -0
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.d.ts +4 -0
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.d.ts +4 -0
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.d.ts +4 -0
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.d.ts +4 -0
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.d.ts +4 -0
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.d.ts +4 -0
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.d.ts +4 -0
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.d.ts +4 -0
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.d.ts +4 -0
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.d.ts +4 -0
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.d.ts +4 -0
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.d.ts +4 -0
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.d.ts +4 -0
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.d.ts +4 -0
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.d.ts +4 -0
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.d.ts +4 -0
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.d.ts +4 -0
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.d.ts +4 -0
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.d.ts +4 -0
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.d.ts +4 -0
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.d.ts +4 -0
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.d.ts +4 -0
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.d.ts +4 -0
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.d.ts +4 -0
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.d.ts +4 -0
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.d.ts +4 -0
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.d.ts +4 -0
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.d.ts +4 -0
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.d.ts +4 -0
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.d.ts +4 -0
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.d.ts +4 -0
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.d.ts +2 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.d.ts +4 -0
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.d.ts +4 -0
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.d.ts +4 -0
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.d.ts +4 -0
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.d.ts +4 -0
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.d.ts +4 -0
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.d.ts +4 -0
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.d.ts +4 -0
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.d.ts +4 -0
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +11 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +4 -0
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +4 -0
- package/src/trackchangesdata.d.ts +4 -0
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +4 -0
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.d.ts +4 -0
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +2 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.d.ts +4 -0
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +2 -2
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.d.ts +4 -0
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.d.ts +4 -0
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcd53=['selection','src','enableCommand','handleReplaceImageCommand','replaceImageSource','registerCustomCallback','_descriptionFactory','get','change','afterInit','handleSuggestionDescription','commandParams','Users','_suggestionFactory','*Format:*\x20replace\x20image\x20URL','subType','model','formatBlock','getSuggestions','format','getContainedElement','registerDescriptionCallback','getAttribute','TrackChangesEditing','plugins','getSelectedElement','locale','data','discard','author','getSuggestionCallback','document','editor','accept','has'];(function(_0x327ada,_0xcd53e3){const _0x3d6c1d=function(_0x82a46e){while(--_0x82a46e){_0x327ada['push'](_0x327ada['shift']());}};_0x3d6c1d(++_0xcd53e3);}(_0xcd53,0x138));const _0x3d6c=function(_0x327ada,_0xcd53e3){_0x327ada=_0x327ada-0x0;let _0x3d6c1d=_0xcd53[_0x327ada];return _0x3d6c1d;};import{Plugin as _0x1be4b3}from'ckeditor5/src/core';import{getTranslation as _0x2f4df8}from'../utils/common-translations';export default class Y extends _0x1be4b3{[_0x3d6c('0xc')](){if(!this[_0x3d6c('0x0')]['plugins'][_0x3d6c('0x2')]('ImageEditing'))return;const _0x1a684c=this[_0x3d6c('0x0')][_0x3d6c('0x1b')][_0x3d6c('0xa')](_0x3d6c('0x1a'));_0x1a684c[_0x3d6c('0x5')](_0x3d6c('0x7'),(_0x4b7e70,_0x5dedb4)=>this[_0x3d6c('0x6')](_0x4b7e70,_0x5dedb4)),_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x8')](_0x3d6c('0x14'),_0x3d6c('0x7'),_0x3d6c('0x1'),_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x21')](_0x3d6c('0x14'),null,_0x3d6c('0x1f'))),_0x1a684c['_suggestionFactory'][_0x3d6c('0x8')]('formatBlock',_0x3d6c('0x7'),'discard',_0x1a684c[_0x3d6c('0x10')][_0x3d6c('0x21')](_0x3d6c('0x14'),null,_0x3d6c('0x1'))),_0x1a684c[_0x3d6c('0x9')][_0x3d6c('0x18')](_0x5eed26=>this[_0x3d6c('0xd')](_0x5eed26));}[_0x3d6c('0x6')](_0x1f9026,_0x737398){const _0x371a81=this[_0x3d6c('0x0')][_0x3d6c('0x1b')]['get'](_0x3d6c('0x1a')),_0x35373e=this[_0x3d6c('0x0')][_0x3d6c('0x13')][_0x3d6c('0x22')][_0x3d6c('0x3')][_0x3d6c('0x1c')]();this[_0x3d6c('0x0')][_0x3d6c('0x13')][_0x3d6c('0xb')](()=>{let _0x389b45=_0x35373e[_0x3d6c('0x19')](_0x3d6c('0x4'));const _0x11dc2b=this[_0x3d6c('0x0')][_0x3d6c('0x1b')][_0x3d6c('0xa')](_0x3d6c('0xf'))['me'];for(const _0x1c7054 of _0x371a81[_0x3d6c('0x15')]({'skipNotAttached':!0x0})){const _0x219c89=_0x1c7054[_0x3d6c('0x17')]();if(_0x3d6c('0x7')===_0x1c7054[_0x3d6c('0x12')]&&_0x219c89===_0x35373e){_0x1c7054[_0x3d6c('0x20')]!==_0x11dc2b&&_0x1c7054[_0x3d6c('0x1f')](),_0x389b45=_0x1c7054[_0x3d6c('0x1e')][_0x3d6c('0xe')][0x0]['source'];break;}}_0x1f9026(_0x737398),_0x371a81['markBlockFormat'](_0x35373e,{'commandName':'replaceImageSource','commandParams':[{'source':_0x389b45}]},[],_0x3d6c('0x7'));});}['handleSuggestionDescription'](_0x731373){const {data:_0x5b69e9}=_0x731373;if(_0x5b69e9&&_0x3d6c('0x7')===_0x5b69e9['commandName']){const _0x126ae5=_0x3d6c('0x11');return{'type':_0x3d6c('0x16'),'content':_0x2f4df8(this[_0x3d6c('0x0')][_0x3d6c('0x1d')],_0x126ae5)};}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4611=['lowest','trackChanges','enableCommand','_setSuggestionData','_trackChangesExecuted','execute','value','afterInit','bind','importWord','TrackChangesEditing','collaboration_features','dataInsert','track_changes','commands','_trackChangesValueDuringImport','_handleImportedData','forEach','get','plugins','listenTo','editor','high'];(function(_0x324227,_0x46118d){const _0xad4452=function(_0x3dd5b8){while(--_0x3dd5b8){_0x324227['push'](_0x324227['shift']());}};_0xad4452(++_0x46118d);}(_0x4611,0x137));const _0xad44=function(_0x324227,_0x46118d){_0x324227=_0x324227-0x0;let _0xad4452=_0x4611[_0x324227];return _0xad4452;};import{Plugin as _0x40d71c}from'ckeditor5/src/core';export default class Z extends _0x40d71c{constructor(_0x200dd0){super(_0x200dd0),this[_0xad44('0x3')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0xad44('0x12')](){const _0x2da6b2=this[_0xad44('0x9')],_0x43b89b=_0x2da6b2[_0xad44('0x2')]['get'](_0xad44('0x14')),_0x55952d=_0x2da6b2[_0xad44('0x2')][_0xad44('0x6')]('trackChanges');_0x43b89b&&(_0x43b89b['on'](_0xad44('0x10'),(_0x27b1c9,[,_0x18297d])=>{this[_0xad44('0x3')]=_0x55952d[_0xad44('0x11')],_0x18297d[_0xad44('0x16')][_0xad44('0x1')]=!this['_trackChangesValueDuringImport'];},{'priority':_0xad44('0xa')}),this['listenTo'](_0x43b89b,_0xad44('0x0'),this[_0xad44('0x4')][_0xad44('0x13')](this)),this[_0xad44('0x8')](_0x43b89b,_0xad44('0x0'),()=>{this[_0xad44('0xf')]&&(_0x55952d[_0xad44('0x10')](),this[_0xad44('0xf')]=!0x1);},{'priority':_0xad44('0xb')}),_0x2da6b2['plugins']['get']('TrackChangesEditing')[_0xad44('0xd')]('importWord'));}[_0xad44('0x4')](_0x47b2df,_0x8447df){const {suggestions:_0x3ae1d7}=_0x8447df,_0x6595df=this['editor'][_0xad44('0x2')][_0xad44('0x6')](_0xad44('0xc')),_0x2da3c0=_0x6595df[_0xad44('0x11')];this['_trackChangesValueDuringImport']!==_0x2da3c0&&(_0x6595df[_0xad44('0x10')](),this[_0xad44('0xf')]=!0x0),_0x3ae1d7&&_0x3ae1d7[_0xad44('0x5')](({id:_0x5d2a67,type:_0x54bf3e,author:_0x25f509,created_at:_0x4c1dcb})=>{const _0x1ffe7b={'id':_0x5d2a67,'type':_0x54bf3e,'authorId':this[_0xad44('0x9')]['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x25f509,'createdAt':_0x4c1dcb?new Date(_0x4c1dcb):new Date(),'source':'importWord'}}};this[_0xad44('0x9')][_0xad44('0x7')]['get'](_0xad44('0x15'))[_0xad44('0xe')](_0x1ffe7b);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10b9=['model','commandName','IndentEditing','editor','selection','get','indentBlock','has','*Indent:*\x20%0','outdentBlock','change','schema','filter','checkAttribute','*Outdent:*\x20%0','afterInit','markBlockFormat','format','from','registerDescriptionCallback','_descriptionFactory','IndentBlock','locale','enableCommand','blockIndent','outdent','plugins'];(function(_0x3acb04,_0x10b997){const _0x23cea8=function(_0x583b5e){while(--_0x583b5e){_0x3acb04['push'](_0x3acb04['shift']());}};_0x23cea8(++_0x10b997);}(_0x10b9,0x15b));const _0x23ce=function(_0x3acb04,_0x10b997){_0x3acb04=_0x3acb04-0x0;let _0x23cea8=_0x10b9[_0x3acb04];return _0x23cea8;};import{Plugin as _0x587805}from'ckeditor5/src/core';import{getTranslation as _0x56db1f}from'../utils/common-translations';export default class tt extends _0x587805{[_0x23ce('0x13')](){const _0xe3a404=this[_0x23ce('0x7')],_0x5d4653=_0xe3a404[_0x23ce('0x3')][_0x23ce('0x9')]('TrackChangesEditing');_0xe3a404['plugins'][_0x23ce('0xb')](_0x23ce('0x6'))&&(_0x5d4653[_0x23ce('0x0')]('indent'),_0x5d4653[_0x23ce('0x0')](_0x23ce('0x2')));const _0x32f14b=_0xe3a404[_0x23ce('0x1a')];if(_0xe3a404[_0x23ce('0x3')][_0x23ce('0xb')](_0x23ce('0x19'))){for(const _0x2a48a2 of['indentBlock',_0x23ce('0xd')])_0x5d4653['enableCommand'](_0x2a48a2,()=>{const _0x4798a6=Array[_0x23ce('0x16')](this['editor'][_0x23ce('0x4')]['document'][_0x23ce('0x8')]['getSelectedBlocks']())[_0x23ce('0x10')](_0x267769=>this[_0x23ce('0x7')][_0x23ce('0x4')][_0x23ce('0xf')][_0x23ce('0x11')](_0x267769,_0x23ce('0x1')));_0xe3a404[_0x23ce('0x4')][_0x23ce('0xe')](()=>{for(const _0xff2686 of _0x4798a6)_0x5d4653[_0x23ce('0x14')](_0xff2686,{'commandName':_0x2a48a2,'commandParams':[{'value':''}],'formatGroupId':_0x23ce('0xa')});});});_0x5d4653['_descriptionFactory'][_0x23ce('0x17')](_0x52bcea=>{const {data:_0x50c634}=_0x52bcea;if(!_0x50c634)return;if('indentBlock'!=_0x50c634[_0x23ce('0x5')]&&_0x23ce('0xd')!=_0x50c634[_0x23ce('0x5')])return;const _0x75bd97=_0x52bcea['getItems']()[0x0],_0x2178f8=_0x5d4653[_0x23ce('0x18')]['getItemLabel'](_0x75bd97);return _0x23ce('0xa')==_0x50c634[_0x23ce('0x5')]?{'type':_0x23ce('0x15'),'content':_0x56db1f(_0x32f14b,_0x23ce('0xc'),_0x2178f8)}:_0x23ce('0xd')==_0x50c634['commandName']?{'type':_0x23ce('0x15'),'content':_0x56db1f(_0x32f14b,_0x23ce('0x12'),_0x2178f8)}:void 0x0;});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5458=['plugins','enableCommand','get','init','TrackChangesEditing','requires','editor'];(function(_0x316145,_0x5458e9){var _0xb87884=function(_0x57ffb3){while(--_0x57ffb3){_0x316145['push'](_0x316145['shift']());}};_0xb87884(++_0x5458e9);}(_0x5458,0x133));var _0xb878=function(_0x316145,_0x5458e9){_0x316145=_0x316145-0x0;var _0xb87884=_0x5458[_0x316145];return _0xb87884;};import{Plugin as _0x3a4f69}from'ckeditor5/src/core';import{Input as _0x5df02c}from'ckeditor5/src/typing';export default class it extends _0x3a4f69{static get[_0xb878('0x6')](){return[_0x5df02c];}[_0xb878('0x4')](){this[_0xb878('0x0')][_0xb878('0x1')][_0xb878('0x3')](_0xb878('0x5'))[_0xb878('0x2')]('input');}}
|
package/src/integrations/link.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34bf=['selection','enableCommand','isCollapsed','commandParams','has','getFirstRange','*Remove\x20link*','editor','change','linkHref','markInlineFormat','unlink','*Set\x20link:*\x20%0','link','commandName','afterInit','document','getFirstPosition','model','plugins','LinkEditing','registerDescriptionCallback','TrackChangesEditing','format'];(function(_0xf40562,_0x34bf3b){const _0x921c5f=function(_0x40b22f){while(--_0x40b22f){_0xf40562['push'](_0xf40562['shift']());}};_0x921c5f(++_0x34bf3b);}(_0x34bf,0xa4));const _0x921c=function(_0xf40562,_0x34bf3b){_0xf40562=_0xf40562-0x0;let _0x921c5f=_0x34bf[_0xf40562];return _0x921c5f;};import{Plugin as _0x53d5c8}from'ckeditor5/src/core';import{findAttributeRange as _0x53f06d}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x4bc30c}from'./utils';import{getTranslation as _0x127d90}from'../utils/common-translations';export default class et extends _0x53d5c8{[_0x921c('0x13')](){const _0x2af265=this['editor'];if(!_0x2af265[_0x921c('0x17')][_0x921c('0x8')](_0x921c('0x0')))return;const _0x2335eb=_0x2af265[_0x921c('0x17')]['get'](_0x921c('0x2'));_0x2335eb[_0x921c('0x5')](_0x921c('0x11'),(_0x2096b4,_0x596905)=>{const _0x2cd861=_0x2af265[_0x921c('0x16')][_0x921c('0x14')]['selection'];let _0x5a0243=[];if(_0x2cd861['isCollapsed']){if(!_0x2cd861['hasAttribute'](_0x921c('0xd')))return void _0x2096b4(_0x596905);{const _0x5f3e5c=_0x53f06d(_0x2cd861[_0x921c('0x15')](),'linkHref',_0x2cd861['getAttribute']('linkHref'),_0x2af265[_0x921c('0x16')]);_0x5a0243=[_0x5f3e5c];}}else _0x5a0243=Array['from'](_0x2cd861['getRanges']());_0x2af265[_0x921c('0x16')][_0x921c('0xc')](()=>{for(const _0x1514d8 of _0x5a0243)_0x2335eb['markInlineFormat'](_0x1514d8,{'commandName':_0x921c('0x11'),'commandParams':[_0x596905]});});}),_0x2335eb[_0x921c('0x5')](_0x921c('0xf'),()=>{const _0x39f079=this[_0x921c('0xb')]['model'],_0x13d046=_0x39f079[_0x921c('0x14')][_0x921c('0x4')];_0x39f079[_0x921c('0xc')](()=>{let _0x31e19a=[];if(_0x13d046[_0x921c('0x6')])_0x31e19a=[_0x53f06d(_0x13d046[_0x921c('0x15')](),_0x921c('0xd'),_0x13d046['getAttribute'](_0x921c('0xd')),_0x2af265[_0x921c('0x16')])];else _0x31e19a=_0x4bc30c(_0x921c('0xd'),_0x13d046[_0x921c('0x9')](),_0x2af265[_0x921c('0x16')]);for(const _0x440d9f of _0x31e19a)_0x2335eb[_0x921c('0xe')](_0x440d9f,{'commandName':_0x921c('0xf'),'commandParams':[]});});}),_0x2335eb['_descriptionFactory'][_0x921c('0x1')](_0x56b49d=>{const {data:_0x5a51c7}=_0x56b49d,_0x24c20b=_0x2af265['locale'];if(_0x5a51c7){if(_0x921c('0x11')==_0x5a51c7[_0x921c('0x12')]){const _0x5b58f8=_0x5a51c7[_0x921c('0x7')][0x0];return{'type':_0x921c('0x3'),'content':_0x127d90(_0x24c20b,_0x921c('0x10'),'\x22'+_0x5b58f8+'\x22')};}return _0x921c('0xf')==_0x5a51c7[_0x921c('0x12')]?{'type':_0x921c('0x3'),'content':_0x127d90(_0x24c20b,_0x921c('0xa'))}:void 0x0;}});}}
|
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2945=['end','ELEMENT_LIST_ITEM','previousSibling','locale','createPositionAt','name','plugins','getAttribute','parent','TrackChangesEditing','outdentList','numberedList','TodoListEditing','schema','editor','enableCommand','document','execute','_descriptionFactory','ListEditing','blockName','from','checkTodoList','selection','get','commands','bulletedList','*Indent:*\x20%0','replace','ELEMENT_BULLETED_LIST','markBlockFormat','has','push','isObject','model','value','nextSibling','listIndent','length','commandName','bulleted','todoList','_selectedElements','indentList','List','registerDescriptionCallback','format','afterInit','listType','createRange','element','registerElementLabel','ELEMENT_TODO_LIST','filter','checkChild','slice','listItem','getSelectedBlocks','change','add'];(function(_0x291501,_0x294509){const _0x2bb732=function(_0x4e2724){while(--_0x4e2724){_0x291501['push'](_0x291501['shift']());}};_0x2bb732(++_0x294509);}(_0x2945,0x110));const _0x2bb7=function(_0x291501,_0x294509){_0x291501=_0x291501-0x0;let _0x2bb732=_0x2945[_0x291501];return _0x2bb732;};import{Plugin as _0x2506ee}from'ckeditor5/src/core';import{getTranslation as _0x396acc}from'../utils/common-translations';export default class st extends _0x2506ee{[_0x2bb7('0xf')](){const _0x57c396=this[_0x2bb7('0x2a')],_0x2d9073=_0x57c396[_0x2bb7('0x1f')];if(!_0x57c396[_0x2bb7('0x22')]['has'](_0x2bb7('0x2f')))return;const _0x21fdb7=_0x57c396[_0x2bb7('0x22')][_0x2bb7('0x34')](_0x2bb7('0x25')),_0xf14172=_0x57c396[_0x2bb7('0x22')][_0x2bb7('0x3b')](_0x2bb7('0x28'));function _0xe7f2f7(_0x198525){return()=>{const _0x436c7c=_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x2c')]['selection'],_0x270cb2=_0x57c396[_0x2bb7('0x35')][_0x2bb7('0x34')](_0x198525);if(_0x270cb2['value'])return void _0x57c396[_0x2bb7('0x2d')]('paragraph',{});const _0xf4bfc7=_0x198525[_0x2bb7('0x17')](0x0,-0x4),_0x2d2543=function(_0x59a62b,_0x4114af,_0x419139){let _0xa3df53=Array[_0x2bb7('0x31')](_0x59a62b)['filter'](_0xffd05c=>function(_0x3b53d0,_0x4f6954){return _0x4f6954[_0x2bb7('0x16')](_0x3b53d0[_0x2bb7('0x24')],'listItem')&&!_0x4f6954[_0x2bb7('0x1')](_0x3b53d0);}(_0xffd05c,_0x419139));_0xa3df53=_0xa3df53['filter'](_0x27e2a0=>!_0x27e2a0['is'](_0x2bb7('0x12'),_0x2bb7('0x18'))||_0x27e2a0[_0x2bb7('0x23')](_0x2bb7('0x10'))!=_0x4114af);const _0x4b4ace=new Set();for(const _0x4d9dec of _0xa3df53)_0x4d9dec['is']('element','listItem')?_0x4b4ace['add'](ne(_0x4d9dec)):_0x4b4ace[_0x2bb7('0x1b')](_0x4d9dec);return Array[_0x2bb7('0x31')](_0x4b4ace);}(_0x436c7c[_0x2bb7('0x19')](),_0xf4bfc7,_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x29')]);_0x57c396[_0x2bb7('0x2')]['change'](()=>{for(const _0x218fc0 of _0x2d2543)_0x21fdb7[_0x2bb7('0x3a')](_0x218fc0,{'commandName':_0x198525,'commandParams':[{'forceValue':!_0x270cb2[_0x2bb7('0x3')]}],'formatGroupId':_0x2bb7('0x30')},oe(_0x218fc0));});};}function _0x4c2be6(_0x18756d){return()=>{const _0x1a5b60=function(_0x5ba598){let _0x504b0e=Array['from'](_0x5ba598);const _0x379a50=_0x504b0e['findIndex'](_0x421b0b=>_0x2bb7('0x18')!=_0x421b0b[_0x2bb7('0x21')]);return _0x379a50>-0x1&&(_0x504b0e=_0x504b0e[_0x2bb7('0x17')](0x0,_0x379a50)),_0x504b0e;}(_0x57c396[_0x2bb7('0x2')]['document'][_0x2bb7('0x33')][_0x2bb7('0x19')]()),_0x53f733=_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x11')](_0x57c396['model'][_0x2bb7('0x20')](_0x1a5b60[0x0],'before'),_0x57c396['model'][_0x2bb7('0x20')](_0x1a5b60[_0x1a5b60[_0x2bb7('0x6')]-0x1],_0x2bb7('0x1c')));_0x57c396[_0x2bb7('0x2')][_0x2bb7('0x1a')](()=>{_0x21fdb7[_0x2bb7('0x3a')](_0x53f733,{'commandName':_0x18756d,'commandParams':[],'formatGroupId':_0x2bb7('0x5')},function(_0x3a3893){const _0x5c7ab9=new Set();for(const _0x297ced of _0x3a3893){let _0x5bad34=_0x297ced[_0x2bb7('0x4')];for(;_0x5bad34&&_0x5bad34[_0x2bb7('0x23')](_0x2bb7('0x5'))>_0x297ced[_0x2bb7('0x23')](_0x2bb7('0x5'));)_0x5c7ab9[_0x2bb7('0x1b')](_0x5bad34),_0x5bad34=_0x5bad34[_0x2bb7('0x4')];}return Array['from'](_0x5c7ab9);}(_0x1a5b60));});};}_0x21fdb7['enableCommand'](_0x2bb7('0x27'),_0xe7f2f7('numberedList')),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x36'),_0xe7f2f7(_0x2bb7('0x36'))),_0xf14172&&_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x9'),_0xe7f2f7('todoList')),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0xb'),_0x4c2be6(_0x2bb7('0xb'))),_0x21fdb7[_0x2bb7('0x2b')](_0x2bb7('0x26'),_0x4c2be6(_0x2bb7('0x26'))),_0xf14172&&_0x21fdb7[_0x2bb7('0x2b')]('checkTodoList',()=>{const _0xdb46c7=_0x57c396['commands'][_0x2bb7('0x34')]('checkTodoList'),_0x216ff9=Array[_0x2bb7('0x31')](_0xdb46c7[_0x2bb7('0xa')]);_0x216ff9[_0x2bb7('0x15')](_0x3acfcd=>_0x3acfcd[_0x2bb7('0x23')]('todoListChecked')!=_0xdb46c7[_0x2bb7('0x3')]),_0x57c396['model'][_0x2bb7('0x1a')](()=>{for(const _0x50a98e of _0x216ff9)_0x21fdb7['markBlockFormat'](_0x50a98e,{'commandName':_0x2bb7('0x32'),'commandParams':[{'forceValue':!_0xdb46c7[_0x2bb7('0x3')]}]});});}),_0x21fdb7[_0x2bb7('0x2e')][_0x2bb7('0x13')](_0x2bb7('0x18'),_0x564a77=>_0x396acc(_0x2d9073,_0x2bb7('0x1d'),_0x564a77)),_0x21fdb7[_0x2bb7('0x2e')][_0x2bb7('0xd')](_0x578b54=>{const {data:_0x3f6ab2}=_0x578b54;if(_0x3f6ab2){if(_0x2bb7('0x27')==_0x3f6ab2[_0x2bb7('0x7')]||'bulletedList'==_0x3f6ab2['commandName']||'todoList'==_0x3f6ab2[_0x2bb7('0x7')])switch(_0x3f6ab2[_0x2bb7('0x7')][_0x2bb7('0x38')](_0x2bb7('0xc'),'')){case _0x2bb7('0x8'):return _0x3a1b58(_0x396acc(_0x2d9073,_0x2bb7('0x39')));case'numbered':return _0x3a1b58(_0x396acc(_0x2d9073,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x3a1b58(_0x396acc(_0x2d9073,_0x2bb7('0x14')));}if(_0x2bb7('0xb')==_0x3f6ab2['commandName'])return{'type':'format','content':_0x396acc(_0x2d9073,_0x2bb7('0x37'),_0x396acc(_0x2d9073,'ELEMENT_LIST_ITEM'))};if(_0x2bb7('0x26')==_0x3f6ab2[_0x2bb7('0x7')])return{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Outdent:*\x20%0',_0x396acc(_0x2d9073,_0x2bb7('0x1d')))};if(_0x2bb7('0x32')==_0x3f6ab2[_0x2bb7('0x7')])return _0x3f6ab2['commandParams'][0x0]['forceValue']?{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Check\x20item*')}:{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Uncheck\x20item*')};}function _0x3a1b58(_0x3f9a92){return{'type':_0x2bb7('0xe'),'content':_0x396acc(_0x2d9073,'*Change\x20to:*\x20%0',_0x3f9a92)};}});}}function ne(_0x118483){const _0xf42659=_0x118483['getAttribute'](_0x2bb7('0x5'));if(0x0==_0xf42659)return _0x118483;let _0x24a148=_0x118483;for(;_0x118483['previousSibling']&&_0x118483[_0x2bb7('0x1e')]['is'](_0x2bb7('0x12'),'listItem');){const _0x1ee506=_0x118483[_0x2bb7('0x1e')]['getAttribute'](_0x2bb7('0x5'));if(_0x1ee506==_0xf42659)_0x24a148=_0x118483[_0x2bb7('0x1e')];else{if(_0x1ee506<_0xf42659)break;}_0x118483=_0x118483[_0x2bb7('0x1e')];}return _0x24a148;}function oe(_0x4f19b1){const _0x45b108=[];if(_0x4f19b1['is']('element',_0x2bb7('0x18'))&&_0x4f19b1[_0x2bb7('0x23')](_0x2bb7('0x5'))>0x0){let _0x172bd8=_0x4f19b1[_0x2bb7('0x4')];for(;_0x172bd8&&_0x2bb7('0x18')==_0x172bd8[_0x2bb7('0x21')]&&_0x172bd8[_0x2bb7('0x23')]('listIndent')==_0x4f19b1['getAttribute']('listIndent');)_0x45b108[_0x2bb7('0x0')](_0x172bd8),_0x172bd8=_0x172bd8[_0x2bb7('0x4')];}return _0x45b108;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43d6=['map','forward','getFirstPosition','filter','toUpperCase','handleListReversedCommand','backward','styles','_getSuggestionBlocks','element','editor','parent','enableCommand','type','list.properties','*Format:*\x20set\x20order\x20to\x20reversed','*Format:*\x20set\x20order\x20to\x20regular','handleListStyleCommand','createPositionAt','commandName','startIndex','*Format:*\x20set\x20start\x20index\x20to\x20%0','registerDescriptionCallback','_LIST_','TrackChangesEditing','ELEMENT_','get','getAttribute','listStyle','push','afterInit','config','length','getSelectedBlocks','change','plugins','replace','commandParams','format','getSiblingNodes','document','listType','reversed','_getTranslationKeyForListStyle','model','listReversed','_descriptionFactory','from','has','handleListStartCommand','bind','handleDescriptions','ListUtils','listItem','_getSuggestionBlocksForListStyle','unshift','numbered','listStart','markMultiRangeBlockFormat','selection'];(function(_0x466d2e,_0x43d607){const _0x281d99=function(_0x4e3669){while(--_0x4e3669){_0x466d2e['push'](_0x466d2e['shift']());}};_0x281d99(++_0x43d607);}(_0x43d6,0x18c));const _0x281d=function(_0x466d2e,_0x43d607){_0x466d2e=_0x466d2e-0x0;let _0x281d99=_0x43d6[_0x466d2e];return _0x281d99;};import{Plugin as _0x40396c}from'ckeditor5/src/core';import{getTranslation as _0x174183}from'../utils/common-translations';export default class nt extends _0x40396c{[_0x281d('0x36')](){if(!this['editor'][_0x281d('0x3b')][_0x281d('0xc')]('ListPropertiesEditing'))return;const _0x21898d=this[_0x281d('0x22')][_0x281d('0x37')][_0x281d('0x32')](_0x281d('0x26')),_0x21fe82=this['editor'][_0x281d('0x3b')][_0x281d('0x32')](_0x281d('0x30'));_0x21898d[_0x281d('0x1f')]&&_0x21fe82[_0x281d('0x24')](_0x281d('0x34'),this[_0x281d('0x29')][_0x281d('0xe')](this)),_0x21898d[_0x281d('0x6')]&&_0x21fe82[_0x281d('0x24')]('listReversed',this['handleListReversedCommand'][_0x281d('0xe')](this)),_0x21898d[_0x281d('0x2c')]&&_0x21fe82[_0x281d('0x24')]('listStart',this[_0x281d('0xd')][_0x281d('0xe')](this)),_0x21fe82[_0x281d('0xa')][_0x281d('0x2e')](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x13b52d,_0x459f40={}){const _0x5946e4=this['editor'][_0x281d('0x3b')]['get']('TrackChangesEditing'),_0x5a4ab3=this[_0x281d('0x12')]();this[_0x281d('0x22')][_0x281d('0x8')]['change'](()=>{_0x5946e4['markMultiRangeBlockFormat'](_0x5a4ab3,{'commandName':_0x281d('0x34'),'commandParams':[{'type':_0x459f40[_0x281d('0x25')]}],'formatGroupId':_0x281d('0x34')});});}[_0x281d('0x1d')](_0x1d36b2,_0x5a2f16={}){const _0x259b6f=this['editor'][_0x281d('0x3b')]['get']('TrackChangesEditing'),_0x470be7=this[_0x281d('0x20')](_0x5bb845=>_0x5bb845['is'](_0x281d('0x21'),'listItem')&&'numbered'===_0x5bb845[_0x281d('0x33')](_0x281d('0x5')));if(_0x470be7[_0x281d('0x38')]<0x1)return;const _0x5e6f7f=_0x470be7[_0x281d('0x18')](_0x1f0ed4=>this['editor']['model']['createRange'](this[_0x281d('0x22')][_0x281d('0x8')]['createPositionAt'](_0x1f0ed4,'before'),this[_0x281d('0x22')][_0x281d('0x8')]['createPositionAt'](_0x1f0ed4,0x0)));this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x3a')](()=>{_0x259b6f[_0x281d('0x16')](_0x5e6f7f,{'commandName':'listReversed','commandParams':[{'reversed':_0x5a2f16['reversed']}],'formatGroupId':_0x281d('0x9')});});}[_0x281d('0xd')](_0x50ed21,_0x20dd6f={}){const _0x1b4e24=this[_0x281d('0x22')][_0x281d('0x3b')][_0x281d('0x32')](_0x281d('0x30')),_0xd6df2c=this[_0x281d('0x20')](_0x47b822=>_0x47b822['is'](_0x281d('0x21'),_0x281d('0x11'))&&_0x281d('0x14')===_0x47b822[_0x281d('0x33')](_0x281d('0x5')));if(_0xd6df2c[_0x281d('0x38')]<0x1)return;const _0x3c2f00=_0xd6df2c[_0x281d('0x18')](_0x1c9cca=>this[_0x281d('0x22')]['model']['createRange'](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x2a')](_0x1c9cca,'before'),this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x2a')](_0x1c9cca,0x0)));this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x3a')](()=>{_0x1b4e24[_0x281d('0x16')](_0x3c2f00,{'commandName':_0x281d('0x15'),'commandParams':[{'startIndex':_0x20dd6f['startIndex']}],'formatGroupId':_0x281d('0x15')});});}[_0x281d('0xf')](_0x30aed4){const _0x4a33a4=this[_0x281d('0x22')]['locale'],{data:_0x433c4a}=_0x30aed4;if(!_0x433c4a)return;let _0x106686,_0x186f43;switch(_0x433c4a[_0x281d('0x2b')]){case _0x281d('0x34'):_0x106686='*Change\x20to:*\x20%0',_0x186f43={'type':'format','content':_0x174183(_0x4a33a4,_0x106686,_0x174183(_0x4a33a4,this[_0x281d('0x7')](_0x433c4a['commandParams'][0x0]['type'])))};break;case _0x281d('0x9'):_0x106686=_0x433c4a[_0x281d('0x1')][0x0][_0x281d('0x6')]?_0x281d('0x27'):_0x281d('0x28'),_0x186f43={'type':_0x281d('0x2'),'content':_0x174183(_0x4a33a4,_0x106686)};break;case'listStart':_0x106686=_0x281d('0x2d'),_0x186f43={'type':_0x281d('0x2'),'content':_0x174183(_0x4a33a4,_0x106686,_0x433c4a['commandParams'][0x0][_0x281d('0x2c')])};}return _0x186f43;}[_0x281d('0x12')](){var _0x39ef7a,_0x5025ee,_0x179fb1,_0x258664;const _0x15b48b=this[_0x281d('0x22')][_0x281d('0x3b')][_0x281d('0x32')](_0x281d('0x10'));let _0x42b303=Array[_0x281d('0xb')](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')]['getSelectedBlocks']());return(null===(_0x39ef7a=_0x42b303[0x0])||void 0x0===_0x39ef7a?void 0x0:_0x39ef7a['is'](_0x281d('0x21'),_0x281d('0x11')))&&_0x42b303[_0x281d('0x13')](..._0x15b48b[_0x281d('0x3')](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')][_0x281d('0x1a')](),_0x281d('0x1e'))),(null===(_0x5025ee=_0x42b303[_0x42b303['length']-0x1])||void 0x0===_0x5025ee?void 0x0:_0x5025ee['is'](_0x281d('0x21'),_0x281d('0x11')))&&_0x42b303[_0x281d('0x35')](..._0x15b48b[_0x281d('0x3')](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')]['getLastPosition'](),_0x281d('0x19'))),_0x42b303=[...new Set(_0x42b303)],(null===(_0x258664=null===(_0x179fb1=this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')][_0x281d('0x17')]['getFirstPosition']())||void 0x0===_0x179fb1?void 0x0:_0x179fb1[_0x281d('0x23')])||void 0x0===_0x258664?void 0x0:_0x258664['is'](_0x281d('0x21'),'listItem'))&&(_0x42b303=_0x42b303['filter'](_0x589c67=>_0x589c67['is'](_0x281d('0x21'),'listItem'))),_0x42b303;}[_0x281d('0x20')](_0xa1657b){const _0x4ff649=this['editor']['plugins'][_0x281d('0x32')](_0x281d('0x10'));let _0x48025f=Array['from'](this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x4')]['selection'][_0x281d('0x39')]())[_0x281d('0x1b')](_0xa1657b)[_0x281d('0x18')](_0x21d27c=>{const _0x2b443f=this[_0x281d('0x22')][_0x281d('0x8')][_0x281d('0x2a')](_0x21d27c,0x0);return[..._0x4ff649[_0x281d('0x3')](_0x2b443f,_0x281d('0x1e')),..._0x4ff649['getSiblingNodes'](_0x2b443f,_0x281d('0x19'))];})['flat']();return _0x48025f=[...new Set(_0x48025f)],_0x48025f;}[_0x281d('0x7')](_0x21566e){return _0x281d('0x31')+this[_0x281d('0x22')]['plugins'][_0x281d('0x32')](_0x281d('0x10'))['getListTypeFromListStyleType'](_0x21566e)[_0x281d('0x1c')]()+_0x281d('0x2f')+_0x21566e[_0x281d('0x1c')]()[_0x281d('0x0')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5018=['attribute:url:media','createEmptyElement','downcastDispatcher','stop','showSuggestionHighlights','conversion','mediaEmbed','locale','data','plugins','for','registerElementLabel','ELEMENT_MEDIA','MediaEmbedEditing','_descriptionFactory','afterInit','dataDowncast','enableCommand','TrackChangesEditing','media','high','div','editor'];(function(_0x25cfff,_0x501828){const _0xb1df42=function(_0x4844a1){while(--_0x4844a1){_0x25cfff['push'](_0x25cfff['shift']());}};_0xb1df42(++_0x501828);}(_0x5018,0x102));const _0xb1df=function(_0x25cfff,_0x501828){_0x25cfff=_0x25cfff-0x0;let _0xb1df42=_0x5018[_0x25cfff];return _0xb1df42;};import{Plugin as _0x5d64cb}from'ckeditor5/src/core';import{getTranslation as _0x51d941}from'../utils/common-translations';export default class ot extends _0x5d64cb{[_0xb1df('0xa')](){const _0x165755=this[_0xb1df('0x11')];if(!_0x165755[_0xb1df('0x4')]['has'](_0xb1df('0x8')))return;const _0x51a2bd=_0x165755[_0xb1df('0x4')]['get'](_0xb1df('0xd')),_0x57b5fe=_0x165755[_0xb1df('0x2')];_0x51a2bd[_0xb1df('0xc')](_0xb1df('0x1')),_0x51a2bd[_0xb1df('0x9')][_0xb1df('0x6')]('media',_0x3d452b=>_0x51d941(_0x57b5fe,_0xb1df('0x7'),_0x3d452b)),_0x165755[_0xb1df('0x0')][_0xb1df('0x5')](_0xb1df('0xb'))['elementToElement']({'model':_0xb1df('0xe'),'view':(_0x3cc994,{writer:_0x5426eb,options:_0x115c3f})=>{if(_0x115c3f[_0xb1df('0x16')])return _0x5426eb[_0xb1df('0x13')](_0xb1df('0x10'));},'converterPriority':_0xb1df('0xf')}),_0x165755[_0xb1df('0x3')][_0xb1df('0x14')]['on'](_0xb1df('0x12'),(_0x4888e4,_0x2f711a,_0x593faa)=>{_0x593faa['options'][_0xb1df('0x16')]&&_0x4888e4[_0xb1df('0x15')]();},{'priority':_0xb1df('0xf')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a46=['editor','mention','afterInit','has','plugins','get'];(function(_0x277615,_0x2a46af){const _0x1b013f=function(_0x3b1d6e){while(--_0x3b1d6e){_0x277615['push'](_0x277615['shift']());}};_0x1b013f(++_0x2a46af);}(_0x2a46,0x109));const _0x1b01=function(_0x277615,_0x2a46af){_0x277615=_0x277615-0x0;let _0x1b013f=_0x2a46[_0x277615];return _0x1b013f;};import{Plugin as _0x3f306d}from'ckeditor5/src/core';export default class rt extends _0x3f306d{[_0x1b01('0x1')](){const _0x2700f1=this[_0x1b01('0x5')];_0x2700f1[_0x1b01('0x3')][_0x1b01('0x2')]('MentionEditing')&&_0x2700f1[_0x1b01('0x3')][_0x1b01('0x4')]('TrackChangesEditing')['enableCommand'](_0x1b01('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ffb=['has','_descriptionFactory','editor','pageBreak','registerElementLabel','afterInit','plugins','enableCommand','TrackChangesEditing','get'];(function(_0x507be9,_0x3ffb68){const _0x4f3da8=function(_0x3d2537){while(--_0x3d2537){_0x507be9['push'](_0x507be9['shift']());}};_0x4f3da8(++_0x3ffb68);}(_0x3ffb,0x1b6));const _0x4f3d=function(_0x507be9,_0x3ffb68){_0x507be9=_0x507be9-0x0;let _0x4f3da8=_0x3ffb[_0x507be9];return _0x4f3da8;};import{Plugin as _0x1c116d}from'ckeditor5/src/core';import{getTranslation as _0x263d8e}from'../utils/common-translations';export default class at extends _0x1c116d{[_0x4f3d('0x7')](){const _0x39b5df=this[_0x4f3d('0x4')];if(!_0x39b5df['plugins'][_0x4f3d('0x2')]('PageBreakEditing'))return;_0x39b5df[_0x4f3d('0x8')][_0x4f3d('0x1')](_0x4f3d('0x0'))[_0x4f3d('0x9')](_0x4f3d('0x5'));const _0x3eb26b=_0x39b5df['plugins'][_0x4f3d('0x1')]('TrackChangesEditing'),_0x5f018c=_0x39b5df['locale'];_0x3eb26b[_0x4f3d('0x3')][_0x4f3d('0x6')]('pageBreak',_0x1dc2b7=>_0x263d8e(_0x5f018c,'ELEMENT_PAGE_BREAK',_0x1dc2b7));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x244c=['isTouching','$text','plugins','addMarker:suggestion:insertion','addClass','name','*Change\x20to:*\x20%0','selection','insert','consumable','document','format','schema','model','filter','showSuggestionHighlights','registerDescriptionCallback','editing','highest','Paragraph','createUIElement','*Insert:*\x20%0','nodeAfter','getItemLabel','ELEMENT_PARAGRAPH','markerName','parent','markerRange','_descriptionFactory','from','end','change','includes','writer','isLimit','toViewPosition','insertion','activeMarkers','span','options','mapper','editor','enableCommand','start','consume','getFirstRange','ck-suggestion-marker-split','paragraph','locale','checkChild','downcastDispatcher','TrackChangesEditing','insertParagraph'];(function(_0x371ae7,_0x244c9b){const _0x4b862d=function(_0x18a9ec){while(--_0x18a9ec){_0x371ae7['push'](_0x371ae7['shift']());}};_0x4b862d(++_0x244c9b);}(_0x244c,0x14b));const _0x4b86=function(_0x371ae7,_0x244c9b){_0x371ae7=_0x371ae7-0x0;let _0x4b862d=_0x244c[_0x371ae7];return _0x4b862d;};import{Plugin as _0x53ca4d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x36213c}from'./utils';import{getTranslation as _0x1f47f7}from'../utils/common-translations';export default class ct extends _0x53ca4d{['afterInit'](){const _0x33367f=this['editor'];if(!_0x33367f[_0x4b86('0x2a')]['has'](_0x4b86('0x6')))return;const _0x3e9e03=_0x33367f[_0x4b86('0x23')],_0x2698c8=_0x33367f[_0x4b86('0x2a')]['get'](_0x4b86('0x26'));_0x2698c8[_0x4b86('0xf')]['registerElementLabel'](_0x4b86('0x22'),_0x5e0b10=>_0x1f47f7(_0x3e9e03,_0x4b86('0xb'),_0x5e0b10)),_0x2698c8[_0x4b86('0x1d')]('paragraph',(_0x975240,_0x2086c5={})=>{const _0x4eedfc=_0x33367f['model'][_0x4b86('0x32')],_0x2f8f1c=_0x2086c5[_0x4b86('0x2f')]||_0x4eedfc[_0x4b86('0x2f')],_0x2d4562=Array[_0x4b86('0x10')](_0x2f8f1c['getSelectedBlocks']())[_0x4b86('0x1')](_0x186e3e=>function(_0x46f8fd,_0x32a7f3){return _0x32a7f3['checkChild'](_0x46f8fd[_0x4b86('0xd')],'paragraph')&&!_0x32a7f3['isObject'](_0x46f8fd)&&'paragraph'!=_0x46f8fd[_0x4b86('0x2d')];}(_0x186e3e,this[_0x4b86('0x1c')][_0x4b86('0x0')]['schema']));_0x33367f[_0x4b86('0x0')][_0x4b86('0x12')](()=>{for(const _0x13e487 of _0x2d4562)_0x2698c8['markBlockFormat'](_0x13e487,{'commandName':_0x4b86('0x22'),'commandParams':[],'formatGroupId':'blockName'},_0x36213c(_0x13e487));});}),_0x2698c8[_0x4b86('0xf')]['registerDescriptionCallback'](_0x246704=>{const {data:_0x277114}=_0x246704;if(_0x277114&&_0x4b86('0x22')==_0x277114['commandName'])return{'type':_0x4b86('0x33'),'content':_0x1f47f7(_0x3e9e03,_0x4b86('0x2e'),_0x1f47f7(_0x3e9e03,_0x4b86('0xb')))};}),_0x2698c8['enableCommand'](_0x4b86('0x27')),_0x33367f[_0x4b86('0x4')][_0x4b86('0x25')]['on'](_0x4b86('0x2b'),ar(_0x33367f),{'priority':_0x4b86('0x5')}),_0x33367f['data'][_0x4b86('0x25')]['on']('addMarker:suggestion:insertion',(_0x12d3c1,_0x2643bd,_0x53cc75)=>{_0x53cc75[_0x4b86('0x1a')][_0x4b86('0x2')]&&ar(_0x33367f,{'showActiveMarker':!0x1})(_0x12d3c1,_0x2643bd,_0x53cc75);},{'priority':_0x4b86('0x5')});const _0x3076c5=_0x2698c8[_0x4b86('0xf')];_0x3076c5[_0x4b86('0x3')](_0x5b6306=>{if(_0x4b86('0x17')!==_0x5b6306['type'])return;const {start:_0x43164a,end:_0x1ff696}=_0x5b6306[_0x4b86('0x20')]();if(!_0x43164a[_0x4b86('0x28')](_0x1ff696)||!_0x43164a[_0x4b86('0x9')])return;const _0x4cbcd0=_0x33367f[_0x4b86('0x0')][_0x4b86('0x34')],_0x1d3520=_0x43164a['nodeAfter'];return _0x4cbcd0['isBlock'](_0x1d3520)&&!_0x4cbcd0['isLimit'](_0x1d3520)&&_0x4cbcd0['checkChild'](_0x1d3520,'$text')?{'type':'insertion','content':_0x1f47f7(_0x3e9e03,_0x4b86('0x8'),_0x3076c5[_0x4b86('0xa')](_0x1d3520,0x1))}:void 0x0;});}}function ar(_0x1e3e4b,{showActiveMarker:_0x141676=!0x0}={}){return(_0x262ee4,_0x5e7cb7,_0x149b3e)=>{const _0x146f8b=_0x1e3e4b[_0x4b86('0x2a')]['get'](_0x4b86('0x26')),_0x469d51=_0x5e7cb7['markerRange'][_0x4b86('0x1e')],_0x113db9=_0x5e7cb7[_0x4b86('0xe')][_0x4b86('0x11')],_0x4b3703=_0x1e3e4b['model']['schema'];if(!_0x469d51[_0x4b86('0x28')](_0x113db9)||!_0x469d51[_0x4b86('0x9')])return;const _0x458b14=_0x469d51[_0x4b86('0x9')];if(_0x4b3703['isBlock'](_0x458b14)&&!_0x4b3703[_0x4b86('0x15')](_0x458b14)&&_0x4b3703[_0x4b86('0x24')](_0x458b14,_0x4b86('0x29'))){if(!_0x149b3e[_0x4b86('0x31')][_0x4b86('0x1f')](_0x5e7cb7[_0x4b86('0xe')],_0x262ee4[_0x4b86('0x2d')]))return;const _0xa471ac=_0x149b3e[_0x4b86('0x14')][_0x4b86('0x7')](_0x4b86('0x19'),{'class':_0x4b86('0x21')}),_0x348129=_0x149b3e[_0x4b86('0x1b')][_0x4b86('0x16')](_0x113db9);_0x141676&&_0x146f8b[_0x4b86('0x18')][_0x4b86('0x13')](_0x5e7cb7[_0x4b86('0xc')])&&_0x149b3e[_0x4b86('0x14')][_0x4b86('0x2c')]('ck-suggestion-marker--active',_0xa471ac),_0x149b3e[_0x4b86('0x14')][_0x4b86('0x30')](_0x348129,_0xa471ac),_0x149b3e[_0x4b86('0x1b')]['bindElementToMarker'](_0xa471ac,_0x5e7cb7['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a8b=['RemoveFormatEditing','removeFormat','TrackChangesEditing','get','getAttributes','commandName','has','from','schema','enableCommand','getItems','isFormatting','isCollapsed','_descriptionFactory','createRangeOn','format','afterInit','registerDescriptionCallback','change','markInlineFormat','model','locale','selection','plugins'];(function(_0x4b497f,_0x3a8ba2){const _0x25fbf5=function(_0x1c121f){while(--_0x1c121f){_0x4b497f['push'](_0x4b497f['shift']());}};_0x25fbf5(++_0x3a8ba2);}(_0x3a8b,0x1a0));const _0x25fb=function(_0x4b497f,_0x3a8ba2){_0x4b497f=_0x4b497f-0x0;let _0x25fbf5=_0x3a8b[_0x4b497f];return _0x25fbf5;};import{Plugin as _0x2660ed}from'ckeditor5/src/core';import{getTranslation as _0x249891}from'../utils/common-translations';export default class ht extends _0x2660ed{[_0x25fb('0x8')](){const _0x3d5938=this['editor'];if(!_0x3d5938[_0x25fb('0xf')][_0x25fb('0x16')](_0x25fb('0x10')))return;const _0x1ad77a=_0x3d5938[_0x25fb('0xf')][_0x25fb('0x13')](_0x25fb('0x12'));_0x1ad77a[_0x25fb('0x1')](_0x25fb('0x11'),_0x144701=>{const _0x135afe=_0x3d5938['model']['document'][_0x25fb('0xe')];_0x135afe[_0x25fb('0x4')]?_0x144701():_0x3d5938[_0x25fb('0xc')][_0x25fb('0xa')](()=>{const _0xe15b1d=Array[_0x25fb('0x17')](_0x135afe['getRanges']());for(const _0x332ae1 of _0xe15b1d)for(const _0x4d4391 of _0x332ae1[_0x25fb('0x2')]())eo(_0x4d4391,_0x3d5938['model'][_0x25fb('0x0')])&&_0x1ad77a[_0x25fb('0xb')](_0x3d5938[_0x25fb('0xc')][_0x25fb('0x6')](_0x4d4391),{'commandName':'removeFormat','commandParams':[]});});}),_0x1ad77a[_0x25fb('0x5')][_0x25fb('0x9')](_0x363f93=>{const {data:_0x538c8b}=_0x363f93;if(_0x538c8b&&_0x25fb('0x11')==_0x538c8b[_0x25fb('0x15')])return{'type':_0x25fb('0x7'),'content':_0x249891(_0x3d5938[_0x25fb('0xd')],'*Remove\x20all\x20formatting*')};});}}function eo(_0x3c7d2a,_0x2cb05c){for(const [_0x1b4601]of _0x3c7d2a[_0x25fb('0x14')]()){const _0x276640=_0x2cb05c['getAttributeProperties'](_0x1b4601);if(_0x276640&&_0x276640[_0x25fb('0x3')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4abf=['RestrictedEditingModeEditing','discardAllSuggestions','discardSelectedSuggestions','enableCommand','trackChanges','plugins','acceptAllSuggestions','editor','goToNextRestrictedEditingException','acceptSelectedSuggestions','TrackChangesEditing'];(function(_0x30eee0,_0x4abf56){const _0x4d09e9=function(_0x1a1e39){while(--_0x1a1e39){_0x30eee0['push'](_0x30eee0['shift']());}};_0x4d09e9(++_0x4abf56);}(_0x4abf,0x131));const _0x4d09=function(_0x30eee0,_0x4abf56){_0x30eee0=_0x30eee0-0x0;let _0x4d09e9=_0x4abf[_0x30eee0];return _0x4d09e9;};import{Plugin as _0x1435d4}from'ckeditor5/src/core';export default class ut extends _0x1435d4{['afterInit'](){const _0x4797ec=this[_0x4d09('0xa')];if(!_0x4797ec['plugins']['has'](_0x4d09('0x3')))return;const _0x1a41cd=_0x4797ec[_0x4d09('0x8')]['get'](_0x4d09('0x2'));_0x1a41cd[_0x4d09('0x6')]('goToPreviousRestrictedEditingException'),_0x1a41cd[_0x4d09('0x6')](_0x4d09('0x0'));const _0x2d39a8=_0x4797ec[_0x4d09('0x8')]['get'](_0x4d09('0x3'));_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x7')),_0x2d39a8[_0x4d09('0x6')]('acceptSuggestion'),_0x2d39a8[_0x4d09('0x6')]('discardSuggestion'),_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x9')),_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x4')),_0x2d39a8[_0x4d09('0x6')](_0x4d09('0x1')),_0x2d39a8['enableCommand'](_0x4d09('0x5'));}}
|