@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240201.0 → 0.0.0-nightly-20240203.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 +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/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/casechange.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/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/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240203.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20240203.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240203.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39f3=['_suggestions','getRanges','execute','canEditAt','refresh','acceptSuggestion','get','_isEnabledBasedOnSelection','isEnabled','editor','plugins','TrackChangesEditing'];(function(_0x16ba21,_0x39f3e9){const _0x1f84d6=function(_0x32255c){while(--_0x32255c){_0x16ba21['push'](_0x16ba21['shift']());}};_0x1f84d6(++_0x39f3e9);}(_0x39f3,0xc3));const _0x1f84=function(_0x16ba21,_0x39f3e9){_0x16ba21=_0x16ba21-0x0;let _0x1f84d6=_0x39f3[_0x16ba21];return _0x1f84d6;};import{Command as _0x18e453}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e86ae}from'ckeditor5/src/utils.js';export default class $ extends _0x18e453{constructor(_0x3dace6,_0x17a65f){super(_0x3dace6),this[_0x1f84('0x9')]=_0x17a65f,this[_0x1f84('0x1')](),this[_0x1f84('0x4')]=!0x1;}[_0x1f84('0x1')](){this[_0x1f84('0x5')]=!0x0;}[_0x1f84('0xb')](_0x3c6a83){const _0x54c6c3=this[_0x1f84('0x9')][_0x1f84('0x3')](_0x3c6a83);if(!_0x54c6c3)throw new _0x4e86ae('track-changes-accept-suggestion-not-found',this);const _0x46234c=_0x54c6c3[_0x1f84('0xa')]();this[_0x1f84('0x6')]['model'][_0x1f84('0x0')](_0x46234c)&&this[_0x1f84('0x6')][_0x1f84('0x7')][_0x1f84('0x3')](_0x1f84('0x8'))[_0x1f84('0x2')](_0x54c6c3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16e5=['track-changes-discard-suggestion-not-found','TrackChangesEditing','editor','get','_isEnabledBasedOnSelection','_suggestions','canEditAt','getRanges','discardSuggestion','model','refresh'];(function(_0x1de160,_0x16e59f){const _0x521f68=function(_0x4c5f8d){while(--_0x4c5f8d){_0x1de160['push'](_0x1de160['shift']());}};_0x521f68(++_0x16e59f);}(_0x16e5,0xe1));const _0x521f=function(_0x1de160,_0x16e59f){_0x1de160=_0x1de160-0x0;let _0x521f68=_0x16e5[_0x1de160];return _0x521f68;};import{Command as _0x384775}from'ckeditor5/src/core.js';import{CKEditorError as _0x2bb42e}from'ckeditor5/src/utils.js';export default class B extends _0x384775{constructor(_0x1978cf,_0x3cc21d){super(_0x1978cf),this[_0x521f('0x0')]=_0x3cc21d,this[_0x521f('0x5')](),this[_0x521f('0xa')]=!0x1;}[_0x521f('0x5')](){this['isEnabled']=!0x0;}['execute'](_0x4c1f13){const _0x1d1d93=this[_0x521f('0x0')][_0x521f('0x9')](_0x4c1f13);if(!_0x1d1d93)throw new _0x2bb42e(_0x521f('0x6'),this);const _0x30dc5d=_0x1d1d93[_0x521f('0x2')]();this[_0x521f('0x8')][_0x521f('0x4')][_0x521f('0x1')](_0x30dc5d)&&this['editor']['plugins'][_0x521f('0x9')](_0x521f('0x7'))[_0x521f('0x3')](_0x1d1d93);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ad6=['from','model','_suggestions','values','refresh','_command','getRanges','some','editor','execute','_isEnabledBasedOnSelection'];(function(_0x29054c,_0x1ad6d5){const _0x38992d=function(_0x2a602b){while(--_0x2a602b){_0x29054c['push'](_0x29054c['shift']());}};_0x38992d(++_0x1ad6d5);}(_0x1ad6,0x110));const _0x3899=function(_0x29054c,_0x1ad6d5){_0x29054c=_0x29054c-0x0;let _0x38992d=_0x1ad6[_0x29054c];return _0x38992d;};import{Command as _0x5675d5}from'ckeditor5/src/core.js';import{sortSuggestions as _0x5a8272,executeCommandForSuggestions as _0x551d2f}from'../utils/utils.js';export default class x extends _0x5675d5{constructor(_0x558c0c,_0x58a77e,_0x368d44){super(_0x558c0c),this[_0x3899('0x8')]=_0x58a77e,this['_suggestions']=_0x368d44,this[_0x3899('0x7')](),this[_0x3899('0x2')]=!0x1;}[_0x3899('0x7')](){const _0xb88904=Array[_0x3899('0x3')](this[_0x3899('0x5')][_0x3899('0x6')]())[_0x3899('0xa')](_0x2ba532=>_0x2ba532['isInContent']);this['isEnabled']=this[_0x3899('0x8')]['isEnabled']&&_0xb88904;}[_0x3899('0x1')](){const _0x494a6e=_0x5a8272(Array[_0x3899('0x3')](this[_0x3899('0x5')][_0x3899('0x6')]()));for(const _0x19de93 of _0x494a6e){const _0x183420=_0x19de93[_0x3899('0x9')]();if(!this[_0x3899('0x0')][_0x3899('0x4')]['canEditAt'](_0x183420))return;}_0x551d2f(this[_0x3899('0x0')][_0x3899('0x4')],this[_0x3899('0x8')],_0x494a6e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a9b=['_selectedSuggestions','document','_suggestions','_command','values','size','selection','model','from','getRanges','isEnabled','canEditAt','execute','editor','refresh','_isEnabledBasedOnSelection'];(function(_0x37bb68,_0x3a9b6d){const _0x2e799e=function(_0xb471b5){while(--_0xb471b5){_0x37bb68['push'](_0x37bb68['shift']());}};_0x2e799e(++_0x3a9b6d);}(_0x3a9b,0x14e));const _0x2e79=function(_0x37bb68,_0x3a9b6d){_0x37bb68=_0x37bb68-0x0;let _0x2e799e=_0x3a9b[_0x37bb68];return _0x2e799e;};import{Command as _0x3e8163}from'ckeditor5/src/core.js';import{sortSuggestions as _0x517528,getSelectedSuggestions as _0x2b7de4,executeCommandForSuggestions as _0xecd966}from'../utils/utils.js';export default class R extends _0x3e8163{constructor(_0x451d87,_0x59cc77,_0x32b6b4){super(_0x451d87),this[_0x2e79('0x5')]=_0x59cc77,this['_suggestions']=_0x32b6b4,this[_0x2e79('0x2')]=new Set(),this[_0x2e79('0x0')](),this[_0x2e79('0x1')]=!0x1;}[_0x2e79('0x0')](){const _0x1a8ab8=this['editor'][_0x2e79('0x9')][_0x2e79('0x3')][_0x2e79('0x8')],_0x3f487b=Array[_0x2e79('0xa')](this[_0x2e79('0x4')][_0x2e79('0x6')]());this[_0x2e79('0x2')]=_0x2b7de4(_0x1a8ab8,_0x3f487b),this[_0x2e79('0xc')]=this[_0x2e79('0x5')][_0x2e79('0xc')]&&!!this['_selectedSuggestions'][_0x2e79('0x7')];}[_0x2e79('0xe')](){const _0xe21b3c=_0x517528(Array[_0x2e79('0xa')](this[_0x2e79('0x2')]));for(const _0xa4f8be of _0xe21b3c){const _0x8693dd=_0xa4f8be[_0x2e79('0xb')]();if(!this[_0x2e79('0xf')][_0x2e79('0x9')][_0x2e79('0xd')](_0x8693dd))return;}_0xecd966(this['editor'][_0x2e79('0x9')],this[_0x2e79('0x5')],_0xe21b3c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f89=['refresh','execute','_isEnabledBasedOnSelection','has','editor','commands','value','affectsData','forceDisabled','clearForceDisabled','isEnabled','_disableUnsupportedCommands','_enabledCommands','_enableCommands'];(function(_0x4e13c2,_0x1f8938){const _0x290296=function(_0x3fa018){while(--_0x3fa018){_0x4e13c2['push'](_0x4e13c2['shift']());}};_0x290296(++_0x1f8938);}(_0x1f89,0x1ac));const _0x2902=function(_0x4e13c2,_0x1f8938){_0x4e13c2=_0x4e13c2-0x0;let _0x290296=_0x1f89[_0x4e13c2];return _0x290296;};import{Command as _0x2402ed}from'ckeditor5/src/core.js';export default class M extends _0x2402ed{constructor(_0x3e6bd1,_0x5cb40e){super(_0x3e6bd1),this[_0x2902('0x4')]=_0x5cb40e,this[_0x2902('0xc')]=!0x1,this[_0x2902('0x6')](),this[_0x2902('0x8')]=!0x1;}[_0x2902('0x6')](){this[_0x2902('0x2')]=!0x0;}[_0x2902('0x7')](){this[_0x2902('0xc')]=!this[_0x2902('0xc')],this['value']?this['_disableUnsupportedCommands']():this['_enableCommands']();}[_0x2902('0x3')](){for(const _0x55e039 of this['editor']['commands']['commands']())_0x55e039[_0x2902('0xd')]&&!this[_0x2902('0x4')][_0x2902('0x9')](_0x55e039)&&_0x55e039[_0x2902('0x0')]('TrackChangesCommand');}[_0x2902('0x5')](){for(const _0x27a925 of this[_0x2902('0xa')][_0x2902('0xb')]['commands']())_0x27a925['affectsData']&&!this[_0x2902('0x4')][_0x2902('0x9')](_0x27a925)&&_0x27a925[_0x2902('0x1')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51cc=['commands','showAIAssistant','TrackChangesEditing','afterInit','get','editor','plugins'];(function(_0x433747,_0x51cc89){const _0x338483=function(_0x26fc2f){while(--_0x26fc2f){_0x433747['push'](_0x433747['shift']());}};_0x338483(++_0x51cc89);}(_0x51cc,0x17e));const _0x3384=function(_0x433747,_0x51cc89){_0x433747=_0x433747-0x0;let _0x338483=_0x51cc[_0x433747];return _0x338483;};import{Plugin as _0x37f140}from'ckeditor5/src/core.js';export default class E extends _0x37f140{[_0x3384('0x6')](){const _0x3f425a=this[_0x3384('0x1')],_0x424484=_0x3f425a[_0x3384('0x2')]['get'](_0x3384('0x5'));_0x3f425a[_0x3384('0x3')][_0x3384('0x0')]('showAIAssistant')&&_0x424484['enableCommand'](_0x3384('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28c7=['FORMAT_JUSTIFY_TEXT','plugins','type','format','_descriptionFactory','commandName','TrackChangesEditing','FORMAT_ALIGN_TO_LEFT','right','AlignmentEditing','editor','locale','center','afterInit','_enableDefaultAttributesIntegration','FORMAT_ALIGN_TO_RIGHT','alignment','FORMAT_ALIGN_TO_CENTER','commandParams','get','has','justify','_registerLegacyDescription','FORMAT_ALIGNMENT','*Format:*\x20%0'];(function(_0x19a47c,_0x28c769){const _0x4be3b4=function(_0x20e1da){while(--_0x20e1da){_0x19a47c['push'](_0x19a47c['shift']());}};_0x4be3b4(++_0x28c769);}(_0x28c7,0xcf));const _0x4be3=function(_0x19a47c,_0x28c769){_0x19a47c=_0x19a47c-0x0;let _0x4be3b4=_0x28c7[_0x19a47c];return _0x4be3b4;};import{Plugin as _0x1671d3}from'ckeditor5/src/core.js';import{getTranslation as _0x1e0088}from'../utils/common-translations.js';export default class V extends _0x1671d3{[_0x4be3('0x6')](){const _0x39584e=this[_0x4be3('0x3')],_0x5ccf73=_0x39584e[_0x4be3('0x4')];if(!_0x39584e[_0x4be3('0x13')][_0x4be3('0xd')](_0x4be3('0x2')))return;const _0x1da6e8=_0x39584e[_0x4be3('0x13')][_0x4be3('0xc')]('TrackChangesEditing');_0x1da6e8[_0x4be3('0x7')](_0x4be3('0x9'),[],[_0x4be3('0x9')]),_0x1da6e8[_0x4be3('0x16')]['registerAttributeLabel']('alignment',_0x1e0088(_0x5ccf73,_0x4be3('0x10'))),this[_0x4be3('0xf')]();}[_0x4be3('0xf')](){const _0x1aab10=this[_0x4be3('0x3')],_0xd21a08=_0x1aab10[_0x4be3('0x4')];_0x1aab10[_0x4be3('0x13')][_0x4be3('0xc')](_0x4be3('0x18'))['_descriptionFactory']['registerDescriptionCallback'](_0x2c53de=>{if('formatBlock'!=_0x2c53de[_0x4be3('0x14')])return;const {data:_0x47c6ad}=_0x2c53de;if(_0x47c6ad&&_0x4be3('0x9')==_0x47c6ad[_0x4be3('0x17')]){const _0x365cd0=_0x47c6ad[_0x4be3('0xb')][0x0]['value'];return{'type':_0x4be3('0x15'),'content':_0x1e0088(_0xd21a08,_0x4be3('0x11'),function(_0x2e170b){switch(_0x2e170b){case'left':return _0x1e0088(_0xd21a08,_0x4be3('0x0'));case _0x4be3('0x1'):return _0x1e0088(_0xd21a08,_0x4be3('0x8'));case _0x4be3('0x5'):return _0x1e0088(_0xd21a08,_0x4be3('0xa'));case _0x4be3('0xe'):return _0x1e0088(_0xd21a08,_0x4be3('0x12'));}}(_0x365cd0))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x232f=['toLowerCase','FORMAT_','bold','has','FORMAT_ITALIC','code','*Remove\x20format:*\x20%0','commandName','FORMAT_SUBSCRIPT','forceValue','SubscriptEditing','slice','_descriptionFactory','UnderlineEditing','type','ItalicEditing','subscript','strikethrough','CodeEditing','registerAttributeLabel','superscript','get','toUpperCase','plugins','BoldEditing','_enableDefaultAttributesIntegration','TrackChangesEditing','FORMAT_UNDERLINE','_registerLegacyDescription','editor','underline','italic','locale','commandParams'];(function(_0xa00b3a,_0x232fae){const _0x5d2325=function(_0x11983c){while(--_0x11983c){_0xa00b3a['push'](_0xa00b3a['shift']());}};_0x5d2325(++_0x232fae);}(_0x232f,0x8e));const _0x5d23=function(_0xa00b3a,_0x232fae){_0xa00b3a=_0xa00b3a-0x0;let _0x5d2325=_0x232f[_0xa00b3a];return _0x5d2325;};import{Plugin as _0x2e2e22}from'ckeditor5/src/core.js';import{getTranslation as _0x5ef0ce}from'../utils/common-translations.js';const ti=[_0x5d23('0x12'),_0x5d23('0x9'),_0x5d23('0x7'),_0x5d23('0xc'),'StrikethroughEditing',_0x5d23('0x4'),'SuperscriptEditing'];export default class U extends _0x2e2e22{['afterInit'](){const _0x327965=this[_0x5d23('0x17')],_0x3cf4b1=_0x327965[_0x5d23('0x11')][_0x5d23('0xf')]('TrackChangesEditing'),_0x2e7ff4=_0x327965[_0x5d23('0x1a')];for(const _0x5ef307 of ti){if(!_0x327965[_0x5d23('0x11')][_0x5d23('0x1f')](_0x5ef307))continue;const _0x41baab=_0x5ef307[_0x5d23('0x5')](0x0,-0x7)[_0x5d23('0x1c')](),_0x4b8227=_0x5d23('0x1d')+_0x41baab[_0x5d23('0x10')]();_0x3cf4b1[_0x5d23('0x13')](_0x41baab,[_0x41baab]),_0x3cf4b1[_0x5d23('0x6')][_0x5d23('0xd')](_0x41baab,_0x5ef0ce(_0x2e7ff4,_0x4b8227));}this[_0x5d23('0x16')]();}[_0x5d23('0x16')](){const _0x2c96b8=this[_0x5d23('0x17')],_0x20e5ce=_0x2c96b8[_0x5d23('0x1a')],_0x30c342=_0x2c96b8['plugins'][_0x5d23('0xf')](_0x5d23('0x14'));function _0x18d44d(_0x5cd67b,_0x51d6cc){_0x30c342[_0x5d23('0x6')]['registerDescriptionCallback'](_0x19ed41=>{if('formatInline'!=_0x19ed41[_0x5d23('0x8')])return;const {data:_0x232382}=_0x19ed41;return _0x232382&&_0x232382[_0x5d23('0x1')]===_0x5cd67b?_0x232382[_0x5d23('0x1b')][0x0][_0x5d23('0x3')]?{'type':'format','content':_0x5ef0ce(_0x20e5ce,'*Format:*\x20%0',_0x51d6cc)}:{'type':'format','content':_0x5ef0ce(_0x20e5ce,_0x5d23('0x0'),_0x51d6cc)}:void 0x0;});}_0x18d44d(_0x5d23('0x1e'),_0x5ef0ce(_0x20e5ce,'FORMAT_BOLD')),_0x18d44d(_0x5d23('0x19'),_0x5ef0ce(_0x20e5ce,_0x5d23('0x20'))),_0x18d44d(_0x5d23('0x18'),_0x5ef0ce(_0x20e5ce,_0x5d23('0x15'))),_0x18d44d(_0x5d23('0x21'),_0x5ef0ce(_0x20e5ce,'FORMAT_CODE')),_0x18d44d(_0x5d23('0xb'),_0x5ef0ce(_0x20e5ce,'FORMAT_STRIKETHROUGH')),_0x18d44d(_0x5d23('0xa'),_0x5ef0ce(_0x20e5ce,_0x5d23('0x2'))),_0x18d44d(_0x5d23('0xe'),_0x5ef0ce(_0x20e5ce,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x550f=['filter','schema','ELEMENT_BLOCK_QUOTE','afterInit','*Set\x20format:*\x20%0','_descriptionFactory','model','format','checkChild','parent','selection','locale','forceValue','value','has','$root','get','enableCommand','plugins','markBlockFormat','BlockQuoteEditing','editor','from','document','blockQuote','*Remove\x20format:*\x20%0','commands','change','name','registerDescriptionCallback','commandParams','TrackChangesEditing'];(function(_0x57846b,_0x550fc1){const _0x497e0d=function(_0x2531ea){while(--_0x2531ea){_0x57846b['push'](_0x57846b['shift']());}};_0x497e0d(++_0x550fc1);}(_0x550f,0x1d3));const _0x497e=function(_0x57846b,_0x550fc1){_0x57846b=_0x57846b-0x0;let _0x497e0d=_0x550f[_0x57846b];return _0x497e0d;};import{Plugin as _0x1ddba0}from'ckeditor5/src/core.js';import{getTranslation as _0xe5d8cd}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x5af897}from'../utils/utils.js';export default class O extends _0x1ddba0{[_0x497e('0x10')](){const _0x4c1820=this[_0x497e('0x2')],_0x433f07=_0x4c1820[_0x497e('0x18')];if(!_0x4c1820[_0x497e('0x1f')][_0x497e('0x1b')](_0x497e('0x1')))return;const _0x217aa5=_0x4c1820[_0x497e('0x1f')]['get'](_0x497e('0xc')),_0x47ca16=this[_0x497e('0x2')][_0x497e('0x7')][_0x497e('0x1d')](_0x497e('0x5'));_0x217aa5[_0x497e('0x1e')](_0x497e('0x5'),(_0x22dc28,_0x263307={})=>{const _0x5469df=this[_0x497e('0x2')]['model'][_0x497e('0x4')][_0x497e('0x17')],_0x4610af=_0x263307&&void 0x0!==_0x263307[_0x497e('0x19')]?_0x263307[_0x497e('0x19')]:!_0x47ca16[_0x497e('0x1a')];let _0x2b8eb3=[];if(_0x4610af){const _0x5c84ce=Array[_0x497e('0x3')](_0x5469df['getSelectedBlocks']())['filter'](_0x4b3f93=>oo(_0x4b3f93)||function(_0x2cfc94,_0x131620){const _0x40d46b=_0x131620[_0x497e('0x15')](_0x2cfc94['parent'],'blockQuote'),_0x16bfd6=_0x131620[_0x497e('0x15')]([_0x497e('0x1c'),_0x497e('0x5')],_0x2cfc94);return _0x40d46b&&_0x16bfd6;}(_0x4b3f93,this[_0x497e('0x2')]['model'][_0x497e('0xe')]));_0x2b8eb3=_0x5af897(_0x5c84ce,_0x4c1820[_0x497e('0x13')]);}else{const _0x3a5ef1=Array[_0x497e('0x3')](_0x5469df['getSelectedBlocks']())[_0x497e('0xd')](_0x16384f=>oo(_0x16384f));_0x2b8eb3=_0x5af897(_0x3a5ef1,_0x4c1820['model']);}_0x4c1820[_0x497e('0x13')][_0x497e('0x8')](()=>{for(const _0x220f7e of _0x2b8eb3)_0x217aa5[_0x497e('0x0')](_0x220f7e,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x4610af}]});});}),_0x217aa5[_0x497e('0x12')][_0x497e('0xa')](_0x248425=>{const {data:_0x1717dc}=_0x248425;if(_0x1717dc&&_0x497e('0x5')==_0x1717dc['commandName']){const _0x42dfcf=_0xe5d8cd(_0x433f07,_0x497e('0xf'));return _0x1717dc[_0x497e('0xb')][0x0][_0x497e('0x19')]?{'type':_0x497e('0x14'),'content':_0xe5d8cd(_0x433f07,_0x497e('0x11'),_0x42dfcf)}:{'type':_0x497e('0x14'),'content':_0xe5d8cd(_0x433f07,_0x497e('0x6'),_0x42dfcf)};}});}}function oo(_0x3e5121){return _0x497e('0x5')==_0x3e5121[_0x497e('0x16')][_0x497e('0x9')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xeb8d=['plugins','changeCaseTitle','has','editor','TrackChangesEditing','get','enableCommand','changeCaseUpper','afterInit','CaseChange'];(function(_0x1be2f4,_0xeb8d80){const _0x43463c=function(_0x518129){while(--_0x518129){_0x1be2f4['push'](_0x1be2f4['shift']());}};_0x43463c(++_0xeb8d80);}(_0xeb8d,0xd9));const _0x4346=function(_0x1be2f4,_0xeb8d80){_0x1be2f4=_0x1be2f4-0x0;let _0x43463c=_0xeb8d[_0x1be2f4];return _0x43463c;};import{Plugin as _0x4640e7}from'ckeditor5/src/core.js';export default class G extends _0x4640e7{[_0x4346('0x1')](){const _0x33f38a=this[_0x4346('0x6')];_0x33f38a[_0x4346('0x3')][_0x4346('0x5')](_0x4346('0x2'))&&(_0x33f38a[_0x4346('0x3')]['get'](_0x4346('0x7'))['enableCommand'](_0x4346('0x0')),_0x33f38a[_0x4346('0x3')][_0x4346('0x8')]('TrackChangesEditing')[_0x4346('0x9')]('changeCaseLower'),_0x33f38a[_0x4346('0x3')][_0x4346('0x8')](_0x4346('0x7'))[_0x4346('0x9')](_0x4346('0x4')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55fc=['get','afterInit','plugins','ckbox','editor','enableCommand','TrackChangesEditing'];(function(_0x540cc9,_0x55fc75){const _0x4e1aee=function(_0x555e0d){while(--_0x555e0d){_0x540cc9['push'](_0x540cc9['shift']());}};_0x4e1aee(++_0x55fc75);}(_0x55fc,0x1c5));const _0x4e1a=function(_0x540cc9,_0x55fc75){_0x540cc9=_0x540cc9-0x0;let _0x4e1aee=_0x55fc[_0x540cc9];return _0x4e1aee;};import{Plugin as _0x2823d0}from'ckeditor5/src/core.js';export default class F extends _0x2823d0{[_0x4e1a('0x3')](){const _0x2ddb0d=this[_0x4e1a('0x6')];_0x2ddb0d['commands'][_0x4e1a('0x2')](_0x4e1a('0x5'))&&_0x2ddb0d[_0x4e1a('0x4')][_0x4e1a('0x2')](_0x4e1a('0x1'))[_0x4e1a('0x0')](_0x4e1a('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d77=['filter','editor','commandName','*Set\x20format:*\x20%0','label','document','blockName','schema','formatBlock','commands','isLimit','enableCommand','indentCodeBlock','codeBlock','value','languages','from','_descriptionFactory','get','model','language','checkChild','find','config','change','CodeBlock','ELEMENT_CODE_BLOCK','plugins','afterInit','registerDescriptionCallback','rootElement','selection','commandParams','forceValue','format','markBlockFormat','registerElementLabel','parent'];(function(_0x2b1c08,_0x1d77ee){const _0x3991c2=function(_0x41e944){while(--_0x41e944){_0x2b1c08['push'](_0x2b1c08['shift']());}};_0x3991c2(++_0x1d77ee);}(_0x1d77,0x119));const _0x3991=function(_0x2b1c08,_0x1d77ee){_0x2b1c08=_0x2b1c08-0x0;let _0x3991c2=_0x1d77[_0x2b1c08];return _0x3991c2;};import{Plugin as _0xd23c6a}from'ckeditor5/src/core.js';import{getTranslation as _0x1d768b}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x1eaf5d}from'../utils/utils.js';export default class L extends _0xd23c6a{[_0x3991('0xd')](){const _0x3643d8=this[_0x3991('0x18')];if(!_0x3643d8[_0x3991('0xc')]['has'](_0x3991('0xa')))return;const _0x17edb9=_0x3643d8[_0x3991('0xc')]['get']('TrackChangesEditing'),_0x15fbd2=_0x3643d8['locale'],_0x33d992=_0x3643d8[_0x3991('0x8')][_0x3991('0x3')]('codeBlock')[_0x3991('0x0')],_0x558e86=_0x3643d8[_0x3991('0x20')][_0x3991('0x3')](_0x3991('0x24'));_0x17edb9[_0x3991('0x22')](_0x3991('0x23')),_0x17edb9[_0x3991('0x22')]('outdentCodeBlock'),_0x17edb9[_0x3991('0x22')](_0x3991('0x24'),(_0x3cd7bb,_0x39ae1f={})=>{const _0x2d57a8=_0x3643d8['model'],_0x52fad3=_0x3643d8[_0x3991('0x4')][_0x3991('0x1c')][_0x3991('0x10')],_0x44722f=_0x39ae1f&&void 0x0!==_0x39ae1f['forceValue']?_0x39ae1f[_0x3991('0x12')]:!_0x558e86[_0x3991('0x25')];let _0x37f677;_0x39ae1f[_0x3991('0x5')]||(_0x39ae1f[_0x3991('0x5')]=_0x33d992[0x0][_0x3991('0x5')]),_0x37f677=_0x44722f?Array['from'](_0x52fad3['getSelectedBlocks']())[_0x3991('0x17')](_0x47e0af=>eo(_0x47e0af)||function(_0x36811b,_0xc961e2){if(_0x36811b['is'](_0x3991('0xf'))||_0xc961e2[_0x3991('0x21')](_0x36811b))return!0x1;return _0xc961e2[_0x3991('0x6')](_0x36811b[_0x3991('0x16')],_0x3991('0x24'));}(_0x47e0af,_0x2d57a8[_0x3991('0x1e')])):Array[_0x3991('0x1')](_0x52fad3['getSelectedBlocks']())[_0x3991('0x17')](_0x3b9ce6=>eo(_0x3b9ce6));const _0x33573e=_0x1eaf5d(_0x37f677,_0x2d57a8);_0x2d57a8[_0x3991('0x9')](()=>{for(const _0xa5850 of _0x33573e)_0x17edb9[_0x3991('0x14')](_0xa5850,{'commandName':_0x3991('0x24'),'commandParams':[{..._0x39ae1f,'forceValue':_0x44722f}],'formatGroupId':_0x3991('0x1d')});});}),(_0x17edb9[_0x3991('0x2')][_0x3991('0x15')](_0x3991('0x24'),_0x588ec2=>_0x1d768b(_0x15fbd2,_0x3991('0xb'),_0x588ec2)),_0x17edb9['_descriptionFactory'][_0x3991('0xe')](_0x48be81=>{if(_0x3991('0x1f')!=_0x48be81['type'])return;const _0x16a98a=_0x15fbd2['t'],{data:_0x4efd0a}=_0x48be81;if(!_0x4efd0a||_0x3991('0x24')!=_0x4efd0a[_0x3991('0x19')])return;const _0x1f9f4d=_0x4efd0a[_0x3991('0x11')][0x0][_0x3991('0x5')],_0x23a379=_0x16a98a(_0x33d992[_0x3991('0x7')](_0x35fef7=>_0x35fef7['language']===_0x1f9f4d)[_0x3991('0x1b')])['toLowerCase']();return _0x4efd0a[_0x3991('0x11')][0x0][_0x3991('0x12')]?{'type':_0x3991('0x13'),'content':_0x1d768b(_0x15fbd2,_0x3991('0x1a'),_0x1d768b(_0x15fbd2,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x23a379+')')}:{'type':_0x3991('0x13'),'content':_0x1d768b(_0x15fbd2,'*Remove\x20format:*\x20%0',_0x1d768b(_0x15fbd2,_0x3991('0xb'),0x1))};}));}}function eo(_0xa7fc7e){return _0x3991('0x24')==_0xa7fc7e['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c4f=['plugins','editor','TrackChangesEditing','enableCommand','addCommentThread','CommentsEditing','get'];(function(_0x1db492,_0x3c4f94){const _0x27b667=function(_0x56911a){while(--_0x56911a){_0x1db492['push'](_0x1db492['shift']());}};_0x27b667(++_0x3c4f94);}(_0x3c4f,0xe0));const _0x27b6=function(_0x1db492,_0x3c4f94){_0x1db492=_0x1db492-0x0;let _0x27b667=_0x3c4f[_0x1db492];return _0x27b667;};import{Plugin as _0x2f6ecf}from'ckeditor5/src/core.js';export default class H extends _0x2f6ecf{['afterInit'](){const _0x439b8e=this[_0x27b6('0x1')];if(!_0x439b8e[_0x27b6('0x0')]['has'](_0x27b6('0x5')))return;_0x439b8e['plugins'][_0x27b6('0x6')](_0x27b6('0x2'))[_0x27b6('0x3')](_0x27b6('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d7b=['requires','unit','lock','root','markerName','start','uiElement','rootName','mapper','markerNameToElements','selection','merge','TrackChangesEditing','detach','batch','commands','removeMarker:suggestion:deletion','options','end','document','buffer','editing','modifySelection','addMarker:suggestion:deletion','writer','downcastDispatcher','editor','high','unlock','remove','$graveyard','setSelection','deleteForward','fromRange','enqueueChange','data','delete','enableCommand','bind','model','createRange','getFirstRange','get'];(function(_0x6f9eb,_0x4d7b0d){const _0xf85c66=function(_0x3d4d65){while(--_0x3d4d65){_0x6f9eb['push'](_0x6f9eb['shift']());}};_0xf85c66(++_0x4d7b0d);}(_0x4d7b,0x65));const _0xf85c=function(_0x6f9eb,_0x4d7b0d){_0x6f9eb=_0x6f9eb-0x0;let _0xf85c66=_0x4d7b[_0x6f9eb];return _0xf85c66;};import{Plugin as _0x11a310}from'ckeditor5/src/core.js';import{LiveRange as _0x2c82a9}from'ckeditor5/src/engine.js';import{Delete as _0x394dc6}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x1cdfde}from'./utils.js';export default class q extends _0x11a310{static get[_0xf85c('0x1c')](){return[_0x394dc6];}['init'](){const _0x2bda2b=this[_0xf85c('0xb')],_0x2b9519=_0x2bda2b['plugins']['get'](_0xf85c('0x28'));_0x2b9519[_0xf85c('0x16')](_0xf85c('0x15'));const _0x40dc15=_0x2bda2b[_0xf85c('0x0')][_0xf85c('0x1b')](_0xf85c('0x11'));_0x2b9519['enableCommand'](_0xf85c('0x11'),(_0x996d32,_0xe47013={})=>{const _0x450f98=_0x2bda2b[_0xf85c('0x18')]['createSelection'](_0x2bda2b[_0xf85c('0x18')][_0xf85c('0x4')][_0xf85c('0x26')]);_0x450f98['isCollapsed']&&_0x2bda2b[_0xf85c('0x18')][_0xf85c('0x7')](_0x450f98,{'direction':'forward','unit':_0xe47013[_0xf85c('0x1d')]});const _0x33d90c=_0x450f98[_0xf85c('0x1a')](),_0x545522=_0x2c82a9[_0xf85c('0x12')](_0x33d90c);let _0x1ac250;_0x996d32(_0xe47013),_0x1ac250=_0xf85c('0xf')==_0x545522[_0xf85c('0x1f')][_0xf85c('0x23')]?_0x2bda2b['model'][_0xf85c('0x19')](_0x33d90c[_0xf85c('0x21')]):_0x2bda2b[_0xf85c('0x18')][_0xf85c('0x19')](_0x545522[_0xf85c('0x21')],_0x545522[_0xf85c('0x3')]),_0x545522[_0xf85c('0x29')](),_0x2bda2b['model'][_0xf85c('0x13')](_0x40dc15[_0xf85c('0x5')][_0xf85c('0x2a')],_0x13e8d9=>{_0x40dc15[_0xf85c('0x5')][_0xf85c('0x1e')](),_0x13e8d9[_0xf85c('0x10')](_0x13e8d9[_0xf85c('0x19')](_0x1ac250['end'])),_0x40dc15[_0xf85c('0x5')][_0xf85c('0xd')]();});}),_0x2bda2b[_0xf85c('0x6')][_0xf85c('0xa')]['on'](_0xf85c('0x8'),_0x1cdfde(_0x2bda2b,_0xf85c('0x27')),{'priority':_0xf85c('0xc')}),_0x2bda2b[_0xf85c('0x14')][_0xf85c('0xa')]['on'](_0xf85c('0x8'),(_0x2d03b5,_0x1a82d1,_0x19a401)=>{_0x19a401[_0xf85c('0x2')]['showSuggestionHighlights']&&_0x1cdfde(_0x2bda2b,'merge',{'showActiveMarker':!0x1})[_0xf85c('0x17')](this)(_0x2d03b5,_0x1a82d1,_0x19a401);},{'priority':_0xf85c('0xc')}),_0x2bda2b[_0xf85c('0x6')]['downcastDispatcher']['on'](_0xf85c('0x1'),(_0xcde6b7,_0x2e4206,_0x6058ee)=>{const _0x238ae1=_0x6058ee[_0xf85c('0x24')][_0xf85c('0x25')](_0x2e4206[_0xf85c('0x20')]);if(_0x238ae1)for(const _0x3ba2ec of _0x238ae1)_0x3ba2ec['is'](_0xf85c('0x22'))&&(_0x6058ee[_0xf85c('0x24')]['unbindElementFromMarkerName'](_0x3ba2ec,_0x2e4206[_0xf85c('0x20')]),_0x6058ee[_0xf85c('0x9')][_0xf85c('0xe')](_0x3ba2ec));},{'priority':_0xf85c('0xc')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a6a=['nextSibling','document','enter','hasClass','afterExecute','commands','init','markerName','writer','markInsertion','showSuggestionHighlights','plugins','model','markerNameToElements','get','editor','enterBlock','addMarker:suggestion:insertion','data','split','mapper','fire','options','fromRange','createRange','createPositionAt','TrackChangesEditing','unbindElementFromMarkerName','high','remove','downcastDispatcher','enableCommand','getFirstRange','end','editing','selection','detach','change','getFirstPosition'];(function(_0x3f88e8,_0x4a6aa0){const _0x3e3c6e=function(_0x11ff9d){while(--_0x11ff9d){_0x3f88e8['push'](_0x3f88e8['shift']());}};_0x3e3c6e(++_0x4a6aa0);}(_0x4a6a,0x16f));const _0x3e3c=function(_0x3f88e8,_0x4a6aa0){_0x3f88e8=_0x3f88e8-0x0;let _0x3e3c6e=_0x4a6a[_0x3f88e8];return _0x3e3c6e;};import{Plugin as _0x1ef388}from'ckeditor5/src/core.js';import{Enter as _0x39278d}from'ckeditor5/src/enter.js';import{LiveRange as _0x1fd7e9}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x42df4e}from'./utils.js';export default class W extends _0x1ef388{static get['requires'](){return[_0x39278d];}[_0x3e3c('0x1d')](){const _0x2380b8=this[_0x3e3c('0x26')],_0xf7ae4d=_0x2380b8[_0x3e3c('0x22')]['get'](_0x3e3c('0xa')),_0x7d0169=_0x2380b8[_0x3e3c('0x1c')][_0x3e3c('0x25')](_0x3e3c('0x19'));_0xf7ae4d[_0x3e3c('0xf')](_0x3e3c('0x19'),()=>{_0x2380b8[_0x3e3c('0x23')][_0x3e3c('0x15')](_0x269b86=>{const _0x4a140c=_0x2380b8[_0x3e3c('0x23')][_0x3e3c('0x18')][_0x3e3c('0x13')],_0x11a988=_0x4a140c[_0x3e3c('0x16')](),_0x1a73ad=_0x1fd7e9[_0x3e3c('0x7')](_0x4a140c[_0x3e3c('0x10')]());if(_0x7d0169[_0x3e3c('0x0')](_0x269b86)){const _0x4a9348=_0x2380b8[_0x3e3c('0x23')][_0x3e3c('0x9')](_0x11a988['parent'][_0x3e3c('0x17')],0x0),_0x5d1d9c=_0x269b86[_0x3e3c('0x8')](_0x11a988,_0x4a9348);_0xf7ae4d[_0x3e3c('0x20')](_0x5d1d9c);}else _0x269b86['setSelection'](_0x269b86['createRange'](_0x1a73ad[_0x3e3c('0x11')]));_0x1a73ad[_0x3e3c('0x14')](),_0x7d0169[_0x3e3c('0x5')](_0x3e3c('0x1b'),{'writer':_0x269b86});});}),_0x2380b8[_0x3e3c('0x12')][_0x3e3c('0xe')]['on'](_0x3e3c('0x1'),_0x42df4e(_0x2380b8,_0x3e3c('0x3')),{'priority':_0x3e3c('0xc')}),_0x2380b8[_0x3e3c('0x12')][_0x3e3c('0xe')]['on']('removeMarker:suggestion:insertion',(_0x37661b,_0x2d2467,_0x333647)=>{const _0x5d4ab0=_0x333647[_0x3e3c('0x4')][_0x3e3c('0x24')](_0x2d2467[_0x3e3c('0x1e')]);if(_0x5d4ab0)for(const _0x22d3bb of _0x5d4ab0)_0x22d3bb[_0x3e3c('0x1a')]('ck-suggestion-marker-split')&&(_0x333647[_0x3e3c('0x4')][_0x3e3c('0xb')](_0x22d3bb,_0x2d2467[_0x3e3c('0x1e')]),_0x333647[_0x3e3c('0x1f')][_0x3e3c('0xd')](_0x22d3bb));},{'priority':_0x3e3c('0xc')}),_0x2380b8[_0x3e3c('0x2')][_0x3e3c('0xe')]['on'](_0x3e3c('0x1'),(_0x2ed9f9,_0x2d6afc,_0x110617)=>{_0x110617[_0x3e3c('0x6')][_0x3e3c('0x21')]&&_0x42df4e(_0x2380b8,_0x3e3c('0x3'),{'showActiveMarker':!0x1})['bind'](this)(_0x2ed9f9,_0x2d6afc,_0x110617);},{'priority':_0x3e3c('0xc')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e81=['TrackChangesEditing','plugins','model','string','createRange','has','createPositionAt','findByTextCallback','get','find','handleFindCommand','filter','end','replace','enableCommand','item','editor','findPrevious','_isInDeletionRange','bind'];(function(_0x4bc472,_0x3e8123){const _0x4e6bdf=function(_0x1355e0){while(--_0x1355e0){_0x4bc472['push'](_0x4bc472['shift']());}};_0x4e6bdf(++_0x3e8123);}(_0x3e81,0x1a2));const _0x4e6b=function(_0x4bc472,_0x3e8123){_0x4bc472=_0x4bc472-0x0;let _0x4e6bdf=_0x3e81[_0x4bc472];return _0x4e6bdf;};import{Plugin as _0x57bf9f}from'ckeditor5/src/core.js';export default class J extends _0x57bf9f{['afterInit'](){if(!this[_0x4e6b('0x12')][_0x4e6b('0x3')][_0x4e6b('0x7')]('FindAndReplaceEditing'))return;const _0x34fd4c=this['editor'][_0x4e6b('0x3')][_0x4e6b('0xa')](_0x4e6b('0x2'));_0x34fd4c[_0x4e6b('0x10')](_0x4e6b('0xb'),this['handleFindCommand'][_0x4e6b('0x1')](this)),_0x34fd4c[_0x4e6b('0x10')]('findNext'),_0x34fd4c['enableCommand'](_0x4e6b('0x13')),_0x34fd4c[_0x4e6b('0x10')](_0x4e6b('0xf')),_0x34fd4c[_0x4e6b('0x10')]('replaceAll');}[_0x4e6b('0xc')](_0x3edf88,_0x5194f5,_0x4443ef={}){const _0x18b9a9=this[_0x4e6b('0x12')][_0x4e6b('0x3')][_0x4e6b('0xa')]('FindAndReplaceUtils');return _0x3edf88(_0x4547ee=>(_0x4e6b('0x5')==typeof _0x5194f5?_0x18b9a9[_0x4e6b('0x9')](_0x5194f5,_0x4443ef):_0x5194f5)(_0x4547ee)[_0x4e6b('0xd')](_0x1199e0=>!0x1===this[_0x4e6b('0x0')](_0x1199e0,_0x4547ee[_0x4e6b('0x11')])),_0x4443ef);}['_isInDeletionRange'](_0x40b293,_0x616b37){const _0x2054b7=this[_0x4e6b('0x12')][_0x4e6b('0x4')][_0x4e6b('0x6')](this[_0x4e6b('0x12')][_0x4e6b('0x4')][_0x4e6b('0x8')](_0x616b37,_0x40b293['start']),this[_0x4e6b('0x12')][_0x4e6b('0x4')][_0x4e6b('0x8')](_0x616b37,_0x40b293[_0x4e6b('0xe')]));for(const _0x1e93c7 of this[_0x4e6b('0x12')][_0x4e6b('0x4')]['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x2054b7['getIntersection'](_0x1e93c7['getRange']()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a64=['toLowerCase','normalizeSizeOptions','FORMAT_FONT_FAMILY','FORMAT_FONT_COLOR','FontSize','*Reset\x20font\x20size*','fontColor.colors','*Set\x20font\x20family:*\x20%0','*Reset\x20font\x20background\x20color*','_enableDefaultAttributesIntegration','_registerLegacyDescription','formatInline','has','fontBackgroundColor','_descriptionFactory','*Set\x20font\x20color:*\x20%0','*Reset\x20font\x20color*','registerAttributeLabel','fontBackgroundColor.colors','*Reset\x20font\x20family*','FontFamilyEditing','locale','*Set\x20font\x20size:*\x20%0','fontFamily','editor','registerDescriptionCallback','commandName','commandParams','fontColor','fontSize.options','trim','value','FontBackgroundColorEditing','format','config','FontSizeEditing','label','fontSize','find','plugins','get','title','*Set\x20font\x20background\x20color:*\x20%0','afterInit','type','TrackChangesEditing','model','FORMAT_FONT_BACKGROUND'];(function(_0x2cd944,_0x5a640c){const _0x54eb2b=function(_0x4c7c8f){while(--_0x4c7c8f){_0x2cd944['push'](_0x2cd944['shift']());}};_0x54eb2b(++_0x5a640c);}(_0x5a64,0x120));const _0x54eb=function(_0x2cd944,_0x5a640c){_0x2cd944=_0x2cd944-0x0;let _0x54eb2b=_0x5a64[_0x2cd944];return _0x54eb2b;};import{Plugin as _0x3d12af}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x2eb007}from'ckeditor5/src/ui.js';import{getTranslation as _0x462ae3}from'../utils/common-translations.js';const ro=[{'pluginName':_0x54eb('0x23'),'commandName':_0x54eb('0x25')},{'pluginName':_0x54eb('0x14'),'commandName':_0x54eb('0x17')},{'pluginName':'FontColorEditing','commandName':_0x54eb('0x1c')},{'pluginName':_0x54eb('0x20'),'commandName':_0x54eb('0xd')}];export default class Q extends _0x3d12af{[_0x54eb('0x2b')](){const _0x39cd78=this[_0x54eb('0x18')][_0x54eb('0x15')],_0x7e58ec=this[_0x54eb('0x18')]['plugins']['get'](_0x54eb('0x2d'));for(const {pluginName:_0x117726,commandName:_0x1a1662}of ro)this[_0x54eb('0x18')][_0x54eb('0x27')][_0x54eb('0xc')](_0x117726)&&_0x7e58ec[_0x54eb('0x9')](_0x1a1662,[_0x1a1662]);_0x39cd78['t'],(_0x7e58ec[_0x54eb('0xe')][_0x54eb('0x11')](_0x54eb('0x25'),_0x462ae3(_0x39cd78,'FORMAT_FONT_SIZE')),_0x7e58ec[_0x54eb('0xe')][_0x54eb('0x11')](_0x54eb('0x17'),_0x462ae3(_0x39cd78,_0x54eb('0x2'))),_0x7e58ec[_0x54eb('0xe')][_0x54eb('0x11')]('fontColor',_0x462ae3(_0x39cd78,_0x54eb('0x3'))),_0x7e58ec['_descriptionFactory'][_0x54eb('0x11')](_0x54eb('0xd'),_0x462ae3(_0x39cd78,_0x54eb('0x2f'))),this[_0x54eb('0xa')]());}[_0x54eb('0xa')](){const _0x1875e8=this[_0x54eb('0x18')],_0x40e801=_0x1875e8[_0x54eb('0x15')];_0x1875e8['plugins'][_0x54eb('0x28')](_0x54eb('0x2d'))[_0x54eb('0xe')][_0x54eb('0x19')](_0x1a0135=>{const _0x4445ae=_0x40e801['t'];if(_0x54eb('0xb')!=_0x1a0135[_0x54eb('0x2c')])return;const {data:_0x397cc6}=_0x1a0135;if(null!=_0x397cc6){if(_0x54eb('0x25')==_0x397cc6[_0x54eb('0x1a')]){const _0x392b41=_0x397cc6[_0x54eb('0x1b')][0x0]['value'];if(_0x392b41){const _0x555753=_0x4445ae(this['editor'][_0x54eb('0x27')][_0x54eb('0x28')](_0x54eb('0x4'))[_0x54eb('0x1')](this[_0x54eb('0x18')]['config'][_0x54eb('0x28')](_0x54eb('0x1d')))[_0x54eb('0x26')](_0x26d25e=>_0x26d25e[_0x54eb('0x2e')]==_0x392b41)[_0x54eb('0x29')])[_0x54eb('0x0')]();return{'type':_0x54eb('0x21'),'content':_0x462ae3(_0x40e801,_0x54eb('0x16'),_0x555753)};}return{'type':_0x54eb('0x21'),'content':_0x462ae3(_0x40e801,_0x54eb('0x5'))};}if('fontFamily'==_0x397cc6[_0x54eb('0x1a')]){const _0x57efa7=_0x397cc6[_0x54eb('0x1b')][0x0][_0x54eb('0x1f')];return _0x57efa7?{'type':_0x54eb('0x21'),'content':_0x462ae3(_0x40e801,_0x54eb('0x7'),_0x57efa7)}:{'type':_0x54eb('0x21'),'content':_0x462ae3(_0x40e801,_0x54eb('0x13'))};}if('fontColor'==_0x397cc6[_0x54eb('0x1a')]){const _0x40e77d=_0x397cc6['commandParams'][0x0][_0x54eb('0x1f')];if(_0x40e77d){const _0x2d5d42=_0x2eb007(this['editor']['config'][_0x54eb('0x28')](_0x54eb('0x6')))['find'](_0x3d0ac7=>_0x3d0ac7[_0x54eb('0x2e')]==_0x40e77d);let _0x3c5eb5=_0x40e77d,_0x5bb48e='';return _0x2d5d42&&(_0x3c5eb5=_0x2d5d42[_0x54eb('0x24')],_0x5bb48e=_0x4445ae(_0x3c5eb5)[_0x54eb('0x0')]()),{'type':'format','content':_0x462ae3(_0x40e801,_0x54eb('0xf'),_0x5bb48e)[_0x54eb('0x1e')](),'color':{'value':_0x40e77d,'title':_0x5bb48e||_0x3c5eb5}};}return{'type':_0x54eb('0x21'),'content':_0x462ae3(_0x40e801,_0x54eb('0x10'))};}if('fontBackgroundColor'==_0x397cc6[_0x54eb('0x1a')]){const _0x124392=_0x397cc6[_0x54eb('0x1b')][0x0]['value'];if(_0x124392){const _0x289fdb=_0x2eb007(this['editor'][_0x54eb('0x22')]['get'](_0x54eb('0x12')))[_0x54eb('0x26')](_0x2a9faf=>_0x2a9faf[_0x54eb('0x2e')]==_0x124392);let _0x40efd0=_0x124392,_0x52cb33='';return _0x289fdb&&(_0x40efd0=_0x289fdb[_0x54eb('0x24')],_0x52cb33=_0x4445ae(_0x40efd0)['toLowerCase']()),{'type':_0x54eb('0x21'),'content':_0x462ae3(_0x40e801,_0x54eb('0x2a'),_0x52cb33)[_0x54eb('0x1e')](),'color':{'value':_0x124392,'title':_0x52cb33||_0x40efd0}};}return{'type':_0x54eb('0x21'),'content':_0x462ae3(_0x40e801,_0x54eb('0x8'))};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ed5=['charAt','toLowerCase','_registerLegacyDescription','label','normalizeSizeOptions','boolean','pasteFormat','slice','find','type','afterInit','fontColor','_descriptionFactory','commandName','commandParams','*Set\x20format\x20to:*\x20%0','formatInline','get','FontSize','join','locale','length','push','fontColor.colors','toUpperCase','registerDescriptionCallback','fontSize','copyFormat','plugins','enableCommand','title','model','split','editor','TrackChangesEditing','config','format','commands','*Remove\x20all\x20formatting*'];(function(_0x5c7c40,_0x5ed5c2){const _0x17182a=function(_0x38628a){while(--_0x38628a){_0x5c7c40['push'](_0x5c7c40['shift']());}};_0x17182a(++_0x5ed5c2);}(_0x5ed5,0x1e8));const _0x1718=function(_0x5c7c40,_0x5ed5c2){_0x5c7c40=_0x5c7c40-0x0;let _0x17182a=_0x5ed5[_0x5c7c40];return _0x17182a;};import{Plugin as _0x694c1b}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x5c9e4c}from'ckeditor5/src/ui.js';import{getTranslation as _0xfd28}from'../utils/common-translations.js';export default class X extends _0x694c1b{[_0x1718('0x1d')](){const _0x55b8f4=this[_0x1718('0xd')],_0x181b7c=_0x55b8f4[_0x1718('0x8')][_0x1718('0x24')](_0x1718('0xe')),_0x464843=_0x55b8f4['commands'][_0x1718('0x24')](_0x1718('0x7')),_0x244776=_0x55b8f4[_0x1718('0x11')][_0x1718('0x24')](_0x1718('0x19'));_0x464843&&_0x244776&&(_0x181b7c['_enableDefaultAttributesIntegration'](_0x1718('0x19')),_0x181b7c[_0x1718('0x9')]('copyFormat'),this[_0x1718('0x15')]());}[_0x1718('0x15')](){const _0x4ad6a5=this[_0x1718('0xd')],_0x14a9cf=_0x4ad6a5[_0x1718('0x0')];_0x4ad6a5['plugins'][_0x1718('0x24')]('TrackChangesEditing')[_0x1718('0x1f')][_0x1718('0x5')](_0x1cbd5c=>{if('formatBlock'!=_0x1cbd5c[_0x1718('0x1c')]&&_0x1718('0x23')!=_0x1cbd5c[_0x1718('0x1c')])return;const {data:_0x5dfb80}=_0x1cbd5c;if(_0x5dfb80&&'pasteFormat'===_0x5dfb80[_0x1718('0x20')]){const _0x1df6e6=[],_0x507e32=_0x5dfb80[_0x1718('0x21')][0x0];for(const [_0x162c73,_0xf26682]of Object['entries'](_0x507e32))_0x1df6e6[_0x1718('0x2')](so(_0x4ad6a5,_0x162c73,_0xf26682));return _0x1df6e6[_0x1718('0x1')]?{'type':_0x1718('0x10'),'content':_0xfd28(_0x14a9cf,_0x1718('0x22'),_0x1df6e6['join'](',\x20'))}:{'type':_0x1718('0x10'),'content':_0xfd28(_0x14a9cf,_0x1718('0x12'))};}});}}function so(_0x1e3ce4,_0x3ca4dc,_0x2597b9){const _0x43c8ec=_0x1e3ce4['locale']['t'],_0x53486b=_0x3ca4dc[_0x1718('0xc')](/(?=[A-Z])/)[_0x1718('0x26')]('\x20'),_0x36c36d=_0x43c8ec(_0x53486b[_0x1718('0x13')](0x0)[_0x1718('0x4')]()+_0x53486b[_0x1718('0x1a')](0x1))['toLowerCase']();if(_0x1718('0x18')==typeof _0x2597b9)return _0x36c36d;if(_0x1718('0x1e')===_0x3ca4dc||'fontBackgroundColor'===_0x3ca4dc){const _0x276996=_0x5c9e4c(_0x1e3ce4[_0x1718('0xf')][_0x1718('0x24')](_0x1718('0x3')))[_0x1718('0x1b')](_0x1ab958=>_0x1ab958[_0x1718('0xb')]==_0x2597b9);return _0x36c36d+'\x20('+(_0x276996?_0x43c8ec(_0x276996[_0x1718('0x16')])[_0x1718('0x14')]():_0x2597b9)+')';}if(_0x1718('0x6')===_0x3ca4dc&&isNaN(parseFloat(_0x2597b9))){const _0x5cf86d=_0x1e3ce4[_0x1718('0x8')][_0x1718('0x24')](_0x1718('0x25'))[_0x1718('0x17')](_0x1e3ce4['config'][_0x1718('0x24')]('fontSize.options'))[_0x1718('0x1b')](_0x1b276a=>_0x1b276a['model']==_0x2597b9);return _0x36c36d+'\x20('+(_0x5cf86d?_0x43c8ec(_0x5cf86d[_0x1718('0xa')])[_0x1718('0x14')]():_0x2597b9)+')';}return _0x36c36d+'\x20('+_0x2597b9+')';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a76=['ELEMENT_HEADING_CUSTOM','heading.options','ELEMENT_HEADING','heading','plugins','model','format','title','view','TrackChangesEditing','*Change\x20to:*\x20%0','registerElementLabel','_enableDefaultAttributesIntegration','get','has','value','name','HeadingEditing','config','match','_descriptionFactory','commandName','_registerLegacyDescription','_headingOptions','afterInit','paragraph','_getHeadingLevel','locale','editor','find','type'];(function(_0xd7277,_0x4a761d){const _0x3c1aeb=function(_0x16aa4b){while(--_0x16aa4b){_0xd7277['push'](_0xd7277['shift']());}};_0x3c1aeb(++_0x4a761d);}(_0x4a76,0x67));const _0x3c1a=function(_0xd7277,_0x4a761d){_0xd7277=_0xd7277-0x0;let _0x3c1aeb=_0x4a76[_0xd7277];return _0x3c1aeb;};import{Plugin as _0xd59303}from'ckeditor5/src/core.js';import{getTranslation as _0x4763a1}from'../utils/common-translations.js';export default class Y extends _0xd59303{[_0x3c1a('0xe')](){const _0x3f781a=this[_0x3c1a('0x12')];if(!_0x3f781a[_0x3c1a('0x19')][_0x3c1a('0x4')](_0x3c1a('0x7')))return;this[_0x3c1a('0xd')]=_0x3f781a[_0x3c1a('0x8')][_0x3c1a('0x3')](_0x3c1a('0x16'));const _0x253d2b=_0x3f781a[_0x3c1a('0x11')],_0x1cd4f5=_0x3f781a[_0x3c1a('0x19')][_0x3c1a('0x3')](_0x3c1a('0x1e'));_0x1cd4f5[_0x3c1a('0x2')](_0x3c1a('0x18'));for(const _0x3c2a26 of this[_0x3c1a('0xd')])_0x3c1a('0xf')!=_0x3c2a26[_0x3c1a('0x1a')]&&_0x1cd4f5['_descriptionFactory'][_0x3c1a('0x1')](_0x3c2a26[_0x3c1a('0x1a')],_0xb2458b=>{const _0x3b44b0=this[_0x3c1a('0x10')](_0x3c2a26[_0x3c1a('0x1a')]);return null!==_0x3b44b0?_0x16705f(_0xb2458b,_0x3b44b0):_0x117a4e(_0xb2458b,_0x3c2a26[_0x3c1a('0x1c')]);});function _0x16705f(_0x2a78d3,_0x2fcb86){return _0x4763a1(_0x253d2b,_0x3c1a('0x17'),[_0x2a78d3,_0x2fcb86]);}function _0x117a4e(_0x44dae5,_0x493288){return _0x4763a1(_0x253d2b,'ELEMENT_HEADING_CUSTOM',[_0x44dae5,_0x493288]);}this[_0x3c1a('0xc')]();}[_0x3c1a('0xc')](){const _0x2a165a=this[_0x3c1a('0x12')],_0x21fe74=_0x2a165a[_0x3c1a('0x11')];function _0x2c9727(_0x1b09b8,_0x1f9fab){return _0x4763a1(_0x21fe74,_0x3c1a('0x15'),[_0x1b09b8,_0x1f9fab]);}_0x2a165a['plugins']['get'](_0x3c1a('0x1e'))[_0x3c1a('0xa')]['registerDescriptionCallback'](_0x424ef2=>{if('formatBlock'!=_0x424ef2[_0x3c1a('0x14')])return;const {data:_0x31ac96}=_0x424ef2;if(_0x31ac96&&_0x3c1a('0x18')==_0x31ac96[_0x3c1a('0xb')]){const _0x3b68bb=_0x31ac96['commandParams'][0x0][_0x3c1a('0x5')],_0x1d5886=this['_getHeadingLevel'](_0x3b68bb);if(null!==_0x1d5886)return{'type':_0x3c1a('0x1b'),'content':_0x4763a1(_0x21fe74,_0x3c1a('0x0'),(_0x3182ed=0x1,_0x5b3844=_0x1d5886,_0x4763a1(_0x21fe74,'ELEMENT_HEADING',[_0x3182ed,_0x5b3844])))};const _0x4ce9f9=this['_headingOptions'][_0x3c1a('0x13')](_0x279287=>_0x279287[_0x3c1a('0x1a')]===_0x3b68bb)['title'];return{'type':_0x3c1a('0x1b'),'content':_0x4763a1(_0x21fe74,_0x3c1a('0x0'),_0x2c9727(0x1,_0x4ce9f9))};}var _0x3182ed,_0x5b3844;});}['_getHeadingLevel'](_0x3f047e){var _0x5eb6f8,_0x115bc8;const _0x3f7738=_0x3f047e[_0x3c1a('0x9')](/^heading(\d+)/);if(_0x3f7738)return _0x3f7738[0x1];const _0x621c1c=null===(_0x5eb6f8=this[_0x3c1a('0xd')])||void 0x0===_0x5eb6f8?void 0x0:_0x5eb6f8[_0x3c1a('0x13')](_0x45e672=>_0x45e672[_0x3c1a('0x1a')]==_0x3f047e);if(_0x621c1c&&_0x621c1c[_0x3c1a('0x1d')]){const _0x507fda=_0x621c1c[_0x3c1a('0x1d')],_0x3d13ff=(null!==(_0x115bc8=_0x507fda[_0x3c1a('0x6')])&&void 0x0!==_0x115bc8?_0x115bc8:_0x507fda)[_0x3c1a('0x9')](/^h(\d+)/);if(_0x3d13ff)return _0x3d13ff[0x1];}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e05=['color','registerDescriptionCallback','editor','HighlightEditing','toLowerCase','format','_registerLegacyDescription','highlight','commandName','plugins','*Set\x20highlight:*\x20%0','registerAttributeLabel','get','type','highlight.options','title','config','has','FORMAT_HIGHLIGHT','model','_descriptionFactory','value','TrackChangesEditing','formatInline','commandParams','afterInit'];(function(_0x4a1f90,_0x5e05d4){const _0x47c0ca=function(_0x156bd6){while(--_0x156bd6){_0x4a1f90['push'](_0x4a1f90['shift']());}};_0x47c0ca(++_0x5e05d4);}(_0x5e05,0x19b));const _0x47c0=function(_0x4a1f90,_0x5e05d4){_0x4a1f90=_0x4a1f90-0x0;let _0x47c0ca=_0x5e05[_0x4a1f90];return _0x47c0ca;};import{Plugin as _0x4ff1ef}from'ckeditor5/src/core.js';import{getTranslation as _0x1586e0}from'../utils/common-translations.js';export default class Z extends _0x4ff1ef{[_0x47c0('0x4')](){const _0x25169c=this[_0x47c0('0x7')];if(!_0x25169c[_0x47c0('0xe')][_0x47c0('0x16')](_0x47c0('0x8')))return;const _0x4eab28=_0x25169c[_0x47c0('0xe')][_0x47c0('0x11')](_0x47c0('0x1')),_0x2097f3=_0x25169c['locale'];_0x4eab28['_enableDefaultAttributesIntegration'](_0x47c0('0xc'),[_0x47c0('0xc')]),_0x4eab28['_descriptionFactory'][_0x47c0('0x10')](_0x47c0('0xc'),_0x1586e0(_0x2097f3,_0x47c0('0x17'))),this[_0x47c0('0xb')]();}[_0x47c0('0xb')](){const _0x2c78f1=this[_0x47c0('0x7')],_0x30373d=_0x2c78f1['locale'];_0x2c78f1[_0x47c0('0xe')]['get']('TrackChangesEditing')[_0x47c0('0x19')][_0x47c0('0x6')](_0x4f0694=>{if(_0x47c0('0x2')!=_0x4f0694[_0x47c0('0x12')])return;const {data:_0x34014d}=_0x4f0694;if(_0x34014d&&_0x47c0('0xc')==_0x34014d[_0x47c0('0xd')]){const _0x1108fe=_0x30373d['t'],_0x361144=_0x34014d[_0x47c0('0x3')][0x0][_0x47c0('0x0')];if(_0x361144){const _0x5afe4b=_0x2c78f1[_0x47c0('0x15')]['get'](_0x47c0('0x13'))['find'](_0x4be30b=>_0x4be30b[_0x47c0('0x18')]==_0x361144),_0x12e3ee=_0x1108fe(_0x5afe4b[_0x47c0('0x14')])[_0x47c0('0x9')]();return{'type':_0x47c0('0xa'),'content':_0x1586e0(_0x30373d,_0x47c0('0xf'),_0x12e3ee),'color':{'value':_0x5afe4b[_0x47c0('0x5')],'title':_0x5afe4b[_0x47c0('0x14')]}};}return{'type':'format','content':_0x1586e0(_0x30373d,'*Remove\x20highlight*',_0x1586e0(_0x30373d,_0x47c0('0x17')))};}});}}
|