@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240122.0 → 0.0.0-nightly-20240124.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-20240124.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-20240124.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240124.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 _0x56d1=['model','getRanges','refresh','_isEnabledBasedOnSelection','TrackChangesEditing','get','execute','editor','acceptSuggestion','_suggestions','plugins'];(function(_0xd83e6c,_0x56d143){const _0x1b7497=function(_0x571495){while(--_0x571495){_0xd83e6c['push'](_0xd83e6c['shift']());}};_0x1b7497(++_0x56d143);}(_0x56d1,0x9c));const _0x1b74=function(_0xd83e6c,_0x56d143){_0xd83e6c=_0xd83e6c-0x0;let _0x1b7497=_0x56d1[_0xd83e6c];return _0x1b7497;};import{Command as _0x56663d}from'ckeditor5/src/core.js';import{CKEditorError as _0xed7f17}from'ckeditor5/src/utils.js';export default class $ extends _0x56663d{constructor(_0x14e17a,_0x568b63){super(_0x14e17a),this[_0x1b74('0x7')]=_0x568b63,this[_0x1b74('0x0')](),this[_0x1b74('0x1')]=!0x1;}[_0x1b74('0x0')](){this['isEnabled']=!0x0;}[_0x1b74('0x4')](_0x145b58){const _0x7f6a08=this[_0x1b74('0x7')][_0x1b74('0x3')](_0x145b58);if(!_0x7f6a08)throw new _0xed7f17('track-changes-accept-suggestion-not-found',this);const _0x59ebd2=_0x7f6a08[_0x1b74('0xa')]();this[_0x1b74('0x5')][_0x1b74('0x9')]['canEditAt'](_0x59ebd2)&&this[_0x1b74('0x5')][_0x1b74('0x8')][_0x1b74('0x3')](_0x1b74('0x2'))[_0x1b74('0x6')](_0x7f6a08);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xebd8=['_suggestions','model','getRanges','isEnabled','refresh','editor','discardSuggestion','canEditAt','_isEnabledBasedOnSelection','get','execute','TrackChangesEditing','track-changes-discard-suggestion-not-found'];(function(_0x54df3a,_0xebd895){const _0x2d48e5=function(_0x2aca70){while(--_0x2aca70){_0x54df3a['push'](_0x54df3a['shift']());}};_0x2d48e5(++_0xebd895);}(_0xebd8,0x1c8));const _0x2d48=function(_0x54df3a,_0xebd895){_0x54df3a=_0x54df3a-0x0;let _0x2d48e5=_0xebd8[_0x54df3a];return _0x2d48e5;};import{Command as _0xee4edb}from'ckeditor5/src/core.js';import{CKEditorError as _0x13bfec}from'ckeditor5/src/utils.js';export default class B extends _0xee4edb{constructor(_0x1b5c21,_0x5612b1){super(_0x1b5c21),this[_0x2d48('0xc')]=_0x5612b1,this[_0x2d48('0x3')](),this[_0x2d48('0x7')]=!0x1;}[_0x2d48('0x3')](){this[_0x2d48('0x2')]=!0x0;}[_0x2d48('0x9')](_0x4c05f9){const _0x375ae7=this['_suggestions']['get'](_0x4c05f9);if(!_0x375ae7)throw new _0x13bfec(_0x2d48('0xb'),this);const _0x114368=_0x375ae7[_0x2d48('0x1')]();this[_0x2d48('0x4')][_0x2d48('0x0')][_0x2d48('0x6')](_0x114368)&&this['editor']['plugins'][_0x2d48('0x8')](_0x2d48('0xa'))[_0x2d48('0x5')](_0x375ae7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bcf=['some','from','isInContent','getRanges','editor','values','_command','_suggestions','_isEnabledBasedOnSelection','canEditAt','execute','refresh','model','isEnabled'];(function(_0x458c85,_0x1bcf12){const _0x988cff=function(_0x11706e){while(--_0x11706e){_0x458c85['push'](_0x458c85['shift']());}};_0x988cff(++_0x1bcf12);}(_0x1bcf,0x188));const _0x988c=function(_0x458c85,_0x1bcf12){_0x458c85=_0x458c85-0x0;let _0x988cff=_0x1bcf[_0x458c85];return _0x988cff;};import{Command as _0x2896b2}from'ckeditor5/src/core.js';import{sortSuggestions as _0x59cc90,executeCommandForSuggestions as _0x30800e}from'../utils/utils.js';export default class x extends _0x2896b2{constructor(_0x470799,_0x42a6c0,_0x3fa182){super(_0x470799),this[_0x988c('0x6')]=_0x42a6c0,this[_0x988c('0x7')]=_0x3fa182,this[_0x988c('0xb')](),this[_0x988c('0x8')]=!0x1;}[_0x988c('0xb')](){const _0xc1b65f=Array[_0x988c('0x1')](this['_suggestions'][_0x988c('0x5')]())[_0x988c('0x0')](_0x111770=>_0x111770[_0x988c('0x2')]);this[_0x988c('0xd')]=this[_0x988c('0x6')][_0x988c('0xd')]&&_0xc1b65f;}[_0x988c('0xa')](){const _0x46e1bc=_0x59cc90(Array[_0x988c('0x1')](this[_0x988c('0x7')][_0x988c('0x5')]()));for(const _0x586c38 of _0x46e1bc){const _0x1ce063=_0x586c38[_0x988c('0x3')]();if(!this[_0x988c('0x4')][_0x988c('0xc')][_0x988c('0x9')](_0x1ce063))return;}_0x30800e(this[_0x988c('0x4')]['model'],this[_0x988c('0x6')],_0x46e1bc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fec=['execute','selection','_selectedSuggestions','document','isEnabled','canEditAt','editor','values','_command','size','getRanges','_isEnabledBasedOnSelection','refresh','model','from'];(function(_0x4ec6ba,_0x2fecb1){const _0x1aa4bb=function(_0x2351be){while(--_0x2351be){_0x4ec6ba['push'](_0x4ec6ba['shift']());}};_0x1aa4bb(++_0x2fecb1);}(_0x2fec,0x78));const _0x1aa4=function(_0x4ec6ba,_0x2fecb1){_0x4ec6ba=_0x4ec6ba-0x0;let _0x1aa4bb=_0x2fec[_0x4ec6ba];return _0x1aa4bb;};import{Command as _0x8323a5}from'ckeditor5/src/core.js';import{sortSuggestions as _0x28a126,getSelectedSuggestions as _0x6887e,executeCommandForSuggestions as _0x248b47}from'../utils/utils.js';export default class R extends _0x8323a5{constructor(_0x48329d,_0x56e166,_0x3cbdc5){super(_0x48329d),this['_command']=_0x56e166,this['_suggestions']=_0x3cbdc5,this[_0x1aa4('0x2')]=new Set(),this[_0x1aa4('0xc')](),this[_0x1aa4('0xb')]=!0x1;}[_0x1aa4('0xc')](){const _0x3028af=this['editor'][_0x1aa4('0xd')][_0x1aa4('0x3')][_0x1aa4('0x1')],_0x58606d=Array[_0x1aa4('0xe')](this['_suggestions'][_0x1aa4('0x7')]());this[_0x1aa4('0x2')]=_0x6887e(_0x3028af,_0x58606d),this[_0x1aa4('0x4')]=this[_0x1aa4('0x8')][_0x1aa4('0x4')]&&!!this[_0x1aa4('0x2')][_0x1aa4('0x9')];}[_0x1aa4('0x0')](){const _0x8ce4fb=_0x28a126(Array[_0x1aa4('0xe')](this[_0x1aa4('0x2')]));for(const _0x1822d7 of _0x8ce4fb){const _0x4b7780=_0x1822d7[_0x1aa4('0xa')]();if(!this[_0x1aa4('0x6')][_0x1aa4('0xd')][_0x1aa4('0x5')](_0x4b7780))return;}_0x248b47(this[_0x1aa4('0x6')][_0x1aa4('0xd')],this['_command'],_0x8ce4fb);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fdb=['isEnabled','editor','value','affectsData','forceDisabled','refresh','commands','_isEnabledBasedOnSelection','TrackChangesCommand','execute','_enabledCommands','_disableUnsupportedCommands','clearForceDisabled','_enableCommands'];(function(_0x55fd2f,_0x1fdb37){const _0xc166e9=function(_0x4ffdb8){while(--_0x4ffdb8){_0x55fd2f['push'](_0x55fd2f['shift']());}};_0xc166e9(++_0x1fdb37);}(_0x1fdb,0x1cd));const _0xc166=function(_0x55fd2f,_0x1fdb37){_0x55fd2f=_0x55fd2f-0x0;let _0xc166e9=_0x1fdb[_0x55fd2f];return _0xc166e9;};import{Command as _0x21848e}from'ckeditor5/src/core.js';export default class M extends _0x21848e{constructor(_0x3f4da5,_0x3099d3){super(_0x3f4da5),this[_0xc166('0xb')]=_0x3099d3,this[_0xc166('0x3')]=!0x1,this[_0xc166('0x6')](),this[_0xc166('0x8')]=!0x1;}[_0xc166('0x6')](){this[_0xc166('0x1')]=!0x0;}[_0xc166('0xa')](){this['value']=!this['value'],this[_0xc166('0x3')]?this['_disableUnsupportedCommands']():this[_0xc166('0x0')]();}[_0xc166('0xc')](){for(const _0x4e6b96 of this[_0xc166('0x2')][_0xc166('0x7')]['commands']())_0x4e6b96[_0xc166('0x4')]&&!this[_0xc166('0xb')]['has'](_0x4e6b96)&&_0x4e6b96[_0xc166('0x5')](_0xc166('0x9'));}[_0xc166('0x0')](){for(const _0x25ba1c of this[_0xc166('0x2')]['commands']['commands']())_0x25ba1c[_0xc166('0x4')]&&!this[_0xc166('0xb')]['has'](_0x25ba1c)&&_0x25ba1c[_0xc166('0xd')](_0xc166('0x9'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c9c=['enableCommand','TrackChangesEditing','commands','get','showAIAssistant'];(function(_0x5cef5b,_0x3c9cd7){const _0x3033e1=function(_0x4c55c8){while(--_0x4c55c8){_0x5cef5b['push'](_0x5cef5b['shift']());}};_0x3033e1(++_0x3c9cd7);}(_0x3c9c,0x1ea));const _0x3033=function(_0x5cef5b,_0x3c9cd7){_0x5cef5b=_0x5cef5b-0x0;let _0x3033e1=_0x3c9c[_0x5cef5b];return _0x3033e1;};import{Plugin as _0x67b12b}from'ckeditor5/src/core.js';export default class E extends _0x67b12b{['afterInit'](){const _0x439bbc=this['editor'],_0x1fbeac=_0x439bbc['plugins'][_0x3033('0x3')](_0x3033('0x1'));_0x439bbc[_0x3033('0x2')][_0x3033('0x3')](_0x3033('0x4'))&&_0x1fbeac[_0x3033('0x0')]('showAIAssistant');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57ce=['alignment','TrackChangesEditing','justify','type','editor','FORMAT_ALIGNMENT','right','plugins','get','FORMAT_ALIGN_TO_CENTER','commandParams','afterInit','locale','FORMAT_ALIGN_TO_LEFT','_registerLegacyDescription','center','formatBlock','has','format','left','_descriptionFactory'];(function(_0x3dd687,_0x57cea4){const _0x22d707=function(_0x4d2494){while(--_0x4d2494){_0x3dd687['push'](_0x3dd687['shift']());}};_0x22d707(++_0x57cea4);}(_0x57ce,0x168));const _0x22d7=function(_0x3dd687,_0x57cea4){_0x3dd687=_0x3dd687-0x0;let _0x22d707=_0x57ce[_0x3dd687];return _0x22d707;};import{Plugin as _0x1e9a93}from'ckeditor5/src/core.js';import{getTranslation as _0x12ebc4}from'../utils/common-translations.js';export default class V extends _0x1e9a93{[_0x22d7('0x8')](){const _0x558b14=this[_0x22d7('0x1')],_0x58514d=_0x558b14[_0x22d7('0x9')];if(!_0x558b14['plugins'][_0x22d7('0xe')]('AlignmentEditing'))return;const _0x3ac547=_0x558b14['plugins'][_0x22d7('0x5')](_0x22d7('0x13'));_0x3ac547['_enableDefaultAttributesIntegration'](_0x22d7('0x12'),[],['alignment']),_0x3ac547[_0x22d7('0x11')]['registerAttributeLabel'](_0x22d7('0x12'),_0x12ebc4(_0x58514d,_0x22d7('0x2'))),this[_0x22d7('0xb')]();}['_registerLegacyDescription'](){const _0x4f1ba1=this['editor'],_0x54390a=_0x4f1ba1['locale'];_0x4f1ba1[_0x22d7('0x4')][_0x22d7('0x5')](_0x22d7('0x13'))[_0x22d7('0x11')]['registerDescriptionCallback'](_0x47e3a4=>{if(_0x22d7('0xd')!=_0x47e3a4[_0x22d7('0x0')])return;const {data:_0x2aa9c8}=_0x47e3a4;if(_0x2aa9c8&&'alignment'==_0x2aa9c8['commandName']){const _0x25d988=_0x2aa9c8[_0x22d7('0x7')][0x0]['value'];return{'type':_0x22d7('0xf'),'content':_0x12ebc4(_0x54390a,'*Format:*\x20%0',function(_0x2eac2a){switch(_0x2eac2a){case _0x22d7('0x10'):return _0x12ebc4(_0x54390a,_0x22d7('0xa'));case _0x22d7('0x3'):return _0x12ebc4(_0x54390a,'FORMAT_ALIGN_TO_RIGHT');case _0x22d7('0xc'):return _0x12ebc4(_0x54390a,_0x22d7('0x6'));case _0x22d7('0x14'):return _0x12ebc4(_0x54390a,'FORMAT_JUSTIFY_TEXT');}}(_0x25d988))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa46a=['formatInline','_registerLegacyDescription','slice','*Remove\x20format:*\x20%0','has','SuperscriptEditing','FORMAT_ITALIC','FORMAT_BOLD','registerAttributeLabel','superscript','plugins','CodeEditing','underline','_enableDefaultAttributesIntegration','type','editor','*Format:*\x20%0','code','locale','get','TrackChangesEditing','SubscriptEditing','ItalicEditing','_descriptionFactory','format','BoldEditing','commandName','subscript','toLowerCase','strikethrough','FORMAT_','registerDescriptionCallback','toUpperCase','FORMAT_SUPERSCRIPT','FORMAT_STRIKETHROUGH','forceValue','UnderlineEditing'];(function(_0x5b2e17,_0xa46a87){const _0x18917c=function(_0x613add){while(--_0x613add){_0x5b2e17['push'](_0x5b2e17['shift']());}};_0x18917c(++_0xa46a87);}(_0xa46a,0x1e3));const _0x1891=function(_0x5b2e17,_0xa46a87){_0x5b2e17=_0x5b2e17-0x0;let _0x18917c=_0xa46a[_0x5b2e17];return _0x18917c;};import{Plugin as _0x328438}from'ckeditor5/src/core.js';import{getTranslation as _0x2d98b2}from'../utils/common-translations.js';const ti=[_0x1891('0x17'),_0x1891('0x14'),_0x1891('0x22'),_0x1891('0x9'),'StrikethroughEditing',_0x1891('0x13'),_0x1891('0x3')];export default class U extends _0x328438{['afterInit'](){const _0x2d3dab=this[_0x1891('0xd')],_0xbdbcc2=_0x2d3dab[_0x1891('0x8')][_0x1891('0x11')](_0x1891('0x12')),_0x2e7ebc=_0x2d3dab[_0x1891('0x10')];for(const _0x3d3f37 of ti){if(!_0x2d3dab[_0x1891('0x8')][_0x1891('0x2')](_0x3d3f37))continue;const _0x15c2f7=_0x3d3f37[_0x1891('0x0')](0x0,-0x7)[_0x1891('0x1a')](),_0x3836c3=_0x1891('0x1c')+_0x15c2f7[_0x1891('0x1e')]();_0xbdbcc2[_0x1891('0xb')](_0x15c2f7,[_0x15c2f7]),_0xbdbcc2[_0x1891('0x15')][_0x1891('0x6')](_0x15c2f7,_0x2d98b2(_0x2e7ebc,_0x3836c3));}this['_registerLegacyDescription']();}[_0x1891('0x24')](){const _0x305bc3=this[_0x1891('0xd')],_0xd97ec=_0x305bc3[_0x1891('0x10')],_0x40e346=_0x305bc3[_0x1891('0x8')][_0x1891('0x11')](_0x1891('0x12'));function _0x5138b2(_0x573c04,_0x1c1bdb){_0x40e346[_0x1891('0x15')][_0x1891('0x1d')](_0x595718=>{if(_0x1891('0x23')!=_0x595718[_0x1891('0xc')])return;const {data:_0x23598e}=_0x595718;return _0x23598e&&_0x23598e[_0x1891('0x18')]===_0x573c04?_0x23598e['commandParams'][0x0][_0x1891('0x21')]?{'type':_0x1891('0x16'),'content':_0x2d98b2(_0xd97ec,_0x1891('0xe'),_0x1c1bdb)}:{'type':'format','content':_0x2d98b2(_0xd97ec,_0x1891('0x1'),_0x1c1bdb)}:void 0x0;});}_0x5138b2('bold',_0x2d98b2(_0xd97ec,_0x1891('0x5'))),_0x5138b2('italic',_0x2d98b2(_0xd97ec,_0x1891('0x4'))),_0x5138b2(_0x1891('0xa'),_0x2d98b2(_0xd97ec,'FORMAT_UNDERLINE')),_0x5138b2(_0x1891('0xf'),_0x2d98b2(_0xd97ec,'FORMAT_CODE')),_0x5138b2(_0x1891('0x1b'),_0x2d98b2(_0xd97ec,_0x1891('0x20'))),_0x5138b2(_0x1891('0x19'),_0x2d98b2(_0xd97ec,'FORMAT_SUBSCRIPT')),_0x5138b2(_0x1891('0x7'),_0x2d98b2(_0xd97ec,_0x1891('0x1f')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa1dc=['format','commandName','TrackChangesEditing','schema','registerDescriptionCallback','document','enableCommand','BlockQuoteEditing','commands','model','*Remove\x20format:*\x20%0','get','commandParams','_descriptionFactory','name','checkChild','filter','has','plugins','locale','change','blockQuote','*Set\x20format:*\x20%0','value','from','getSelectedBlocks','parent','selection','forceValue','editor'];(function(_0x5d1263,_0xa1dc8){const _0x1b996e=function(_0x5ec57c){while(--_0x5ec57c){_0x5d1263['push'](_0x5d1263['shift']());}};_0x1b996e(++_0xa1dc8);}(_0xa1dc,0x1eb));const _0x1b99=function(_0x5d1263,_0xa1dc8){_0x5d1263=_0x5d1263-0x0;let _0x1b996e=_0xa1dc[_0x5d1263];return _0x1b996e;};import{Plugin as _0x4f9198}from'ckeditor5/src/core.js';import{getTranslation as _0x1c7d2c}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x41e484}from'../utils/utils.js';export default class O extends _0x4f9198{['afterInit'](){const _0x183223=this[_0x1b99('0x12')],_0x2f8982=_0x183223[_0x1b99('0x8')];if(!_0x183223[_0x1b99('0x7')][_0x1b99('0x6')](_0x1b99('0x1a')))return;const _0x4e35cb=_0x183223[_0x1b99('0x7')][_0x1b99('0x0')](_0x1b99('0x15')),_0x4e3f5a=this[_0x1b99('0x12')][_0x1b99('0x1b')][_0x1b99('0x0')](_0x1b99('0xa'));_0x4e35cb[_0x1b99('0x19')](_0x1b99('0xa'),(_0x30999e,_0x2b1001={})=>{const _0xda68d3=this[_0x1b99('0x12')][_0x1b99('0x1c')][_0x1b99('0x18')][_0x1b99('0x10')],_0x5d6fc5=_0x2b1001&&void 0x0!==_0x2b1001['forceValue']?_0x2b1001[_0x1b99('0x11')]:!_0x4e3f5a[_0x1b99('0xc')];let _0x5efec0=[];if(_0x5d6fc5){const _0x554b93=Array[_0x1b99('0xd')](_0xda68d3[_0x1b99('0xe')]())[_0x1b99('0x5')](_0x185bfa=>oo(_0x185bfa)||function(_0x390903,_0x3538aa){const _0x5c0049=_0x3538aa[_0x1b99('0x4')](_0x390903[_0x1b99('0xf')],_0x1b99('0xa')),_0x1639f2=_0x3538aa[_0x1b99('0x4')](['$root',_0x1b99('0xa')],_0x390903);return _0x5c0049&&_0x1639f2;}(_0x185bfa,this[_0x1b99('0x12')]['model'][_0x1b99('0x16')]));_0x5efec0=_0x41e484(_0x554b93,_0x183223[_0x1b99('0x1c')]);}else{const _0x92b89d=Array[_0x1b99('0xd')](_0xda68d3['getSelectedBlocks']())['filter'](_0x3e902d=>oo(_0x3e902d));_0x5efec0=_0x41e484(_0x92b89d,_0x183223[_0x1b99('0x1c')]);}_0x183223[_0x1b99('0x1c')][_0x1b99('0x9')](()=>{for(const _0x4d406c of _0x5efec0)_0x4e35cb['markBlockFormat'](_0x4d406c,{'commandName':_0x1b99('0xa'),'commandParams':[{'forceValue':_0x5d6fc5}]});});}),_0x4e35cb[_0x1b99('0x2')][_0x1b99('0x17')](_0x5d39b7=>{const {data:_0x35c0cc}=_0x5d39b7;if(_0x35c0cc&&_0x1b99('0xa')==_0x35c0cc[_0x1b99('0x14')]){const _0x338654=_0x1c7d2c(_0x2f8982,'ELEMENT_BLOCK_QUOTE');return _0x35c0cc[_0x1b99('0x1')][0x0][_0x1b99('0x11')]?{'type':_0x1b99('0x13'),'content':_0x1c7d2c(_0x2f8982,_0x1b99('0xb'),_0x338654)}:{'type':'format','content':_0x1c7d2c(_0x2f8982,_0x1b99('0x1d'),_0x338654)};}});}}function oo(_0x5a41dd){return _0x1b99('0xa')==_0x5a41dd[_0x1b99('0xf')][_0x1b99('0x3')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3601=['changeCaseUpper','has','afterInit','get','changeCaseTitle','CaseChange','plugins','enableCommand','TrackChangesEditing'];(function(_0x38e844,_0x360148){const _0xd32f0f=function(_0x205b0b){while(--_0x205b0b){_0x38e844['push'](_0x38e844['shift']());}};_0xd32f0f(++_0x360148);}(_0x3601,0x153));const _0xd32f=function(_0x38e844,_0x360148){_0x38e844=_0x38e844-0x0;let _0xd32f0f=_0x3601[_0x38e844];return _0xd32f0f;};import{Plugin as _0x2a90b8}from'ckeditor5/src/core.js';export default class G extends _0x2a90b8{[_0xd32f('0x5')](){const _0x492108=this['editor'];_0x492108[_0xd32f('0x0')][_0xd32f('0x4')](_0xd32f('0x8'))&&(_0x492108['plugins'][_0xd32f('0x6')](_0xd32f('0x2'))[_0xd32f('0x1')](_0xd32f('0x3')),_0x492108[_0xd32f('0x0')]['get']('TrackChangesEditing')[_0xd32f('0x1')]('changeCaseLower'),_0x492108[_0xd32f('0x0')][_0xd32f('0x6')](_0xd32f('0x2'))[_0xd32f('0x1')](_0xd32f('0x7')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3240=['get','TrackChangesEditing','ckbox','enableCommand','plugins','editor','afterInit'];(function(_0x270052,_0x324041){const _0x518527=function(_0x47f404){while(--_0x47f404){_0x270052['push'](_0x270052['shift']());}};_0x518527(++_0x324041);}(_0x3240,0x107));const _0x5185=function(_0x270052,_0x324041){_0x270052=_0x270052-0x0;let _0x518527=_0x3240[_0x270052];return _0x518527;};import{Plugin as _0x47265c}from'ckeditor5/src/core.js';export default class F extends _0x47265c{[_0x5185('0x2')](){const _0x10f965=this[_0x5185('0x1')];_0x10f965['commands'][_0x5185('0x3')](_0x5185('0x5'))&&_0x10f965[_0x5185('0x0')][_0x5185('0x3')](_0x5185('0x4'))[_0x5185('0x6')](_0x5185('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x310f=['model','name','getSelectedBlocks','document','registerElementLabel','config','get','language','afterInit','toLowerCase','codeBlock','forceValue','filter','checkChild','outdentCodeBlock','_descriptionFactory','*Set\x20format:*\x20%0','parent','isLimit','*Remove\x20format:*\x20%0','ELEMENT_CODE_BLOCK','enableCommand','registerDescriptionCallback','blockName','value','has','editor','label','find','languages','commandName','formatBlock','selection','format','plugins','TrackChangesEditing','commandParams','rootElement','markBlockFormat','type'];(function(_0x22c793,_0x310f75){const _0x4d9e1a=function(_0x2b9840){while(--_0x2b9840){_0x22c793['push'](_0x22c793['shift']());}};_0x4d9e1a(++_0x310f75);}(_0x310f,0xf6));const _0x4d9e=function(_0x22c793,_0x310f75){_0x22c793=_0x22c793-0x0;let _0x4d9e1a=_0x310f[_0x22c793];return _0x4d9e1a;};import{Plugin as _0x16ef1c}from'ckeditor5/src/core.js';import{getTranslation as _0x41ca26}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x536281}from'../utils/utils.js';export default class L extends _0x16ef1c{[_0x4d9e('0x2')](){const _0x415c63=this[_0x4d9e('0x14')];if(!_0x415c63['plugins'][_0x4d9e('0x13')]('CodeBlock'))return;const _0x5e9e4d=_0x415c63[_0x4d9e('0x1c')]['get'](_0x4d9e('0x1d')),_0xc097c4=_0x415c63['locale'],_0x15421c=_0x415c63[_0x4d9e('0x27')][_0x4d9e('0x0')](_0x4d9e('0x4'))[_0x4d9e('0x17')],_0x355e83=_0x415c63['commands'][_0x4d9e('0x0')](_0x4d9e('0x4'));_0x5e9e4d[_0x4d9e('0xf')]('indentCodeBlock'),_0x5e9e4d['enableCommand'](_0x4d9e('0x8')),_0x5e9e4d[_0x4d9e('0xf')](_0x4d9e('0x4'),(_0x3b85ca,_0x378dff={})=>{const _0x5e9b23=_0x415c63[_0x4d9e('0x22')],_0xda2544=_0x415c63[_0x4d9e('0x22')][_0x4d9e('0x25')][_0x4d9e('0x1a')],_0x41664d=_0x378dff&&void 0x0!==_0x378dff[_0x4d9e('0x5')]?_0x378dff[_0x4d9e('0x5')]:!_0x355e83[_0x4d9e('0x12')];let _0x2987ab;_0x378dff['language']||(_0x378dff['language']=_0x15421c[0x0]['language']),_0x2987ab=_0x41664d?Array['from'](_0xda2544[_0x4d9e('0x24')]())['filter'](_0x2be3d2=>eo(_0x2be3d2)||function(_0x112fab,_0x4532c8){if(_0x112fab['is'](_0x4d9e('0x1f'))||_0x4532c8[_0x4d9e('0xc')](_0x112fab))return!0x1;return _0x4532c8[_0x4d9e('0x7')](_0x112fab[_0x4d9e('0xb')],_0x4d9e('0x4'));}(_0x2be3d2,_0x5e9b23['schema'])):Array['from'](_0xda2544['getSelectedBlocks']())[_0x4d9e('0x6')](_0x5356d0=>eo(_0x5356d0));const _0x5685f2=_0x536281(_0x2987ab,_0x5e9b23);_0x5e9b23['change'](()=>{for(const _0x3d59d8 of _0x5685f2)_0x5e9e4d[_0x4d9e('0x20')](_0x3d59d8,{'commandName':_0x4d9e('0x4'),'commandParams':[{..._0x378dff,'forceValue':_0x41664d}],'formatGroupId':_0x4d9e('0x11')});});}),(_0x5e9e4d[_0x4d9e('0x9')][_0x4d9e('0x26')](_0x4d9e('0x4'),_0x242190=>_0x41ca26(_0xc097c4,_0x4d9e('0xe'),_0x242190)),_0x5e9e4d[_0x4d9e('0x9')][_0x4d9e('0x10')](_0x58d2ee=>{if(_0x4d9e('0x19')!=_0x58d2ee[_0x4d9e('0x21')])return;const _0x5e2468=_0xc097c4['t'],{data:_0x4fb173}=_0x58d2ee;if(!_0x4fb173||'codeBlock'!=_0x4fb173[_0x4d9e('0x18')])return;const _0x381088=_0x4fb173[_0x4d9e('0x1e')][0x0][_0x4d9e('0x1')],_0x4f17b6=_0x5e2468(_0x15421c[_0x4d9e('0x16')](_0x42ee6c=>_0x42ee6c[_0x4d9e('0x1')]===_0x381088)[_0x4d9e('0x15')])[_0x4d9e('0x3')]();return _0x4fb173['commandParams'][0x0][_0x4d9e('0x5')]?{'type':_0x4d9e('0x1b'),'content':_0x41ca26(_0xc097c4,_0x4d9e('0xa'),_0x41ca26(_0xc097c4,_0x4d9e('0xe'),0x1)+'\x20('+_0x4f17b6+')')}:{'type':_0x4d9e('0x1b'),'content':_0x41ca26(_0xc097c4,_0x4d9e('0xd'),_0x41ca26(_0xc097c4,_0x4d9e('0xe'),0x1))};}));}}function eo(_0x28d8c7){return _0x4d9e('0x4')==_0x28d8c7[_0x4d9e('0x23')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d94=['editor','afterInit','enableCommand','plugins','get','has'];(function(_0x26074d,_0x2d9464){const _0x14b094=function(_0x103823){while(--_0x103823){_0x26074d['push'](_0x26074d['shift']());}};_0x14b094(++_0x2d9464);}(_0x2d94,0x103));const _0x14b0=function(_0x26074d,_0x2d9464){_0x26074d=_0x26074d-0x0;let _0x14b094=_0x2d94[_0x26074d];return _0x14b094;};import{Plugin as _0x56384e}from'ckeditor5/src/core.js';export default class H extends _0x56384e{[_0x14b0('0x0')](){const _0x41ced8=this[_0x14b0('0x5')];if(!_0x41ced8[_0x14b0('0x2')][_0x14b0('0x4')]('CommentsEditing'))return;_0x41ced8[_0x14b0('0x2')][_0x14b0('0x3')]('TrackChangesEditing')[_0x14b0('0x1')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5da6=['TrackChangesEditing','setSelection','createRange','model','createSelection','delete','high','selection','uiElement','editor','unit','buffer','end','addMarker:suggestion:deletion','merge','isCollapsed','downcastDispatcher','lock','document','requires','markerName','showSuggestionHighlights','editing','get','fromRange','data','getFirstRange','deleteForward','remove','start','unbindElementFromMarkerName','enqueueChange','bind','mapper','forward','detach','$graveyard','enableCommand'];(function(_0x11c634,_0x5da6b6){const _0x16f8e2=function(_0x13a142){while(--_0x13a142){_0x11c634['push'](_0x11c634['shift']());}};_0x16f8e2(++_0x5da6b6);}(_0x5da6,0xae));const _0x16f8=function(_0x11c634,_0x5da6b6){_0x11c634=_0x11c634-0x0;let _0x16f8e2=_0x5da6[_0x11c634];return _0x16f8e2;};import{Plugin as _0x9f5f9e}from'ckeditor5/src/core.js';import{LiveRange as _0x2ad5c4}from'ckeditor5/src/engine.js';import{Delete as _0x1b5c39}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x7d2958}from'./utils.js';export default class q extends _0x9f5f9e{static get[_0x16f8('0x23')](){return[_0x1b5c39];}['init'](){const _0x614d00=this[_0x16f8('0x19')],_0x571da2=_0x614d00['plugins'][_0x16f8('0x1')](_0x16f8('0x10'));_0x571da2[_0x16f8('0xf')](_0x16f8('0x15'));const _0x34d1de=_0x614d00['commands'][_0x16f8('0x1')](_0x16f8('0x5'));_0x571da2[_0x16f8('0xf')](_0x16f8('0x5'),(_0x298ed7,_0x298e48={})=>{const _0x5f5c05=_0x614d00[_0x16f8('0x13')][_0x16f8('0x14')](_0x614d00[_0x16f8('0x13')][_0x16f8('0x22')][_0x16f8('0x17')]);_0x5f5c05[_0x16f8('0x1f')]&&_0x614d00['model']['modifySelection'](_0x5f5c05,{'direction':_0x16f8('0xc'),'unit':_0x298e48[_0x16f8('0x1a')]});const _0x5c97ac=_0x5f5c05[_0x16f8('0x4')](),_0x2e5700=_0x2ad5c4[_0x16f8('0x2')](_0x5c97ac);let _0x1db8fd;_0x298ed7(_0x298e48),_0x1db8fd=_0x16f8('0xe')==_0x2e5700['root']['rootName']?_0x614d00[_0x16f8('0x13')]['createRange'](_0x5c97ac[_0x16f8('0x7')]):_0x614d00[_0x16f8('0x13')][_0x16f8('0x12')](_0x2e5700[_0x16f8('0x7')],_0x2e5700[_0x16f8('0x1c')]),_0x2e5700[_0x16f8('0xd')](),_0x614d00[_0x16f8('0x13')][_0x16f8('0x9')](_0x34d1de[_0x16f8('0x1b')]['batch'],_0x22a35e=>{_0x34d1de[_0x16f8('0x1b')][_0x16f8('0x21')](),_0x22a35e[_0x16f8('0x11')](_0x22a35e['createRange'](_0x1db8fd[_0x16f8('0x1c')])),_0x34d1de['buffer']['unlock']();});}),_0x614d00[_0x16f8('0x0')][_0x16f8('0x20')]['on'](_0x16f8('0x1d'),_0x7d2958(_0x614d00,_0x16f8('0x1e')),{'priority':_0x16f8('0x16')}),_0x614d00[_0x16f8('0x3')]['downcastDispatcher']['on'](_0x16f8('0x1d'),(_0x32a2f6,_0x36cd9e,_0x497d00)=>{_0x497d00['options'][_0x16f8('0x25')]&&_0x7d2958(_0x614d00,'merge',{'showActiveMarker':!0x1})[_0x16f8('0xa')](this)(_0x32a2f6,_0x36cd9e,_0x497d00);},{'priority':_0x16f8('0x16')}),_0x614d00[_0x16f8('0x0')]['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x598592,_0x1bd237,_0x438eeb)=>{const _0xf40e78=_0x438eeb[_0x16f8('0xb')]['markerNameToElements'](_0x1bd237[_0x16f8('0x24')]);if(_0xf40e78)for(const _0x2f1c31 of _0xf40e78)_0x2f1c31['is'](_0x16f8('0x18'))&&(_0x438eeb[_0x16f8('0xb')][_0x16f8('0x8')](_0x2f1c31,_0x1bd237[_0x16f8('0x24')]),_0x438eeb['writer'][_0x16f8('0x6')](_0x2f1c31));},{'priority':_0x16f8('0x16')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f34=['get','writer','unbindElementFromMarkerName','removeMarker:suggestion:insertion','hasClass','markInsertion','end','enter','nextSibling','getFirstPosition','downcastDispatcher','fromRange','createPositionAt','getFirstRange','TrackChangesEditing','afterExecute','editor','markerName','showSuggestionHighlights','ck-suggestion-marker-split','change','detach','markerNameToElements','commands','split','remove','setSelection','options','enterBlock','high','parent','mapper','model','createRange','editing','addMarker:suggestion:insertion'];(function(_0x2c7b6c,_0x2f347e){const _0x24f2b3=function(_0x542901){while(--_0x542901){_0x2c7b6c['push'](_0x2c7b6c['shift']());}};_0x24f2b3(++_0x2f347e);}(_0x2f34,0x11f));const _0x24f2=function(_0x2c7b6c,_0x2f347e){_0x2c7b6c=_0x2c7b6c-0x0;let _0x24f2b3=_0x2f34[_0x2c7b6c];return _0x24f2b3;};import{Plugin as _0x2bf2ac}from'ckeditor5/src/core.js';import{Enter as _0x2d7ca7}from'ckeditor5/src/enter.js';import{LiveRange as _0x344aac}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x547030}from'./utils.js';export default class W extends _0x2bf2ac{static get['requires'](){return[_0x2d7ca7];}['init'](){const _0x76f598=this[_0x24f2('0x11')],_0x9f00ed=_0x76f598['plugins']['get'](_0x24f2('0xf')),_0x13484e=_0x76f598[_0x24f2('0x18')][_0x24f2('0x1')](_0x24f2('0x8'));_0x9f00ed['enableCommand'](_0x24f2('0x8'),()=>{_0x76f598[_0x24f2('0x21')][_0x24f2('0x15')](_0x110812=>{const _0x5965c4=_0x76f598['model']['document']['selection'],_0x3cc2aa=_0x5965c4[_0x24f2('0xa')](),_0x38a70c=_0x344aac[_0x24f2('0xc')](_0x5965c4[_0x24f2('0xe')]());if(_0x13484e[_0x24f2('0x1d')](_0x110812)){const _0x2c7550=_0x76f598[_0x24f2('0x21')][_0x24f2('0xd')](_0x3cc2aa[_0x24f2('0x1f')][_0x24f2('0x9')],0x0),_0xc4981b=_0x110812[_0x24f2('0x22')](_0x3cc2aa,_0x2c7550);_0x9f00ed[_0x24f2('0x6')](_0xc4981b);}else _0x110812[_0x24f2('0x1b')](_0x110812[_0x24f2('0x22')](_0x38a70c[_0x24f2('0x7')]));_0x38a70c[_0x24f2('0x16')](),_0x13484e['fire'](_0x24f2('0x10'),{'writer':_0x110812});});}),_0x76f598[_0x24f2('0x23')][_0x24f2('0xb')]['on'](_0x24f2('0x0'),_0x547030(_0x76f598,_0x24f2('0x19')),{'priority':_0x24f2('0x1e')}),_0x76f598[_0x24f2('0x23')]['downcastDispatcher']['on'](_0x24f2('0x4'),(_0x3777ec,_0x4fcbf8,_0x2e68be)=>{const _0x44db24=_0x2e68be['mapper'][_0x24f2('0x17')](_0x4fcbf8[_0x24f2('0x12')]);if(_0x44db24)for(const _0x58df5d of _0x44db24)_0x58df5d[_0x24f2('0x5')](_0x24f2('0x14'))&&(_0x2e68be[_0x24f2('0x20')][_0x24f2('0x3')](_0x58df5d,_0x4fcbf8[_0x24f2('0x12')]),_0x2e68be[_0x24f2('0x2')][_0x24f2('0x1a')](_0x58df5d));},{'priority':_0x24f2('0x1e')}),_0x76f598['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4b8e65,_0x59f496,_0x236835)=>{_0x236835[_0x24f2('0x1c')][_0x24f2('0x13')]&&_0x547030(_0x76f598,'split',{'showActiveMarker':!0x1})['bind'](this)(_0x4b8e65,_0x59f496,_0x236835);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f00=['TrackChangesEditing','findNext','string','replace','start','item','FindAndReplaceUtils','findByTextCallback','getMarkersGroup','findPrevious','handleFindCommand','model','_isInDeletionRange','createPositionAt','enableCommand','editor','bind','replaceAll','end','createRange','getIntersection','markers','get','getRange','suggestion:deletion','afterInit','plugins'];(function(_0xb6f64e,_0x2f0042){const _0x381bc9=function(_0x368b64){while(--_0x368b64){_0xb6f64e['push'](_0xb6f64e['shift']());}};_0x381bc9(++_0x2f0042);}(_0x2f00,0x94));const _0x381b=function(_0xb6f64e,_0x2f0042){_0xb6f64e=_0xb6f64e-0x0;let _0x381bc9=_0x2f00[_0xb6f64e];return _0x381bc9;};import{Plugin as _0x516001}from'ckeditor5/src/core.js';export default class J extends _0x516001{[_0x381b('0xc')](){if(!this[_0x381b('0x2')]['plugins']['has']('FindAndReplaceEditing'))return;const _0x492dae=this[_0x381b('0x2')][_0x381b('0xd')][_0x381b('0x9')](_0x381b('0xe'));_0x492dae['enableCommand']('find',this[_0x381b('0x18')][_0x381b('0x3')](this)),_0x492dae[_0x381b('0x1')](_0x381b('0xf')),_0x492dae[_0x381b('0x1')](_0x381b('0x17')),_0x492dae[_0x381b('0x1')](_0x381b('0x11')),_0x492dae['enableCommand'](_0x381b('0x4'));}['handleFindCommand'](_0x126ad5,_0x59f0c5,_0x34d0c0={}){const _0x14d9c1=this['editor'][_0x381b('0xd')][_0x381b('0x9')](_0x381b('0x14'));return _0x126ad5(_0x31981f=>(_0x381b('0x10')==typeof _0x59f0c5?_0x14d9c1[_0x381b('0x15')](_0x59f0c5,_0x34d0c0):_0x59f0c5)(_0x31981f)['filter'](_0x541411=>!0x1===this[_0x381b('0x1a')](_0x541411,_0x31981f[_0x381b('0x13')])),_0x34d0c0);}[_0x381b('0x1a')](_0x4f81bf,_0x5c8777){const _0x42a2dd=this[_0x381b('0x2')][_0x381b('0x19')][_0x381b('0x6')](this[_0x381b('0x2')]['model'][_0x381b('0x0')](_0x5c8777,_0x4f81bf[_0x381b('0x12')]),this[_0x381b('0x2')][_0x381b('0x19')][_0x381b('0x0')](_0x5c8777,_0x4f81bf[_0x381b('0x5')]));for(const _0x322427 of this[_0x381b('0x2')][_0x381b('0x19')][_0x381b('0x8')][_0x381b('0x16')](_0x381b('0xb')))if(null!==_0x42a2dd[_0x381b('0x7')](_0x322427[_0x381b('0xa')]()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2079=['FORMAT_FONT_BACKGROUND','find','label','fontColor','normalizeSizeOptions','fontBackgroundColor.colors','fontBackgroundColor','config','plugins','FORMAT_FONT_FAMILY','model','editor','value','locale','formatInline','fontSize.options','afterInit','*Reset\x20font\x20background\x20color*','*Set\x20font\x20family:*\x20%0','format','FORMAT_FONT_SIZE','trim','*Set\x20font\x20size:*\x20%0','TrackChangesEditing','toLowerCase','*Reset\x20font\x20color*','get','*Reset\x20font\x20family*','_descriptionFactory','*Reset\x20font\x20size*','_registerLegacyDescription','FontBackgroundColorEditing','commandParams','*Set\x20font\x20color:*\x20%0','fontFamily','fontSize','registerAttributeLabel','commandName','fontColor.colors'];(function(_0x461f23,_0x207974){const _0x10acc5=function(_0x3762f5){while(--_0x3762f5){_0x461f23['push'](_0x461f23['shift']());}};_0x10acc5(++_0x207974);}(_0x2079,0x18a));const _0x10ac=function(_0x461f23,_0x207974){_0x461f23=_0x461f23-0x0;let _0x10acc5=_0x2079[_0x461f23];return _0x10acc5;};import{Plugin as _0x21ddc5}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x4b7390}from'ckeditor5/src/ui.js';import{getTranslation as _0x461c56}from'../utils/common-translations.js';const ro=[{'pluginName':'FontSizeEditing','commandName':_0x10ac('0x1f')},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':_0x10ac('0x26')},{'pluginName':_0x10ac('0x1b'),'commandName':_0x10ac('0x2')}];export default class Q extends _0x21ddc5{[_0x10ac('0xc')](){const _0x3acd4a=this['editor'][_0x10ac('0x9')],_0x9d2086=this[_0x10ac('0x7')]['plugins'][_0x10ac('0x16')](_0x10ac('0x13'));for(const {pluginName:_0xa163d3,commandName:_0x5c0a8e}of ro)this[_0x10ac('0x7')][_0x10ac('0x4')]['has'](_0xa163d3)&&_0x9d2086['_enableDefaultAttributesIntegration'](_0x5c0a8e,[_0x5c0a8e]);_0x3acd4a['t'],(_0x9d2086[_0x10ac('0x18')]['registerAttributeLabel']('fontSize',_0x461c56(_0x3acd4a,_0x10ac('0x10'))),_0x9d2086['_descriptionFactory'][_0x10ac('0x20')](_0x10ac('0x1e'),_0x461c56(_0x3acd4a,_0x10ac('0x5'))),_0x9d2086[_0x10ac('0x18')][_0x10ac('0x20')]('fontColor',_0x461c56(_0x3acd4a,'FORMAT_FONT_COLOR')),_0x9d2086['_descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',_0x461c56(_0x3acd4a,_0x10ac('0x23'))),this[_0x10ac('0x1a')]());}['_registerLegacyDescription'](){const _0x217aa5=this[_0x10ac('0x7')],_0x3ffd8b=_0x217aa5['locale'];_0x217aa5['plugins'][_0x10ac('0x16')](_0x10ac('0x13'))[_0x10ac('0x18')]['registerDescriptionCallback'](_0x57de41=>{const _0x21ecd8=_0x3ffd8b['t'];if(_0x10ac('0xa')!=_0x57de41['type'])return;const {data:_0x470080}=_0x57de41;if(null!=_0x470080){if(_0x10ac('0x1f')==_0x470080[_0x10ac('0x21')]){const _0xb8dfbb=_0x470080[_0x10ac('0x1c')][0x0]['value'];if(_0xb8dfbb){const _0x54006e=_0x21ecd8(this[_0x10ac('0x7')]['plugins']['get']('FontSize')[_0x10ac('0x0')](this[_0x10ac('0x7')][_0x10ac('0x3')]['get'](_0x10ac('0xb')))['find'](_0x33f639=>_0x33f639[_0x10ac('0x6')]==_0xb8dfbb)['title'])[_0x10ac('0x14')]();return{'type':'format','content':_0x461c56(_0x3ffd8b,_0x10ac('0x12'),_0x54006e)};}return{'type':_0x10ac('0xf'),'content':_0x461c56(_0x3ffd8b,_0x10ac('0x19'))};}if(_0x10ac('0x1e')==_0x470080[_0x10ac('0x21')]){const _0x13adf7=_0x470080['commandParams'][0x0][_0x10ac('0x8')];return _0x13adf7?{'type':'format','content':_0x461c56(_0x3ffd8b,_0x10ac('0xe'),_0x13adf7)}:{'type':_0x10ac('0xf'),'content':_0x461c56(_0x3ffd8b,_0x10ac('0x17'))};}if(_0x10ac('0x26')==_0x470080[_0x10ac('0x21')]){const _0x159d08=_0x470080[_0x10ac('0x1c')][0x0][_0x10ac('0x8')];if(_0x159d08){const _0x161c92=_0x4b7390(this['editor']['config'][_0x10ac('0x16')](_0x10ac('0x22')))[_0x10ac('0x24')](_0x22ea06=>_0x22ea06[_0x10ac('0x6')]==_0x159d08);let _0x13a588=_0x159d08,_0x4c0132='';return _0x161c92&&(_0x13a588=_0x161c92[_0x10ac('0x25')],_0x4c0132=_0x21ecd8(_0x13a588)[_0x10ac('0x14')]()),{'type':_0x10ac('0xf'),'content':_0x461c56(_0x3ffd8b,_0x10ac('0x1d'),_0x4c0132)[_0x10ac('0x11')](),'color':{'value':_0x159d08,'title':_0x4c0132||_0x13a588}};}return{'type':'format','content':_0x461c56(_0x3ffd8b,_0x10ac('0x15'))};}if('fontBackgroundColor'==_0x470080[_0x10ac('0x21')]){const _0x1d05ac=_0x470080[_0x10ac('0x1c')][0x0][_0x10ac('0x8')];if(_0x1d05ac){const _0x27396d=_0x4b7390(this['editor'][_0x10ac('0x3')][_0x10ac('0x16')](_0x10ac('0x1')))[_0x10ac('0x24')](_0x6a2e6d=>_0x6a2e6d['model']==_0x1d05ac);let _0x53c8eb=_0x1d05ac,_0x4526cf='';return _0x27396d&&(_0x53c8eb=_0x27396d[_0x10ac('0x25')],_0x4526cf=_0x21ecd8(_0x53c8eb)[_0x10ac('0x14')]()),{'type':'format','content':_0x461c56(_0x3ffd8b,'*Set\x20font\x20background\x20color:*\x20%0',_0x4526cf)['trim'](),'color':{'value':_0x1d05ac,'title':_0x4526cf||_0x53c8eb}};}return{'type':'format','content':_0x461c56(_0x3ffd8b,_0x10ac('0xd'))};}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d52=['plugins','FontSize','toUpperCase','afterInit','push','fontSize.options','TrackChangesEditing','copyFormat','fontColor','commandName','model','commandParams','*Set\x20format\x20to:*\x20%0','entries','_enableDefaultAttributesIntegration','locale','toLowerCase','_registerLegacyDescription','type','fontColor.colors','fontBackgroundColor','boolean','normalizeSizeOptions','formatBlock','split','join','registerDescriptionCallback','fontSize','find','format','pasteFormat','config','get','title','*Remove\x20all\x20formatting*'];(function(_0x1f6a1c,_0x4d52d2){const _0x3ca19d=function(_0x5e18db){while(--_0x5e18db){_0x1f6a1c['push'](_0x1f6a1c['shift']());}};_0x3ca19d(++_0x4d52d2);}(_0x4d52,0xe8));const _0x3ca1=function(_0x1f6a1c,_0x4d52d2){_0x1f6a1c=_0x1f6a1c-0x0;let _0x3ca19d=_0x4d52[_0x1f6a1c];return _0x3ca19d;};import{Plugin as _0x1c497d}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0xa7fa33}from'ckeditor5/src/ui.js';import{getTranslation as _0x12b73c}from'../utils/common-translations.js';export default class X extends _0x1c497d{[_0x3ca1('0x10')](){const _0x4b67cb=this['editor'],_0x2a6bb7=_0x4b67cb[_0x3ca1('0xd')][_0x3ca1('0xa')](_0x3ca1('0x13')),_0x1f2064=_0x4b67cb['commands'][_0x3ca1('0xa')](_0x3ca1('0x14')),_0x153735=_0x4b67cb['commands'][_0x3ca1('0xa')](_0x3ca1('0x8'));_0x1f2064&&_0x153735&&(_0x2a6bb7[_0x3ca1('0x1b')](_0x3ca1('0x8')),_0x2a6bb7['enableCommand'](_0x3ca1('0x14')),this[_0x3ca1('0x1e')]());}[_0x3ca1('0x1e')](){const _0x515315=this['editor'],_0x7c655a=_0x515315[_0x3ca1('0x1c')];_0x515315[_0x3ca1('0xd')]['get']('TrackChangesEditing')['_descriptionFactory'][_0x3ca1('0x4')](_0x28298e=>{if(_0x3ca1('0x1')!=_0x28298e[_0x3ca1('0x1f')]&&'formatInline'!=_0x28298e[_0x3ca1('0x1f')])return;const {data:_0xa34164}=_0x28298e;if(_0xa34164&&_0x3ca1('0x8')===_0xa34164[_0x3ca1('0x16')]){const _0x24f209=[],_0x209f9a=_0xa34164[_0x3ca1('0x18')][0x0];for(const [_0x30d547,_0xfd0d81]of Object[_0x3ca1('0x1a')](_0x209f9a))_0x24f209[_0x3ca1('0x11')](so(_0x515315,_0x30d547,_0xfd0d81));return _0x24f209['length']?{'type':_0x3ca1('0x7'),'content':_0x12b73c(_0x7c655a,_0x3ca1('0x19'),_0x24f209[_0x3ca1('0x3')](',\x20'))}:{'type':_0x3ca1('0x7'),'content':_0x12b73c(_0x7c655a,_0x3ca1('0xc'))};}});}}function so(_0x42a424,_0x3186f5,_0x37a1a4){const _0x52b7c=_0x42a424[_0x3ca1('0x1c')]['t'],_0x347068=_0x3186f5[_0x3ca1('0x2')](/(?=[A-Z])/)[_0x3ca1('0x3')]('\x20'),_0x5745bb=_0x52b7c(_0x347068['charAt'](0x0)[_0x3ca1('0xf')]()+_0x347068['slice'](0x1))[_0x3ca1('0x1d')]();if(_0x3ca1('0x22')==typeof _0x37a1a4)return _0x5745bb;if(_0x3ca1('0x15')===_0x3186f5||_0x3ca1('0x21')===_0x3186f5){const _0x203d6=_0xa7fa33(_0x42a424['config'][_0x3ca1('0xa')](_0x3ca1('0x20')))[_0x3ca1('0x6')](_0x20f976=>_0x20f976[_0x3ca1('0x17')]==_0x37a1a4);return _0x5745bb+'\x20('+(_0x203d6?_0x52b7c(_0x203d6['label'])[_0x3ca1('0x1d')]():_0x37a1a4)+')';}if(_0x3ca1('0x5')===_0x3186f5&&isNaN(parseFloat(_0x37a1a4))){const _0x169019=_0x42a424[_0x3ca1('0xd')]['get'](_0x3ca1('0xe'))[_0x3ca1('0x0')](_0x42a424[_0x3ca1('0x9')]['get'](_0x3ca1('0x12')))[_0x3ca1('0x6')](_0x29dfca=>_0x29dfca[_0x3ca1('0x17')]==_0x37a1a4);return _0x5745bb+'\x20('+(_0x169019?_0x52b7c(_0x169019[_0x3ca1('0xb')])[_0x3ca1('0x1d')]():_0x37a1a4)+')';}return _0x5745bb+'\x20('+_0x37a1a4+')';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32e2=['_enableDefaultAttributesIntegration','view','model','heading.options','find','heading','value','commandParams','locale','type','paragraph','name','format','_headingOptions','*Change\x20to:*\x20%0','TrackChangesEditing','afterInit','match','get','editor','ELEMENT_HEADING_CUSTOM','_getHeadingLevel','config','ELEMENT_HEADING','registerElementLabel','formatBlock','_descriptionFactory','has','title','HeadingEditing','plugins'];(function(_0x10993d,_0x32e24f){const _0x1c41d7=function(_0x45182c){while(--_0x45182c){_0x10993d['push'](_0x10993d['shift']());}};_0x1c41d7(++_0x32e24f);}(_0x32e2,0xa9));const _0x1c41=function(_0x10993d,_0x32e24f){_0x10993d=_0x10993d-0x0;let _0x1c41d7=_0x32e2[_0x10993d];return _0x1c41d7;};import{Plugin as _0x503f0c}from'ckeditor5/src/core.js';import{getTranslation as _0x28fc98}from'../utils/common-translations.js';export default class Y extends _0x503f0c{[_0x1c41('0x2')](){const _0x4b0774=this[_0x1c41('0x5')];if(!_0x4b0774[_0x1c41('0x10')][_0x1c41('0xd')](_0x1c41('0xf')))return;this['_headingOptions']=_0x4b0774[_0x1c41('0x8')][_0x1c41('0x4')](_0x1c41('0x14'));const _0x3490f4=_0x4b0774[_0x1c41('0x19')],_0x10600f=_0x4b0774[_0x1c41('0x10')][_0x1c41('0x4')]('TrackChangesEditing');_0x10600f[_0x1c41('0x11')](_0x1c41('0x16'));for(const _0x1b8412 of this['_headingOptions'])_0x1c41('0x1b')!=_0x1b8412[_0x1c41('0x13')]&&_0x10600f[_0x1c41('0xc')][_0x1c41('0xa')](_0x1b8412[_0x1c41('0x13')],_0x2267c6=>{const _0x533790=this[_0x1c41('0x7')](_0x1b8412[_0x1c41('0x13')]);return null!==_0x533790?_0x15532c(_0x2267c6,_0x533790):_0x13f6e3(_0x2267c6,_0x1b8412[_0x1c41('0xe')]);});function _0x15532c(_0x135610,_0x2bb626){return _0x28fc98(_0x3490f4,_0x1c41('0x9'),[_0x135610,_0x2bb626]);}function _0x13f6e3(_0x3b6f29,_0x7ee23){return _0x28fc98(_0x3490f4,_0x1c41('0x6'),[_0x3b6f29,_0x7ee23]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x595d13=this['editor'],_0x2c5bc8=_0x595d13['locale'];function _0x19ab57(_0x25c83d,_0xca1ea5){return _0x28fc98(_0x2c5bc8,'ELEMENT_HEADING_CUSTOM',[_0x25c83d,_0xca1ea5]);}_0x595d13['plugins'][_0x1c41('0x4')](_0x1c41('0x1'))[_0x1c41('0xc')]['registerDescriptionCallback'](_0x15de09=>{if(_0x1c41('0xb')!=_0x15de09[_0x1c41('0x1a')])return;const {data:_0x2a3ab0}=_0x15de09;if(_0x2a3ab0&&_0x1c41('0x16')==_0x2a3ab0['commandName']){const _0x40137b=_0x2a3ab0[_0x1c41('0x18')][0x0][_0x1c41('0x17')],_0x3a9357=this[_0x1c41('0x7')](_0x40137b);if(null!==_0x3a9357)return{'type':'format','content':_0x28fc98(_0x2c5bc8,'*Change\x20to:*\x20%0',(_0x33dfa0=0x1,_0x3ebfa5=_0x3a9357,_0x28fc98(_0x2c5bc8,_0x1c41('0x9'),[_0x33dfa0,_0x3ebfa5])))};const _0x5caa1a=this['_headingOptions']['find'](_0x2234f5=>_0x2234f5['model']===_0x40137b)['title'];return{'type':_0x1c41('0x1d'),'content':_0x28fc98(_0x2c5bc8,_0x1c41('0x0'),_0x19ab57(0x1,_0x5caa1a))};}var _0x33dfa0,_0x3ebfa5;});}[_0x1c41('0x7')](_0x9459a7){var _0x321ff1,_0x1c330d;const _0x1e1981=_0x9459a7[_0x1c41('0x3')](/^heading(\d+)/);if(_0x1e1981)return _0x1e1981[0x1];const _0x2e4f83=null===(_0x321ff1=this[_0x1c41('0x1e')])||void 0x0===_0x321ff1?void 0x0:_0x321ff1[_0x1c41('0x15')](_0x224256=>_0x224256[_0x1c41('0x13')]==_0x9459a7);if(_0x2e4f83&&_0x2e4f83[_0x1c41('0x12')]){const _0x45f207=_0x2e4f83[_0x1c41('0x12')],_0x432be6=(null!==(_0x1c330d=_0x45f207[_0x1c41('0x1c')])&&void 0x0!==_0x1c330d?_0x1c330d:_0x45f207)[_0x1c41('0x3')](/^h(\d+)/);if(_0x432be6)return _0x432be6[0x1];}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35d7=['FORMAT_HIGHLIGHT','model','type','afterInit','config','value','locale','commandParams','HighlightEditing','formatInline','title','get','find','TrackChangesEditing','_registerLegacyDescription','has','format','highlight','editor','*Set\x20highlight:*\x20%0','commandName','registerDescriptionCallback','plugins','color','registerAttributeLabel','highlight.options'];(function(_0x96c224,_0x35d70e){const _0x417c73=function(_0x56aab3){while(--_0x56aab3){_0x96c224['push'](_0x96c224['shift']());}};_0x417c73(++_0x35d70e);}(_0x35d7,0x8b));const _0x417c=function(_0x96c224,_0x35d70e){_0x96c224=_0x96c224-0x0;let _0x417c73=_0x35d7[_0x96c224];return _0x417c73;};import{Plugin as _0x59597c}from'ckeditor5/src/core.js';import{getTranslation as _0x220a11}from'../utils/common-translations.js';export default class Z extends _0x59597c{[_0x417c('0x14')](){const _0x1e5a95=this[_0x417c('0x9')];if(!_0x1e5a95[_0x417c('0xd')][_0x417c('0x6')](_0x417c('0x19')))return;const _0x48ec9e=_0x1e5a95[_0x417c('0xd')][_0x417c('0x2')](_0x417c('0x4')),_0x25a2da=_0x1e5a95['locale'];_0x48ec9e['_enableDefaultAttributesIntegration'](_0x417c('0x8'),[_0x417c('0x8')]),_0x48ec9e['_descriptionFactory'][_0x417c('0xf')](_0x417c('0x8'),_0x220a11(_0x25a2da,_0x417c('0x11'))),this['_registerLegacyDescription']();}[_0x417c('0x5')](){const _0x35a654=this['editor'],_0x553062=_0x35a654[_0x417c('0x17')];_0x35a654[_0x417c('0xd')]['get'](_0x417c('0x4'))['_descriptionFactory'][_0x417c('0xc')](_0x3900fa=>{if(_0x417c('0x0')!=_0x3900fa[_0x417c('0x13')])return;const {data:_0x595bde}=_0x3900fa;if(_0x595bde&&_0x417c('0x8')==_0x595bde[_0x417c('0xb')]){const _0xc47bc5=_0x553062['t'],_0x55b773=_0x595bde[_0x417c('0x18')][0x0][_0x417c('0x16')];if(_0x55b773){const _0x4d322e=_0x35a654[_0x417c('0x15')][_0x417c('0x2')](_0x417c('0x10'))[_0x417c('0x3')](_0xf4e3e1=>_0xf4e3e1[_0x417c('0x12')]==_0x55b773),_0x13b007=_0xc47bc5(_0x4d322e['title'])['toLowerCase']();return{'type':_0x417c('0x7'),'content':_0x220a11(_0x553062,_0x417c('0xa'),_0x13b007),'color':{'value':_0x4d322e[_0x417c('0xe')],'title':_0x4d322e[_0x417c('0x1')]}};}return{'type':_0x417c('0x7'),'content':_0x220a11(_0x553062,'*Remove\x20highlight*',_0x220a11(_0x553062,'FORMAT_HIGHLIGHT'))};}});}}
|