@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240128.0 → 0.0.0-nightly-20240130.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-20240130.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-20240130.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240130.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 _0x23cc=['editor','TrackChangesEditing','canEditAt','_suggestions','execute','isEnabled','model','get','refresh','track-changes-accept-suggestion-not-found','getRanges','plugins','acceptSuggestion'];(function(_0x2ed2de,_0x23cc1f){const _0x2a46cd=function(_0x5f47de){while(--_0x5f47de){_0x2ed2de['push'](_0x2ed2de['shift']());}};_0x2a46cd(++_0x23cc1f);}(_0x23cc,0x128));const _0x2a46=function(_0x2ed2de,_0x23cc1f){_0x2ed2de=_0x2ed2de-0x0;let _0x2a46cd=_0x23cc[_0x2ed2de];return _0x2a46cd;};import{Command as _0x5c9839}from'ckeditor5/src/core.js';import{CKEditorError as _0x2e96f6}from'ckeditor5/src/utils.js';export default class $ extends _0x5c9839{constructor(_0x86641d,_0x344046){super(_0x86641d),this[_0x2a46('0x6')]=_0x344046,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x2a46('0xb')](){this[_0x2a46('0x8')]=!0x0;}[_0x2a46('0x7')](_0x357968){const _0xfb8cc9=this[_0x2a46('0x6')][_0x2a46('0xa')](_0x357968);if(!_0xfb8cc9)throw new _0x2e96f6(_0x2a46('0xc'),this);const _0x1d2cf5=_0xfb8cc9[_0x2a46('0x0')]();this[_0x2a46('0x3')][_0x2a46('0x9')][_0x2a46('0x5')](_0x1d2cf5)&&this['editor'][_0x2a46('0x1')][_0x2a46('0xa')](_0x2a46('0x4'))[_0x2a46('0x2')](_0xfb8cc9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1101=['canEditAt','execute','editor','get','TrackChangesEditing','track-changes-discard-suggestion-not-found','discardSuggestion','isEnabled','_isEnabledBasedOnSelection','getRanges','refresh','model','_suggestions','plugins'];(function(_0x203af2,_0x11012c){const _0x386571=function(_0x4f38bc){while(--_0x4f38bc){_0x203af2['push'](_0x203af2['shift']());}};_0x386571(++_0x11012c);}(_0x1101,0xeb));const _0x3865=function(_0x203af2,_0x11012c){_0x203af2=_0x203af2-0x0;let _0x386571=_0x1101[_0x203af2];return _0x386571;};import{Command as _0x19a801}from'ckeditor5/src/core.js';import{CKEditorError as _0x5d04c0}from'ckeditor5/src/utils.js';export default class B extends _0x19a801{constructor(_0x523770,_0x16395f){super(_0x523770),this[_0x3865('0x1')]=_0x16395f,this[_0x3865('0xd')](),this[_0x3865('0xb')]=!0x1;}['refresh'](){this[_0x3865('0xa')]=!0x0;}[_0x3865('0x4')](_0x1c5ea9){const _0x20a1e9=this[_0x3865('0x1')]['get'](_0x1c5ea9);if(!_0x20a1e9)throw new _0x5d04c0(_0x3865('0x8'),this);const _0x1506c2=_0x20a1e9[_0x3865('0xc')]();this['editor'][_0x3865('0x0')][_0x3865('0x3')](_0x1506c2)&&this[_0x3865('0x5')][_0x3865('0x2')][_0x3865('0x6')](_0x3865('0x7'))[_0x3865('0x9')](_0x20a1e9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x276a=['isInContent','execute','some','isEnabled','_suggestions','model','refresh','values','editor','from','_command'];(function(_0x5d881c,_0x276a39){const _0x3dc099=function(_0x49a56d){while(--_0x49a56d){_0x5d881c['push'](_0x5d881c['shift']());}};_0x3dc099(++_0x276a39);}(_0x276a,0x1ed));const _0x3dc0=function(_0x5d881c,_0x276a39){_0x5d881c=_0x5d881c-0x0;let _0x3dc099=_0x276a[_0x5d881c];return _0x3dc099;};import{Command as _0x474bc0}from'ckeditor5/src/core.js';import{sortSuggestions as _0x15a585,executeCommandForSuggestions as _0x5da231}from'../utils/utils.js';export default class x extends _0x474bc0{constructor(_0x1bc392,_0x9e11e9,_0x4e1db1){super(_0x1bc392),this['_command']=_0x9e11e9,this[_0x3dc0('0x6')]=_0x4e1db1,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x3dc0('0x8')](){const _0x5bff6c=Array[_0x3dc0('0x0')](this['_suggestions'][_0x3dc0('0x9')]())[_0x3dc0('0x4')](_0x1d6e18=>_0x1d6e18[_0x3dc0('0x2')]);this[_0x3dc0('0x5')]=this[_0x3dc0('0x1')][_0x3dc0('0x5')]&&_0x5bff6c;}[_0x3dc0('0x3')](){const _0x575098=_0x15a585(Array[_0x3dc0('0x0')](this[_0x3dc0('0x6')][_0x3dc0('0x9')]()));for(const _0x1d1ded of _0x575098){const _0x2ef3ab=_0x1d1ded['getRanges']();if(!this[_0x3dc0('0xa')][_0x3dc0('0x7')]['canEditAt'](_0x2ef3ab))return;}_0x5da231(this[_0x3dc0('0xa')]['model'],this[_0x3dc0('0x1')],_0x575098);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1adf=['selection','_suggestions','_command','_isEnabledBasedOnSelection','execute','size','_selectedSuggestions','isEnabled','canEditAt','model','editor','from','getRanges','refresh','values'];(function(_0x339f2f,_0x1adf5d){const _0x7618ee=function(_0x4fcb0b){while(--_0x4fcb0b){_0x339f2f['push'](_0x339f2f['shift']());}};_0x7618ee(++_0x1adf5d);}(_0x1adf,0x13d));const _0x7618=function(_0x339f2f,_0x1adf5d){_0x339f2f=_0x339f2f-0x0;let _0x7618ee=_0x1adf[_0x339f2f];return _0x7618ee;};import{Command as _0x2833e8}from'ckeditor5/src/core.js';import{sortSuggestions as _0x5132d1,getSelectedSuggestions as _0x1282aa,executeCommandForSuggestions as _0x214dd2}from'../utils/utils.js';export default class R extends _0x2833e8{constructor(_0x1b6fe1,_0x5c4b86,_0x4612eb){super(_0x1b6fe1),this[_0x7618('0x0')]=_0x5c4b86,this['_suggestions']=_0x4612eb,this[_0x7618('0x4')]=new Set(),this[_0x7618('0xb')](),this[_0x7618('0x1')]=!0x1;}[_0x7618('0xb')](){const _0x46a277=this['editor'][_0x7618('0x7')]['document'][_0x7618('0xd')],_0x3afdb1=Array[_0x7618('0x9')](this[_0x7618('0xe')][_0x7618('0xc')]());this[_0x7618('0x4')]=_0x1282aa(_0x46a277,_0x3afdb1),this[_0x7618('0x5')]=this[_0x7618('0x0')][_0x7618('0x5')]&&!!this[_0x7618('0x4')][_0x7618('0x3')];}[_0x7618('0x2')](){const _0xb01b84=_0x5132d1(Array[_0x7618('0x9')](this['_selectedSuggestions']));for(const _0x2ea20f of _0xb01b84){const _0x5e0446=_0x2ea20f[_0x7618('0xa')]();if(!this['editor'][_0x7618('0x7')][_0x7618('0x6')](_0x5e0446))return;}_0x214dd2(this[_0x7618('0x8')][_0x7618('0x7')],this['_command'],_0xb01b84);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b6f=['has','forceDisabled','commands','value','_disableUnsupportedCommands','refresh','_enabledCommands','TrackChangesCommand','editor','_enableCommands'];(function(_0x453e83,_0x5b6fd5){const _0x3b20e9=function(_0xad3190){while(--_0xad3190){_0x453e83['push'](_0x453e83['shift']());}};_0x3b20e9(++_0x5b6fd5);}(_0x5b6f,0x187));const _0x3b20=function(_0x453e83,_0x5b6fd5){_0x453e83=_0x453e83-0x0;let _0x3b20e9=_0x5b6f[_0x453e83];return _0x3b20e9;};import{Command as _0x1200ba}from'ckeditor5/src/core.js';export default class M extends _0x1200ba{constructor(_0x43503f,_0x5f2ef2){super(_0x43503f),this[_0x3b20('0x5')]=_0x5f2ef2,this['value']=!0x1,this[_0x3b20('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){this[_0x3b20('0x2')]=!this[_0x3b20('0x2')],this[_0x3b20('0x2')]?this[_0x3b20('0x3')]():this['_enableCommands']();}[_0x3b20('0x3')](){for(const _0x438750 of this[_0x3b20('0x7')][_0x3b20('0x1')]['commands']())_0x438750['affectsData']&&!this[_0x3b20('0x5')][_0x3b20('0x9')](_0x438750)&&_0x438750[_0x3b20('0x0')](_0x3b20('0x6'));}[_0x3b20('0x8')](){for(const _0x474283 of this['editor']['commands'][_0x3b20('0x1')]())_0x474283['affectsData']&&!this[_0x3b20('0x5')][_0x3b20('0x9')](_0x474283)&&_0x474283['clearForceDisabled']('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18d3=['enableCommand','TrackChangesEditing','showAIAssistant','commands','afterInit','get'];(function(_0x19b9a9,_0x18d33e){const _0x5d1a91=function(_0x20e2af){while(--_0x20e2af){_0x19b9a9['push'](_0x19b9a9['shift']());}};_0x5d1a91(++_0x18d33e);}(_0x18d3,0xd0));const _0x5d1a=function(_0x19b9a9,_0x18d33e){_0x19b9a9=_0x19b9a9-0x0;let _0x5d1a91=_0x18d3[_0x19b9a9];return _0x5d1a91;};import{Plugin as _0x36c001}from'ckeditor5/src/core.js';export default class E extends _0x36c001{[_0x5d1a('0x0')](){const _0x37a10a=this['editor'],_0x596135=_0x37a10a['plugins']['get'](_0x5d1a('0x3'));_0x37a10a[_0x5d1a('0x5')][_0x5d1a('0x1')](_0x5d1a('0x4'))&&_0x596135[_0x5d1a('0x2')](_0x5d1a('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7da4=['editor','has','value','FORMAT_ALIGN_TO_CENTER','afterInit','left','commandName','FORMAT_ALIGN_TO_LEFT','registerDescriptionCallback','plugins','format','type','registerAttributeLabel','right','get','*Format:*\x20%0','FORMAT_JUSTIFY_TEXT','_registerLegacyDescription','formatBlock','FORMAT_ALIGNMENT','_descriptionFactory','justify','TrackChangesEditing','alignment','center','_enableDefaultAttributesIntegration','commandParams','locale'];(function(_0x447302,_0x7da45c){const _0x2b3c42=function(_0x53a5c6){while(--_0x53a5c6){_0x447302['push'](_0x447302['shift']());}};_0x2b3c42(++_0x7da45c);}(_0x7da4,0x183));const _0x2b3c=function(_0x447302,_0x7da45c){_0x447302=_0x447302-0x0;let _0x2b3c42=_0x7da4[_0x447302];return _0x2b3c42;};import{Plugin as _0x12bc22}from'ckeditor5/src/core.js';import{getTranslation as _0xe29a28}from'../utils/common-translations.js';export default class V extends _0x12bc22{[_0x2b3c('0x9')](){const _0x1b1f00=this[_0x2b3c('0x5')],_0x27f02b=_0x1b1f00[_0x2b3c('0x4')];if(!_0x1b1f00[_0x2b3c('0xe')][_0x2b3c('0x6')]('AlignmentEditing'))return;const _0x5924bd=_0x1b1f00[_0x2b3c('0xe')][_0x2b3c('0x13')]('TrackChangesEditing');_0x5924bd[_0x2b3c('0x2')](_0x2b3c('0x0'),[],[_0x2b3c('0x0')]),_0x5924bd[_0x2b3c('0x19')][_0x2b3c('0x11')](_0x2b3c('0x0'),_0xe29a28(_0x27f02b,_0x2b3c('0x18'))),this[_0x2b3c('0x16')]();}[_0x2b3c('0x16')](){const _0x426257=this[_0x2b3c('0x5')],_0x23f75d=_0x426257['locale'];_0x426257[_0x2b3c('0xe')]['get'](_0x2b3c('0x1b'))[_0x2b3c('0x19')][_0x2b3c('0xd')](_0x305995=>{if(_0x2b3c('0x17')!=_0x305995[_0x2b3c('0x10')])return;const {data:_0x247e1b}=_0x305995;if(_0x247e1b&&_0x2b3c('0x0')==_0x247e1b[_0x2b3c('0xb')]){const _0x3b7432=_0x247e1b[_0x2b3c('0x3')][0x0][_0x2b3c('0x7')];return{'type':_0x2b3c('0xf'),'content':_0xe29a28(_0x23f75d,_0x2b3c('0x14'),function(_0x48d3ff){switch(_0x48d3ff){case _0x2b3c('0xa'):return _0xe29a28(_0x23f75d,_0x2b3c('0xc'));case _0x2b3c('0x12'):return _0xe29a28(_0x23f75d,'FORMAT_ALIGN_TO_RIGHT');case _0x2b3c('0x1'):return _0xe29a28(_0x23f75d,_0x2b3c('0x8'));case _0x2b3c('0x1a'):return _0xe29a28(_0x23f75d,_0x2b3c('0x15'));}}(_0x3b7432))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4519=['_registerLegacyDescription','subscript','locale','*Format:*\x20%0','slice','_enableDefaultAttributesIntegration','SuperscriptEditing','FORMAT_','underline','SubscriptEditing','CodeEditing','registerDescriptionCallback','get','toUpperCase','commandParams','bold','editor','plugins','formatInline','FORMAT_UNDERLINE','TrackChangesEditing','UnderlineEditing','type','code','FORMAT_SUPERSCRIPT','BoldEditing','format','FORMAT_BOLD','_descriptionFactory','ItalicEditing','FORMAT_CODE','strikethrough','StrikethroughEditing','forceValue','afterInit','FORMAT_STRIKETHROUGH'];(function(_0x10f735,_0x4519c9){const _0x48dc20=function(_0x5e8e95){while(--_0x5e8e95){_0x10f735['push'](_0x10f735['shift']());}};_0x48dc20(++_0x4519c9);}(_0x4519,0xab));const _0x48dc=function(_0x10f735,_0x4519c9){_0x10f735=_0x10f735-0x0;let _0x48dc20=_0x4519[_0x10f735];return _0x48dc20;};import{Plugin as _0x4669b9}from'ckeditor5/src/core.js';import{getTranslation as _0x38ce2b}from'../utils/common-translations.js';const ti=[_0x48dc('0x22'),_0x48dc('0x2'),_0x48dc('0x1e'),_0x48dc('0x13'),_0x48dc('0x5'),_0x48dc('0x12'),_0x48dc('0xf')];export default class U extends _0x4669b9{[_0x48dc('0x7')](){const _0x3c7e66=this[_0x48dc('0x19')],_0x51ca5b=_0x3c7e66[_0x48dc('0x1a')][_0x48dc('0x15')](_0x48dc('0x1d')),_0x48b899=_0x3c7e66[_0x48dc('0xb')];for(const _0x16bc88 of ti){if(!_0x3c7e66['plugins']['has'](_0x16bc88))continue;const _0x9f6167=_0x16bc88[_0x48dc('0xd')](0x0,-0x7)['toLowerCase'](),_0x163234=_0x48dc('0x10')+_0x9f6167[_0x48dc('0x16')]();_0x51ca5b[_0x48dc('0xe')](_0x9f6167,[_0x9f6167]),_0x51ca5b[_0x48dc('0x1')]['registerAttributeLabel'](_0x9f6167,_0x38ce2b(_0x48b899,_0x163234));}this[_0x48dc('0x9')]();}['_registerLegacyDescription'](){const _0x428a3f=this[_0x48dc('0x19')],_0x4763bb=_0x428a3f[_0x48dc('0xb')],_0x25a666=_0x428a3f[_0x48dc('0x1a')]['get'](_0x48dc('0x1d'));function _0x5df730(_0x3fefe1,_0x3d3760){_0x25a666[_0x48dc('0x1')][_0x48dc('0x14')](_0x2ede3e=>{if(_0x48dc('0x1b')!=_0x2ede3e[_0x48dc('0x1f')])return;const {data:_0x225129}=_0x2ede3e;return _0x225129&&_0x225129['commandName']===_0x3fefe1?_0x225129[_0x48dc('0x17')][0x0][_0x48dc('0x6')]?{'type':_0x48dc('0x23'),'content':_0x38ce2b(_0x4763bb,_0x48dc('0xc'),_0x3d3760)}:{'type':_0x48dc('0x23'),'content':_0x38ce2b(_0x4763bb,'*Remove\x20format:*\x20%0',_0x3d3760)}:void 0x0;});}_0x5df730(_0x48dc('0x18'),_0x38ce2b(_0x4763bb,_0x48dc('0x0'))),_0x5df730('italic',_0x38ce2b(_0x4763bb,'FORMAT_ITALIC')),_0x5df730(_0x48dc('0x11'),_0x38ce2b(_0x4763bb,_0x48dc('0x1c'))),_0x5df730(_0x48dc('0x20'),_0x38ce2b(_0x4763bb,_0x48dc('0x3'))),_0x5df730(_0x48dc('0x4'),_0x38ce2b(_0x4763bb,_0x48dc('0x8'))),_0x5df730(_0x48dc('0xa'),_0x38ce2b(_0x4763bb,'FORMAT_SUBSCRIPT')),_0x5df730('superscript',_0x38ce2b(_0x4763bb,_0x48dc('0x21')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4547=['registerDescriptionCallback','model','*Set\x20format:*\x20%0','*Remove\x20format:*\x20%0','selection','change','commandParams','schema','enableCommand','commandName','format','plugins','get','editor','markBlockFormat','_descriptionFactory','has','BlockQuoteEditing','$root','blockQuote','locale','forceValue','value','checkChild','commands','getSelectedBlocks','TrackChangesEditing','afterInit','from','filter'];(function(_0x4dac14,_0x4547fe){const _0xf55f04=function(_0x13b8a2){while(--_0x13b8a2){_0x4dac14['push'](_0x4dac14['shift']());}};_0xf55f04(++_0x4547fe);}(_0x4547,0x1aa));const _0xf55f=function(_0x4dac14,_0x4547fe){_0x4dac14=_0x4dac14-0x0;let _0xf55f04=_0x4547[_0x4dac14];return _0xf55f04;};import{Plugin as _0x3de87}from'ckeditor5/src/core.js';import{getTranslation as _0x404843}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x2fe3bb}from'../utils/utils.js';export default class O extends _0x3de87{[_0xf55f('0x15')](){const _0x41efff=this[_0xf55f('0x7')],_0x4df7ec=_0x41efff[_0xf55f('0xe')];if(!_0x41efff[_0xf55f('0x5')][_0xf55f('0xa')](_0xf55f('0xb')))return;const _0x9753b8=_0x41efff[_0xf55f('0x5')]['get'](_0xf55f('0x14')),_0x55b11b=this[_0xf55f('0x7')][_0xf55f('0x12')][_0xf55f('0x6')](_0xf55f('0xd'));_0x9753b8[_0xf55f('0x2')](_0xf55f('0xd'),(_0x1d0beb,_0x2bef52={})=>{const _0x32a118=this['editor'][_0xf55f('0x19')]['document'][_0xf55f('0x1c')],_0x337f0d=_0x2bef52&&void 0x0!==_0x2bef52[_0xf55f('0xf')]?_0x2bef52[_0xf55f('0xf')]:!_0x55b11b[_0xf55f('0x10')];let _0x29813e=[];if(_0x337f0d){const _0x256a45=Array['from'](_0x32a118[_0xf55f('0x13')]())[_0xf55f('0x17')](_0x3d7f93=>oo(_0x3d7f93)||function(_0x51a7d2,_0x50d03d){const _0x502f38=_0x50d03d[_0xf55f('0x11')](_0x51a7d2['parent'],'blockQuote'),_0x5401e0=_0x50d03d[_0xf55f('0x11')]([_0xf55f('0xc'),_0xf55f('0xd')],_0x51a7d2);return _0x502f38&&_0x5401e0;}(_0x3d7f93,this['editor']['model'][_0xf55f('0x1')]));_0x29813e=_0x2fe3bb(_0x256a45,_0x41efff[_0xf55f('0x19')]);}else{const _0x56fe80=Array[_0xf55f('0x16')](_0x32a118[_0xf55f('0x13')]())['filter'](_0x39b71b=>oo(_0x39b71b));_0x29813e=_0x2fe3bb(_0x56fe80,_0x41efff[_0xf55f('0x19')]);}_0x41efff[_0xf55f('0x19')][_0xf55f('0x1d')](()=>{for(const _0x39368d of _0x29813e)_0x9753b8[_0xf55f('0x8')](_0x39368d,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x337f0d}]});});}),_0x9753b8[_0xf55f('0x9')][_0xf55f('0x18')](_0x1bf83e=>{const {data:_0x296e97}=_0x1bf83e;if(_0x296e97&&_0xf55f('0xd')==_0x296e97[_0xf55f('0x3')]){const _0x35993e=_0x404843(_0x4df7ec,'ELEMENT_BLOCK_QUOTE');return _0x296e97[_0xf55f('0x0')][0x0][_0xf55f('0xf')]?{'type':_0xf55f('0x4'),'content':_0x404843(_0x4df7ec,_0xf55f('0x1a'),_0x35993e)}:{'type':'format','content':_0x404843(_0x4df7ec,_0xf55f('0x1b'),_0x35993e)};}});}}function oo(_0xeddd17){return _0xf55f('0xd')==_0xeddd17['parent']['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x383b=['plugins','afterInit','has','changeCaseTitle','CaseChange','TrackChangesEditing','changeCaseLower','enableCommand','get','editor'];(function(_0x953212,_0x383b91){const _0x47fb3f=function(_0x4215bf){while(--_0x4215bf){_0x953212['push'](_0x953212['shift']());}};_0x47fb3f(++_0x383b91);}(_0x383b,0x8b));const _0x47fb=function(_0x953212,_0x383b91){_0x953212=_0x953212-0x0;let _0x47fb3f=_0x383b[_0x953212];return _0x47fb3f;};import{Plugin as _0x3dbe12}from'ckeditor5/src/core.js';export default class G extends _0x3dbe12{[_0x47fb('0x2')](){const _0x351f0e=this[_0x47fb('0x0')];_0x351f0e[_0x47fb('0x1')][_0x47fb('0x3')](_0x47fb('0x5'))&&(_0x351f0e[_0x47fb('0x1')]['get'](_0x47fb('0x6'))[_0x47fb('0x8')]('changeCaseUpper'),_0x351f0e[_0x47fb('0x1')][_0x47fb('0x9')](_0x47fb('0x6'))[_0x47fb('0x8')](_0x47fb('0x7')),_0x351f0e['plugins'][_0x47fb('0x9')]('TrackChangesEditing')[_0x47fb('0x8')](_0x47fb('0x4')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12e0=['TrackChangesEditing','get','commands','editor','plugins','afterInit','ckbox'];(function(_0x276a57,_0x12e055){const _0x3249dc=function(_0x220faa){while(--_0x220faa){_0x276a57['push'](_0x276a57['shift']());}};_0x3249dc(++_0x12e055);}(_0x12e0,0x109));const _0x3249=function(_0x276a57,_0x12e055){_0x276a57=_0x276a57-0x0;let _0x3249dc=_0x12e0[_0x276a57];return _0x3249dc;};import{Plugin as _0x53022a}from'ckeditor5/src/core.js';export default class F extends _0x53022a{[_0x3249('0x6')](){const _0x4b9609=this[_0x3249('0x4')];_0x4b9609[_0x3249('0x3')][_0x3249('0x2')](_0x3249('0x0'))&&_0x4b9609[_0x3249('0x5')][_0x3249('0x2')](_0x3249('0x1'))['enableCommand'](_0x3249('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56a6=['locale','plugins','selection','config','outdentCodeBlock','schema','format','formatBlock','has','checkChild','codeBlock','indentCodeBlock','language','isLimit','*Set\x20format:*\x20%0','registerDescriptionCallback','parent','markBlockFormat','ELEMENT_CODE_BLOCK','value','registerElementLabel','label','commandParams','commandName','filter','rootElement','enableCommand','change','_descriptionFactory','get','CodeBlock','type','getSelectedBlocks','forceValue','from','model'];(function(_0x3bc49e,_0x56a6ce){const _0x49bc99=function(_0x3d58bb){while(--_0x3d58bb){_0x3bc49e['push'](_0x3bc49e['shift']());}};_0x49bc99(++_0x56a6ce);}(_0x56a6,0x15f));const _0x49bc=function(_0x3bc49e,_0x56a6ce){_0x3bc49e=_0x3bc49e-0x0;let _0x49bc99=_0x56a6[_0x3bc49e];return _0x49bc99;};import{Plugin as _0x23919e}from'ckeditor5/src/core.js';import{getTranslation as _0x30eaee}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x364d8a}from'../utils/utils.js';export default class L extends _0x23919e{['afterInit'](){const _0x2d3e77=this['editor'];if(!_0x2d3e77[_0x49bc('0xa')][_0x49bc('0x11')](_0x49bc('0x3')))return;const _0x1db00e=_0x2d3e77[_0x49bc('0xa')][_0x49bc('0x2')]('TrackChangesEditing'),_0x5a0b95=_0x2d3e77[_0x49bc('0x9')],_0x1eb730=_0x2d3e77[_0x49bc('0xc')][_0x49bc('0x2')](_0x49bc('0x13'))['languages'],_0x2a13e2=_0x2d3e77['commands'][_0x49bc('0x2')](_0x49bc('0x13'));_0x1db00e[_0x49bc('0x23')](_0x49bc('0x14')),_0x1db00e[_0x49bc('0x23')](_0x49bc('0xd')),_0x1db00e['enableCommand'](_0x49bc('0x13'),(_0x4bd1c2,_0x10ec6d={})=>{const _0x372676=_0x2d3e77[_0x49bc('0x8')],_0x410fe2=_0x2d3e77[_0x49bc('0x8')]['document'][_0x49bc('0xb')],_0x1ba893=_0x10ec6d&&void 0x0!==_0x10ec6d['forceValue']?_0x10ec6d['forceValue']:!_0x2a13e2[_0x49bc('0x1c')];let _0x44a31d;_0x10ec6d[_0x49bc('0x15')]||(_0x10ec6d[_0x49bc('0x15')]=_0x1eb730[0x0]['language']),_0x44a31d=_0x1ba893?Array['from'](_0x410fe2[_0x49bc('0x5')]())[_0x49bc('0x21')](_0x5c5063=>eo(_0x5c5063)||function(_0xce382c,_0xe7634f){if(_0xce382c['is'](_0x49bc('0x22'))||_0xe7634f[_0x49bc('0x16')](_0xce382c))return!0x1;return _0xe7634f[_0x49bc('0x12')](_0xce382c[_0x49bc('0x19')],_0x49bc('0x13'));}(_0x5c5063,_0x372676[_0x49bc('0xe')])):Array[_0x49bc('0x7')](_0x410fe2[_0x49bc('0x5')]())[_0x49bc('0x21')](_0x8c29ce=>eo(_0x8c29ce));const _0x2439f7=_0x364d8a(_0x44a31d,_0x372676);_0x372676[_0x49bc('0x0')](()=>{for(const _0x5a57c6 of _0x2439f7)_0x1db00e[_0x49bc('0x1a')](_0x5a57c6,{'commandName':_0x49bc('0x13'),'commandParams':[{..._0x10ec6d,'forceValue':_0x1ba893}],'formatGroupId':'blockName'});});}),(_0x1db00e[_0x49bc('0x1')][_0x49bc('0x1d')]('codeBlock',_0x473cb0=>_0x30eaee(_0x5a0b95,_0x49bc('0x1b'),_0x473cb0)),_0x1db00e[_0x49bc('0x1')][_0x49bc('0x18')](_0x104cce=>{if(_0x49bc('0x10')!=_0x104cce[_0x49bc('0x4')])return;const _0x2b1e0e=_0x5a0b95['t'],{data:_0x3dc0a6}=_0x104cce;if(!_0x3dc0a6||_0x49bc('0x13')!=_0x3dc0a6[_0x49bc('0x20')])return;const _0x933ac0=_0x3dc0a6[_0x49bc('0x1f')][0x0][_0x49bc('0x15')],_0x38a901=_0x2b1e0e(_0x1eb730['find'](_0x270fe1=>_0x270fe1[_0x49bc('0x15')]===_0x933ac0)[_0x49bc('0x1e')])['toLowerCase']();return _0x3dc0a6[_0x49bc('0x1f')][0x0][_0x49bc('0x6')]?{'type':'format','content':_0x30eaee(_0x5a0b95,_0x49bc('0x17'),_0x30eaee(_0x5a0b95,_0x49bc('0x1b'),0x1)+'\x20('+_0x38a901+')')}:{'type':_0x49bc('0xf'),'content':_0x30eaee(_0x5a0b95,'*Remove\x20format:*\x20%0',_0x30eaee(_0x5a0b95,_0x49bc('0x1b'),0x1))};}));}}function eo(_0x1161e3){return _0x49bc('0x13')==_0x1161e3['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49ec=['enableCommand','plugins','afterInit','addCommentThread','CommentsEditing'];(function(_0x5162e0,_0x49ec2d){const _0x3c7633=function(_0x289a70){while(--_0x289a70){_0x5162e0['push'](_0x5162e0['shift']());}};_0x3c7633(++_0x49ec2d);}(_0x49ec,0x1ba));const _0x3c76=function(_0x5162e0,_0x49ec2d){_0x5162e0=_0x5162e0-0x0;let _0x3c7633=_0x49ec[_0x5162e0];return _0x3c7633;};import{Plugin as _0x41e15f}from'ckeditor5/src/core.js';export default class H extends _0x41e15f{[_0x3c76('0x0')](){const _0x472acc=this['editor'];if(!_0x472acc[_0x3c76('0x4')]['has'](_0x3c76('0x2')))return;_0x472acc['plugins']['get']('TrackChangesEditing')[_0x3c76('0x3')](_0x3c76('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c11=['getFirstRange','get','buffer','downcastDispatcher','rootName','unbindElementFromMarkerName','data','TrackChangesEditing','fromRange','enqueueChange','$graveyard','uiElement','showSuggestionHighlights','addMarker:suggestion:deletion','batch','markerNameToElements','requires','enableCommand','lock','markerName','document','root','removeMarker:suggestion:deletion','deleteForward','model','setSelection','bind','isCollapsed','start','commands','init','delete','editing','remove','mapper','high','createRange','merge','detach','options','createSelection','selection'];(function(_0x19eb3c,_0x1c1148){const _0x1b4ebc=function(_0x372643){while(--_0x372643){_0x19eb3c['push'](_0x19eb3c['shift']());}};_0x1b4ebc(++_0x1c1148);}(_0x1c11,0xd0));const _0x1b4e=function(_0x19eb3c,_0x1c1148){_0x19eb3c=_0x19eb3c-0x0;let _0x1b4ebc=_0x1c11[_0x19eb3c];return _0x1b4ebc;};import{Plugin as _0x4d54eb}from'ckeditor5/src/core.js';import{LiveRange as _0x32a64a}from'ckeditor5/src/engine.js';import{Delete as _0x39c9e9}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x45a925}from'./utils.js';export default class q extends _0x4d54eb{static get[_0x1b4e('0x12')](){return[_0x39c9e9];}[_0x1b4e('0x20')](){const _0x46e034=this['editor'],_0x111d39=_0x46e034['plugins'][_0x1b4e('0x3')](_0x1b4e('0x9'));_0x111d39[_0x1b4e('0x13')](_0x1b4e('0x21'));const _0xa27c2d=_0x46e034[_0x1b4e('0x1f')][_0x1b4e('0x3')]('deleteForward');_0x111d39[_0x1b4e('0x13')](_0x1b4e('0x19'),(_0x256fbf,_0x33d362={})=>{const _0x4762d6=_0x46e034['model'][_0x1b4e('0x0')](_0x46e034[_0x1b4e('0x1a')][_0x1b4e('0x16')][_0x1b4e('0x1')]);_0x4762d6[_0x1b4e('0x1d')]&&_0x46e034['model']['modifySelection'](_0x4762d6,{'direction':'forward','unit':_0x33d362['unit']});const _0x4ecf13=_0x4762d6[_0x1b4e('0x2')](),_0x135d54=_0x32a64a[_0x1b4e('0xa')](_0x4ecf13);let _0x5a41c6;_0x256fbf(_0x33d362),_0x5a41c6=_0x1b4e('0xc')==_0x135d54[_0x1b4e('0x17')][_0x1b4e('0x6')]?_0x46e034[_0x1b4e('0x1a')][_0x1b4e('0x26')](_0x4ecf13[_0x1b4e('0x1e')]):_0x46e034['model']['createRange'](_0x135d54[_0x1b4e('0x1e')],_0x135d54['end']),_0x135d54[_0x1b4e('0x28')](),_0x46e034[_0x1b4e('0x1a')][_0x1b4e('0xb')](_0xa27c2d[_0x1b4e('0x4')][_0x1b4e('0x10')],_0x1aaac5=>{_0xa27c2d[_0x1b4e('0x4')][_0x1b4e('0x14')](),_0x1aaac5[_0x1b4e('0x1b')](_0x1aaac5['createRange'](_0x5a41c6['end'])),_0xa27c2d[_0x1b4e('0x4')]['unlock']();});}),_0x46e034[_0x1b4e('0x22')][_0x1b4e('0x5')]['on'](_0x1b4e('0xf'),_0x45a925(_0x46e034,_0x1b4e('0x27')),{'priority':_0x1b4e('0x25')}),_0x46e034[_0x1b4e('0x8')]['downcastDispatcher']['on'](_0x1b4e('0xf'),(_0x361d97,_0x2cff73,_0x1e1ee5)=>{_0x1e1ee5[_0x1b4e('0x29')][_0x1b4e('0xe')]&&_0x45a925(_0x46e034,_0x1b4e('0x27'),{'showActiveMarker':!0x1})[_0x1b4e('0x1c')](this)(_0x361d97,_0x2cff73,_0x1e1ee5);},{'priority':'high'}),_0x46e034['editing'][_0x1b4e('0x5')]['on'](_0x1b4e('0x18'),(_0x2c2c07,_0x381e9a,_0x57bbfc)=>{const _0x4a6e6e=_0x57bbfc[_0x1b4e('0x24')][_0x1b4e('0x11')](_0x381e9a[_0x1b4e('0x15')]);if(_0x4a6e6e)for(const _0x103511 of _0x4a6e6e)_0x103511['is'](_0x1b4e('0xd'))&&(_0x57bbfc[_0x1b4e('0x24')][_0x1b4e('0x7')](_0x103511,_0x381e9a['markerName']),_0x57bbfc['writer'][_0x1b4e('0x23')](_0x103511));},{'priority':_0x1b4e('0x25')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23d3=['split','plugins','markerName','fire','markInsertion','detach','bind','downcastDispatcher','getFirstRange','fromRange','getFirstPosition','markerNameToElements','afterExecute','nextSibling','editing','hasClass','selection','ck-suggestion-marker-split','end','setSelection','writer','high','parent','change','init','get','enter','createRange','options','editor','document','addMarker:suggestion:insertion','unbindElementFromMarkerName','remove','model','mapper','enableCommand','showSuggestionHighlights','removeMarker:suggestion:insertion','commands'];(function(_0x1d9dfe,_0x23d318){const _0x2190d8=function(_0x4a608a){while(--_0x4a608a){_0x1d9dfe['push'](_0x1d9dfe['shift']());}};_0x2190d8(++_0x23d318);}(_0x23d3,0xe0));const _0x2190=function(_0x1d9dfe,_0x23d318){_0x1d9dfe=_0x1d9dfe-0x0;let _0x2190d8=_0x23d3[_0x1d9dfe];return _0x2190d8;};import{Plugin as _0x344354}from'ckeditor5/src/core.js';import{Enter as _0x5f3081}from'ckeditor5/src/enter.js';import{LiveRange as _0x19d54a}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x200f2e}from'./utils.js';export default class W extends _0x344354{static get['requires'](){return[_0x5f3081];}[_0x2190('0x0')](){const _0x4ad685=this[_0x2190('0x5')],_0x4aea42=_0x4ad685[_0x2190('0x11')][_0x2190('0x1')]('TrackChangesEditing'),_0x5e03c5=_0x4ad685[_0x2190('0xf')][_0x2190('0x1')](_0x2190('0x2'));_0x4aea42[_0x2190('0xc')]('enter',()=>{_0x4ad685[_0x2190('0xa')][_0x2190('0x27')](_0x4e72f5=>{const _0x2b6bd5=_0x4ad685[_0x2190('0xa')][_0x2190('0x6')][_0x2190('0x20')],_0x1d230f=_0x2b6bd5[_0x2190('0x1a')](),_0x17612f=_0x19d54a[_0x2190('0x19')](_0x2b6bd5[_0x2190('0x18')]());if(_0x5e03c5['enterBlock'](_0x4e72f5)){const _0x296f42=_0x4ad685[_0x2190('0xa')]['createPositionAt'](_0x1d230f[_0x2190('0x26')][_0x2190('0x1d')],0x0),_0x3d5756=_0x4e72f5[_0x2190('0x3')](_0x1d230f,_0x296f42);_0x4aea42[_0x2190('0x14')](_0x3d5756);}else _0x4e72f5[_0x2190('0x23')](_0x4e72f5['createRange'](_0x17612f[_0x2190('0x22')]));_0x17612f[_0x2190('0x15')](),_0x5e03c5[_0x2190('0x13')](_0x2190('0x1c'),{'writer':_0x4e72f5});});}),_0x4ad685[_0x2190('0x1e')][_0x2190('0x17')]['on'](_0x2190('0x7'),_0x200f2e(_0x4ad685,_0x2190('0x10')),{'priority':'high'}),_0x4ad685[_0x2190('0x1e')][_0x2190('0x17')]['on'](_0x2190('0xe'),(_0x2c9d4b,_0x221e46,_0x1c39e4)=>{const _0x2f7e8c=_0x1c39e4[_0x2190('0xb')][_0x2190('0x1b')](_0x221e46[_0x2190('0x12')]);if(_0x2f7e8c)for(const _0x550cb4 of _0x2f7e8c)_0x550cb4[_0x2190('0x1f')](_0x2190('0x21'))&&(_0x1c39e4['mapper'][_0x2190('0x8')](_0x550cb4,_0x221e46[_0x2190('0x12')]),_0x1c39e4[_0x2190('0x24')][_0x2190('0x9')](_0x550cb4));},{'priority':_0x2190('0x25')}),_0x4ad685['data'][_0x2190('0x17')]['on'](_0x2190('0x7'),(_0x16ca35,_0x1eefee,_0x2895e3)=>{_0x2895e3[_0x2190('0x4')][_0x2190('0xd')]&&_0x200f2e(_0x4ad685,_0x2190('0x10'),{'showActiveMarker':!0x1})[_0x2190('0x16')](this)(_0x16ca35,_0x1eefee,_0x2895e3);},{'priority':_0x2190('0x25')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x871e=['start','afterInit','plugins','model','filter','get','findPrevious','end','findByTextCallback','editor','find','handleFindCommand','getRange','TrackChangesEditing','replaceAll','getMarkersGroup','enableCommand','markers','createPositionAt','createRange','getIntersection','bind','findNext','_isInDeletionRange','replace'];(function(_0x272b53,_0x871e73){const _0x4af5b2=function(_0x3568fb){while(--_0x3568fb){_0x272b53['push'](_0x272b53['shift']());}};_0x4af5b2(++_0x871e73);}(_0x871e,0x108));const _0x4af5=function(_0x272b53,_0x871e73){_0x272b53=_0x272b53-0x0;let _0x4af5b2=_0x871e[_0x272b53];return _0x4af5b2;};import{Plugin as _0x240c35}from'ckeditor5/src/core.js';export default class J extends _0x240c35{[_0x4af5('0xc')](){if(!this['editor'][_0x4af5('0xd')]['has']('FindAndReplaceEditing'))return;const _0x5d032=this[_0x4af5('0x14')][_0x4af5('0xd')][_0x4af5('0x10')](_0x4af5('0x18'));_0x5d032[_0x4af5('0x2')](_0x4af5('0x15'),this[_0x4af5('0x16')][_0x4af5('0x7')](this)),_0x5d032[_0x4af5('0x2')](_0x4af5('0x8')),_0x5d032[_0x4af5('0x2')](_0x4af5('0x11')),_0x5d032[_0x4af5('0x2')](_0x4af5('0xa')),_0x5d032['enableCommand'](_0x4af5('0x0'));}[_0x4af5('0x16')](_0x541319,_0x3ff327,_0x472271={}){const _0x13d5ad=this[_0x4af5('0x14')]['plugins']['get']('FindAndReplaceUtils');return _0x541319(_0x13f236=>('string'==typeof _0x3ff327?_0x13d5ad[_0x4af5('0x13')](_0x3ff327,_0x472271):_0x3ff327)(_0x13f236)[_0x4af5('0xf')](_0x20d4b4=>!0x1===this[_0x4af5('0x9')](_0x20d4b4,_0x13f236['item'])),_0x472271);}['_isInDeletionRange'](_0x53bc8c,_0x4e1ebf){const _0x38d633=this[_0x4af5('0x14')]['model'][_0x4af5('0x5')](this[_0x4af5('0x14')]['model'][_0x4af5('0x4')](_0x4e1ebf,_0x53bc8c[_0x4af5('0xb')]),this[_0x4af5('0x14')][_0x4af5('0xe')][_0x4af5('0x4')](_0x4e1ebf,_0x53bc8c[_0x4af5('0x12')]));for(const _0x196b32 of this[_0x4af5('0x14')]['model'][_0x4af5('0x3')][_0x4af5('0x1')]('suggestion:deletion'))if(null!==_0x38d633[_0x4af5('0x6')](_0x196b32[_0x4af5('0x17')]()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cba=['_registerLegacyDescription','*Set\x20font\x20background\x20color:*\x20%0','fontColor','label','FORMAT_FONT_FAMILY','fontSize.options','trim','FORMAT_FONT_SIZE','normalizeSizeOptions','plugins','fontBackgroundColor.colors','*Reset\x20font\x20family*','editor','formatInline','format','*Set\x20font\x20size:*\x20%0','FontSize','model','fontFamily','TrackChangesEditing','registerAttributeLabel','type','fontBackgroundColor','fontSize','FontFamilyEditing','locale','title','registerDescriptionCallback','FontBackgroundColorEditing','toLowerCase','get','config','commandParams','*Set\x20font\x20color:*\x20%0','commandName','*Reset\x20font\x20color*','value','_enableDefaultAttributesIntegration','*Reset\x20font\x20size*','find','FontColorEditing','_descriptionFactory'];(function(_0x4e54e1,_0x3cba68){const _0x3f03a5=function(_0x3f23c7){while(--_0x3f23c7){_0x4e54e1['push'](_0x4e54e1['shift']());}};_0x3f03a5(++_0x3cba68);}(_0x3cba,0x1ad));const _0x3f03=function(_0x4e54e1,_0x3cba68){_0x4e54e1=_0x4e54e1-0x0;let _0x3f03a5=_0x3cba[_0x4e54e1];return _0x3f03a5;};import{Plugin as _0x5e7b7d}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x250e79}from'ckeditor5/src/ui.js';import{getTranslation as _0xc9c18e}from'../utils/common-translations.js';const ro=[{'pluginName':'FontSizeEditing','commandName':_0x3f03('0xe')},{'pluginName':_0x3f03('0xf'),'commandName':_0x3f03('0x9')},{'pluginName':_0x3f03('0x1f'),'commandName':'fontColor'},{'pluginName':_0x3f03('0x13'),'commandName':'fontBackgroundColor'}];export default class Q extends _0x5e7b7d{['afterInit'](){const _0x3e0f23=this[_0x3f03('0x3')][_0x3f03('0x10')],_0x348093=this[_0x3f03('0x3')]['plugins'][_0x3f03('0x15')](_0x3f03('0xa'));for(const {pluginName:_0x50bb85,commandName:_0x39dcb1}of ro)this['editor'][_0x3f03('0x0')]['has'](_0x50bb85)&&_0x348093[_0x3f03('0x1c')](_0x39dcb1,[_0x39dcb1]);_0x3e0f23['t'],(_0x348093[_0x3f03('0x20')][_0x3f03('0xb')](_0x3f03('0xe'),_0xc9c18e(_0x3e0f23,_0x3f03('0x28'))),_0x348093['_descriptionFactory']['registerAttributeLabel'](_0x3f03('0x9'),_0xc9c18e(_0x3e0f23,_0x3f03('0x25'))),_0x348093['_descriptionFactory'][_0x3f03('0xb')](_0x3f03('0x23'),_0xc9c18e(_0x3e0f23,'FORMAT_FONT_COLOR')),_0x348093[_0x3f03('0x20')][_0x3f03('0xb')](_0x3f03('0xd'),_0xc9c18e(_0x3e0f23,'FORMAT_FONT_BACKGROUND')),this[_0x3f03('0x21')]());}[_0x3f03('0x21')](){const _0x59037e=this[_0x3f03('0x3')],_0x6e9869=_0x59037e[_0x3f03('0x10')];_0x59037e[_0x3f03('0x0')]['get'](_0x3f03('0xa'))[_0x3f03('0x20')][_0x3f03('0x12')](_0xec30c2=>{const _0x458798=_0x6e9869['t'];if(_0x3f03('0x4')!=_0xec30c2[_0x3f03('0xc')])return;const {data:_0x368b48}=_0xec30c2;if(null!=_0x368b48){if(_0x3f03('0xe')==_0x368b48['commandName']){const _0x17fcba=_0x368b48[_0x3f03('0x17')][0x0][_0x3f03('0x1b')];if(_0x17fcba){const _0xf07b2e=_0x458798(this[_0x3f03('0x3')][_0x3f03('0x0')]['get'](_0x3f03('0x7'))[_0x3f03('0x29')](this[_0x3f03('0x3')][_0x3f03('0x16')][_0x3f03('0x15')](_0x3f03('0x26')))[_0x3f03('0x1e')](_0x359f38=>_0x359f38[_0x3f03('0x8')]==_0x17fcba)[_0x3f03('0x11')])[_0x3f03('0x14')]();return{'type':_0x3f03('0x5'),'content':_0xc9c18e(_0x6e9869,_0x3f03('0x6'),_0xf07b2e)};}return{'type':_0x3f03('0x5'),'content':_0xc9c18e(_0x6e9869,_0x3f03('0x1d'))};}if('fontFamily'==_0x368b48['commandName']){const _0x1346b9=_0x368b48[_0x3f03('0x17')][0x0][_0x3f03('0x1b')];return _0x1346b9?{'type':_0x3f03('0x5'),'content':_0xc9c18e(_0x6e9869,'*Set\x20font\x20family:*\x20%0',_0x1346b9)}:{'type':_0x3f03('0x5'),'content':_0xc9c18e(_0x6e9869,_0x3f03('0x2'))};}if('fontColor'==_0x368b48[_0x3f03('0x19')]){const _0x25a4a0=_0x368b48[_0x3f03('0x17')][0x0][_0x3f03('0x1b')];if(_0x25a4a0){const _0xa4b7b1=_0x250e79(this['editor'][_0x3f03('0x16')][_0x3f03('0x15')]('fontColor.colors'))['find'](_0x1afee0=>_0x1afee0['model']==_0x25a4a0);let _0x1a27e1=_0x25a4a0,_0x3a2a57='';return _0xa4b7b1&&(_0x1a27e1=_0xa4b7b1[_0x3f03('0x24')],_0x3a2a57=_0x458798(_0x1a27e1)[_0x3f03('0x14')]()),{'type':_0x3f03('0x5'),'content':_0xc9c18e(_0x6e9869,_0x3f03('0x18'),_0x3a2a57)[_0x3f03('0x27')](),'color':{'value':_0x25a4a0,'title':_0x3a2a57||_0x1a27e1}};}return{'type':_0x3f03('0x5'),'content':_0xc9c18e(_0x6e9869,_0x3f03('0x1a'))};}if(_0x3f03('0xd')==_0x368b48[_0x3f03('0x19')]){const _0x852343=_0x368b48[_0x3f03('0x17')][0x0][_0x3f03('0x1b')];if(_0x852343){const _0x3fdad2=_0x250e79(this[_0x3f03('0x3')][_0x3f03('0x16')]['get'](_0x3f03('0x1')))[_0x3f03('0x1e')](_0x42398e=>_0x42398e[_0x3f03('0x8')]==_0x852343);let _0x384411=_0x852343,_0x13b82b='';return _0x3fdad2&&(_0x384411=_0x3fdad2[_0x3f03('0x24')],_0x13b82b=_0x458798(_0x384411)[_0x3f03('0x14')]()),{'type':_0x3f03('0x5'),'content':_0xc9c18e(_0x6e9869,_0x3f03('0x22'),_0x13b82b)[_0x3f03('0x27')](),'color':{'value':_0x852343,'title':_0x13b82b||_0x384411}};}return{'type':_0x3f03('0x5'),'content':_0xc9c18e(_0x6e9869,'*Reset\x20font\x20background\x20color*')};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x234f=['find','enableCommand','_descriptionFactory','fontColor','join','_enableDefaultAttributesIntegration','pasteFormat','title','charAt','commandName','_registerLegacyDescription','type','fontSize.options','toUpperCase','fontSize','registerDescriptionCallback','config','toLowerCase','model','locale','get','*Set\x20format\x20to:*\x20%0','slice','label','entries','plugins','fontColor.colors','formatBlock','afterInit','copyFormat','boolean','normalizeSizeOptions','TrackChangesEditing','format','editor','commands'];(function(_0xd0c994,_0x234fb0){const _0x2a0ef5=function(_0xa91541){while(--_0xa91541){_0xd0c994['push'](_0xd0c994['shift']());}};_0x2a0ef5(++_0x234fb0);}(_0x234f,0x9a));const _0x2a0e=function(_0xd0c994,_0x234fb0){_0xd0c994=_0xd0c994-0x0;let _0x2a0ef5=_0x234f[_0xd0c994];return _0x2a0ef5;};import{Plugin as _0x1ba0b2}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0xbfb099}from'ckeditor5/src/ui.js';import{getTranslation as _0x4979ff}from'../utils/common-translations.js';export default class X extends _0x1ba0b2{[_0x2a0e('0x12')](){const _0x2110e5=this[_0x2a0e('0x18')],_0x5da217=_0x2110e5[_0x2a0e('0xf')][_0x2a0e('0xa')](_0x2a0e('0x16')),_0x4c19c9=_0x2110e5['commands'][_0x2a0e('0xa')](_0x2a0e('0x13')),_0x5c9668=_0x2110e5[_0x2a0e('0x19')][_0x2a0e('0xa')](_0x2a0e('0x20'));_0x4c19c9&&_0x5c9668&&(_0x5da217[_0x2a0e('0x1f')]('pasteFormat'),_0x5da217[_0x2a0e('0x1b')](_0x2a0e('0x13')),this[_0x2a0e('0x0')]());}[_0x2a0e('0x0')](){const _0x1164df=this[_0x2a0e('0x18')],_0x8f64f8=_0x1164df['locale'];_0x1164df[_0x2a0e('0xf')][_0x2a0e('0xa')](_0x2a0e('0x16'))[_0x2a0e('0x1c')][_0x2a0e('0x5')](_0x402f57=>{if(_0x2a0e('0x11')!=_0x402f57[_0x2a0e('0x1')]&&'formatInline'!=_0x402f57['type'])return;const {data:_0x19d5c0}=_0x402f57;if(_0x19d5c0&&'pasteFormat'===_0x19d5c0[_0x2a0e('0x23')]){const _0x5db7b4=[],_0x745fa4=_0x19d5c0['commandParams'][0x0];for(const [_0x22d3df,_0x32becb]of Object[_0x2a0e('0xe')](_0x745fa4))_0x5db7b4['push'](so(_0x1164df,_0x22d3df,_0x32becb));return _0x5db7b4['length']?{'type':'format','content':_0x4979ff(_0x8f64f8,_0x2a0e('0xb'),_0x5db7b4[_0x2a0e('0x1e')](',\x20'))}:{'type':_0x2a0e('0x17'),'content':_0x4979ff(_0x8f64f8,'*Remove\x20all\x20formatting*')};}});}}function so(_0xe4177c,_0x3fbabd,_0x3736dd){const _0x39f44b=_0xe4177c[_0x2a0e('0x9')]['t'],_0x58a8d3=_0x3fbabd['split'](/(?=[A-Z])/)['join']('\x20'),_0x5d52b9=_0x39f44b(_0x58a8d3[_0x2a0e('0x22')](0x0)[_0x2a0e('0x3')]()+_0x58a8d3[_0x2a0e('0xc')](0x1))[_0x2a0e('0x7')]();if(_0x2a0e('0x14')==typeof _0x3736dd)return _0x5d52b9;if(_0x2a0e('0x1d')===_0x3fbabd||'fontBackgroundColor'===_0x3fbabd){const _0x2778bb=_0xbfb099(_0xe4177c['config'][_0x2a0e('0xa')](_0x2a0e('0x10')))[_0x2a0e('0x1a')](_0x121a80=>_0x121a80[_0x2a0e('0x8')]==_0x3736dd);return _0x5d52b9+'\x20('+(_0x2778bb?_0x39f44b(_0x2778bb[_0x2a0e('0xd')])[_0x2a0e('0x7')]():_0x3736dd)+')';}if(_0x2a0e('0x4')===_0x3fbabd&&isNaN(parseFloat(_0x3736dd))){const _0x9d2040=_0xe4177c['plugins'][_0x2a0e('0xa')]('FontSize')[_0x2a0e('0x15')](_0xe4177c[_0x2a0e('0x6')][_0x2a0e('0xa')](_0x2a0e('0x2')))[_0x2a0e('0x1a')](_0x237c67=>_0x237c67[_0x2a0e('0x8')]==_0x3736dd);return _0x5d52b9+'\x20('+(_0x9d2040?_0x39f44b(_0x9d2040[_0x2a0e('0x21')])['toLowerCase']():_0x3736dd)+')';}return _0x5d52b9+'\x20('+_0x3736dd+')';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x179e=['TrackChangesEditing','registerDescriptionCallback','format','type','title','has','formatBlock','config','_headingOptions','value','ELEMENT_HEADING','heading','commandName','ELEMENT_HEADING_CUSTOM','*Change\x20to:*\x20%0','locale','view','get','model','_getHeadingLevel','editor','plugins','find','match','name','_descriptionFactory','_registerLegacyDescription','afterInit','heading.options','paragraph','registerElementLabel','HeadingEditing'];(function(_0x6535b1,_0x179edb){const _0x568394=function(_0x821fe0){while(--_0x821fe0){_0x6535b1['push'](_0x6535b1['shift']());}};_0x568394(++_0x179edb);}(_0x179e,0x7e));const _0x5683=function(_0x6535b1,_0x179edb){_0x6535b1=_0x6535b1-0x0;let _0x568394=_0x179e[_0x6535b1];return _0x568394;};import{Plugin as _0x1d0389}from'ckeditor5/src/core.js';import{getTranslation as _0x540310}from'../utils/common-translations.js';export default class Y extends _0x1d0389{[_0x5683('0x1d')](){const _0xefc483=this[_0x5683('0x16')];if(!_0xefc483[_0x5683('0x17')][_0x5683('0x7')](_0x5683('0x1')))return;this[_0x5683('0xa')]=_0xefc483[_0x5683('0x9')][_0x5683('0x13')](_0x5683('0x1e'));const _0x48d778=_0xefc483[_0x5683('0x11')],_0x18196a=_0xefc483['plugins'][_0x5683('0x13')](_0x5683('0x2'));_0x18196a['_enableDefaultAttributesIntegration'](_0x5683('0xd'));for(const _0x2a565d of this[_0x5683('0xa')])_0x5683('0x1f')!=_0x2a565d[_0x5683('0x14')]&&_0x18196a[_0x5683('0x1b')][_0x5683('0x0')](_0x2a565d[_0x5683('0x14')],_0x9e1b67=>{const _0x218fa8=this[_0x5683('0x15')](_0x2a565d[_0x5683('0x14')]);return null!==_0x218fa8?_0xe696ff(_0x9e1b67,_0x218fa8):_0x1cd858(_0x9e1b67,_0x2a565d[_0x5683('0x6')]);});function _0xe696ff(_0x5cf186,_0x5046b2){return _0x540310(_0x48d778,_0x5683('0xc'),[_0x5cf186,_0x5046b2]);}function _0x1cd858(_0x3fc187,_0x2b9f87){return _0x540310(_0x48d778,_0x5683('0xf'),[_0x3fc187,_0x2b9f87]);}this[_0x5683('0x1c')]();}[_0x5683('0x1c')](){const _0x1d8dba=this['editor'],_0x5553c2=_0x1d8dba[_0x5683('0x11')];function _0x12a63a(_0x1dd915,_0x3697d6){return _0x540310(_0x5553c2,_0x5683('0xf'),[_0x1dd915,_0x3697d6]);}_0x1d8dba[_0x5683('0x17')][_0x5683('0x13')](_0x5683('0x2'))[_0x5683('0x1b')][_0x5683('0x3')](_0x3626e9=>{if(_0x5683('0x8')!=_0x3626e9[_0x5683('0x5')])return;const {data:_0x22f731}=_0x3626e9;if(_0x22f731&&'heading'==_0x22f731[_0x5683('0xe')]){const _0x3c48f2=_0x22f731['commandParams'][0x0][_0x5683('0xb')],_0x416d67=this[_0x5683('0x15')](_0x3c48f2);if(null!==_0x416d67)return{'type':_0x5683('0x4'),'content':_0x540310(_0x5553c2,_0x5683('0x10'),(_0x5a5035=0x1,_0x5d91be=_0x416d67,_0x540310(_0x5553c2,'ELEMENT_HEADING',[_0x5a5035,_0x5d91be])))};const _0x3b51f4=this[_0x5683('0xa')][_0x5683('0x18')](_0x56be2d=>_0x56be2d[_0x5683('0x14')]===_0x3c48f2)[_0x5683('0x6')];return{'type':_0x5683('0x4'),'content':_0x540310(_0x5553c2,'*Change\x20to:*\x20%0',_0x12a63a(0x1,_0x3b51f4))};}var _0x5a5035,_0x5d91be;});}[_0x5683('0x15')](_0x2b5de0){var _0xd7b377,_0x4ad2a0;const _0x285d60=_0x2b5de0[_0x5683('0x19')](/^heading(\d+)/);if(_0x285d60)return _0x285d60[0x1];const _0x7d3f28=null===(_0xd7b377=this[_0x5683('0xa')])||void 0x0===_0xd7b377?void 0x0:_0xd7b377[_0x5683('0x18')](_0x56403e=>_0x56403e['model']==_0x2b5de0);if(_0x7d3f28&&_0x7d3f28['view']){const _0x5800ff=_0x7d3f28[_0x5683('0x12')],_0x37a529=(null!==(_0x4ad2a0=_0x5800ff[_0x5683('0x1a')])&&void 0x0!==_0x4ad2a0?_0x4ad2a0:_0x5800ff)[_0x5683('0x19')](/^h(\d+)/);if(_0x37a529)return _0x37a529[0x1];}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30ef=['formatInline','color','title','locale','commandParams','TrackChangesEditing','format','afterInit','_registerLegacyDescription','value','highlight.options','_enableDefaultAttributesIntegration','plugins','find','get','highlight','FORMAT_HIGHLIGHT','has','*Set\x20highlight:*\x20%0','type','config','editor','_descriptionFactory','*Remove\x20highlight*'];(function(_0x4515d5,_0x30efcb){const _0x25c990=function(_0xbe4e8){while(--_0xbe4e8){_0x4515d5['push'](_0x4515d5['shift']());}};_0x25c990(++_0x30efcb);}(_0x30ef,0x186));const _0x25c9=function(_0x4515d5,_0x30efcb){_0x4515d5=_0x4515d5-0x0;let _0x25c990=_0x30ef[_0x4515d5];return _0x25c990;};import{Plugin as _0x5c5ba0}from'ckeditor5/src/core.js';import{getTranslation as _0x3f0dcd}from'../utils/common-translations.js';export default class Z extends _0x5c5ba0{[_0x25c9('0x1')](){const _0x3e5f25=this[_0x25c9('0xf')];if(!_0x3e5f25[_0x25c9('0x6')][_0x25c9('0xb')]('HighlightEditing'))return;const _0x5db953=_0x3e5f25[_0x25c9('0x6')][_0x25c9('0x8')](_0x25c9('0x17')),_0x127561=_0x3e5f25[_0x25c9('0x15')];_0x5db953[_0x25c9('0x5')](_0x25c9('0x9'),[_0x25c9('0x9')]),_0x5db953[_0x25c9('0x10')]['registerAttributeLabel'](_0x25c9('0x9'),_0x3f0dcd(_0x127561,_0x25c9('0xa'))),this[_0x25c9('0x2')]();}[_0x25c9('0x2')](){const _0x5c7a5f=this[_0x25c9('0xf')],_0x2d5161=_0x5c7a5f[_0x25c9('0x15')];_0x5c7a5f[_0x25c9('0x6')][_0x25c9('0x8')](_0x25c9('0x17'))['_descriptionFactory']['registerDescriptionCallback'](_0x5ea67=>{if(_0x25c9('0x12')!=_0x5ea67[_0x25c9('0xd')])return;const {data:_0x3d32a4}=_0x5ea67;if(_0x3d32a4&&_0x25c9('0x9')==_0x3d32a4['commandName']){const _0x5766ab=_0x2d5161['t'],_0x5a3825=_0x3d32a4[_0x25c9('0x16')][0x0][_0x25c9('0x3')];if(_0x5a3825){const _0x13fe29=_0x5c7a5f[_0x25c9('0xe')][_0x25c9('0x8')](_0x25c9('0x4'))[_0x25c9('0x7')](_0x5eb183=>_0x5eb183['model']==_0x5a3825),_0x5337ab=_0x5766ab(_0x13fe29[_0x25c9('0x14')])['toLowerCase']();return{'type':_0x25c9('0x0'),'content':_0x3f0dcd(_0x2d5161,_0x25c9('0xc'),_0x5337ab),'color':{'value':_0x13fe29[_0x25c9('0x13')],'title':_0x13fe29[_0x25c9('0x14')]}};}return{'type':_0x25c9('0x0'),'content':_0x3f0dcd(_0x2d5161,_0x25c9('0x11'),_0x3f0dcd(_0x2d5161,_0x25c9('0xa')))};}});}}
|