@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240123.0 → 0.0.0-nightly-20240125.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-20240125.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-20240125.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240125.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 _0x4466=['acceptSuggestion','TrackChangesEditing','editor','isEnabled','plugins','refresh','model','canEditAt','_suggestions','get','getRanges','track-changes-accept-suggestion-not-found'];(function(_0x26a402,_0x446606){const _0x1ac96b=function(_0x1a2d5e){while(--_0x1a2d5e){_0x26a402['push'](_0x26a402['shift']());}};_0x1ac96b(++_0x446606);}(_0x4466,0x106));const _0x1ac9=function(_0x26a402,_0x446606){_0x26a402=_0x26a402-0x0;let _0x1ac96b=_0x4466[_0x26a402];return _0x1ac96b;};import{Command as _0x491cbf}from'ckeditor5/src/core.js';import{CKEditorError as _0x30bb96}from'ckeditor5/src/utils.js';export default class $ extends _0x491cbf{constructor(_0x2b518e,_0x2a6766){super(_0x2b518e),this[_0x1ac9('0xa')]=_0x2a6766,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x1ac9('0x7')](){this[_0x1ac9('0x5')]=!0x0;}['execute'](_0x318c3d){const _0xe92422=this[_0x1ac9('0xa')][_0x1ac9('0xb')](_0x318c3d);if(!_0xe92422)throw new _0x30bb96(_0x1ac9('0x1'),this);const _0x1e2cc9=_0xe92422[_0x1ac9('0x0')]();this['editor'][_0x1ac9('0x8')][_0x1ac9('0x9')](_0x1e2cc9)&&this[_0x1ac9('0x4')][_0x1ac9('0x6')]['get'](_0x1ac9('0x3'))[_0x1ac9('0x2')](_0xe92422);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fae=['plugins','get','track-changes-discard-suggestion-not-found','getRanges','TrackChangesEditing','discardSuggestion','refresh','_suggestions','editor','model','execute','isEnabled'];(function(_0x48ee1d,_0x4fae7a){const _0x2641d0=function(_0x3540d3){while(--_0x3540d3){_0x48ee1d['push'](_0x48ee1d['shift']());}};_0x2641d0(++_0x4fae7a);}(_0x4fae,0x196));const _0x2641=function(_0x48ee1d,_0x4fae7a){_0x48ee1d=_0x48ee1d-0x0;let _0x2641d0=_0x4fae[_0x48ee1d];return _0x2641d0;};import{Command as _0x6e208a}from'ckeditor5/src/core.js';import{CKEditorError as _0x5ce412}from'ckeditor5/src/utils.js';export default class B extends _0x6e208a{constructor(_0x4b04a3,_0x33091d){super(_0x4b04a3),this['_suggestions']=_0x33091d,this[_0x2641('0x8')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x2641('0x8')](){this[_0x2641('0x1')]=!0x0;}[_0x2641('0x0')](_0x2ea040){const _0x1f0ccc=this[_0x2641('0x9')][_0x2641('0x3')](_0x2ea040);if(!_0x1f0ccc)throw new _0x5ce412(_0x2641('0x4'),this);const _0xf75277=_0x1f0ccc[_0x2641('0x5')]();this['editor'][_0x2641('0xb')]['canEditAt'](_0xf75277)&&this[_0x2641('0xa')][_0x2641('0x2')][_0x2641('0x3')](_0x2641('0x6'))[_0x2641('0x7')](_0x1f0ccc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3797=['canEditAt','some','execute','_isEnabledBasedOnSelection','refresh','editor','_command','model','_suggestions','isEnabled'];(function(_0x37c30c,_0x37972a){const _0x55f815=function(_0x40f85b){while(--_0x40f85b){_0x37c30c['push'](_0x37c30c['shift']());}};_0x55f815(++_0x37972a);}(_0x3797,0x14e));const _0x55f8=function(_0x37c30c,_0x37972a){_0x37c30c=_0x37c30c-0x0;let _0x55f815=_0x3797[_0x37c30c];return _0x55f815;};import{Command as _0x3185ab}from'ckeditor5/src/core.js';import{sortSuggestions as _0x24a5cd,executeCommandForSuggestions as _0x647e63}from'../utils/utils.js';export default class x extends _0x3185ab{constructor(_0x39cd2f,_0x4f1563,_0x1bf7c1){super(_0x39cd2f),this[_0x55f8('0x2')]=_0x4f1563,this[_0x55f8('0x4')]=_0x1bf7c1,this[_0x55f8('0x0')](),this[_0x55f8('0x9')]=!0x1;}['refresh'](){const _0x5110c7=Array['from'](this[_0x55f8('0x4')]['values']())[_0x55f8('0x7')](_0x1dc7d4=>_0x1dc7d4['isInContent']);this['isEnabled']=this[_0x55f8('0x2')][_0x55f8('0x5')]&&_0x5110c7;}[_0x55f8('0x8')](){const _0x3f0374=_0x24a5cd(Array['from'](this['_suggestions']['values']()));for(const _0x1af119 of _0x3f0374){const _0xdbca34=_0x1af119['getRanges']();if(!this[_0x55f8('0x1')][_0x55f8('0x3')][_0x55f8('0x6')](_0xdbca34))return;}_0x647e63(this[_0x55f8('0x1')][_0x55f8('0x3')],this[_0x55f8('0x2')],_0x3f0374);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10c1=['_isEnabledBasedOnSelection','canEditAt','size','from','getRanges','_selectedSuggestions','_suggestions','model','editor','isEnabled','document','selection','execute','refresh','values','_command'];(function(_0x3c2cfb,_0x10c197){const _0x5a2f2b=function(_0x35e59b){while(--_0x35e59b){_0x3c2cfb['push'](_0x3c2cfb['shift']());}};_0x5a2f2b(++_0x10c197);}(_0x10c1,0x161));const _0x5a2f=function(_0x3c2cfb,_0x10c197){_0x3c2cfb=_0x3c2cfb-0x0;let _0x5a2f2b=_0x10c1[_0x3c2cfb];return _0x5a2f2b;};import{Command as _0x3300a1}from'ckeditor5/src/core.js';import{sortSuggestions as _0x5b6f55,getSelectedSuggestions as _0x1932b0,executeCommandForSuggestions as _0x42b8ac}from'../utils/utils.js';export default class R extends _0x3300a1{constructor(_0x125b0b,_0x866af9,_0x1969a6){super(_0x125b0b),this[_0x5a2f('0xe')]=_0x866af9,this[_0x5a2f('0x5')]=_0x1969a6,this[_0x5a2f('0x4')]=new Set(),this['refresh'](),this[_0x5a2f('0xf')]=!0x1;}[_0x5a2f('0xc')](){const _0x131835=this['editor'][_0x5a2f('0x6')][_0x5a2f('0x9')][_0x5a2f('0xa')],_0x409066=Array['from'](this[_0x5a2f('0x5')][_0x5a2f('0xd')]());this[_0x5a2f('0x4')]=_0x1932b0(_0x131835,_0x409066),this[_0x5a2f('0x8')]=this[_0x5a2f('0xe')][_0x5a2f('0x8')]&&!!this[_0x5a2f('0x4')][_0x5a2f('0x1')];}[_0x5a2f('0xb')](){const _0x39a896=_0x5b6f55(Array[_0x5a2f('0x2')](this[_0x5a2f('0x4')]));for(const _0x357462 of _0x39a896){const _0x350d2d=_0x357462[_0x5a2f('0x3')]();if(!this[_0x5a2f('0x7')][_0x5a2f('0x6')][_0x5a2f('0x0')](_0x350d2d))return;}_0x42b8ac(this[_0x5a2f('0x7')][_0x5a2f('0x6')],this[_0x5a2f('0xe')],_0x39a896);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xea91=['_disableUnsupportedCommands','editor','has','_enabledCommands','forceDisabled','clearForceDisabled','refresh','isEnabled','_enableCommands','affectsData','_isEnabledBasedOnSelection','commands','execute','TrackChangesCommand','value'];(function(_0x18475a,_0xea91a){const _0x3132fd=function(_0x5abf4b){while(--_0x5abf4b){_0x18475a['push'](_0x18475a['shift']());}};_0x3132fd(++_0xea91a);}(_0xea91,0xca));const _0x3132=function(_0x18475a,_0xea91a){_0x18475a=_0x18475a-0x0;let _0x3132fd=_0xea91[_0x18475a];return _0x3132fd;};import{Command as _0x1472ea}from'ckeditor5/src/core.js';export default class M extends _0x1472ea{constructor(_0xa6fd8e,_0x37503a){super(_0xa6fd8e),this[_0x3132('0xb')]=_0x37503a,this['value']=!0x1,this['refresh'](),this[_0x3132('0x3')]=!0x1;}[_0x3132('0xe')](){this[_0x3132('0x0')]=!0x0;}[_0x3132('0x5')](){this[_0x3132('0x7')]=!this[_0x3132('0x7')],this[_0x3132('0x7')]?this[_0x3132('0x8')]():this['_enableCommands']();}[_0x3132('0x8')](){for(const _0x355d96 of this[_0x3132('0x9')][_0x3132('0x4')][_0x3132('0x4')]())_0x355d96[_0x3132('0x2')]&&!this['_enabledCommands'][_0x3132('0xa')](_0x355d96)&&_0x355d96[_0x3132('0xc')](_0x3132('0x6'));}[_0x3132('0x1')](){for(const _0xc0cc8d of this[_0x3132('0x9')]['commands'][_0x3132('0x4')]())_0xc0cc8d[_0x3132('0x2')]&&!this[_0x3132('0xb')][_0x3132('0xa')](_0xc0cc8d)&&_0xc0cc8d[_0x3132('0xd')](_0x3132('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x345b=['enableCommand','showAIAssistant','get','commands','TrackChangesEditing','afterInit','editor'];(function(_0x5200e7,_0x345bf2){const _0x2b52d1=function(_0xd73abe){while(--_0xd73abe){_0x5200e7['push'](_0x5200e7['shift']());}};_0x2b52d1(++_0x345bf2);}(_0x345b,0x1bc));const _0x2b52=function(_0x5200e7,_0x345bf2){_0x5200e7=_0x5200e7-0x0;let _0x2b52d1=_0x345b[_0x5200e7];return _0x2b52d1;};import{Plugin as _0x3d0e87}from'ckeditor5/src/core.js';export default class E extends _0x3d0e87{[_0x2b52('0x2')](){const _0x3bee8d=this[_0x2b52('0x3')],_0x4948b2=_0x3bee8d['plugins'][_0x2b52('0x6')](_0x2b52('0x1'));_0x3bee8d[_0x2b52('0x0')][_0x2b52('0x6')](_0x2b52('0x5'))&&_0x4948b2[_0x2b52('0x4')]('showAIAssistant');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34b6=['afterInit','FORMAT_ALIGN_TO_CENTER','get','type','_registerLegacyDescription','locale','formatBlock','*Format:*\x20%0','value','plugins','format','has','center','right','_descriptionFactory','alignment','AlignmentEditing','FORMAT_ALIGNMENT','TrackChangesEditing','left','editor','commandName','justify','FORMAT_ALIGN_TO_LEFT','FORMAT_ALIGN_TO_RIGHT'];(function(_0x388b76,_0x34b6ab){const _0x45c321=function(_0x15f67e){while(--_0x15f67e){_0x388b76['push'](_0x388b76['shift']());}};_0x45c321(++_0x34b6ab);}(_0x34b6,0x151));const _0x45c3=function(_0x388b76,_0x34b6ab){_0x388b76=_0x388b76-0x0;let _0x45c321=_0x34b6[_0x388b76];return _0x45c321;};import{Plugin as _0x565b44}from'ckeditor5/src/core.js';import{getTranslation as _0x17aa6c}from'../utils/common-translations.js';export default class V extends _0x565b44{[_0x45c3('0xd')](){const _0x128cca=this[_0x45c3('0x8')],_0x1b456a=_0x128cca[_0x45c3('0x12')];if(!_0x128cca[_0x45c3('0x16')][_0x45c3('0x18')](_0x45c3('0x4')))return;const _0x5df271=_0x128cca[_0x45c3('0x16')][_0x45c3('0xf')](_0x45c3('0x6'));_0x5df271['_enableDefaultAttributesIntegration'](_0x45c3('0x3'),[],[_0x45c3('0x3')]),_0x5df271['_descriptionFactory']['registerAttributeLabel'](_0x45c3('0x3'),_0x17aa6c(_0x1b456a,_0x45c3('0x5'))),this[_0x45c3('0x11')]();}[_0x45c3('0x11')](){const _0x2a2e26=this[_0x45c3('0x8')],_0x5b24c3=_0x2a2e26[_0x45c3('0x12')];_0x2a2e26[_0x45c3('0x16')][_0x45c3('0xf')](_0x45c3('0x6'))[_0x45c3('0x2')]['registerDescriptionCallback'](_0x39fdc5=>{if(_0x45c3('0x13')!=_0x39fdc5[_0x45c3('0x10')])return;const {data:_0x4b7853}=_0x39fdc5;if(_0x4b7853&&_0x45c3('0x3')==_0x4b7853[_0x45c3('0x9')]){const _0x4f57c4=_0x4b7853['commandParams'][0x0][_0x45c3('0x15')];return{'type':_0x45c3('0x17'),'content':_0x17aa6c(_0x5b24c3,_0x45c3('0x14'),function(_0x3396dd){switch(_0x3396dd){case _0x45c3('0x7'):return _0x17aa6c(_0x5b24c3,_0x45c3('0xb'));case _0x45c3('0x1'):return _0x17aa6c(_0x5b24c3,_0x45c3('0xc'));case _0x45c3('0x0'):return _0x17aa6c(_0x5b24c3,_0x45c3('0xe'));case _0x45c3('0xa'):return _0x17aa6c(_0x5b24c3,'FORMAT_JUSTIFY_TEXT');}}(_0x4f57c4))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1383=['_registerLegacyDescription','StrikethroughEditing','SuperscriptEditing','_enableDefaultAttributesIntegration','format','*Format:*\x20%0','italic','commandParams','FORMAT_STRIKETHROUGH','get','registerAttributeLabel','FORMAT_UNDERLINE','underline','ItalicEditing','FORMAT_CODE','FORMAT_BOLD','commandName','FORMAT_SUBSCRIPT','bold','plugins','UnderlineEditing','BoldEditing','subscript','type','FORMAT_ITALIC','_descriptionFactory','*Remove\x20format:*\x20%0','forceValue','slice','locale','afterInit','TrackChangesEditing'];(function(_0x10ca19,_0x1383e7){const _0x35c2b8=function(_0x245503){while(--_0x245503){_0x10ca19['push'](_0x10ca19['shift']());}};_0x35c2b8(++_0x1383e7);}(_0x1383,0xaa));const _0x35c2=function(_0x10ca19,_0x1383e7){_0x10ca19=_0x10ca19-0x0;let _0x35c2b8=_0x1383[_0x10ca19];return _0x35c2b8;};import{Plugin as _0x2eecb1}from'ckeditor5/src/core.js';import{getTranslation as _0x19bbd6}from'../utils/common-translations.js';const ti=[_0x35c2('0xb'),_0x35c2('0x3'),_0x35c2('0xa'),'CodeEditing',_0x35c2('0x17'),'SubscriptEditing',_0x35c2('0x18')];export default class U extends _0x2eecb1{[_0x35c2('0x14')](){const _0x286a90=this['editor'],_0x537cdc=_0x286a90[_0x35c2('0x9')]['get'](_0x35c2('0x15')),_0x2d88c0=_0x286a90[_0x35c2('0x13')];for(const _0xbe3d22 of ti){if(!_0x286a90[_0x35c2('0x9')]['has'](_0xbe3d22))continue;const _0x49607c=_0xbe3d22[_0x35c2('0x12')](0x0,-0x7)['toLowerCase'](),_0x109404='FORMAT_'+_0x49607c['toUpperCase']();_0x537cdc[_0x35c2('0x19')](_0x49607c,[_0x49607c]),_0x537cdc[_0x35c2('0xf')][_0x35c2('0x0')](_0x49607c,_0x19bbd6(_0x2d88c0,_0x109404));}this[_0x35c2('0x16')]();}[_0x35c2('0x16')](){const _0x51a0a9=this['editor'],_0x1b6651=_0x51a0a9[_0x35c2('0x13')],_0x51d765=_0x51a0a9[_0x35c2('0x9')][_0x35c2('0x1f')](_0x35c2('0x15'));function _0x36926c(_0x4da47f,_0x5deab3){_0x51d765[_0x35c2('0xf')]['registerDescriptionCallback'](_0x30cb12=>{if('formatInline'!=_0x30cb12[_0x35c2('0xd')])return;const {data:_0x540150}=_0x30cb12;return _0x540150&&_0x540150[_0x35c2('0x6')]===_0x4da47f?_0x540150[_0x35c2('0x1d')][0x0][_0x35c2('0x11')]?{'type':_0x35c2('0x1a'),'content':_0x19bbd6(_0x1b6651,_0x35c2('0x1b'),_0x5deab3)}:{'type':_0x35c2('0x1a'),'content':_0x19bbd6(_0x1b6651,_0x35c2('0x10'),_0x5deab3)}:void 0x0;});}_0x36926c(_0x35c2('0x8'),_0x19bbd6(_0x1b6651,_0x35c2('0x5'))),_0x36926c(_0x35c2('0x1c'),_0x19bbd6(_0x1b6651,_0x35c2('0xe'))),_0x36926c(_0x35c2('0x2'),_0x19bbd6(_0x1b6651,_0x35c2('0x1'))),_0x36926c('code',_0x19bbd6(_0x1b6651,_0x35c2('0x4'))),_0x36926c('strikethrough',_0x19bbd6(_0x1b6651,_0x35c2('0x1e'))),_0x36926c(_0x35c2('0xc'),_0x19bbd6(_0x1b6651,_0x35c2('0x7'))),_0x36926c('superscript',_0x19bbd6(_0x1b6651,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2282=['afterInit','schema','get','commandParams','ELEMENT_BLOCK_QUOTE','from','name','parent','commandName','locale','document','checkChild','*Set\x20format:*\x20%0','change','format','$root','plugins','filter','model','forceValue','has','blockQuote','markBlockFormat','editor','registerDescriptionCallback','TrackChangesEditing','value','getSelectedBlocks','selection'];(function(_0x18107b,_0x22829d){const _0x303e7c=function(_0x3d472a){while(--_0x3d472a){_0x18107b['push'](_0x18107b['shift']());}};_0x303e7c(++_0x22829d);}(_0x2282,0xc9));const _0x303e=function(_0x18107b,_0x22829d){_0x18107b=_0x18107b-0x0;let _0x303e7c=_0x2282[_0x18107b];return _0x303e7c;};import{Plugin as _0x2c89fc}from'ckeditor5/src/core.js';import{getTranslation as _0x23fec2}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x3caf2b}from'../utils/utils.js';export default class O extends _0x2c89fc{[_0x303e('0x2')](){const _0x2c7b34=this['editor'],_0x138569=_0x2c7b34[_0x303e('0xb')];if(!_0x2c7b34[_0x303e('0x12')][_0x303e('0x16')]('BlockQuoteEditing'))return;const _0x56344f=_0x2c7b34[_0x303e('0x12')][_0x303e('0x4')](_0x303e('0x1b')),_0x539851=this[_0x303e('0x19')]['commands'][_0x303e('0x4')](_0x303e('0x17'));_0x56344f['enableCommand'](_0x303e('0x17'),(_0x2aea2b,_0x29b374={})=>{const _0xb9bae3=this[_0x303e('0x19')]['model'][_0x303e('0xc')][_0x303e('0x1')],_0x2d48c1=_0x29b374&&void 0x0!==_0x29b374[_0x303e('0x15')]?_0x29b374[_0x303e('0x15')]:!_0x539851[_0x303e('0x1c')];let _0x3006f5=[];if(_0x2d48c1){const _0x58176a=Array[_0x303e('0x7')](_0xb9bae3['getSelectedBlocks']())[_0x303e('0x13')](_0x23c7a9=>oo(_0x23c7a9)||function(_0x1a100c,_0x5468d7){const _0x1e97bd=_0x5468d7[_0x303e('0xd')](_0x1a100c[_0x303e('0x9')],_0x303e('0x17')),_0x48e02d=_0x5468d7[_0x303e('0xd')]([_0x303e('0x11'),_0x303e('0x17')],_0x1a100c);return _0x1e97bd&&_0x48e02d;}(_0x23c7a9,this[_0x303e('0x19')]['model'][_0x303e('0x3')]));_0x3006f5=_0x3caf2b(_0x58176a,_0x2c7b34[_0x303e('0x14')]);}else{const _0x1a8732=Array[_0x303e('0x7')](_0xb9bae3[_0x303e('0x0')]())[_0x303e('0x13')](_0x3bf8bc=>oo(_0x3bf8bc));_0x3006f5=_0x3caf2b(_0x1a8732,_0x2c7b34[_0x303e('0x14')]);}_0x2c7b34[_0x303e('0x14')][_0x303e('0xf')](()=>{for(const _0x495cb8 of _0x3006f5)_0x56344f[_0x303e('0x18')](_0x495cb8,{'commandName':_0x303e('0x17'),'commandParams':[{'forceValue':_0x2d48c1}]});});}),_0x56344f['_descriptionFactory'][_0x303e('0x1a')](_0x5e80fe=>{const {data:_0x57af4e}=_0x5e80fe;if(_0x57af4e&&_0x303e('0x17')==_0x57af4e[_0x303e('0xa')]){const _0x20f82d=_0x23fec2(_0x138569,_0x303e('0x6'));return _0x57af4e[_0x303e('0x5')][0x0][_0x303e('0x15')]?{'type':_0x303e('0x10'),'content':_0x23fec2(_0x138569,_0x303e('0xe'),_0x20f82d)}:{'type':_0x303e('0x10'),'content':_0x23fec2(_0x138569,'*Remove\x20format:*\x20%0',_0x20f82d)};}});}}function oo(_0x1faaca){return'blockQuote'==_0x1faaca[_0x303e('0x9')][_0x303e('0x8')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1baf=['plugins','get','enableCommand','changeCaseTitle','afterInit','CaseChange','has','TrackChangesEditing'];(function(_0x1ea3dd,_0x1baf2b){const _0x4d7abd=function(_0x4eb6c1){while(--_0x4eb6c1){_0x1ea3dd['push'](_0x1ea3dd['shift']());}};_0x4d7abd(++_0x1baf2b);}(_0x1baf,0xe4));const _0x4d7a=function(_0x1ea3dd,_0x1baf2b){_0x1ea3dd=_0x1ea3dd-0x0;let _0x4d7abd=_0x1baf[_0x1ea3dd];return _0x4d7abd;};import{Plugin as _0x344e14}from'ckeditor5/src/core.js';export default class G extends _0x344e14{[_0x4d7a('0x0')](){const _0x3f0695=this['editor'];_0x3f0695[_0x4d7a('0x4')][_0x4d7a('0x2')](_0x4d7a('0x1'))&&(_0x3f0695[_0x4d7a('0x4')][_0x4d7a('0x5')](_0x4d7a('0x3'))[_0x4d7a('0x6')]('changeCaseUpper'),_0x3f0695['plugins'][_0x4d7a('0x5')]('TrackChangesEditing')[_0x4d7a('0x6')]('changeCaseLower'),_0x3f0695[_0x4d7a('0x4')][_0x4d7a('0x5')](_0x4d7a('0x3'))[_0x4d7a('0x6')](_0x4d7a('0x7')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x76ad=['afterInit','enableCommand','get','editor','ckbox','TrackChangesEditing','commands'];(function(_0x373c49,_0x76ad9e){const _0x2bc660=function(_0x4bd762){while(--_0x4bd762){_0x373c49['push'](_0x373c49['shift']());}};_0x2bc660(++_0x76ad9e);}(_0x76ad,0x14c));const _0x2bc6=function(_0x373c49,_0x76ad9e){_0x373c49=_0x373c49-0x0;let _0x2bc660=_0x76ad[_0x373c49];return _0x2bc660;};import{Plugin as _0x41c0b3}from'ckeditor5/src/core.js';export default class F extends _0x41c0b3{[_0x2bc6('0x4')](){const _0x2b75d8=this[_0x2bc6('0x0')];_0x2b75d8[_0x2bc6('0x3')]['get'](_0x2bc6('0x1'))&&_0x2b75d8['plugins'][_0x2bc6('0x6')](_0x2bc6('0x2'))[_0x2bc6('0x5')](_0x2bc6('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ca2=['ELEMENT_CODE_BLOCK','enableCommand','document','get','commandName','config','from','languages','forceValue','*Set\x20format:*\x20%0','editor','outdentCodeBlock','commandParams','parent','locale','plugins','getSelectedBlocks','toLowerCase','*Remove\x20format:*\x20%0','language','change','selection','format','isLimit','codeBlock','afterInit','value','registerElementLabel','name','commands','checkChild','CodeBlock','_descriptionFactory','type','blockName','rootElement','find','model'];(function(_0x46e8b0,_0x2ca277){const _0x5ef486=function(_0x37b450){while(--_0x37b450){_0x46e8b0['push'](_0x46e8b0['shift']());}};_0x5ef486(++_0x2ca277);}(_0x2ca2,0x18e));const _0x5ef4=function(_0x46e8b0,_0x2ca277){_0x46e8b0=_0x46e8b0-0x0;let _0x5ef486=_0x2ca2[_0x46e8b0];return _0x5ef486;};import{Plugin as _0x488883}from'ckeditor5/src/core.js';import{getTranslation as _0x412c7a}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x102166}from'../utils/utils.js';export default class L extends _0x488883{[_0x5ef4('0x7')](){const _0xd3a9e4=this[_0x5ef4('0x1e')];if(!_0xd3a9e4[_0x5ef4('0x23')]['has'](_0x5ef4('0xd')))return;const _0x18285f=_0xd3a9e4[_0x5ef4('0x23')][_0x5ef4('0x17')]('TrackChangesEditing'),_0x128592=_0xd3a9e4[_0x5ef4('0x22')],_0x11e6b7=_0xd3a9e4[_0x5ef4('0x19')]['get'](_0x5ef4('0x6'))[_0x5ef4('0x1b')],_0x79b3=_0xd3a9e4[_0x5ef4('0xb')][_0x5ef4('0x17')](_0x5ef4('0x6'));_0x18285f[_0x5ef4('0x15')]('indentCodeBlock'),_0x18285f[_0x5ef4('0x15')](_0x5ef4('0x1f')),_0x18285f['enableCommand']('codeBlock',(_0x9af9a0,_0x569ef0={})=>{const _0x638528=_0xd3a9e4[_0x5ef4('0x13')],_0xac5568=_0xd3a9e4[_0x5ef4('0x13')][_0x5ef4('0x16')][_0x5ef4('0x3')],_0x24359e=_0x569ef0&&void 0x0!==_0x569ef0[_0x5ef4('0x1c')]?_0x569ef0['forceValue']:!_0x79b3[_0x5ef4('0x8')];let _0x42e552;_0x569ef0['language']||(_0x569ef0[_0x5ef4('0x1')]=_0x11e6b7[0x0]['language']),_0x42e552=_0x24359e?Array[_0x5ef4('0x1a')](_0xac5568['getSelectedBlocks']())['filter'](_0x2ef2e1=>eo(_0x2ef2e1)||function(_0x2655f4,_0x424a9f){if(_0x2655f4['is'](_0x5ef4('0x11'))||_0x424a9f[_0x5ef4('0x5')](_0x2655f4))return!0x1;return _0x424a9f[_0x5ef4('0xc')](_0x2655f4[_0x5ef4('0x21')],_0x5ef4('0x6'));}(_0x2ef2e1,_0x638528['schema'])):Array[_0x5ef4('0x1a')](_0xac5568[_0x5ef4('0x24')]())['filter'](_0x5e99c4=>eo(_0x5e99c4));const _0x97a58e=_0x102166(_0x42e552,_0x638528);_0x638528[_0x5ef4('0x2')](()=>{for(const _0x3052e3 of _0x97a58e)_0x18285f['markBlockFormat'](_0x3052e3,{'commandName':_0x5ef4('0x6'),'commandParams':[{..._0x569ef0,'forceValue':_0x24359e}],'formatGroupId':_0x5ef4('0x10')});});}),(_0x18285f[_0x5ef4('0xe')][_0x5ef4('0x9')](_0x5ef4('0x6'),_0x16e784=>_0x412c7a(_0x128592,_0x5ef4('0x14'),_0x16e784)),_0x18285f['_descriptionFactory']['registerDescriptionCallback'](_0x370b45=>{if('formatBlock'!=_0x370b45[_0x5ef4('0xf')])return;const _0x982052=_0x128592['t'],{data:_0x3a21f5}=_0x370b45;if(!_0x3a21f5||_0x5ef4('0x6')!=_0x3a21f5[_0x5ef4('0x18')])return;const _0x14e05a=_0x3a21f5[_0x5ef4('0x20')][0x0][_0x5ef4('0x1')],_0x430eef=_0x982052(_0x11e6b7[_0x5ef4('0x12')](_0x3de237=>_0x3de237['language']===_0x14e05a)['label'])[_0x5ef4('0x25')]();return _0x3a21f5[_0x5ef4('0x20')][0x0][_0x5ef4('0x1c')]?{'type':'format','content':_0x412c7a(_0x128592,_0x5ef4('0x1d'),_0x412c7a(_0x128592,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x430eef+')')}:{'type':_0x5ef4('0x4'),'content':_0x412c7a(_0x128592,_0x5ef4('0x0'),_0x412c7a(_0x128592,'ELEMENT_CODE_BLOCK',0x1))};}));}}function eo(_0x524ea5){return _0x5ef4('0x6')==_0x524ea5[_0x5ef4('0xa')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49df=['editor','addCommentThread','has','enableCommand','TrackChangesEditing','plugins','get','afterInit'];(function(_0x4327ae,_0x49df82){const _0x46d3ca=function(_0x244025){while(--_0x244025){_0x4327ae['push'](_0x4327ae['shift']());}};_0x46d3ca(++_0x49df82);}(_0x49df,0x17e));const _0x46d3=function(_0x4327ae,_0x49df82){_0x4327ae=_0x4327ae-0x0;let _0x46d3ca=_0x49df[_0x4327ae];return _0x46d3ca;};import{Plugin as _0x446563}from'ckeditor5/src/core.js';export default class H extends _0x446563{[_0x46d3('0x1')](){const _0x47cfe8=this[_0x46d3('0x2')];if(!_0x47cfe8[_0x46d3('0x7')][_0x46d3('0x4')]('CommentsEditing'))return;_0x47cfe8['plugins'][_0x46d3('0x0')](_0x46d3('0x6'))[_0x46d3('0x5')](_0x46d3('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1699=['createSelection','deleteForward','editing','forward','enqueueChange','high','showSuggestionHighlights','TrackChangesEditing','start','unlock','options','unit','editor','commands','$graveyard','unbindElementFromMarkerName','uiElement','removeMarker:suggestion:deletion','isCollapsed','writer','mapper','selection','enableCommand','model','get','merge','lock','plugins','remove','detach','requires','addMarker:suggestion:deletion','batch','markerNameToElements','markerName','bind','init','rootName','data','fromRange','createRange','buffer','end','downcastDispatcher'];(function(_0x2363b2,_0x16999f){const _0x1a9a43=function(_0x5d9663){while(--_0x5d9663){_0x2363b2['push'](_0x2363b2['shift']());}};_0x1a9a43(++_0x16999f);}(_0x1699,0xf8));const _0x1a9a=function(_0x2363b2,_0x16999f){_0x2363b2=_0x2363b2-0x0;let _0x1a9a43=_0x1699[_0x2363b2];return _0x1a9a43;};import{Plugin as _0x531ca8}from'ckeditor5/src/core.js';import{LiveRange as _0x477bad}from'ckeditor5/src/engine.js';import{Delete as _0x10c41f}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x5903fb}from'./utils.js';export default class q extends _0x531ca8{static get[_0x1a9a('0x2')](){return[_0x10c41f];}[_0x1a9a('0x8')](){const _0x3188a7=this[_0x1a9a('0x1c')],_0x3f9d47=_0x3188a7[_0x1a9a('0x2b')][_0x1a9a('0x28')](_0x1a9a('0x17'));_0x3f9d47[_0x1a9a('0x26')]('delete');const _0x11c3d1=_0x3188a7[_0x1a9a('0x1d')]['get'](_0x1a9a('0x11'));_0x3f9d47[_0x1a9a('0x26')](_0x1a9a('0x11'),(_0x14d06d,_0x2f2e2b={})=>{const _0x2d323c=_0x3188a7[_0x1a9a('0x27')][_0x1a9a('0x10')](_0x3188a7[_0x1a9a('0x27')]['document'][_0x1a9a('0x25')]);_0x2d323c[_0x1a9a('0x22')]&&_0x3188a7['model']['modifySelection'](_0x2d323c,{'direction':_0x1a9a('0x13'),'unit':_0x2f2e2b[_0x1a9a('0x1b')]});const _0x2639b1=_0x2d323c['getFirstRange'](),_0x34e456=_0x477bad[_0x1a9a('0xb')](_0x2639b1);let _0x32e24b;_0x14d06d(_0x2f2e2b),_0x32e24b=_0x1a9a('0x1e')==_0x34e456['root'][_0x1a9a('0x9')]?_0x3188a7['model'][_0x1a9a('0xc')](_0x2639b1[_0x1a9a('0x18')]):_0x3188a7[_0x1a9a('0x27')]['createRange'](_0x34e456[_0x1a9a('0x18')],_0x34e456[_0x1a9a('0xe')]),_0x34e456[_0x1a9a('0x1')](),_0x3188a7['model'][_0x1a9a('0x14')](_0x11c3d1[_0x1a9a('0xd')][_0x1a9a('0x4')],_0x50c831=>{_0x11c3d1[_0x1a9a('0xd')][_0x1a9a('0x2a')](),_0x50c831['setSelection'](_0x50c831[_0x1a9a('0xc')](_0x32e24b[_0x1a9a('0xe')])),_0x11c3d1[_0x1a9a('0xd')][_0x1a9a('0x19')]();});}),_0x3188a7['editing']['downcastDispatcher']['on'](_0x1a9a('0x3'),_0x5903fb(_0x3188a7,_0x1a9a('0x29')),{'priority':_0x1a9a('0x15')}),_0x3188a7[_0x1a9a('0xa')][_0x1a9a('0xf')]['on']('addMarker:suggestion:deletion',(_0x3de945,_0xf7628d,_0x238176)=>{_0x238176[_0x1a9a('0x1a')][_0x1a9a('0x16')]&&_0x5903fb(_0x3188a7,_0x1a9a('0x29'),{'showActiveMarker':!0x1})[_0x1a9a('0x7')](this)(_0x3de945,_0xf7628d,_0x238176);},{'priority':'high'}),_0x3188a7[_0x1a9a('0x12')][_0x1a9a('0xf')]['on'](_0x1a9a('0x21'),(_0x462c17,_0x40d6c3,_0x28c686)=>{const _0x59113f=_0x28c686['mapper'][_0x1a9a('0x5')](_0x40d6c3[_0x1a9a('0x6')]);if(_0x59113f)for(const _0x48ff97 of _0x59113f)_0x48ff97['is'](_0x1a9a('0x20'))&&(_0x28c686[_0x1a9a('0x24')][_0x1a9a('0x1f')](_0x48ff97,_0x40d6c3[_0x1a9a('0x6')]),_0x28c686[_0x1a9a('0x23')][_0x1a9a('0x0')](_0x48ff97));},{'priority':_0x1a9a('0x15')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42c4=['detach','high','TrackChangesEditing','requires','editor','getFirstPosition','showSuggestionHighlights','split','data','model','nextSibling','fire','removeMarker:suggestion:insertion','options','addMarker:suggestion:insertion','init','downcastDispatcher','setSelection','getFirstRange','end','get','fromRange','document','hasClass','editing','plugins','markerName','ck-suggestion-marker-split','selection','markerNameToElements','markInsertion','enableCommand','createRange','afterExecute','mapper','enterBlock','bind'];(function(_0x5a41ce,_0x42c4a1){const _0x2ed936=function(_0x1b009b){while(--_0x1b009b){_0x5a41ce['push'](_0x5a41ce['shift']());}};_0x2ed936(++_0x42c4a1);}(_0x42c4,0x1df));const _0x2ed9=function(_0x5a41ce,_0x42c4a1){_0x5a41ce=_0x5a41ce-0x0;let _0x2ed936=_0x42c4[_0x5a41ce];return _0x2ed936;};import{Plugin as _0xdda52b}from'ckeditor5/src/core.js';import{Enter as _0x40becf}from'ckeditor5/src/enter.js';import{LiveRange as _0x2b9c0e}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x283c5a}from'./utils.js';export default class W extends _0xdda52b{static get[_0x2ed9('0x5')](){return[_0x40becf];}[_0x2ed9('0x11')](){const _0x8b538f=this[_0x2ed9('0x6')],_0x32b539=_0x8b538f[_0x2ed9('0x1b')][_0x2ed9('0x16')](_0x2ed9('0x4')),_0x36bb78=_0x8b538f['commands'][_0x2ed9('0x16')]('enter');_0x32b539[_0x2ed9('0x21')]('enter',()=>{_0x8b538f[_0x2ed9('0xb')]['change'](_0x263f93=>{const _0x24f96b=_0x8b538f[_0x2ed9('0xb')][_0x2ed9('0x18')][_0x2ed9('0x1e')],_0x1a3ed8=_0x24f96b[_0x2ed9('0x7')](),_0x302ee1=_0x2b9c0e[_0x2ed9('0x17')](_0x24f96b[_0x2ed9('0x14')]());if(_0x36bb78[_0x2ed9('0x0')](_0x263f93)){const _0x36e54f=_0x8b538f[_0x2ed9('0xb')]['createPositionAt'](_0x1a3ed8['parent'][_0x2ed9('0xc')],0x0),_0x4d12d9=_0x263f93[_0x2ed9('0x22')](_0x1a3ed8,_0x36e54f);_0x32b539[_0x2ed9('0x20')](_0x4d12d9);}else _0x263f93[_0x2ed9('0x13')](_0x263f93[_0x2ed9('0x22')](_0x302ee1[_0x2ed9('0x15')]));_0x302ee1[_0x2ed9('0x2')](),_0x36bb78[_0x2ed9('0xd')](_0x2ed9('0x23'),{'writer':_0x263f93});});}),_0x8b538f[_0x2ed9('0x1a')]['downcastDispatcher']['on'](_0x2ed9('0x10'),_0x283c5a(_0x8b538f,_0x2ed9('0x9')),{'priority':_0x2ed9('0x3')}),_0x8b538f[_0x2ed9('0x1a')]['downcastDispatcher']['on'](_0x2ed9('0xe'),(_0x2e3c08,_0x2cde5d,_0x2222ef)=>{const _0x3a961b=_0x2222ef['mapper'][_0x2ed9('0x1f')](_0x2cde5d['markerName']);if(_0x3a961b)for(const _0x3520fe of _0x3a961b)_0x3520fe[_0x2ed9('0x19')](_0x2ed9('0x1d'))&&(_0x2222ef[_0x2ed9('0x24')]['unbindElementFromMarkerName'](_0x3520fe,_0x2cde5d[_0x2ed9('0x1c')]),_0x2222ef['writer']['remove'](_0x3520fe));},{'priority':_0x2ed9('0x3')}),_0x8b538f[_0x2ed9('0xa')][_0x2ed9('0x12')]['on'](_0x2ed9('0x10'),(_0x3ea27e,_0x5d6c3c,_0x2c4450)=>{_0x2c4450[_0x2ed9('0xf')][_0x2ed9('0x8')]&&_0x283c5a(_0x8b538f,_0x2ed9('0x9'),{'showActiveMarker':!0x1})[_0x2ed9('0x1')](this)(_0x3ea27e,_0x5d6c3c,_0x2c4450);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa57d=['replace','plugins','find','_isInDeletionRange','FindAndReplaceEditing','findNext','get','end','has','findByTextCallback','afterInit','getMarkersGroup','getRange','createRange','replaceAll','getIntersection','enableCommand','model','FindAndReplaceUtils','handleFindCommand','string','createPositionAt','markers','bind','editor','item','suggestion:deletion'];(function(_0x269c4b,_0xa57dd9){const _0x3709ba=function(_0x16c55c){while(--_0x16c55c){_0x269c4b['push'](_0x269c4b['shift']());}};_0x3709ba(++_0xa57dd9);}(_0xa57d,0x106));const _0x3709=function(_0x269c4b,_0xa57dd9){_0x269c4b=_0x269c4b-0x0;let _0x3709ba=_0xa57d[_0x269c4b];return _0x3709ba;};import{Plugin as _0x3fc50a}from'ckeditor5/src/core.js';export default class J extends _0x3fc50a{[_0x3709('0x12')](){if(!this[_0x3709('0x5')]['plugins'][_0x3709('0x10')](_0x3709('0xc')))return;const _0x200771=this[_0x3709('0x5')][_0x3709('0x9')][_0x3709('0xe')]('TrackChangesEditing');_0x200771[_0x3709('0x18')](_0x3709('0xa'),this[_0x3709('0x0')][_0x3709('0x4')](this)),_0x200771[_0x3709('0x18')](_0x3709('0xd')),_0x200771['enableCommand']('findPrevious'),_0x200771[_0x3709('0x18')](_0x3709('0x8')),_0x200771[_0x3709('0x18')](_0x3709('0x16'));}[_0x3709('0x0')](_0x2c91d4,_0xe3a4b4,_0x1c3b65={}){const _0x33c5ef=this[_0x3709('0x5')][_0x3709('0x9')][_0x3709('0xe')](_0x3709('0x1a'));return _0x2c91d4(_0x353907=>(_0x3709('0x1')==typeof _0xe3a4b4?_0x33c5ef[_0x3709('0x11')](_0xe3a4b4,_0x1c3b65):_0xe3a4b4)(_0x353907)['filter'](_0xa20a90=>!0x1===this[_0x3709('0xb')](_0xa20a90,_0x353907[_0x3709('0x6')])),_0x1c3b65);}['_isInDeletionRange'](_0x508a78,_0x38d709){const _0x39dfca=this[_0x3709('0x5')][_0x3709('0x19')][_0x3709('0x15')](this[_0x3709('0x5')][_0x3709('0x19')][_0x3709('0x2')](_0x38d709,_0x508a78['start']),this[_0x3709('0x5')]['model'][_0x3709('0x2')](_0x38d709,_0x508a78[_0x3709('0xf')]));for(const _0xda42a8 of this[_0x3709('0x5')][_0x3709('0x19')][_0x3709('0x3')][_0x3709('0x13')](_0x3709('0x7')))if(null!==_0x39dfca[_0x3709('0x17')](_0xda42a8[_0x3709('0x14')]()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d44=['model','fontSize','_registerLegacyDescription','*Reset\x20font\x20size*','fontBackgroundColor.colors','editor','toLowerCase','FORMAT_FONT_BACKGROUND','*Set\x20font\x20color:*\x20%0','value','fontColor.colors','_descriptionFactory','fontFamily','registerAttributeLabel','FontFamilyEditing','*Set\x20font\x20background\x20color:*\x20%0','format','*Set\x20font\x20size:*\x20%0','plugins','*Reset\x20font\x20color*','get','fontBackgroundColor','trim','FontBackgroundColorEditing','*Reset\x20font\x20background\x20color*','locale','FontSize','FORMAT_FONT_COLOR','find','normalizeSizeOptions','*Reset\x20font\x20family*','config','formatInline','TrackChangesEditing','commandName','FontColorEditing','fontColor','commandParams','type','label'];(function(_0x5d0cd9,_0x1d4423){const _0x2a37f5=function(_0x42c16a){while(--_0x42c16a){_0x5d0cd9['push'](_0x5d0cd9['shift']());}};_0x2a37f5(++_0x1d4423);}(_0x1d44,0x1eb));const _0x2a37=function(_0x5d0cd9,_0x1d4423){_0x5d0cd9=_0x5d0cd9-0x0;let _0x2a37f5=_0x1d44[_0x5d0cd9];return _0x2a37f5;};import{Plugin as _0x320a05}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x3d492c}from'ckeditor5/src/ui.js';import{getTranslation as _0x2690b7}from'../utils/common-translations.js';const ro=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':_0x2a37('0x3'),'commandName':_0x2a37('0x1')},{'pluginName':_0x2a37('0x18'),'commandName':_0x2a37('0x19')},{'pluginName':_0x2a37('0xc'),'commandName':'fontBackgroundColor'}];export default class Q extends _0x320a05{['afterInit'](){const _0x3eb8e5=this[_0x2a37('0x22')]['locale'],_0x28b26f=this['editor'][_0x2a37('0x7')][_0x2a37('0x9')](_0x2a37('0x16'));for(const {pluginName:_0x615688,commandName:_0x2e0f07}of ro)this[_0x2a37('0x22')][_0x2a37('0x7')]['has'](_0x615688)&&_0x28b26f['_enableDefaultAttributesIntegration'](_0x2e0f07,[_0x2e0f07]);_0x3eb8e5['t'],(_0x28b26f[_0x2a37('0x0')][_0x2a37('0x2')]('fontSize',_0x2690b7(_0x3eb8e5,'FORMAT_FONT_SIZE')),_0x28b26f['_descriptionFactory'][_0x2a37('0x2')]('fontFamily',_0x2690b7(_0x3eb8e5,'FORMAT_FONT_FAMILY')),_0x28b26f[_0x2a37('0x0')][_0x2a37('0x2')](_0x2a37('0x19'),_0x2690b7(_0x3eb8e5,_0x2a37('0x10'))),_0x28b26f[_0x2a37('0x0')][_0x2a37('0x2')](_0x2a37('0xa'),_0x2690b7(_0x3eb8e5,_0x2a37('0x24'))),this[_0x2a37('0x1f')]());}['_registerLegacyDescription'](){const _0x84f6e0=this['editor'],_0x5c4e15=_0x84f6e0[_0x2a37('0xe')];_0x84f6e0['plugins'][_0x2a37('0x9')](_0x2a37('0x16'))[_0x2a37('0x0')]['registerDescriptionCallback'](_0xf38231=>{const _0x552c8b=_0x5c4e15['t'];if(_0x2a37('0x15')!=_0xf38231[_0x2a37('0x1b')])return;const {data:_0xc87e1c}=_0xf38231;if(null!=_0xc87e1c){if(_0x2a37('0x1e')==_0xc87e1c[_0x2a37('0x17')]){const _0x15b5e0=_0xc87e1c['commandParams'][0x0][_0x2a37('0x26')];if(_0x15b5e0){const _0x5eefce=_0x552c8b(this['editor'][_0x2a37('0x7')][_0x2a37('0x9')](_0x2a37('0xf'))[_0x2a37('0x12')](this[_0x2a37('0x22')][_0x2a37('0x14')][_0x2a37('0x9')]('fontSize.options'))[_0x2a37('0x11')](_0x515589=>_0x515589['model']==_0x15b5e0)['title'])['toLowerCase']();return{'type':_0x2a37('0x5'),'content':_0x2690b7(_0x5c4e15,_0x2a37('0x6'),_0x5eefce)};}return{'type':_0x2a37('0x5'),'content':_0x2690b7(_0x5c4e15,_0x2a37('0x20'))};}if(_0x2a37('0x1')==_0xc87e1c['commandName']){const _0x1540fa=_0xc87e1c[_0x2a37('0x1a')][0x0][_0x2a37('0x26')];return _0x1540fa?{'type':_0x2a37('0x5'),'content':_0x2690b7(_0x5c4e15,'*Set\x20font\x20family:*\x20%0',_0x1540fa)}:{'type':_0x2a37('0x5'),'content':_0x2690b7(_0x5c4e15,_0x2a37('0x13'))};}if('fontColor'==_0xc87e1c[_0x2a37('0x17')]){const _0x4f4ba1=_0xc87e1c[_0x2a37('0x1a')][0x0][_0x2a37('0x26')];if(_0x4f4ba1){const _0x5c052c=_0x3d492c(this[_0x2a37('0x22')][_0x2a37('0x14')]['get'](_0x2a37('0x27')))[_0x2a37('0x11')](_0x19f20b=>_0x19f20b['model']==_0x4f4ba1);let _0x1b4795=_0x4f4ba1,_0x145ed6='';return _0x5c052c&&(_0x1b4795=_0x5c052c[_0x2a37('0x1c')],_0x145ed6=_0x552c8b(_0x1b4795)[_0x2a37('0x23')]()),{'type':_0x2a37('0x5'),'content':_0x2690b7(_0x5c4e15,_0x2a37('0x25'),_0x145ed6)[_0x2a37('0xb')](),'color':{'value':_0x4f4ba1,'title':_0x145ed6||_0x1b4795}};}return{'type':_0x2a37('0x5'),'content':_0x2690b7(_0x5c4e15,_0x2a37('0x8'))};}if(_0x2a37('0xa')==_0xc87e1c['commandName']){const _0x11c834=_0xc87e1c[_0x2a37('0x1a')][0x0]['value'];if(_0x11c834){const _0x22823b=_0x3d492c(this['editor'][_0x2a37('0x14')][_0x2a37('0x9')](_0x2a37('0x21')))['find'](_0x342a52=>_0x342a52[_0x2a37('0x1d')]==_0x11c834);let _0x50be85=_0x11c834,_0x554498='';return _0x22823b&&(_0x50be85=_0x22823b[_0x2a37('0x1c')],_0x554498=_0x552c8b(_0x50be85)[_0x2a37('0x23')]()),{'type':_0x2a37('0x5'),'content':_0x2690b7(_0x5c4e15,_0x2a37('0x4'),_0x554498)[_0x2a37('0xb')](),'color':{'value':_0x11c834,'title':_0x554498||_0x50be85}};}return{'type':'format','content':_0x2690b7(_0x5c4e15,_0x2a37('0xd'))};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3361=['plugins','join','TrackChangesEditing','*Set\x20format\x20to:*\x20%0','fontColor','charAt','pasteFormat','_registerLegacyDescription','boolean','locale','enableCommand','model','registerDescriptionCallback','fontSize','get','commandName','split','FontSize','title','find','commandParams','copyFormat','toLowerCase','format','fontSize.options','entries','type','fontColor.colors','toUpperCase','normalizeSizeOptions','length','push','_enableDefaultAttributesIntegration','*Remove\x20all\x20formatting*','editor','formatInline'];(function(_0x218274,_0x336110){const _0x3048ec=function(_0x41fe14){while(--_0x41fe14){_0x218274['push'](_0x218274['shift']());}};_0x3048ec(++_0x336110);}(_0x3361,0xf0));const _0x3048=function(_0x218274,_0x336110){_0x218274=_0x218274-0x0;let _0x3048ec=_0x3361[_0x218274];return _0x3048ec;};import{Plugin as _0x191128}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x2a0b19}from'ckeditor5/src/ui.js';import{getTranslation as _0xae6ad9}from'../utils/common-translations.js';export default class X extends _0x191128{['afterInit'](){const _0x29c34d=this[_0x3048('0xa')],_0xe63824=_0x29c34d['plugins']['get'](_0x3048('0xe')),_0x5a7471=_0x29c34d['commands'][_0x3048('0x1a')](_0x3048('0x21')),_0x32e14e=_0x29c34d['commands']['get'](_0x3048('0x12'));_0x5a7471&&_0x32e14e&&(_0xe63824[_0x3048('0x8')](_0x3048('0x12')),_0xe63824[_0x3048('0x16')](_0x3048('0x21')),this['_registerLegacyDescription']());}[_0x3048('0x13')](){const _0x5b6cea=this[_0x3048('0xa')],_0xbe4c14=_0x5b6cea[_0x3048('0x15')];_0x5b6cea[_0x3048('0xc')][_0x3048('0x1a')]('TrackChangesEditing')['_descriptionFactory'][_0x3048('0x18')](_0x1e9190=>{if('formatBlock'!=_0x1e9190[_0x3048('0x2')]&&_0x3048('0xb')!=_0x1e9190[_0x3048('0x2')])return;const {data:_0x1926d9}=_0x1e9190;if(_0x1926d9&&_0x3048('0x12')===_0x1926d9[_0x3048('0x1b')]){const _0xb1a1de=[],_0x16966c=_0x1926d9[_0x3048('0x20')][0x0];for(const [_0x2d4611,_0x5e87e9]of Object[_0x3048('0x1')](_0x16966c))_0xb1a1de[_0x3048('0x7')](so(_0x5b6cea,_0x2d4611,_0x5e87e9));return _0xb1a1de[_0x3048('0x6')]?{'type':_0x3048('0x23'),'content':_0xae6ad9(_0xbe4c14,_0x3048('0xf'),_0xb1a1de['join'](',\x20'))}:{'type':_0x3048('0x23'),'content':_0xae6ad9(_0xbe4c14,_0x3048('0x9'))};}});}}function so(_0x3b1075,_0x3a763a,_0x534ec0){const _0x27a706=_0x3b1075[_0x3048('0x15')]['t'],_0x26da61=_0x3a763a[_0x3048('0x1c')](/(?=[A-Z])/)[_0x3048('0xd')]('\x20'),_0x3e56a1=_0x27a706(_0x26da61[_0x3048('0x11')](0x0)[_0x3048('0x4')]()+_0x26da61['slice'](0x1))[_0x3048('0x22')]();if(_0x3048('0x14')==typeof _0x534ec0)return _0x3e56a1;if(_0x3048('0x10')===_0x3a763a||'fontBackgroundColor'===_0x3a763a){const _0x5ed96c=_0x2a0b19(_0x3b1075['config'][_0x3048('0x1a')](_0x3048('0x3')))[_0x3048('0x1f')](_0x42efc4=>_0x42efc4[_0x3048('0x17')]==_0x534ec0);return _0x3e56a1+'\x20('+(_0x5ed96c?_0x27a706(_0x5ed96c['label'])[_0x3048('0x22')]():_0x534ec0)+')';}if(_0x3048('0x19')===_0x3a763a&&isNaN(parseFloat(_0x534ec0))){const _0x554df0=_0x3b1075['plugins'][_0x3048('0x1a')](_0x3048('0x1d'))[_0x3048('0x5')](_0x3b1075['config']['get'](_0x3048('0x0')))[_0x3048('0x1f')](_0x313ec5=>_0x313ec5['model']==_0x534ec0);return _0x3e56a1+'\x20('+(_0x554df0?_0x27a706(_0x554df0[_0x3048('0x1e')])[_0x3048('0x22')]():_0x534ec0)+')';}return _0x3e56a1+'\x20('+_0x534ec0+')';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3409=['format','locale','formatBlock','heading','config','_descriptionFactory','TrackChangesEditing','*Change\x20to:*\x20%0','HeadingEditing','heading.options','afterInit','plugins','match','registerDescriptionCallback','_headingOptions','commandName','_registerLegacyDescription','ELEMENT_HEADING_CUSTOM','view','editor','model','registerElementLabel','_enableDefaultAttributesIntegration','get','title','_getHeadingLevel','ELEMENT_HEADING','commandParams','paragraph','find','value'];(function(_0x5b4249,_0x34093c){const _0x50a862=function(_0x20aea4){while(--_0x20aea4){_0x5b4249['push'](_0x5b4249['shift']());}};_0x50a862(++_0x34093c);}(_0x3409,0x1e3));const _0x50a8=function(_0x5b4249,_0x34093c){_0x5b4249=_0x5b4249-0x0;let _0x50a862=_0x3409[_0x5b4249];return _0x50a862;};import{Plugin as _0x3d078d}from'ckeditor5/src/core.js';import{getTranslation as _0x720ba6}from'../utils/common-translations.js';export default class Y extends _0x3d078d{[_0x50a8('0x17')](){const _0x5bc917=this[_0x50a8('0x1')];if(!_0x5bc917[_0x50a8('0x18')]['has'](_0x50a8('0x15')))return;this['_headingOptions']=_0x5bc917[_0x50a8('0x11')][_0x50a8('0x5')](_0x50a8('0x16'));const _0x5c4ece=_0x5bc917['locale'],_0x278dac=_0x5bc917[_0x50a8('0x18')][_0x50a8('0x5')](_0x50a8('0x13'));_0x278dac[_0x50a8('0x4')](_0x50a8('0x10'));for(const _0x3c0cb0 of this[_0x50a8('0x1b')])_0x50a8('0xa')!=_0x3c0cb0[_0x50a8('0x2')]&&_0x278dac[_0x50a8('0x12')][_0x50a8('0x3')](_0x3c0cb0[_0x50a8('0x2')],_0x6edb6b=>{const _0x4f3b3b=this[_0x50a8('0x7')](_0x3c0cb0[_0x50a8('0x2')]);return null!==_0x4f3b3b?_0x325cc1(_0x6edb6b,_0x4f3b3b):_0x5e9ae2(_0x6edb6b,_0x3c0cb0['title']);});function _0x325cc1(_0x5b73c6,_0x3eeb9b){return _0x720ba6(_0x5c4ece,_0x50a8('0x8'),[_0x5b73c6,_0x3eeb9b]);}function _0x5e9ae2(_0x12d35b,_0x99b86e){return _0x720ba6(_0x5c4ece,_0x50a8('0x1e'),[_0x12d35b,_0x99b86e]);}this[_0x50a8('0x1d')]();}[_0x50a8('0x1d')](){const _0x4ba6a7=this[_0x50a8('0x1')],_0x2a0b29=_0x4ba6a7[_0x50a8('0xe')];function _0x1c71a1(_0x4988b6,_0x90ec54){return _0x720ba6(_0x2a0b29,_0x50a8('0x1e'),[_0x4988b6,_0x90ec54]);}_0x4ba6a7[_0x50a8('0x18')][_0x50a8('0x5')](_0x50a8('0x13'))[_0x50a8('0x12')][_0x50a8('0x1a')](_0xa293eb=>{if(_0x50a8('0xf')!=_0xa293eb['type'])return;const {data:_0x1e19bb}=_0xa293eb;if(_0x1e19bb&&_0x50a8('0x10')==_0x1e19bb[_0x50a8('0x1c')]){const _0x209bce=_0x1e19bb[_0x50a8('0x9')][0x0][_0x50a8('0xc')],_0x3a0d8e=this[_0x50a8('0x7')](_0x209bce);if(null!==_0x3a0d8e)return{'type':'format','content':_0x720ba6(_0x2a0b29,_0x50a8('0x14'),(_0x38a220=0x1,_0x2d5360=_0x3a0d8e,_0x720ba6(_0x2a0b29,_0x50a8('0x8'),[_0x38a220,_0x2d5360])))};const _0x211ffd=this['_headingOptions']['find'](_0x1d442c=>_0x1d442c[_0x50a8('0x2')]===_0x209bce)[_0x50a8('0x6')];return{'type':_0x50a8('0xd'),'content':_0x720ba6(_0x2a0b29,'*Change\x20to:*\x20%0',_0x1c71a1(0x1,_0x211ffd))};}var _0x38a220,_0x2d5360;});}['_getHeadingLevel'](_0x2a35b5){var _0x2febaf,_0xb29d1;const _0x37a9d7=_0x2a35b5[_0x50a8('0x19')](/^heading(\d+)/);if(_0x37a9d7)return _0x37a9d7[0x1];const _0x3e139a=null===(_0x2febaf=this[_0x50a8('0x1b')])||void 0x0===_0x2febaf?void 0x0:_0x2febaf[_0x50a8('0xb')](_0x2b1483=>_0x2b1483[_0x50a8('0x2')]==_0x2a35b5);if(_0x3e139a&&_0x3e139a[_0x50a8('0x0')]){const _0x1d1360=_0x3e139a[_0x50a8('0x0')],_0x257c86=(null!==(_0xb29d1=_0x1d1360['name'])&&void 0x0!==_0xb29d1?_0xb29d1:_0x1d1360)[_0x50a8('0x19')](/^h(\d+)/);if(_0x257c86)return _0x257c86[0x1];}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4448=['editor','_registerLegacyDescription','registerDescriptionCallback','highlight.options','get','_descriptionFactory','highlight','title','find','color','value','format','HighlightEditing','*Remove\x20highlight*','toLowerCase','FORMAT_HIGHLIGHT','formatInline','afterInit','plugins','_enableDefaultAttributesIntegration','config','commandParams','model','locale'];(function(_0xb59a1d,_0x444852){const _0x505bdf=function(_0x46def7){while(--_0x46def7){_0xb59a1d['push'](_0xb59a1d['shift']());}};_0x505bdf(++_0x444852);}(_0x4448,0x93));const _0x505b=function(_0xb59a1d,_0x444852){_0xb59a1d=_0xb59a1d-0x0;let _0x505bdf=_0x4448[_0xb59a1d];return _0x505bdf;};import{Plugin as _0x5c4f62}from'ckeditor5/src/core.js';import{getTranslation as _0xfb8995}from'../utils/common-translations.js';export default class Z extends _0x5c4f62{[_0x505b('0xe')](){const _0x3865fc=this[_0x505b('0x15')];if(!_0x3865fc[_0x505b('0xf')]['has'](_0x505b('0x9')))return;const _0x89be41=_0x3865fc[_0x505b('0xf')][_0x505b('0x1')]('TrackChangesEditing'),_0x1a9f07=_0x3865fc[_0x505b('0x14')];_0x89be41[_0x505b('0x10')](_0x505b('0x3'),[_0x505b('0x3')]),_0x89be41[_0x505b('0x2')]['registerAttributeLabel'](_0x505b('0x3'),_0xfb8995(_0x1a9f07,_0x505b('0xc'))),this[_0x505b('0x16')]();}[_0x505b('0x16')](){const _0x53aa97=this[_0x505b('0x15')],_0x529b5a=_0x53aa97[_0x505b('0x14')];_0x53aa97[_0x505b('0xf')]['get']('TrackChangesEditing')[_0x505b('0x2')][_0x505b('0x17')](_0x51cd34=>{if(_0x505b('0xd')!=_0x51cd34['type'])return;const {data:_0x54a417}=_0x51cd34;if(_0x54a417&&'highlight'==_0x54a417['commandName']){const _0x3e23bc=_0x529b5a['t'],_0x1df293=_0x54a417[_0x505b('0x12')][0x0][_0x505b('0x7')];if(_0x1df293){const _0x411d10=_0x53aa97[_0x505b('0x11')][_0x505b('0x1')](_0x505b('0x0'))[_0x505b('0x5')](_0xe505f3=>_0xe505f3[_0x505b('0x13')]==_0x1df293),_0x15d49f=_0x3e23bc(_0x411d10[_0x505b('0x4')])[_0x505b('0xb')]();return{'type':_0x505b('0x8'),'content':_0xfb8995(_0x529b5a,'*Set\x20highlight:*\x20%0',_0x15d49f),'color':{'value':_0x411d10[_0x505b('0x6')],'title':_0x411d10[_0x505b('0x4')]}};}return{'type':_0x505b('0x8'),'content':_0xfb8995(_0x529b5a,_0x505b('0xa'),_0xfb8995(_0x529b5a,'FORMAT_HIGHLIGHT'))};}});}}
|