@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240205.0 → 0.0.0-nightly-20240206.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-20240206.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-20240206.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240206.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 _0x2f51=['getRanges','track-changes-accept-suggestion-not-found','get','plugins','editor','model','canEditAt','_isEnabledBasedOnSelection','TrackChangesEditing','acceptSuggestion','refresh','_suggestions','execute'];(function(_0x3b905d,_0x2f518a){const _0x55480d=function(_0x3cd3d2){while(--_0x3cd3d2){_0x3b905d['push'](_0x3b905d['shift']());}};_0x55480d(++_0x2f518a);}(_0x2f51,0x15e));const _0x5548=function(_0x3b905d,_0x2f518a){_0x3b905d=_0x3b905d-0x0;let _0x55480d=_0x2f51[_0x3b905d];return _0x55480d;};import{Command as _0x188ff6}from'ckeditor5/src/core.js';import{CKEditorError as _0x522624}from'ckeditor5/src/utils.js';export default class $ extends _0x188ff6{constructor(_0xd8fde5,_0x423acc){super(_0xd8fde5),this[_0x5548('0xc')]=_0x423acc,this[_0x5548('0xb')](),this[_0x5548('0x8')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x5548('0x0')](_0x245f9d){const _0x540175=this[_0x5548('0xc')][_0x5548('0x3')](_0x245f9d);if(!_0x540175)throw new _0x522624(_0x5548('0x2'),this);const _0x543d9d=_0x540175[_0x5548('0x1')]();this[_0x5548('0x5')][_0x5548('0x6')][_0x5548('0x7')](_0x543d9d)&&this[_0x5548('0x5')][_0x5548('0x4')][_0x5548('0x3')](_0x5548('0x9'))[_0x5548('0xa')](_0x540175);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a47=['plugins','editor','model','discardSuggestion','refresh','_suggestions','get','execute','_isEnabledBasedOnSelection','canEditAt','TrackChangesEditing'];(function(_0x2d7dd8,_0x2a4744){const _0x2df064=function(_0x2ba722){while(--_0x2ba722){_0x2d7dd8['push'](_0x2d7dd8['shift']());}};_0x2df064(++_0x2a4744);}(_0x2a47,0x123));const _0x2df0=function(_0x2d7dd8,_0x2a4744){_0x2d7dd8=_0x2d7dd8-0x0;let _0x2df064=_0x2a47[_0x2d7dd8];return _0x2df064;};import{Command as _0x5ccce3}from'ckeditor5/src/core.js';import{CKEditorError as _0x1d2ab2}from'ckeditor5/src/utils.js';export default class B extends _0x5ccce3{constructor(_0x37d03f,_0x4d1a4c){super(_0x37d03f),this['_suggestions']=_0x4d1a4c,this[_0x2df0('0xa')](),this[_0x2df0('0x3')]=!0x1;}[_0x2df0('0xa')](){this['isEnabled']=!0x0;}[_0x2df0('0x2')](_0xe4e415){const _0x1edd99=this[_0x2df0('0x0')][_0x2df0('0x1')](_0xe4e415);if(!_0x1edd99)throw new _0x1d2ab2('track-changes-discard-suggestion-not-found',this);const _0xe95985=_0x1edd99['getRanges']();this['editor'][_0x2df0('0x8')][_0x2df0('0x4')](_0xe95985)&&this[_0x2df0('0x7')][_0x2df0('0x6')]['get'](_0x2df0('0x5'))[_0x2df0('0x9')](_0x1edd99);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xce78=['some','_isEnabledBasedOnSelection','isEnabled','canEditAt','values','_command','refresh','_suggestions','editor'];(function(_0x32327b,_0xce7893){const _0x2b7a83=function(_0x55e854){while(--_0x55e854){_0x32327b['push'](_0x32327b['shift']());}};_0x2b7a83(++_0xce7893);}(_0xce78,0x137));const _0x2b7a=function(_0x32327b,_0xce7893){_0x32327b=_0x32327b-0x0;let _0x2b7a83=_0xce78[_0x32327b];return _0x2b7a83;};import{Command as _0x156d0b}from'ckeditor5/src/core.js';import{sortSuggestions as _0x2b7372,executeCommandForSuggestions as _0x1a0fcb}from'../utils/utils.js';export default class x extends _0x156d0b{constructor(_0x1a657f,_0x5f05f0,_0x4752f4){super(_0x1a657f),this[_0x2b7a('0x0')]=_0x5f05f0,this['_suggestions']=_0x4752f4,this[_0x2b7a('0x1')](),this[_0x2b7a('0x5')]=!0x1;}[_0x2b7a('0x1')](){const _0x4fe90c=Array['from'](this[_0x2b7a('0x2')][_0x2b7a('0x8')]())[_0x2b7a('0x4')](_0x2dc458=>_0x2dc458['isInContent']);this[_0x2b7a('0x6')]=this[_0x2b7a('0x0')]['isEnabled']&&_0x4fe90c;}['execute'](){const _0x4559f3=_0x2b7372(Array['from'](this[_0x2b7a('0x2')][_0x2b7a('0x8')]()));for(const _0x54bdb1 of _0x4559f3){const _0x5da37e=_0x54bdb1['getRanges']();if(!this[_0x2b7a('0x3')]['model'][_0x2b7a('0x7')](_0x5da37e))return;}_0x1a0fcb(this[_0x2b7a('0x3')]['model'],this[_0x2b7a('0x0')],_0x4559f3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c2e=['refresh','_command','editor','_suggestions','selection','_selectedSuggestions','from','_isEnabledBasedOnSelection','values','isEnabled','canEditAt','model','getRanges'];(function(_0x55fa8b,_0x4c2eb9){const _0x494cba=function(_0x1b02cc){while(--_0x1b02cc){_0x55fa8b['push'](_0x55fa8b['shift']());}};_0x494cba(++_0x4c2eb9);}(_0x4c2e,0x1cd));const _0x494c=function(_0x55fa8b,_0x4c2eb9){_0x55fa8b=_0x55fa8b-0x0;let _0x494cba=_0x4c2e[_0x55fa8b];return _0x494cba;};import{Command as _0x332dd8}from'ckeditor5/src/core.js';import{sortSuggestions as _0xf4554e,getSelectedSuggestions as _0x401664,executeCommandForSuggestions as _0x25bad2}from'../utils/utils.js';export default class R extends _0x332dd8{constructor(_0x7b697f,_0x978d20,_0x1a5e56){super(_0x7b697f),this[_0x494c('0x8')]=_0x978d20,this[_0x494c('0xa')]=_0x1a5e56,this[_0x494c('0xc')]=new Set(),this[_0x494c('0x7')](),this[_0x494c('0x1')]=!0x1;}[_0x494c('0x7')](){const _0x5cfc44=this[_0x494c('0x9')]['model']['document'][_0x494c('0xb')],_0x192d11=Array[_0x494c('0x0')](this[_0x494c('0xa')][_0x494c('0x2')]());this[_0x494c('0xc')]=_0x401664(_0x5cfc44,_0x192d11),this[_0x494c('0x3')]=this[_0x494c('0x8')]['isEnabled']&&!!this[_0x494c('0xc')]['size'];}['execute'](){const _0x40e88e=_0xf4554e(Array[_0x494c('0x0')](this['_selectedSuggestions']));for(const _0x4cabc3 of _0x40e88e){const _0x4302ef=_0x4cabc3[_0x494c('0x6')]();if(!this[_0x494c('0x9')]['model'][_0x494c('0x4')](_0x4302ef))return;}_0x25bad2(this['editor'][_0x494c('0x5')],this[_0x494c('0x8')],_0x40e88e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3973=['_enableCommands','isEnabled','refresh','value','TrackChangesCommand','clearForceDisabled','_enabledCommands','commands','has','forceDisabled','_disableUnsupportedCommands','affectsData','execute','editor','_isEnabledBasedOnSelection'];(function(_0x170094,_0x39736d){const _0x14fdcd=function(_0x2e8343){while(--_0x2e8343){_0x170094['push'](_0x170094['shift']());}};_0x14fdcd(++_0x39736d);}(_0x3973,0xc4));const _0x14fd=function(_0x170094,_0x39736d){_0x170094=_0x170094-0x0;let _0x14fdcd=_0x3973[_0x170094];return _0x14fdcd;};import{Command as _0x37a67c}from'ckeditor5/src/core.js';export default class M extends _0x37a67c{constructor(_0x50d823,_0x24ef08){super(_0x50d823),this[_0x14fd('0x5')]=_0x24ef08,this['value']=!0x1,this[_0x14fd('0x1')](),this[_0x14fd('0xd')]=!0x1;}[_0x14fd('0x1')](){this[_0x14fd('0x0')]=!0x0;}[_0x14fd('0xb')](){this[_0x14fd('0x2')]=!this[_0x14fd('0x2')],this[_0x14fd('0x2')]?this[_0x14fd('0x9')]():this[_0x14fd('0xe')]();}[_0x14fd('0x9')](){for(const _0x21eebe of this[_0x14fd('0xc')][_0x14fd('0x6')][_0x14fd('0x6')]())_0x21eebe[_0x14fd('0xa')]&&!this[_0x14fd('0x5')]['has'](_0x21eebe)&&_0x21eebe[_0x14fd('0x8')](_0x14fd('0x3'));}['_enableCommands'](){for(const _0x295fea of this['editor'][_0x14fd('0x6')]['commands']())_0x295fea['affectsData']&&!this['_enabledCommands'][_0x14fd('0x7')](_0x295fea)&&_0x295fea[_0x14fd('0x4')](_0x14fd('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9004=['plugins','editor','afterInit','commands','showAIAssistant','enableCommand','get'];(function(_0x413649,_0x90041b){const _0x10e9eb=function(_0x33fd11){while(--_0x33fd11){_0x413649['push'](_0x413649['shift']());}};_0x10e9eb(++_0x90041b);}(_0x9004,0x176));const _0x10e9=function(_0x413649,_0x90041b){_0x413649=_0x413649-0x0;let _0x10e9eb=_0x9004[_0x413649];return _0x10e9eb;};import{Plugin as _0x14201c}from'ckeditor5/src/core.js';export default class E extends _0x14201c{[_0x10e9('0x6')](){const _0x6f2eac=this[_0x10e9('0x5')],_0x1ea842=_0x6f2eac[_0x10e9('0x4')][_0x10e9('0x3')]('TrackChangesEditing');_0x6f2eac[_0x10e9('0x0')]['get'](_0x10e9('0x1'))&&_0x1ea842[_0x10e9('0x2')](_0x10e9('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e1d=['get','format','FORMAT_JUSTIFY_TEXT','registerAttributeLabel','alignment','FORMAT_ALIGN_TO_CENTER','left','center','editor','plugins','_enableDefaultAttributesIntegration','afterInit','registerDescriptionCallback','locale','_descriptionFactory','formatBlock','FORMAT_ALIGN_TO_LEFT','commandName','right','_registerLegacyDescription','has','commandParams','TrackChangesEditing','*Format:*\x20%0','FORMAT_ALIGN_TO_RIGHT'];(function(_0x1ee13f,_0x5e1d7a){const _0x15c204=function(_0x2d3d97){while(--_0x2d3d97){_0x1ee13f['push'](_0x1ee13f['shift']());}};_0x15c204(++_0x5e1d7a);}(_0x5e1d,0xe5));const _0x15c2=function(_0x1ee13f,_0x5e1d7a){_0x1ee13f=_0x1ee13f-0x0;let _0x15c204=_0x5e1d[_0x1ee13f];return _0x15c204;};import{Plugin as _0x4bea1f}from'ckeditor5/src/core.js';import{getTranslation as _0xe6a3a2}from'../utils/common-translations.js';export default class V extends _0x4bea1f{[_0x15c2('0x7')](){const _0x4cffd4=this[_0x15c2('0x4')],_0x9ae697=_0x4cffd4['locale'];if(!_0x4cffd4[_0x15c2('0x5')][_0x15c2('0x10')]('AlignmentEditing'))return;const _0x371031=_0x4cffd4[_0x15c2('0x5')][_0x15c2('0x15')](_0x15c2('0x12'));_0x371031[_0x15c2('0x6')]('alignment',[],[_0x15c2('0x0')]),_0x371031[_0x15c2('0xa')][_0x15c2('0x18')](_0x15c2('0x0'),_0xe6a3a2(_0x9ae697,'FORMAT_ALIGNMENT')),this[_0x15c2('0xf')]();}[_0x15c2('0xf')](){const _0x36bf35=this[_0x15c2('0x4')],_0x23400e=_0x36bf35[_0x15c2('0x9')];_0x36bf35[_0x15c2('0x5')][_0x15c2('0x15')]('TrackChangesEditing')[_0x15c2('0xa')][_0x15c2('0x8')](_0x553586=>{if(_0x15c2('0xb')!=_0x553586['type'])return;const {data:_0x2f255b}=_0x553586;if(_0x2f255b&&_0x15c2('0x0')==_0x2f255b[_0x15c2('0xd')]){const _0x348ddf=_0x2f255b[_0x15c2('0x11')][0x0]['value'];return{'type':_0x15c2('0x16'),'content':_0xe6a3a2(_0x23400e,_0x15c2('0x13'),function(_0x42029d){switch(_0x42029d){case _0x15c2('0x2'):return _0xe6a3a2(_0x23400e,_0x15c2('0xc'));case _0x15c2('0xe'):return _0xe6a3a2(_0x23400e,_0x15c2('0x14'));case _0x15c2('0x3'):return _0xe6a3a2(_0x23400e,_0x15c2('0x1'));case'justify':return _0xe6a3a2(_0x23400e,_0x15c2('0x17'));}}(_0x348ddf))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5584=['_registerLegacyDescription','SubscriptEditing','TrackChangesEditing','formatInline','UnderlineEditing','type','get','slice','*Remove\x20format:*\x20%0','ItalicEditing','FORMAT_CODE','FORMAT_','FORMAT_SUPERSCRIPT','forceValue','FORMAT_UNDERLINE','toLowerCase','italic','_descriptionFactory','*Format:*\x20%0','commandName','FORMAT_STRIKETHROUGH','editor','superscript','CodeEditing','plugins','has','commandParams','code','registerDescriptionCallback','locale','underline','format','afterInit','bold'];(function(_0x576034,_0x5584dd){const _0x5604c6=function(_0x39f78d){while(--_0x39f78d){_0x576034['push'](_0x576034['shift']());}};_0x5604c6(++_0x5584dd);}(_0x5584,0x7a));const _0x5604=function(_0x576034,_0x5584dd){_0x576034=_0x576034-0x0;let _0x5604c6=_0x5584[_0x576034];return _0x5604c6;};import{Plugin as _0x11bbae}from'ckeditor5/src/core.js';import{getTranslation as _0xf0bf93}from'../utils/common-translations.js';const ti=['BoldEditing',_0x5604('0x17'),_0x5604('0x12'),_0x5604('0x3'),'StrikethroughEditing',_0x5604('0xf'),'SuperscriptEditing'];export default class U extends _0x11bbae{[_0x5604('0xc')](){const _0x5f1bba=this[_0x5604('0x1')],_0x545004=_0x5f1bba[_0x5604('0x4')]['get'](_0x5604('0x10')),_0x4a28a9=_0x5f1bba[_0x5604('0x9')];for(const _0x33e40e of ti){if(!_0x5f1bba[_0x5604('0x4')][_0x5604('0x5')](_0x33e40e))continue;const _0x4b362b=_0x33e40e[_0x5604('0x15')](0x0,-0x7)[_0x5604('0x1d')](),_0x5ba3da=_0x5604('0x19')+_0x4b362b['toUpperCase']();_0x545004['_enableDefaultAttributesIntegration'](_0x4b362b,[_0x4b362b]),_0x545004[_0x5604('0x1f')]['registerAttributeLabel'](_0x4b362b,_0xf0bf93(_0x4a28a9,_0x5ba3da));}this['_registerLegacyDescription']();}[_0x5604('0xe')](){const _0x3c225c=this[_0x5604('0x1')],_0x1eb932=_0x3c225c[_0x5604('0x9')],_0x2b439d=_0x3c225c[_0x5604('0x4')][_0x5604('0x14')]('TrackChangesEditing');function _0x27941b(_0x4b07cc,_0x28685f){_0x2b439d[_0x5604('0x1f')][_0x5604('0x8')](_0x5c9000=>{if(_0x5604('0x11')!=_0x5c9000[_0x5604('0x13')])return;const {data:_0x301c60}=_0x5c9000;return _0x301c60&&_0x301c60[_0x5604('0x21')]===_0x4b07cc?_0x301c60[_0x5604('0x6')][0x0][_0x5604('0x1b')]?{'type':_0x5604('0xb'),'content':_0xf0bf93(_0x1eb932,_0x5604('0x20'),_0x28685f)}:{'type':_0x5604('0xb'),'content':_0xf0bf93(_0x1eb932,_0x5604('0x16'),_0x28685f)}:void 0x0;});}_0x27941b(_0x5604('0xd'),_0xf0bf93(_0x1eb932,'FORMAT_BOLD')),_0x27941b(_0x5604('0x1e'),_0xf0bf93(_0x1eb932,'FORMAT_ITALIC')),_0x27941b(_0x5604('0xa'),_0xf0bf93(_0x1eb932,_0x5604('0x1c'))),_0x27941b(_0x5604('0x7'),_0xf0bf93(_0x1eb932,_0x5604('0x18'))),_0x27941b('strikethrough',_0xf0bf93(_0x1eb932,_0x5604('0x0'))),_0x27941b('subscript',_0xf0bf93(_0x1eb932,'FORMAT_SUBSCRIPT')),_0x27941b(_0x5604('0x2'),_0xf0bf93(_0x1eb932,_0x5604('0x1a')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4968=['markBlockFormat','checkChild','from','afterInit','format','name','ELEMENT_BLOCK_QUOTE','commandParams','get','$root','*Set\x20format:*\x20%0','model','parent','commandName','filter','has','registerDescriptionCallback','blockQuote','value','forceValue','plugins','editor','BlockQuoteEditing','change','locale','_descriptionFactory','TrackChangesEditing'];(function(_0x4b2a7a,_0x496886){const _0xde7b41=function(_0x40d6fb){while(--_0x40d6fb){_0x4b2a7a['push'](_0x4b2a7a['shift']());}};_0xde7b41(++_0x496886);}(_0x4968,0x77));const _0xde7b=function(_0x4b2a7a,_0x496886){_0x4b2a7a=_0x4b2a7a-0x0;let _0xde7b41=_0x4968[_0x4b2a7a];return _0xde7b41;};import{Plugin as _0x308f33}from'ckeditor5/src/core.js';import{getTranslation as _0x151915}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x423456}from'../utils/utils.js';export default class O extends _0x308f33{[_0xde7b('0x13')](){const _0x5ac79b=this[_0xde7b('0xa')],_0x4f5966=_0x5ac79b[_0xde7b('0xd')];if(!_0x5ac79b[_0xde7b('0x9')][_0xde7b('0x4')](_0xde7b('0xb')))return;const _0x32c127=_0x5ac79b['plugins'][_0xde7b('0x18')](_0xde7b('0xf')),_0x38a16e=this[_0xde7b('0xa')]['commands'][_0xde7b('0x18')](_0xde7b('0x6'));_0x32c127['enableCommand']('blockQuote',(_0x169109,_0x7298de={})=>{const _0x5e5da3=this[_0xde7b('0xa')][_0xde7b('0x0')]['document']['selection'],_0x3705c9=_0x7298de&&void 0x0!==_0x7298de['forceValue']?_0x7298de[_0xde7b('0x8')]:!_0x38a16e[_0xde7b('0x7')];let _0x3f5617=[];if(_0x3705c9){const _0xdb421=Array[_0xde7b('0x12')](_0x5e5da3['getSelectedBlocks']())[_0xde7b('0x3')](_0x3e1a9e=>oo(_0x3e1a9e)||function(_0x33c229,_0x2065e6){const _0x18bade=_0x2065e6[_0xde7b('0x11')](_0x33c229[_0xde7b('0x1')],_0xde7b('0x6')),_0x5bc675=_0x2065e6[_0xde7b('0x11')]([_0xde7b('0x19'),'blockQuote'],_0x33c229);return _0x18bade&&_0x5bc675;}(_0x3e1a9e,this[_0xde7b('0xa')][_0xde7b('0x0')]['schema']));_0x3f5617=_0x423456(_0xdb421,_0x5ac79b[_0xde7b('0x0')]);}else{const _0x394acb=Array[_0xde7b('0x12')](_0x5e5da3['getSelectedBlocks']())[_0xde7b('0x3')](_0x2535f6=>oo(_0x2535f6));_0x3f5617=_0x423456(_0x394acb,_0x5ac79b[_0xde7b('0x0')]);}_0x5ac79b[_0xde7b('0x0')][_0xde7b('0xc')](()=>{for(const _0x608cb3 of _0x3f5617)_0x32c127[_0xde7b('0x10')](_0x608cb3,{'commandName':_0xde7b('0x6'),'commandParams':[{'forceValue':_0x3705c9}]});});}),_0x32c127[_0xde7b('0xe')][_0xde7b('0x5')](_0x1953ce=>{const {data:_0x531a53}=_0x1953ce;if(_0x531a53&&_0xde7b('0x6')==_0x531a53[_0xde7b('0x2')]){const _0xce65cc=_0x151915(_0x4f5966,_0xde7b('0x16'));return _0x531a53[_0xde7b('0x17')][0x0][_0xde7b('0x8')]?{'type':_0xde7b('0x14'),'content':_0x151915(_0x4f5966,_0xde7b('0x1a'),_0xce65cc)}:{'type':_0xde7b('0x14'),'content':_0x151915(_0x4f5966,'*Remove\x20format:*\x20%0',_0xce65cc)};}});}}function oo(_0x3d2c4c){return _0xde7b('0x6')==_0x3d2c4c[_0xde7b('0x1')][_0xde7b('0x15')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33ad=['get','changeCaseLower','changeCaseUpper','TrackChangesEditing','has','editor','plugins','enableCommand','afterInit'];(function(_0x1c682b,_0x33ad1d){const _0xc604e=function(_0x2958e7){while(--_0x2958e7){_0x1c682b['push'](_0x1c682b['shift']());}};_0xc604e(++_0x33ad1d);}(_0x33ad,0xdb));const _0xc604=function(_0x1c682b,_0x33ad1d){_0x1c682b=_0x1c682b-0x0;let _0xc604e=_0x33ad[_0x1c682b];return _0xc604e;};import{Plugin as _0x283abf}from'ckeditor5/src/core.js';export default class G extends _0x283abf{[_0xc604('0x5')](){const _0x1bd4a3=this[_0xc604('0x2')];_0x1bd4a3[_0xc604('0x3')][_0xc604('0x1')]('CaseChange')&&(_0x1bd4a3['plugins'][_0xc604('0x6')](_0xc604('0x0'))['enableCommand'](_0xc604('0x8')),_0x1bd4a3['plugins'][_0xc604('0x6')](_0xc604('0x0'))[_0xc604('0x4')](_0xc604('0x7')),_0x1bd4a3[_0xc604('0x3')][_0xc604('0x6')]('TrackChangesEditing')[_0xc604('0x4')]('changeCaseTitle'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ddf=['plugins','editor','afterInit','commands','get'];(function(_0x53242d,_0x4ddfc6){const _0x3cc37f=function(_0x42f656){while(--_0x42f656){_0x53242d['push'](_0x53242d['shift']());}};_0x3cc37f(++_0x4ddfc6);}(_0x4ddf,0x79));const _0x3cc3=function(_0x53242d,_0x4ddfc6){_0x53242d=_0x53242d-0x0;let _0x3cc37f=_0x4ddf[_0x53242d];return _0x3cc37f;};import{Plugin as _0x15043e}from'ckeditor5/src/core.js';export default class F extends _0x15043e{[_0x3cc3('0x1')](){const _0xee7894=this[_0x3cc3('0x0')];_0xee7894[_0x3cc3('0x2')][_0x3cc3('0x3')]('ckbox')&&_0xee7894[_0x3cc3('0x4')][_0x3cc3('0x3')]('TrackChangesEditing')['enableCommand']('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1754=['parent','find','has','afterInit','format','model','rootElement','commandParams','selection','change','locale','commandName','forceValue','CodeBlock','value','name','*Remove\x20format:*\x20%0','languages','markBlockFormat','getSelectedBlocks','plugins','enableCommand','schema','checkChild','from','isLimit','toLowerCase','registerElementLabel','blockName','language','type','codeBlock','commands','indentCodeBlock','ELEMENT_CODE_BLOCK','*Set\x20format:*\x20%0','label','filter'];(function(_0x3a5324,_0x1754c4){const _0x6be4ac=function(_0x20073f){while(--_0x20073f){_0x3a5324['push'](_0x3a5324['shift']());}};_0x6be4ac(++_0x1754c4);}(_0x1754,0x159));const _0x6be4=function(_0x3a5324,_0x1754c4){_0x3a5324=_0x3a5324-0x0;let _0x6be4ac=_0x1754[_0x3a5324];return _0x6be4ac;};import{Plugin as _0x56c211}from'ckeditor5/src/core.js';import{getTranslation as _0x3b7e3c}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x5163a5}from'../utils/utils.js';export default class L extends _0x56c211{[_0x6be4('0x0')](){const _0x9b50ad=this['editor'];if(!_0x9b50ad[_0x6be4('0x11')][_0x6be4('0x25')](_0x6be4('0xa')))return;const _0x43bb50=_0x9b50ad[_0x6be4('0x11')]['get']('TrackChangesEditing'),_0x284f36=_0x9b50ad[_0x6be4('0x7')],_0x13591a=_0x9b50ad['config']['get'](_0x6be4('0x1c'))[_0x6be4('0xe')],_0x23d657=_0x9b50ad[_0x6be4('0x1d')]['get']('codeBlock');_0x43bb50['enableCommand'](_0x6be4('0x1e')),_0x43bb50['enableCommand']('outdentCodeBlock'),_0x43bb50[_0x6be4('0x12')]('codeBlock',(_0xe62a40,_0x3ccfd7={})=>{const _0x155114=_0x9b50ad[_0x6be4('0x2')],_0x2c8036=_0x9b50ad[_0x6be4('0x2')]['document'][_0x6be4('0x5')],_0x4d5ec9=_0x3ccfd7&&void 0x0!==_0x3ccfd7['forceValue']?_0x3ccfd7[_0x6be4('0x9')]:!_0x23d657[_0x6be4('0xb')];let _0x7c5df;_0x3ccfd7[_0x6be4('0x1a')]||(_0x3ccfd7[_0x6be4('0x1a')]=_0x13591a[0x0][_0x6be4('0x1a')]),_0x7c5df=_0x4d5ec9?Array[_0x6be4('0x15')](_0x2c8036[_0x6be4('0x10')]())[_0x6be4('0x22')](_0x816f8b=>eo(_0x816f8b)||function(_0x453a8b,_0x331486){if(_0x453a8b['is'](_0x6be4('0x3'))||_0x331486[_0x6be4('0x16')](_0x453a8b))return!0x1;return _0x331486[_0x6be4('0x14')](_0x453a8b[_0x6be4('0x23')],'codeBlock');}(_0x816f8b,_0x155114[_0x6be4('0x13')])):Array[_0x6be4('0x15')](_0x2c8036[_0x6be4('0x10')]())[_0x6be4('0x22')](_0x3d75a0=>eo(_0x3d75a0));const _0x23edab=_0x5163a5(_0x7c5df,_0x155114);_0x155114[_0x6be4('0x6')](()=>{for(const _0x59c61a of _0x23edab)_0x43bb50[_0x6be4('0xf')](_0x59c61a,{'commandName':_0x6be4('0x1c'),'commandParams':[{..._0x3ccfd7,'forceValue':_0x4d5ec9}],'formatGroupId':_0x6be4('0x19')});});}),(_0x43bb50['_descriptionFactory'][_0x6be4('0x18')](_0x6be4('0x1c'),_0x58aedc=>_0x3b7e3c(_0x284f36,_0x6be4('0x1f'),_0x58aedc)),_0x43bb50['_descriptionFactory']['registerDescriptionCallback'](_0x4c06a3=>{if('formatBlock'!=_0x4c06a3[_0x6be4('0x1b')])return;const _0x1746a2=_0x284f36['t'],{data:_0x34bde8}=_0x4c06a3;if(!_0x34bde8||_0x6be4('0x1c')!=_0x34bde8[_0x6be4('0x8')])return;const _0x52e7e3=_0x34bde8[_0x6be4('0x4')][0x0][_0x6be4('0x1a')],_0x206386=_0x1746a2(_0x13591a[_0x6be4('0x24')](_0x54f443=>_0x54f443['language']===_0x52e7e3)[_0x6be4('0x21')])[_0x6be4('0x17')]();return _0x34bde8[_0x6be4('0x4')][0x0][_0x6be4('0x9')]?{'type':_0x6be4('0x1'),'content':_0x3b7e3c(_0x284f36,_0x6be4('0x20'),_0x3b7e3c(_0x284f36,_0x6be4('0x1f'),0x1)+'\x20('+_0x206386+')')}:{'type':_0x6be4('0x1'),'content':_0x3b7e3c(_0x284f36,_0x6be4('0xd'),_0x3b7e3c(_0x284f36,_0x6be4('0x1f'),0x1))};}));}}function eo(_0x1fda4b){return _0x6be4('0x1c')==_0x1fda4b[_0x6be4('0xc')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x433e=['editor','TrackChangesEditing','CommentsEditing','afterInit','get','addCommentThread','plugins','has'];(function(_0x5a1fff,_0x433ebc){const _0xd221b7=function(_0x2c1a83){while(--_0x2c1a83){_0x5a1fff['push'](_0x5a1fff['shift']());}};_0xd221b7(++_0x433ebc);}(_0x433e,0x1de));const _0xd221=function(_0x5a1fff,_0x433ebc){_0x5a1fff=_0x5a1fff-0x0;let _0xd221b7=_0x433e[_0x5a1fff];return _0xd221b7;};import{Plugin as _0x5a112a}from'ckeditor5/src/core.js';export default class H extends _0x5a112a{[_0xd221('0x5')](){const _0x51b725=this[_0xd221('0x2')];if(!_0x51b725[_0xd221('0x0')][_0xd221('0x1')](_0xd221('0x4')))return;_0x51b725[_0xd221('0x0')][_0xd221('0x6')](_0xd221('0x3'))['enableCommand'](_0xd221('0x7'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2496=['buffer','downcastDispatcher','forward','addMarker:suggestion:deletion','bind','get','options','enqueueChange','modifySelection','editor','editing','delete','unbindElementFromMarkerName','merge','mapper','enableCommand','getFirstRange','deleteForward','high','writer','$graveyard','remove','commands','markerName','root','lock','detach','model','batch','requires','unit','fromRange','showSuggestionHighlights','data','createSelection','createRange','isCollapsed','markerNameToElements','start','rootName','setSelection'];(function(_0x5c3395,_0x249630){const _0x7486a1=function(_0x243c10){while(--_0x243c10){_0x5c3395['push'](_0x5c3395['shift']());}};_0x7486a1(++_0x249630);}(_0x2496,0x1e7));const _0x7486=function(_0x5c3395,_0x249630){_0x5c3395=_0x5c3395-0x0;let _0x7486a1=_0x2496[_0x5c3395];return _0x7486a1;};import{Plugin as _0x172c59}from'ckeditor5/src/core.js';import{LiveRange as _0x3d7f73}from'ckeditor5/src/engine.js';import{Delete as _0x58d8ae}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x5187c3}from'./utils.js';export default class q extends _0x172c59{static get[_0x7486('0x22')](){return[_0x58d8ae];}['init'](){const _0x58096d=this[_0x7486('0xe')],_0x44d109=_0x58096d['plugins']['get']('TrackChangesEditing');_0x44d109[_0x7486('0x14')](_0x7486('0x10'));const _0x22f42d=_0x58096d[_0x7486('0x1b')][_0x7486('0xa')](_0x7486('0x16'));_0x44d109[_0x7486('0x14')](_0x7486('0x16'),(_0x543b30,_0x45d0ef={})=>{const _0x4cd07e=_0x58096d[_0x7486('0x20')][_0x7486('0x27')](_0x58096d[_0x7486('0x20')]['document']['selection']);_0x4cd07e[_0x7486('0x0')]&&_0x58096d['model'][_0x7486('0xd')](_0x4cd07e,{'direction':_0x7486('0x7'),'unit':_0x45d0ef[_0x7486('0x23')]});const _0x2e7c7a=_0x4cd07e[_0x7486('0x15')](),_0x4827d6=_0x3d7f73[_0x7486('0x24')](_0x2e7c7a);let _0x4fa6dc;_0x543b30(_0x45d0ef),_0x4fa6dc=_0x7486('0x19')==_0x4827d6[_0x7486('0x1d')][_0x7486('0x3')]?_0x58096d[_0x7486('0x20')][_0x7486('0x28')](_0x2e7c7a[_0x7486('0x2')]):_0x58096d['model'][_0x7486('0x28')](_0x4827d6[_0x7486('0x2')],_0x4827d6['end']),_0x4827d6[_0x7486('0x1f')](),_0x58096d[_0x7486('0x20')][_0x7486('0xc')](_0x22f42d[_0x7486('0x5')][_0x7486('0x21')],_0x23fd44=>{_0x22f42d[_0x7486('0x5')][_0x7486('0x1e')](),_0x23fd44[_0x7486('0x4')](_0x23fd44[_0x7486('0x28')](_0x4fa6dc['end'])),_0x22f42d[_0x7486('0x5')]['unlock']();});}),_0x58096d[_0x7486('0xf')][_0x7486('0x6')]['on'](_0x7486('0x8'),_0x5187c3(_0x58096d,_0x7486('0x12')),{'priority':_0x7486('0x17')}),_0x58096d[_0x7486('0x26')]['downcastDispatcher']['on'](_0x7486('0x8'),(_0x8d4e82,_0x3fdf19,_0x13b105)=>{_0x13b105[_0x7486('0xb')][_0x7486('0x25')]&&_0x5187c3(_0x58096d,_0x7486('0x12'),{'showActiveMarker':!0x1})[_0x7486('0x9')](this)(_0x8d4e82,_0x3fdf19,_0x13b105);},{'priority':'high'}),_0x58096d[_0x7486('0xf')][_0x7486('0x6')]['on']('removeMarker:suggestion:deletion',(_0x312be9,_0xca789e,_0x4e5283)=>{const _0x317f43=_0x4e5283[_0x7486('0x13')][_0x7486('0x1')](_0xca789e['markerName']);if(_0x317f43)for(const _0x4df924 of _0x317f43)_0x4df924['is']('uiElement')&&(_0x4e5283[_0x7486('0x13')][_0x7486('0x11')](_0x4df924,_0xca789e[_0x7486('0x1c')]),_0x4e5283[_0x7486('0x18')][_0x7486('0x1a')](_0x4df924));},{'priority':_0x7486('0x17')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1826=['markerName','data','split','selection','init','editing','editor','addMarker:suggestion:insertion','getFirstRange','commands','writer','setSelection','createRange','high','remove','enterBlock','markerNameToElements','document','getFirstPosition','fire','createPositionAt','options','get','mapper','nextSibling','afterExecute','parent','unbindElementFromMarkerName','enter','fromRange','model','enableCommand','end'];(function(_0x540099,_0x182696){const _0x244990=function(_0x5c39d5){while(--_0x5c39d5){_0x540099['push'](_0x540099['shift']());}};_0x244990(++_0x182696);}(_0x1826,0x1c5));const _0x2449=function(_0x540099,_0x182696){_0x540099=_0x540099-0x0;let _0x244990=_0x1826[_0x540099];return _0x244990;};import{Plugin as _0xb4ef86}from'ckeditor5/src/core.js';import{Enter as _0x21ddbc}from'ckeditor5/src/enter.js';import{LiveRange as _0x217629}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x36b39e}from'./utils.js';export default class W extends _0xb4ef86{static get['requires'](){return[_0x21ddbc];}[_0x2449('0xd')](){const _0xf0f9f9=this[_0x2449('0xf')],_0x16b094=_0xf0f9f9['plugins'][_0x2449('0x1f')]('TrackChangesEditing'),_0xe3b1fc=_0xf0f9f9[_0x2449('0x12')][_0x2449('0x1f')](_0x2449('0x4'));_0x16b094[_0x2449('0x7')](_0x2449('0x4'),()=>{_0xf0f9f9[_0x2449('0x6')]['change'](_0x46513f=>{const _0x9806b3=_0xf0f9f9[_0x2449('0x6')][_0x2449('0x1a')][_0x2449('0xc')],_0x35c656=_0x9806b3[_0x2449('0x1b')](),_0x4d4fe7=_0x217629[_0x2449('0x5')](_0x9806b3[_0x2449('0x11')]());if(_0xe3b1fc[_0x2449('0x18')](_0x46513f)){const _0x3d674b=_0xf0f9f9[_0x2449('0x6')][_0x2449('0x1d')](_0x35c656[_0x2449('0x2')][_0x2449('0x0')],0x0),_0x349066=_0x46513f[_0x2449('0x15')](_0x35c656,_0x3d674b);_0x16b094['markInsertion'](_0x349066);}else _0x46513f[_0x2449('0x14')](_0x46513f[_0x2449('0x15')](_0x4d4fe7[_0x2449('0x8')]));_0x4d4fe7['detach'](),_0xe3b1fc[_0x2449('0x1c')](_0x2449('0x1'),{'writer':_0x46513f});});}),_0xf0f9f9[_0x2449('0xe')]['downcastDispatcher']['on'](_0x2449('0x10'),_0x36b39e(_0xf0f9f9,_0x2449('0xb')),{'priority':_0x2449('0x16')}),_0xf0f9f9[_0x2449('0xe')]['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x5b4740,_0x5e58dd,_0xf1cfe8)=>{const _0x4f416d=_0xf1cfe8[_0x2449('0x20')][_0x2449('0x19')](_0x5e58dd[_0x2449('0x9')]);if(_0x4f416d)for(const _0x2211e0 of _0x4f416d)_0x2211e0['hasClass']('ck-suggestion-marker-split')&&(_0xf1cfe8[_0x2449('0x20')][_0x2449('0x3')](_0x2211e0,_0x5e58dd['markerName']),_0xf1cfe8[_0x2449('0x13')][_0x2449('0x17')](_0x2211e0));},{'priority':'high'}),_0xf0f9f9[_0x2449('0xa')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4a2287,_0x115503,_0x1add23)=>{_0x1add23[_0x2449('0x1e')]['showSuggestionHighlights']&&_0x36b39e(_0xf0f9f9,_0x2449('0xb'),{'showActiveMarker':!0x1})['bind'](this)(_0x4a2287,_0x115503,_0x1add23);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f47=['findNext','string','findByTextCallback','FindAndReplaceEditing','get','editor','getRange','handleFindCommand','_isInDeletionRange','has','TrackChangesEditing','model','FindAndReplaceUtils','getIntersection','plugins','createPositionAt','suggestion:deletion','bind','start','item','createRange','replace','replaceAll','enableCommand','markers'];(function(_0x5ed1fe,_0x4f47a5){const _0x5c8371=function(_0x35cb2f){while(--_0x35cb2f){_0x5ed1fe['push'](_0x5ed1fe['shift']());}};_0x5c8371(++_0x4f47a5);}(_0x4f47,0x1f2));const _0x5c83=function(_0x5ed1fe,_0x4f47a5){_0x5ed1fe=_0x5ed1fe-0x0;let _0x5c8371=_0x4f47[_0x5ed1fe];return _0x5c8371;};import{Plugin as _0x1b2819}from'ckeditor5/src/core.js';export default class J extends _0x1b2819{['afterInit'](){if(!this[_0x5c83('0x7')]['plugins'][_0x5c83('0xb')](_0x5c83('0x5')))return;const _0x2a0804=this[_0x5c83('0x7')][_0x5c83('0x10')][_0x5c83('0x6')](_0x5c83('0xc'));_0x2a0804[_0x5c83('0x0')]('find',this[_0x5c83('0x9')][_0x5c83('0x13')](this)),_0x2a0804[_0x5c83('0x0')](_0x5c83('0x2')),_0x2a0804['enableCommand']('findPrevious'),_0x2a0804[_0x5c83('0x0')](_0x5c83('0x17')),_0x2a0804[_0x5c83('0x0')](_0x5c83('0x18'));}['handleFindCommand'](_0x5e1fe7,_0x2047f8,_0x138171={}){const _0x300fbf=this[_0x5c83('0x7')]['plugins'][_0x5c83('0x6')](_0x5c83('0xe'));return _0x5e1fe7(_0xb70755=>(_0x5c83('0x3')==typeof _0x2047f8?_0x300fbf[_0x5c83('0x4')](_0x2047f8,_0x138171):_0x2047f8)(_0xb70755)['filter'](_0x5ee2f2=>!0x1===this[_0x5c83('0xa')](_0x5ee2f2,_0xb70755[_0x5c83('0x15')])),_0x138171);}[_0x5c83('0xa')](_0x55d22f,_0x3da682){const _0x493742=this['editor'][_0x5c83('0xd')][_0x5c83('0x16')](this[_0x5c83('0x7')][_0x5c83('0xd')][_0x5c83('0x11')](_0x3da682,_0x55d22f[_0x5c83('0x14')]),this['editor']['model'][_0x5c83('0x11')](_0x3da682,_0x55d22f['end']));for(const _0x1c96da of this[_0x5c83('0x7')]['model'][_0x5c83('0x1')]['getMarkersGroup'](_0x5c83('0x12')))if(null!==_0x493742[_0x5c83('0xf')](_0x1c96da[_0x5c83('0x8')]()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e5a=['FORMAT_FONT_BACKGROUND','fontBackgroundColor.colors','get','*Set\x20font\x20size:*\x20%0','format','trim','_descriptionFactory','*Set\x20font\x20color:*\x20%0','plugins','FontFamilyEditing','label','*Reset\x20font\x20color*','registerAttributeLabel','model','*Reset\x20font\x20family*','TrackChangesEditing','FontBackgroundColorEditing','config','commandParams','FORMAT_FONT_COLOR','fontSize','_registerLegacyDescription','fontSize.options','fontColor','_enableDefaultAttributesIntegration','fontColor.colors','FORMAT_FONT_SIZE','type','has','FontColorEditing','formatInline','*Reset\x20font\x20background\x20color*','FontSizeEditing','commandName','normalizeSizeOptions','fontBackgroundColor','fontFamily','*Set\x20font\x20background\x20color:*\x20%0','find','value','editor'];(function(_0x4c8410,_0x2e5a00){const _0x2a5241=function(_0x5c62da){while(--_0x5c62da){_0x4c8410['push'](_0x4c8410['shift']());}};_0x2a5241(++_0x2e5a00);}(_0x2e5a,0x1a5));const _0x2a52=function(_0x4c8410,_0x2e5a00){_0x4c8410=_0x4c8410-0x0;let _0x2a5241=_0x2e5a[_0x4c8410];return _0x2a5241;};import{Plugin as _0x4dfdea}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x3c31e8}from'ckeditor5/src/ui.js';import{getTranslation as _0x402da0}from'../utils/common-translations.js';const ro=[{'pluginName':_0x2a52('0x15'),'commandName':_0x2a52('0x9')},{'pluginName':_0x2a52('0x27'),'commandName':_0x2a52('0x19')},{'pluginName':_0x2a52('0x12'),'commandName':_0x2a52('0xc')},{'pluginName':_0x2a52('0x5'),'commandName':_0x2a52('0x18')}];export default class Q extends _0x4dfdea{['afterInit'](){const _0x121c62=this['editor']['locale'],_0x452568=this[_0x2a52('0x1d')][_0x2a52('0x26')][_0x2a52('0x20')]('TrackChangesEditing');for(const {pluginName:_0x3a78c9,commandName:_0xe1640b}of ro)this['editor'][_0x2a52('0x26')][_0x2a52('0x11')](_0x3a78c9)&&_0x452568[_0x2a52('0xd')](_0xe1640b,[_0xe1640b]);_0x121c62['t'],(_0x452568['_descriptionFactory']['registerAttributeLabel'](_0x2a52('0x9'),_0x402da0(_0x121c62,_0x2a52('0xf'))),_0x452568['_descriptionFactory'][_0x2a52('0x1')](_0x2a52('0x19'),_0x402da0(_0x121c62,'FORMAT_FONT_FAMILY')),_0x452568['_descriptionFactory'][_0x2a52('0x1')](_0x2a52('0xc'),_0x402da0(_0x121c62,_0x2a52('0x8'))),_0x452568[_0x2a52('0x24')][_0x2a52('0x1')](_0x2a52('0x18'),_0x402da0(_0x121c62,_0x2a52('0x1e'))),this[_0x2a52('0xa')]());}[_0x2a52('0xa')](){const _0x4555f1=this['editor'],_0x256ff0=_0x4555f1['locale'];_0x4555f1[_0x2a52('0x26')][_0x2a52('0x20')](_0x2a52('0x4'))[_0x2a52('0x24')]['registerDescriptionCallback'](_0x29e7a4=>{const _0x176172=_0x256ff0['t'];if(_0x2a52('0x13')!=_0x29e7a4[_0x2a52('0x10')])return;const {data:_0x32278a}=_0x29e7a4;if(null!=_0x32278a){if('fontSize'==_0x32278a[_0x2a52('0x16')]){const _0x3de3d6=_0x32278a[_0x2a52('0x7')][0x0][_0x2a52('0x1c')];if(_0x3de3d6){const _0x35add9=_0x176172(this[_0x2a52('0x1d')][_0x2a52('0x26')][_0x2a52('0x20')]('FontSize')[_0x2a52('0x17')](this[_0x2a52('0x1d')][_0x2a52('0x6')][_0x2a52('0x20')](_0x2a52('0xb')))['find'](_0x47acf2=>_0x47acf2[_0x2a52('0x2')]==_0x3de3d6)['title'])['toLowerCase']();return{'type':_0x2a52('0x22'),'content':_0x402da0(_0x256ff0,_0x2a52('0x21'),_0x35add9)};}return{'type':_0x2a52('0x22'),'content':_0x402da0(_0x256ff0,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x32278a[_0x2a52('0x16')]){const _0x15b12f=_0x32278a['commandParams'][0x0][_0x2a52('0x1c')];return _0x15b12f?{'type':'format','content':_0x402da0(_0x256ff0,'*Set\x20font\x20family:*\x20%0',_0x15b12f)}:{'type':'format','content':_0x402da0(_0x256ff0,_0x2a52('0x3'))};}if('fontColor'==_0x32278a[_0x2a52('0x16')]){const _0x1fadc7=_0x32278a['commandParams'][0x0][_0x2a52('0x1c')];if(_0x1fadc7){const _0x587209=_0x3c31e8(this['editor'][_0x2a52('0x6')][_0x2a52('0x20')](_0x2a52('0xe')))[_0x2a52('0x1b')](_0x2255b1=>_0x2255b1[_0x2a52('0x2')]==_0x1fadc7);let _0x9a13d1=_0x1fadc7,_0x1543c6='';return _0x587209&&(_0x9a13d1=_0x587209[_0x2a52('0x28')],_0x1543c6=_0x176172(_0x9a13d1)['toLowerCase']()),{'type':_0x2a52('0x22'),'content':_0x402da0(_0x256ff0,_0x2a52('0x25'),_0x1543c6)[_0x2a52('0x23')](),'color':{'value':_0x1fadc7,'title':_0x1543c6||_0x9a13d1}};}return{'type':_0x2a52('0x22'),'content':_0x402da0(_0x256ff0,_0x2a52('0x0'))};}if(_0x2a52('0x18')==_0x32278a[_0x2a52('0x16')]){const _0x432ca3=_0x32278a[_0x2a52('0x7')][0x0]['value'];if(_0x432ca3){const _0xef0db=_0x3c31e8(this['editor']['config'][_0x2a52('0x20')](_0x2a52('0x1f')))[_0x2a52('0x1b')](_0x29aa73=>_0x29aa73[_0x2a52('0x2')]==_0x432ca3);let _0xe9e7c2=_0x432ca3,_0x5713ec='';return _0xef0db&&(_0xe9e7c2=_0xef0db[_0x2a52('0x28')],_0x5713ec=_0x176172(_0xe9e7c2)['toLowerCase']()),{'type':_0x2a52('0x22'),'content':_0x402da0(_0x256ff0,_0x2a52('0x1a'),_0x5713ec)[_0x2a52('0x23')](),'color':{'value':_0x432ca3,'title':_0x5713ec||_0xe9e7c2}};}return{'type':_0x2a52('0x22'),'content':_0x402da0(_0x256ff0,_0x2a52('0x14'))};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27fd=['commandName','normalizeSizeOptions','toUpperCase','copyFormat','split','afterInit','pasteFormat','plugins','fontColor.colors','fontBackgroundColor','find','slice','fontSize.options','get','fontSize','enableCommand','FontSize','config','type','locale','*Remove\x20all\x20formatting*','_registerLegacyDescription','registerDescriptionCallback','commands','_descriptionFactory','model','boolean','editor','toLowerCase','TrackChangesEditing','format','*Set\x20format\x20to:*\x20%0','join','entries','formatBlock'];(function(_0x56f4c7,_0x27fd2f){const _0x916c40=function(_0x387d9d){while(--_0x387d9d){_0x56f4c7['push'](_0x56f4c7['shift']());}};_0x916c40(++_0x27fd2f);}(_0x27fd,0x1d1));const _0x916c=function(_0x56f4c7,_0x27fd2f){_0x56f4c7=_0x56f4c7-0x0;let _0x916c40=_0x27fd[_0x56f4c7];return _0x916c40;};import{Plugin as _0xbed0b1}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x4d3528}from'ckeditor5/src/ui.js';import{getTranslation as _0x37c557}from'../utils/common-translations.js';export default class X extends _0xbed0b1{[_0x916c('0x1e')](){const _0x354fe5=this[_0x916c('0x11')],_0x46f50c=_0x354fe5['plugins'][_0x916c('0x3')](_0x916c('0x13')),_0x309c81=_0x354fe5[_0x916c('0xd')][_0x916c('0x3')](_0x916c('0x1c')),_0x4c9d66=_0x354fe5['commands']['get'](_0x916c('0x1f'));_0x309c81&&_0x4c9d66&&(_0x46f50c['_enableDefaultAttributesIntegration'](_0x916c('0x1f')),_0x46f50c[_0x916c('0x5')](_0x916c('0x1c')),this[_0x916c('0xb')]());}[_0x916c('0xb')](){const _0x521b71=this['editor'],_0xda699b=_0x521b71['locale'];_0x521b71[_0x916c('0x20')][_0x916c('0x3')]('TrackChangesEditing')[_0x916c('0xe')][_0x916c('0xc')](_0x4c4da7=>{if(_0x916c('0x18')!=_0x4c4da7[_0x916c('0x8')]&&'formatInline'!=_0x4c4da7['type'])return;const {data:_0x5c65b8}=_0x4c4da7;if(_0x5c65b8&&_0x916c('0x1f')===_0x5c65b8[_0x916c('0x19')]){const _0x130129=[],_0x44077f=_0x5c65b8['commandParams'][0x0];for(const [_0x46abaa,_0x31789b]of Object[_0x916c('0x17')](_0x44077f))_0x130129['push'](so(_0x521b71,_0x46abaa,_0x31789b));return _0x130129['length']?{'type':_0x916c('0x14'),'content':_0x37c557(_0xda699b,_0x916c('0x15'),_0x130129[_0x916c('0x16')](',\x20'))}:{'type':_0x916c('0x14'),'content':_0x37c557(_0xda699b,_0x916c('0xa'))};}});}}function so(_0x334601,_0x32c2ca,_0x3356fd){const _0x45aa73=_0x334601[_0x916c('0x9')]['t'],_0x5917d8=_0x32c2ca[_0x916c('0x1d')](/(?=[A-Z])/)[_0x916c('0x16')]('\x20'),_0x384fb=_0x45aa73(_0x5917d8['charAt'](0x0)[_0x916c('0x1b')]()+_0x5917d8[_0x916c('0x1')](0x1))[_0x916c('0x12')]();if(_0x916c('0x10')==typeof _0x3356fd)return _0x384fb;if('fontColor'===_0x32c2ca||_0x916c('0x22')===_0x32c2ca){const _0x5ecbf4=_0x4d3528(_0x334601[_0x916c('0x7')][_0x916c('0x3')](_0x916c('0x21')))['find'](_0x259cd3=>_0x259cd3[_0x916c('0xf')]==_0x3356fd);return _0x384fb+'\x20('+(_0x5ecbf4?_0x45aa73(_0x5ecbf4['label'])[_0x916c('0x12')]():_0x3356fd)+')';}if(_0x916c('0x4')===_0x32c2ca&&isNaN(parseFloat(_0x3356fd))){const _0x2fb0b3=_0x334601['plugins'][_0x916c('0x3')](_0x916c('0x6'))[_0x916c('0x1a')](_0x334601[_0x916c('0x7')][_0x916c('0x3')](_0x916c('0x2')))[_0x916c('0x0')](_0x2340a7=>_0x2340a7['model']==_0x3356fd);return _0x384fb+'\x20('+(_0x2fb0b3?_0x45aa73(_0x2fb0b3['title'])[_0x916c('0x12')]():_0x3356fd)+')';}return _0x384fb+'\x20('+_0x3356fd+')';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1058=['TrackChangesEditing','heading','afterInit','ELEMENT_HEADING_CUSTOM','view','plugins','editor','_headingOptions','locale','registerElementLabel','ELEMENT_HEADING','match','formatBlock','_descriptionFactory','commandName','value','get','commandParams','type','_enableDefaultAttributesIntegration','title','_getHeadingLevel','name','paragraph','model','*Change\x20to:*\x20%0','format','registerDescriptionCallback','has','_registerLegacyDescription','config'];(function(_0x25d35a,_0x105837){const _0x5e5381=function(_0x23e463){while(--_0x23e463){_0x25d35a['push'](_0x25d35a['shift']());}};_0x5e5381(++_0x105837);}(_0x1058,0x103));const _0x5e53=function(_0x25d35a,_0x105837){_0x25d35a=_0x25d35a-0x0;let _0x5e5381=_0x1058[_0x25d35a];return _0x5e5381;};import{Plugin as _0x27c77b}from'ckeditor5/src/core.js';import{getTranslation as _0x34a165}from'../utils/common-translations.js';export default class Y extends _0x27c77b{[_0x5e53('0x16')](){const _0x35498f=this[_0x5e53('0x1a')];if(!_0x35498f[_0x5e53('0x19')][_0x5e53('0x11')]('HeadingEditing'))return;this[_0x5e53('0x1b')]=_0x35498f[_0x5e53('0x13')][_0x5e53('0x5')]('heading.options');const _0x34f816=_0x35498f[_0x5e53('0x1c')],_0x4a34df=_0x35498f[_0x5e53('0x19')][_0x5e53('0x5')](_0x5e53('0x14'));_0x4a34df[_0x5e53('0x8')]('heading');for(const _0x3cd4e5 of this[_0x5e53('0x1b')])_0x5e53('0xc')!=_0x3cd4e5[_0x5e53('0xd')]&&_0x4a34df['_descriptionFactory'][_0x5e53('0x1d')](_0x3cd4e5['model'],_0x18b643=>{const _0x283792=this[_0x5e53('0xa')](_0x3cd4e5[_0x5e53('0xd')]);return null!==_0x283792?_0x16ec35(_0x18b643,_0x283792):_0x210a5f(_0x18b643,_0x3cd4e5['title']);});function _0x16ec35(_0x5d8310,_0x3c0849){return _0x34a165(_0x34f816,_0x5e53('0x1e'),[_0x5d8310,_0x3c0849]);}function _0x210a5f(_0x702210,_0x3fc9b7){return _0x34a165(_0x34f816,_0x5e53('0x17'),[_0x702210,_0x3fc9b7]);}this[_0x5e53('0x12')]();}[_0x5e53('0x12')](){const _0x2b82e2=this[_0x5e53('0x1a')],_0x31a502=_0x2b82e2['locale'];function _0x19519e(_0x5b464c,_0x4b84a8){return _0x34a165(_0x31a502,_0x5e53('0x17'),[_0x5b464c,_0x4b84a8]);}_0x2b82e2[_0x5e53('0x19')][_0x5e53('0x5')](_0x5e53('0x14'))[_0x5e53('0x2')][_0x5e53('0x10')](_0x385616=>{if(_0x5e53('0x1')!=_0x385616[_0x5e53('0x7')])return;const {data:_0xabce5e}=_0x385616;if(_0xabce5e&&_0x5e53('0x15')==_0xabce5e[_0x5e53('0x3')]){const _0xfd6437=_0xabce5e[_0x5e53('0x6')][0x0][_0x5e53('0x4')],_0x1866c0=this[_0x5e53('0xa')](_0xfd6437);if(null!==_0x1866c0)return{'type':_0x5e53('0xf'),'content':_0x34a165(_0x31a502,_0x5e53('0xe'),(_0x430238=0x1,_0x15ac63=_0x1866c0,_0x34a165(_0x31a502,_0x5e53('0x1e'),[_0x430238,_0x15ac63])))};const _0x4e74c7=this[_0x5e53('0x1b')]['find'](_0x1c9e26=>_0x1c9e26[_0x5e53('0xd')]===_0xfd6437)[_0x5e53('0x9')];return{'type':_0x5e53('0xf'),'content':_0x34a165(_0x31a502,_0x5e53('0xe'),_0x19519e(0x1,_0x4e74c7))};}var _0x430238,_0x15ac63;});}[_0x5e53('0xa')](_0x18bb67){var _0x428cf2,_0x4768bf;const _0x1247fb=_0x18bb67[_0x5e53('0x0')](/^heading(\d+)/);if(_0x1247fb)return _0x1247fb[0x1];const _0x22057d=null===(_0x428cf2=this[_0x5e53('0x1b')])||void 0x0===_0x428cf2?void 0x0:_0x428cf2['find'](_0x2063e2=>_0x2063e2[_0x5e53('0xd')]==_0x18bb67);if(_0x22057d&&_0x22057d[_0x5e53('0x18')]){const _0x2515ec=_0x22057d[_0x5e53('0x18')],_0x375b7e=(null!==(_0x4768bf=_0x2515ec[_0x5e53('0xb')])&&void 0x0!==_0x4768bf?_0x4768bf:_0x2515ec)['match'](/^h(\d+)/);if(_0x375b7e)return _0x375b7e[0x1];}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45c9=['_registerLegacyDescription','locale','FORMAT_HIGHLIGHT','type','_enableDefaultAttributesIntegration','config','highlight','commandName','editor','highlight.options','plugins','*Set\x20highlight:*\x20%0','*Remove\x20highlight*','value','format','has','registerDescriptionCallback','get','_descriptionFactory','color','registerAttributeLabel','HighlightEditing','model','find','TrackChangesEditing'];(function(_0x4d9fa9,_0x45c96e){const _0x2d0139=function(_0x36af13){while(--_0x36af13){_0x4d9fa9['push'](_0x4d9fa9['shift']());}};_0x2d0139(++_0x45c96e);}(_0x45c9,0x1aa));const _0x2d01=function(_0x4d9fa9,_0x45c96e){_0x4d9fa9=_0x4d9fa9-0x0;let _0x2d0139=_0x45c9[_0x4d9fa9];return _0x2d0139;};import{Plugin as _0x223e11}from'ckeditor5/src/core.js';import{getTranslation as _0x54f251}from'../utils/common-translations.js';export default class Z extends _0x223e11{['afterInit'](){const _0x417d1b=this[_0x2d01('0x7')];if(!_0x417d1b[_0x2d01('0x9')][_0x2d01('0xe')](_0x2d01('0x14')))return;const _0x106550=_0x417d1b['plugins'][_0x2d01('0x10')]('TrackChangesEditing'),_0x25a314=_0x417d1b[_0x2d01('0x0')];_0x106550[_0x2d01('0x3')](_0x2d01('0x5'),[_0x2d01('0x5')]),_0x106550[_0x2d01('0x11')][_0x2d01('0x13')]('highlight',_0x54f251(_0x25a314,_0x2d01('0x1'))),this[_0x2d01('0x18')]();}[_0x2d01('0x18')](){const _0x40f380=this['editor'],_0x587a28=_0x40f380[_0x2d01('0x0')];_0x40f380['plugins'][_0x2d01('0x10')](_0x2d01('0x17'))[_0x2d01('0x11')][_0x2d01('0xf')](_0x11a68d=>{if('formatInline'!=_0x11a68d[_0x2d01('0x2')])return;const {data:_0x480b43}=_0x11a68d;if(_0x480b43&&_0x2d01('0x5')==_0x480b43[_0x2d01('0x6')]){const _0x1be354=_0x587a28['t'],_0x4872da=_0x480b43['commandParams'][0x0][_0x2d01('0xc')];if(_0x4872da){const _0xbdd3e5=_0x40f380[_0x2d01('0x4')]['get'](_0x2d01('0x8'))[_0x2d01('0x16')](_0x476b3e=>_0x476b3e[_0x2d01('0x15')]==_0x4872da),_0x3c406a=_0x1be354(_0xbdd3e5['title'])['toLowerCase']();return{'type':_0x2d01('0xd'),'content':_0x54f251(_0x587a28,_0x2d01('0xa'),_0x3c406a),'color':{'value':_0xbdd3e5[_0x2d01('0x12')],'title':_0xbdd3e5['title']}};}return{'type':'format','content':_0x54f251(_0x587a28,_0x2d01('0xb'),_0x54f251(_0x587a28,_0x2d01('0x1')))};}});}}
|