@ckeditor/ckeditor5-track-changes 38.1.1 → 38.2.0-alpha.1
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 +2 -2
- package/package.json +4 -3
- package/src/augmentation.d.ts +36 -36
- package/src/commands/acceptsuggestioncommand.d.ts +20 -20
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.d.ts +20 -20
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.d.ts +20 -20
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.d.ts +20 -20
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.d.ts +22 -22
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +12 -12
- package/src/index.js +1 -1
- package/src/integrations/alignment.d.ts +13 -13
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.d.ts +13 -13
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.d.ts +13 -13
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.d.ts +13 -13
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.d.ts +13 -13
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.d.ts +10 -10
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.d.ts +13 -13
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.d.ts +13 -13
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.d.ts +25 -25
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.d.ts +12 -12
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.d.ts +17 -17
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.d.ts +13 -13
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.d.ts +13 -13
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.d.ts +13 -13
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.d.ts +13 -13
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.d.ts +13 -13
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.d.ts +13 -13
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.d.ts +13 -13
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.d.ts +19 -19
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.d.ts +14 -14
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.d.ts +13 -13
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.d.ts +12 -12
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.d.ts +13 -13
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.d.ts +13 -13
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.d.ts +25 -25
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.d.ts +13 -13
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.d.ts +13 -13
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.d.ts +13 -13
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.d.ts +13 -13
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.d.ts +13 -13
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.d.ts +13 -13
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.d.ts +12 -12
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.d.ts +13 -13
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.d.ts +14 -14
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.d.ts +38 -38
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.d.ts +18 -18
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.d.ts +18 -18
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.d.ts +22 -22
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.d.ts +18 -18
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.d.ts +18 -18
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.d.ts +13 -13
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.d.ts +23 -23
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.d.ts +13 -13
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.d.ts +13 -13
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.d.ts +13 -13
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.d.ts +17 -17
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +266 -266
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +163 -151
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +240 -240
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +71 -71
- package/src/trackchangesdata.d.ts +37 -37
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +435 -435
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.d.ts +34 -34
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +36 -36
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.d.ts +166 -166
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +182 -182
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.d.ts +5 -5
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.d.ts +26 -26
- package/src/utils/utils.js +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module track-changes/integrations/importword
|
|
3
|
-
*/
|
|
4
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
5
|
-
/**
|
|
6
|
-
* Provides track changes plugin integration for the import from Word feature.
|
|
7
|
-
*/
|
|
8
|
-
export default class TrackChangesImportWord extends Plugin {
|
|
9
|
-
constructor(editor: Editor);
|
|
10
|
-
/**
|
|
11
|
-
* @inheritDoc
|
|
12
|
-
*/
|
|
13
|
-
afterInit(): void;
|
|
14
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @module track-changes/integrations/importword
|
|
3
|
+
*/
|
|
4
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
5
|
+
/**
|
|
6
|
+
* Provides track changes plugin integration for the import from Word feature.
|
|
7
|
+
*/
|
|
8
|
+
export default class TrackChangesImportWord extends Plugin {
|
|
9
|
+
constructor(editor: Editor);
|
|
10
|
+
/**
|
|
11
|
+
* @inheritDoc
|
|
12
|
+
*/
|
|
13
|
+
afterInit(): void;
|
|
14
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fa2=['forEach','plugins','track_changes','commands','trackChanges','listenTo','editor','enableCommand','lowest','_trackChangesValueDuringImport','value','TrackChangesEditing','dataInsert','_handleImportedData','Users','bind','execute','_trackChangesExecuted','importWord','afterInit','get','_setSuggestionData'];(function(_0x18fb45,_0x1fa2db){const _0x56fa77=function(_0x3920fd){while(--_0x3920fd){_0x18fb45['push'](_0x18fb45['shift']());}};_0x56fa77(++_0x1fa2db);}(_0x1fa2,0xcd));const _0x56fa=function(_0x18fb45,_0x1fa2db){_0x18fb45=_0x18fb45-0x0;let _0x56fa77=_0x1fa2[_0x18fb45];return _0x56fa77;};import{Plugin as _0x2f7626}from'ckeditor5/src/core.js';export default class Z extends _0x2f7626{constructor(_0x1f3309){super(_0x1f3309),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x56fa('0xc')](){const _0x13fffd=this[_0x56fa('0x15')],_0x44aa0d=_0x13fffd[_0x56fa('0x12')]['get'](_0x56fa('0xb')),_0x1d44f7=_0x13fffd[_0x56fa('0x12')][_0x56fa('0xd')](_0x56fa('0x13'));_0x44aa0d&&(_0x44aa0d['on'](_0x56fa('0x9'),(_0x17d34e,[,_0x670aca])=>{this[_0x56fa('0x2')]=_0x1d44f7[_0x56fa('0x3')],_0x670aca['collaboration_features'][_0x56fa('0x11')]=!this[_0x56fa('0x2')];},{'priority':'high'}),this[_0x56fa('0x14')](_0x44aa0d,_0x56fa('0x5'),this[_0x56fa('0x6')][_0x56fa('0x8')](this)),this[_0x56fa('0x14')](_0x44aa0d,_0x56fa('0x5'),()=>{this[_0x56fa('0xa')]&&(_0x1d44f7[_0x56fa('0x9')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x56fa('0x1')}),_0x13fffd[_0x56fa('0x10')][_0x56fa('0xd')](_0x56fa('0x4'))[_0x56fa('0x0')](_0x56fa('0xb')));}['_handleImportedData'](_0x4dd513,_0x2a5a0d){const {suggestions:_0x36687a}=_0x2a5a0d,_0x435b97=this[_0x56fa('0x15')][_0x56fa('0x12')][_0x56fa('0xd')](_0x56fa('0x13')),_0x55779a=_0x435b97[_0x56fa('0x3')];this['_trackChangesValueDuringImport']!==_0x55779a&&(_0x435b97[_0x56fa('0x9')](),this[_0x56fa('0xa')]=!0x0),_0x36687a&&_0x36687a[_0x56fa('0xf')](({id:_0x1341e7,type:_0x53199b,author:_0x4e3290,created_at:_0x1cee5c})=>{const _0x1c9c06={'id':_0x1341e7,'type':_0x53199b,'authorId':this['editor'][_0x56fa('0x10')][_0x56fa('0xd')](_0x56fa('0x7'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4e3290,'createdAt':_0x1cee5c?new Date(_0x1cee5c):new Date(),'source':_0x56fa('0xb')}}};this[_0x56fa('0x15')][_0x56fa('0x10')]['get'](_0x56fa('0x4'))[_0x56fa('0xe')](_0x1c9c06);});}}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module track-changes/integrations/indent
|
|
3
|
-
*/
|
|
4
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
5
|
-
/**
|
|
6
|
-
* Provides track changes plugin integration for {@link module:indent/indent~Indent indent/outdent feature}.
|
|
7
|
-
*/
|
|
8
|
-
export default class TrackChangesIndent extends Plugin {
|
|
9
|
-
/**
|
|
10
|
-
* @inheritDoc
|
|
11
|
-
*/
|
|
12
|
-
afterInit(): void;
|
|
13
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @module track-changes/integrations/indent
|
|
3
|
+
*/
|
|
4
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
5
|
+
/**
|
|
6
|
+
* Provides track changes plugin integration for {@link module:indent/indent~Indent indent/outdent feature}.
|
|
7
|
+
*/
|
|
8
|
+
export default class TrackChangesIndent extends Plugin {
|
|
9
|
+
/**
|
|
10
|
+
* @inheritDoc
|
|
11
|
+
*/
|
|
12
|
+
afterInit(): void;
|
|
13
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2237=['blockIndent','TrackChangesEditing','format','plugins','IndentEditing','*Outdent:*\x20%0','checkAttribute','getSelectedBlocks','editor','get','model','commandName','_descriptionFactory','filter','enableCommand','selection','indentBlock','*Indent:*\x20%0','IndentBlock','markBlockFormat','outdentBlock','has','from'];(function(_0xfd633,_0x223704){const _0x29f048=function(_0x30ffa0){while(--_0x30ffa0){_0xfd633['push'](_0xfd633['shift']());}};_0x29f048(++_0x223704);}(_0x2237,0x68));const _0x29f0=function(_0xfd633,_0x223704){_0xfd633=_0xfd633-0x0;let _0x29f048=_0x2237[_0xfd633];return _0x29f048;};import{Plugin as _0x354676}from'ckeditor5/src/core.js';import{getTranslation as _0x59bc1f}from'../utils/common-translations.js';export default class tt extends _0x354676{['afterInit'](){const _0x38fa99=this['editor'],_0xc5f02c=_0x38fa99['plugins'][_0x29f0('0x14')](_0x29f0('0xc'));_0x38fa99[_0x29f0('0xe')][_0x29f0('0x9')](_0x29f0('0xf'))&&(_0xc5f02c['enableCommand']('indent'),_0xc5f02c[_0x29f0('0x2')]('outdent'));const _0xed7c6=_0x38fa99['locale'];if(_0x38fa99[_0x29f0('0xe')][_0x29f0('0x9')](_0x29f0('0x6'))){for(const _0x215305 of[_0x29f0('0x4'),_0x29f0('0x8')])_0xc5f02c[_0x29f0('0x2')](_0x215305,()=>{const _0x2d3851=Array[_0x29f0('0xa')](this[_0x29f0('0x13')][_0x29f0('0x15')]['document'][_0x29f0('0x3')][_0x29f0('0x12')]())[_0x29f0('0x1')](_0x3bcb32=>this[_0x29f0('0x13')][_0x29f0('0x15')]['schema'][_0x29f0('0x11')](_0x3bcb32,_0x29f0('0xb')));_0x38fa99[_0x29f0('0x15')]['change'](()=>{for(const _0x1648c9 of _0x2d3851)_0xc5f02c[_0x29f0('0x7')](_0x1648c9,{'commandName':_0x215305,'commandParams':[{'value':''}],'formatGroupId':_0x29f0('0x4')});});});_0xc5f02c[_0x29f0('0x0')]['registerDescriptionCallback'](_0x2c431e=>{const {data:_0x2a801d}=_0x2c431e;if(!_0x2a801d)return;if(_0x29f0('0x4')!=_0x2a801d['commandName']&&_0x29f0('0x8')!=_0x2a801d[_0x29f0('0x16')])return;const _0x37d609=_0x2c431e['getItems']()[0x0],_0x31eb38=_0xc5f02c[_0x29f0('0x0')]['getItemLabel'](_0x37d609);return _0x29f0('0x4')==_0x2a801d[_0x29f0('0x16')]?{'type':_0x29f0('0xd'),'content':_0x59bc1f(_0xed7c6,_0x29f0('0x5'),_0x31eb38)}:_0x29f0('0x8')==_0x2a801d[_0x29f0('0x16')]?{'type':'format','content':_0x59bc1f(_0xed7c6,_0x29f0('0x10'),_0x31eb38)}:void 0x0;});}}}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module track-changes/integrations/inputcommand/inputcommand
|
|
3
|
-
*/
|
|
4
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
5
|
-
import { Input } from 'ckeditor5/src/typing';
|
|
6
|
-
/**
|
|
7
|
-
* Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
|
|
8
|
-
*/
|
|
9
|
-
export default class TrackChangesInputCommand extends Plugin {
|
|
10
|
-
static get requires(): readonly [typeof Input];
|
|
11
|
-
init(): void;
|
|
12
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @module track-changes/integrations/inputcommand/inputcommand
|
|
3
|
+
*/
|
|
4
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
5
|
+
import { Input } from 'ckeditor5/src/typing.js';
|
|
6
|
+
/**
|
|
7
|
+
* Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
|
|
8
|
+
*/
|
|
9
|
+
export default class TrackChangesInputCommand extends Plugin {
|
|
10
|
+
static get requires(): readonly [typeof Input];
|
|
11
|
+
init(): void;
|
|
12
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xeefc=['editor','init','requires','input','TrackChangesEditing','get','enableCommand','plugins'];(function(_0x2da0b3,_0xeefcc3){var _0xeca6e=function(_0x534a2e){while(--_0x534a2e){_0x2da0b3['push'](_0x2da0b3['shift']());}};_0xeca6e(++_0xeefcc3);}(_0xeefc,0x123));var _0xeca6=function(_0x2da0b3,_0xeefcc3){_0x2da0b3=_0x2da0b3-0x0;var _0xeca6e=_0xeefc[_0x2da0b3];return _0xeca6e;};import{Plugin as _0x239dd5}from'ckeditor5/src/core.js';import{Input as _0xecd07b}from'ckeditor5/src/typing.js';export default class st extends _0x239dd5{static get[_0xeca6('0x7')](){return[_0xecd07b];}[_0xeca6('0x6')](){this[_0xeca6('0x5')][_0xeca6('0x4')][_0xeca6('0x2')](_0xeca6('0x1'))[_0xeca6('0x3')](_0xeca6('0x0'));}}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module track-changes/integrations/link
|
|
3
|
-
*/
|
|
4
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
5
|
-
/**
|
|
6
|
-
* Provides track changes plugin integration for link feature.
|
|
7
|
-
*/
|
|
8
|
-
export default class TrackChangesLink extends Plugin {
|
|
9
|
-
/**
|
|
10
|
-
* @inheritDoc
|
|
11
|
-
*/
|
|
12
|
-
afterInit(): void;
|
|
13
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @module track-changes/integrations/link
|
|
3
|
+
*/
|
|
4
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
5
|
+
/**
|
|
6
|
+
* Provides track changes plugin integration for link feature.
|
|
7
|
+
*/
|
|
8
|
+
export default class TrackChangesLink extends Plugin {
|
|
9
|
+
/**
|
|
10
|
+
* @inheritDoc
|
|
11
|
+
*/
|
|
12
|
+
afterInit(): void;
|
|
13
|
+
}
|
package/src/integrations/link.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1994=['has','TrackChangesEditing','commandName','link','format','unlink','_descriptionFactory','getFirstRange','getRanges','document','*Remove\x20link*','getAttribute','LinkEditing','hasAttribute','change','isCollapsed','selection','from','markInlineFormat','plugins','getFirstPosition','model','linkHref','editor','*Set\x20link:*\x20%0'];(function(_0x5ac42d,_0x199487){const _0x3d0789=function(_0x3bac08){while(--_0x3bac08){_0x5ac42d['push'](_0x5ac42d['shift']());}};_0x3d0789(++_0x199487);}(_0x1994,0x1e1));const _0x3d07=function(_0x5ac42d,_0x199487){_0x5ac42d=_0x5ac42d-0x0;let _0x3d0789=_0x1994[_0x5ac42d];return _0x3d0789;};import{Plugin as _0x217659}from'ckeditor5/src/core.js';import{findAttributeRange as _0x214a51}from'ckeditor5/src/typing.js';import{getRangesWithAttribute as _0x96171d}from'./utils.js';import{getTranslation as _0x5d8237}from'../utils/common-translations.js';export default class it extends _0x217659{['afterInit'](){const _0x1c21be=this['editor'];if(!_0x1c21be['plugins'][_0x3d07('0x13')](_0x3d07('0x6')))return;const _0x214ff5=_0x1c21be[_0x3d07('0xd')]['get'](_0x3d07('0x14'));_0x214ff5['enableCommand'](_0x3d07('0x16'),(_0x5369ec,_0x33fe83)=>{const _0x323a5b=_0x1c21be[_0x3d07('0xf')][_0x3d07('0x3')]['selection'];let _0x579423=[];if(_0x323a5b[_0x3d07('0x9')]){if(!_0x323a5b[_0x3d07('0x7')](_0x3d07('0x10')))return void _0x5369ec(_0x33fe83);{const _0x1aabe6=_0x214a51(_0x323a5b['getFirstPosition'](),_0x3d07('0x10'),_0x323a5b['getAttribute']('linkHref'),_0x1c21be[_0x3d07('0xf')]);_0x579423=[_0x1aabe6];}}else _0x579423=Array[_0x3d07('0xb')](_0x323a5b[_0x3d07('0x2')]());_0x1c21be[_0x3d07('0xf')][_0x3d07('0x8')](()=>{for(const _0x25fa4f of _0x579423)_0x214ff5[_0x3d07('0xc')](_0x25fa4f,{'commandName':_0x3d07('0x16'),'commandParams':[_0x33fe83]});});}),_0x214ff5['enableCommand']('unlink',()=>{const _0x2a56c6=this[_0x3d07('0x11')]['model'],_0x595e83=_0x2a56c6[_0x3d07('0x3')][_0x3d07('0xa')];_0x2a56c6[_0x3d07('0x8')](()=>{let _0x458f6b=[];if(_0x595e83[_0x3d07('0x9')])_0x458f6b=[_0x214a51(_0x595e83[_0x3d07('0xe')](),'linkHref',_0x595e83[_0x3d07('0x5')](_0x3d07('0x10')),_0x1c21be['model'])];else _0x458f6b=_0x96171d(_0x3d07('0x10'),_0x595e83[_0x3d07('0x1')](),_0x1c21be['model']);for(const _0x44a9fd of _0x458f6b)_0x214ff5[_0x3d07('0xc')](_0x44a9fd,{'commandName':_0x3d07('0x18'),'commandParams':[]});});}),_0x214ff5[_0x3d07('0x0')]['registerDescriptionCallback'](_0x3ad8f6=>{const {data:_0x250c5b}=_0x3ad8f6,_0x574a9f=_0x1c21be['locale'];if(_0x250c5b){if(_0x3d07('0x16')==_0x250c5b[_0x3d07('0x15')]){const _0x192301=_0x250c5b['commandParams'][0x0];return{'type':'format','content':_0x5d8237(_0x574a9f,_0x3d07('0x12'),'\x22'+_0x192301+'\x22')};}return'unlink'==_0x250c5b[_0x3d07('0x15')]?{'type':_0x3d07('0x17'),'content':_0x5d8237(_0x574a9f,_0x3d07('0x4'))}:void 0x0;}});}}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module track-changes/integrations/list
|
|
3
|
-
*/
|
|
4
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
5
|
-
/**
|
|
6
|
-
* Provides track changes plugin integration for list feature.
|
|
7
|
-
*/
|
|
8
|
-
export default class TrackChangesList extends Plugin {
|
|
9
|
-
/**
|
|
10
|
-
* @inheritDoc
|
|
11
|
-
*/
|
|
12
|
-
afterInit(): void;
|
|
13
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @module track-changes/integrations/list
|
|
3
|
+
*/
|
|
4
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
5
|
+
/**
|
|
6
|
+
* Provides track changes plugin integration for list feature.
|
|
7
|
+
*/
|
|
8
|
+
export default class TrackChangesList extends Plugin {
|
|
9
|
+
/**
|
|
10
|
+
* @inheritDoc
|
|
11
|
+
*/
|
|
12
|
+
afterInit(): void;
|
|
13
|
+
}
|
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cf0=['plugins','execute','outdentList','model','value','previousSibling','*Change\x20to:*\x20%0','enableCommand','locale','selection','checkTodoList','_selectedElements','listType','*Indent:*\x20%0','end','*Check\x20item*','TrackChangesEditing','document','ELEMENT_TODO_LIST','element','before','listIndent','change','_descriptionFactory','todoListChecked','registerDescriptionCallback','push','schema','filter','ELEMENT_BULLETED_LIST','markBlockFormat','slice','format','numberedList','name','isObject','getAttribute','registerElementLabel','forceValue','length','ELEMENT_LIST_ITEM','*Uncheck\x20item*','commandParams','has','listItem','add','from','commandName','afterInit','todoList','TodoListEditing','replace','ListEditing','getSelectedBlocks','nextSibling','numbered','get','ELEMENT_NUMBERED_LIST','bulletedList','commands','List'];(function(_0x395c7d,_0x4cf0bf){const _0x367fd0=function(_0x1b1602){while(--_0x1b1602){_0x395c7d['push'](_0x395c7d['shift']());}};_0x367fd0(++_0x4cf0bf);}(_0x4cf0,0x155));const _0x367f=function(_0x395c7d,_0x4cf0bf){_0x395c7d=_0x395c7d-0x0;let _0x367fd0=_0x4cf0[_0x395c7d];return _0x367fd0;};import{Plugin as _0xcf1971}from'ckeditor5/src/core.js';import{getTranslation as _0x2a5c5f}from'../utils/common-translations.js';export default class et extends _0xcf1971{[_0x367f('0xc')](){const _0x4a1125=this['editor'],_0x14647e=_0x4a1125[_0x367f('0x21')];if(!_0x4a1125['plugins'][_0x367f('0x7')](_0x367f('0x10')))return;const _0x89e232=_0x4a1125[_0x367f('0x19')][_0x367f('0x14')](_0x367f('0x29')),_0x25fc0b=_0x4a1125[_0x367f('0x19')][_0x367f('0x7')](_0x367f('0xe'));function _0x1fcd97(_0xbef27d){return()=>{const _0x104c64=_0x4a1125['model'][_0x367f('0x2a')]['selection'],_0x23837f=_0x4a1125[_0x367f('0x17')]['get'](_0xbef27d);if(_0x23837f['value'])return void _0x4a1125[_0x367f('0x1a')]('paragraph',{});const _0x257bc0=_0xbef27d['slice'](0x0,-0x4),_0x2cfb67=function(_0x3bf255,_0x3f7ca5,_0x399f14){let _0x3543fb=Array[_0x367f('0xa')](_0x3bf255)['filter'](_0x5e2d79=>function(_0x35ccc4,_0x23a222){return _0x23a222['checkChild'](_0x35ccc4['parent'],_0x367f('0x8'))&&!_0x23a222[_0x367f('0x3c')](_0x35ccc4);}(_0x5e2d79,_0x399f14));_0x3543fb=_0x3543fb['filter'](_0xa46054=>!_0xa46054['is'](_0x367f('0x2c'),_0x367f('0x8'))||_0xa46054[_0x367f('0x0')](_0x367f('0x25'))!=_0x3f7ca5);const _0x4dfb20=new Set();for(const _0x2c904d of _0x3543fb)_0x2c904d['is'](_0x367f('0x2c'),'listItem')?_0x4dfb20[_0x367f('0x9')](ne(_0x2c904d)):_0x4dfb20[_0x367f('0x9')](_0x2c904d);return Array[_0x367f('0xa')](_0x4dfb20);}(_0x104c64[_0x367f('0x11')](),_0x257bc0,_0x4a1125[_0x367f('0x1c')][_0x367f('0x34')]);_0x4a1125[_0x367f('0x1c')]['change'](()=>{for(const _0x55a970 of _0x2cfb67)_0x89e232['markBlockFormat'](_0x55a970,{'commandName':_0xbef27d,'commandParams':[{'forceValue':!_0x23837f['value']}],'formatGroupId':'blockName'},oe(_0x55a970));});};}function _0x150dcf(_0x23fbe1){return()=>{const _0x56edbb=function(_0x55bb6c){let _0xb6fba1=Array[_0x367f('0xa')](_0x55bb6c);const _0x5ebc1f=_0xb6fba1['findIndex'](_0x51cd61=>_0x367f('0x8')!=_0x51cd61[_0x367f('0x3b')]);return _0x5ebc1f>-0x1&&(_0xb6fba1=_0xb6fba1[_0x367f('0x38')](0x0,_0x5ebc1f)),_0xb6fba1;}(_0x4a1125[_0x367f('0x1c')][_0x367f('0x2a')][_0x367f('0x22')][_0x367f('0x11')]()),_0x6a9948=_0x4a1125[_0x367f('0x1c')]['createRange'](_0x4a1125[_0x367f('0x1c')]['createPositionAt'](_0x56edbb[0x0],_0x367f('0x2d')),_0x4a1125[_0x367f('0x1c')]['createPositionAt'](_0x56edbb[_0x56edbb[_0x367f('0x3')]-0x1],_0x367f('0x27')));_0x4a1125['model'][_0x367f('0x2f')](()=>{_0x89e232[_0x367f('0x37')](_0x6a9948,{'commandName':_0x23fbe1,'commandParams':[],'formatGroupId':'listIndent'},function(_0x41bb61){const _0x21d7f5=new Set();for(const _0x40a9ba of _0x41bb61){let _0x446a35=_0x40a9ba['nextSibling'];for(;_0x446a35&&_0x446a35[_0x367f('0x0')](_0x367f('0x2e'))>_0x40a9ba[_0x367f('0x0')]('listIndent');)_0x21d7f5[_0x367f('0x9')](_0x446a35),_0x446a35=_0x446a35[_0x367f('0x12')];}return Array[_0x367f('0xa')](_0x21d7f5);}(_0x56edbb));});};}_0x89e232[_0x367f('0x20')](_0x367f('0x3a'),_0x1fcd97(_0x367f('0x3a'))),_0x89e232[_0x367f('0x20')](_0x367f('0x16'),_0x1fcd97(_0x367f('0x16'))),_0x25fc0b&&_0x89e232[_0x367f('0x20')](_0x367f('0xd'),_0x1fcd97(_0x367f('0xd'))),_0x89e232[_0x367f('0x20')]('indentList',_0x150dcf('indentList')),_0x89e232[_0x367f('0x20')]('outdentList',_0x150dcf('outdentList')),_0x25fc0b&&_0x89e232[_0x367f('0x20')](_0x367f('0x23'),()=>{const _0x5e6f68=_0x4a1125[_0x367f('0x17')][_0x367f('0x14')](_0x367f('0x23')),_0x58ba7d=Array[_0x367f('0xa')](_0x5e6f68[_0x367f('0x24')]);_0x58ba7d[_0x367f('0x35')](_0x1d9b90=>_0x1d9b90[_0x367f('0x0')](_0x367f('0x31'))!=_0x5e6f68[_0x367f('0x1d')]),_0x4a1125[_0x367f('0x1c')]['change'](()=>{for(const _0x56ce80 of _0x58ba7d)_0x89e232[_0x367f('0x37')](_0x56ce80,{'commandName':_0x367f('0x23'),'commandParams':[{'forceValue':!_0x5e6f68[_0x367f('0x1d')]}]});});}),_0x89e232[_0x367f('0x30')][_0x367f('0x1')](_0x367f('0x8'),_0x518d95=>_0x2a5c5f(_0x14647e,_0x367f('0x4'),_0x518d95)),_0x89e232[_0x367f('0x30')][_0x367f('0x32')](_0x274e2f=>{const {data:_0x3ce5af}=_0x274e2f;if(_0x3ce5af){if('numberedList'==_0x3ce5af[_0x367f('0xb')]||_0x367f('0x16')==_0x3ce5af['commandName']||_0x367f('0xd')==_0x3ce5af[_0x367f('0xb')])switch(_0x3ce5af['commandName'][_0x367f('0xf')](_0x367f('0x18'),'')){case'bulleted':return _0x4c112e(_0x2a5c5f(_0x14647e,_0x367f('0x36')));case _0x367f('0x13'):return _0x4c112e(_0x2a5c5f(_0x14647e,_0x367f('0x15')));case'todo':return _0x4c112e(_0x2a5c5f(_0x14647e,_0x367f('0x2b')));}if('indentList'==_0x3ce5af[_0x367f('0xb')])return{'type':'format','content':_0x2a5c5f(_0x14647e,_0x367f('0x26'),_0x2a5c5f(_0x14647e,_0x367f('0x4')))};if(_0x367f('0x1b')==_0x3ce5af[_0x367f('0xb')])return{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,'*Outdent:*\x20%0',_0x2a5c5f(_0x14647e,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x3ce5af[_0x367f('0xb')])return _0x3ce5af[_0x367f('0x6')][0x0][_0x367f('0x2')]?{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,_0x367f('0x28'))}:{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,_0x367f('0x5'))};}function _0x4c112e(_0x235c8b){return{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,_0x367f('0x1f'),_0x235c8b)};}});}}function ne(_0x381360){const _0x2e03f3=_0x381360['getAttribute'](_0x367f('0x2e'));if(0x0==_0x2e03f3)return _0x381360;let _0x521006=_0x381360;for(;_0x381360[_0x367f('0x1e')]&&_0x381360[_0x367f('0x1e')]['is'](_0x367f('0x2c'),_0x367f('0x8'));){const _0x37a4d0=_0x381360[_0x367f('0x1e')]['getAttribute']('listIndent');if(_0x37a4d0==_0x2e03f3)_0x521006=_0x381360[_0x367f('0x1e')];else{if(_0x37a4d0<_0x2e03f3)break;}_0x381360=_0x381360[_0x367f('0x1e')];}return _0x521006;}function oe(_0x42923a){const _0x21a3ed=[];if(_0x42923a['is'](_0x367f('0x2c'),_0x367f('0x8'))&&_0x42923a[_0x367f('0x0')]('listIndent')>0x0){let _0x514242=_0x42923a['nextSibling'];for(;_0x514242&&_0x367f('0x8')==_0x514242[_0x367f('0x3b')]&&_0x514242[_0x367f('0x0')]('listIndent')==_0x42923a['getAttribute'](_0x367f('0x2e'));)_0x21a3ed[_0x367f('0x33')](_0x514242),_0x514242=_0x514242[_0x367f('0x12')];}return _0x21a3ed;}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module track-changes/integrations/listproperties
|
|
3
|
-
*/
|
|
4
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
5
|
-
import type { Description } from '../suggestiondescriptionfactory';
|
|
6
|
-
import type Suggestion from '../suggestion';
|
|
7
|
-
/**
|
|
8
|
-
* Provides track changes plugin integration for list properties feature.
|
|
9
|
-
*/
|
|
10
|
-
export default class TrackChangesListProperties extends Plugin {
|
|
11
|
-
/**
|
|
12
|
-
* @inheritDoc
|
|
13
|
-
*/
|
|
14
|
-
afterInit(): void;
|
|
15
|
-
handleListStyleCommand(executeCommand: Function, options?: {
|
|
16
|
-
type?: string | null;
|
|
17
|
-
}): void;
|
|
18
|
-
handleListReversedCommand(executeCommand: Function, options?: {
|
|
19
|
-
reversed?: boolean;
|
|
20
|
-
}): void;
|
|
21
|
-
handleListStartCommand(executeCommand: Function, options?: {
|
|
22
|
-
startIndex?: number;
|
|
23
|
-
}): void;
|
|
24
|
-
handleDescriptions(suggestion: Suggestion): Description | undefined;
|
|
25
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @module track-changes/integrations/listproperties
|
|
3
|
+
*/
|
|
4
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
5
|
+
import type { Description } from '../suggestiondescriptionfactory.js';
|
|
6
|
+
import type Suggestion from '../suggestion.js';
|
|
7
|
+
/**
|
|
8
|
+
* Provides track changes plugin integration for list properties feature.
|
|
9
|
+
*/
|
|
10
|
+
export default class TrackChangesListProperties extends Plugin {
|
|
11
|
+
/**
|
|
12
|
+
* @inheritDoc
|
|
13
|
+
*/
|
|
14
|
+
afterInit(): void;
|
|
15
|
+
handleListStyleCommand(executeCommand: Function, options?: {
|
|
16
|
+
type?: string | null;
|
|
17
|
+
}): void;
|
|
18
|
+
handleListReversedCommand(executeCommand: Function, options?: {
|
|
19
|
+
reversed?: boolean;
|
|
20
|
+
}): void;
|
|
21
|
+
handleListStartCommand(executeCommand: Function, options?: {
|
|
22
|
+
startIndex?: number;
|
|
23
|
+
}): void;
|
|
24
|
+
handleDescriptions(suggestion: Suggestion): Description | undefined;
|
|
25
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3919=['format','*Format:*\x20set\x20start\x20index\x20to\x20%0','*Change\x20to:*\x20%0','flat','registerDescriptionCallback','has','numbered','getSelectedBlocks','ListPropertiesEditing','listReversed','_getTranslationKeyForListStyle','handleListStartCommand','element','filter','getAttribute','selection','handleDescriptions','createRange','afterInit','commandParams','_getSuggestionBlocks','createPositionAt','listType','_LIST_','locale','push','getFirstPosition','change','enableCommand','startIndex','ListUtils','length','plugins','model','markMultiRangeBlockFormat','_getSuggestionBlocksForListStyle','replace','unshift','editor','toUpperCase','*Format:*\x20set\x20order\x20to\x20reversed','TrackChangesEditing','getListTypeFromListStyleType','from','forward','config','handleListReversedCommand','reversed','map','get','listStart','getSiblingNodes','listItem','listStyle','type','before','bind','backward','commandName','list.properties','document','*Format:*\x20set\x20order\x20to\x20regular'];(function(_0x42d744,_0x391963){const _0x75318f=function(_0x5959e1){while(--_0x5959e1){_0x42d744['push'](_0x42d744['shift']());}};_0x75318f(++_0x391963);}(_0x3919,0x17d));const _0x7531=function(_0x42d744,_0x391963){_0x42d744=_0x42d744-0x0;let _0x75318f=_0x3919[_0x42d744];return _0x75318f;};import{Plugin as _0x1f1d75}from'ckeditor5/src/core.js';import{getTranslation as _0x1c71e4}from'../utils/common-translations.js';export default class nt extends _0x1f1d75{[_0x7531('0x9')](){if(!this[_0x7531('0x1d')]['plugins'][_0x7531('0x3a')](_0x7531('0x3d')))return;const _0x54ebcb=this[_0x7531('0x1d')][_0x7531('0x24')][_0x7531('0x28')](_0x7531('0x32')),_0x150eb2=this[_0x7531('0x1d')][_0x7531('0x17')][_0x7531('0x28')](_0x7531('0x20'));_0x54ebcb['styles']&&_0x150eb2['enableCommand'](_0x7531('0x2c'),this['handleListStyleCommand']['bind'](this)),_0x54ebcb['reversed']&&_0x150eb2[_0x7531('0x13')](_0x7531('0x0'),this[_0x7531('0x25')][_0x7531('0x2f')](this)),_0x54ebcb[_0x7531('0x14')]&&_0x150eb2[_0x7531('0x13')](_0x7531('0x29'),this[_0x7531('0x2')][_0x7531('0x2f')](this)),_0x150eb2['_descriptionFactory'][_0x7531('0x39')](this[_0x7531('0x7')][_0x7531('0x2f')](this));}['handleListStyleCommand'](_0x582d08,_0x161be9={}){const _0x5105bc=this[_0x7531('0x1d')]['plugins'][_0x7531('0x28')](_0x7531('0x20')),_0x26dc64=this[_0x7531('0x1a')]();this[_0x7531('0x1d')][_0x7531('0x18')]['change'](()=>{_0x5105bc[_0x7531('0x19')](_0x26dc64,{'commandName':_0x7531('0x2c'),'commandParams':[{'type':_0x161be9[_0x7531('0x2d')]}],'formatGroupId':_0x7531('0x2c')});});}['handleListReversedCommand'](_0x243828,_0x5126db={}){const _0x18b388=this[_0x7531('0x1d')][_0x7531('0x17')][_0x7531('0x28')](_0x7531('0x20')),_0x4c2c0d=this['_getSuggestionBlocks'](_0x33461c=>_0x33461c['is'](_0x7531('0x3'),_0x7531('0x2b'))&&_0x7531('0x3b')===_0x33461c[_0x7531('0x5')](_0x7531('0xd')));if(_0x4c2c0d[_0x7531('0x16')]<0x1)return;const _0x5ef3a1=_0x4c2c0d[_0x7531('0x27')](_0x8d3fca=>this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0x8')](this['editor']['model'][_0x7531('0xc')](_0x8d3fca,'before'),this['editor'][_0x7531('0x18')][_0x7531('0xc')](_0x8d3fca,0x0)));this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0x12')](()=>{_0x18b388['markMultiRangeBlockFormat'](_0x5ef3a1,{'commandName':_0x7531('0x0'),'commandParams':[{'reversed':_0x5126db[_0x7531('0x26')]}],'formatGroupId':'listReversed'});});}[_0x7531('0x2')](_0x2695c9,_0xead22f={}){const _0x474b7c=this['editor'][_0x7531('0x17')]['get'](_0x7531('0x20')),_0x54a60a=this[_0x7531('0xb')](_0x1273e1=>_0x1273e1['is']('element',_0x7531('0x2b'))&&_0x7531('0x3b')===_0x1273e1[_0x7531('0x5')](_0x7531('0xd')));if(_0x54a60a[_0x7531('0x16')]<0x1)return;const _0x21efea=_0x54a60a[_0x7531('0x27')](_0x1ad8fc=>this['editor'][_0x7531('0x18')][_0x7531('0x8')](this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0xc')](_0x1ad8fc,_0x7531('0x2e')),this[_0x7531('0x1d')]['model'][_0x7531('0xc')](_0x1ad8fc,0x0)));this['editor'][_0x7531('0x18')][_0x7531('0x12')](()=>{_0x474b7c[_0x7531('0x19')](_0x21efea,{'commandName':'listStart','commandParams':[{'startIndex':_0xead22f[_0x7531('0x14')]}],'formatGroupId':_0x7531('0x29')});});}['handleDescriptions'](_0x497b0e){const _0x3b9d59=this[_0x7531('0x1d')][_0x7531('0xf')],{data:_0x322e6a}=_0x497b0e;if(!_0x322e6a)return;let _0x29ebe0,_0x565dea;switch(_0x322e6a[_0x7531('0x31')]){case _0x7531('0x2c'):_0x29ebe0=_0x7531('0x37'),_0x565dea={'type':_0x7531('0x35'),'content':_0x1c71e4(_0x3b9d59,_0x29ebe0,_0x1c71e4(_0x3b9d59,this[_0x7531('0x1')](_0x322e6a[_0x7531('0xa')][0x0]['type'])))};break;case _0x7531('0x0'):_0x29ebe0=_0x322e6a[_0x7531('0xa')][0x0][_0x7531('0x26')]?_0x7531('0x1f'):_0x7531('0x34'),_0x565dea={'type':_0x7531('0x35'),'content':_0x1c71e4(_0x3b9d59,_0x29ebe0)};break;case _0x7531('0x29'):_0x29ebe0=_0x7531('0x36'),_0x565dea={'type':_0x7531('0x35'),'content':_0x1c71e4(_0x3b9d59,_0x29ebe0,_0x322e6a[_0x7531('0xa')][0x0]['startIndex'])};}return _0x565dea;}[_0x7531('0x1a')](){var _0x4ceaf5,_0x2c0edb,_0x30f4dd,_0xffd7b5;const _0x20834c=this[_0x7531('0x1d')][_0x7531('0x17')]['get']('ListUtils');let _0x4bfd69=Array[_0x7531('0x22')](this['editor']['model'][_0x7531('0x33')][_0x7531('0x6')]['getSelectedBlocks']());return(null===(_0x4ceaf5=_0x4bfd69[0x0])||void 0x0===_0x4ceaf5?void 0x0:_0x4ceaf5['is'](_0x7531('0x3'),_0x7531('0x2b')))&&_0x4bfd69[_0x7531('0x1c')](..._0x20834c[_0x7531('0x2a')](this[_0x7531('0x1d')]['model'][_0x7531('0x33')][_0x7531('0x6')][_0x7531('0x11')](),_0x7531('0x30'))),(null===(_0x2c0edb=_0x4bfd69[_0x4bfd69[_0x7531('0x16')]-0x1])||void 0x0===_0x2c0edb?void 0x0:_0x2c0edb['is'](_0x7531('0x3'),'listItem'))&&_0x4bfd69[_0x7531('0x10')](..._0x20834c['getSiblingNodes'](this['editor'][_0x7531('0x18')]['document'][_0x7531('0x6')]['getLastPosition'](),_0x7531('0x23'))),_0x4bfd69=[...new Set(_0x4bfd69)],(null===(_0xffd7b5=null===(_0x30f4dd=this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0x33')][_0x7531('0x6')][_0x7531('0x11')]())||void 0x0===_0x30f4dd?void 0x0:_0x30f4dd['parent'])||void 0x0===_0xffd7b5?void 0x0:_0xffd7b5['is'](_0x7531('0x3'),_0x7531('0x2b')))&&(_0x4bfd69=_0x4bfd69[_0x7531('0x4')](_0x3536d5=>_0x3536d5['is'](_0x7531('0x3'),'listItem'))),_0x4bfd69;}[_0x7531('0xb')](_0x60c527){const _0x55847f=this[_0x7531('0x1d')][_0x7531('0x17')][_0x7531('0x28')](_0x7531('0x15'));let _0x161f97=Array[_0x7531('0x22')](this['editor'][_0x7531('0x18')][_0x7531('0x33')][_0x7531('0x6')][_0x7531('0x3c')]())[_0x7531('0x4')](_0x60c527)['map'](_0x35796a=>{const _0x54e0fb=this['editor'][_0x7531('0x18')][_0x7531('0xc')](_0x35796a,0x0);return[..._0x55847f[_0x7531('0x2a')](_0x54e0fb,_0x7531('0x30')),..._0x55847f[_0x7531('0x2a')](_0x54e0fb,_0x7531('0x23'))];})[_0x7531('0x38')]();return _0x161f97=[...new Set(_0x161f97)],_0x161f97;}[_0x7531('0x1')](_0x5db9cb){return'ELEMENT_'+this[_0x7531('0x1d')]['plugins'][_0x7531('0x28')]('ListUtils')[_0x7531('0x21')](_0x5db9cb)['toUpperCase']()+_0x7531('0xe')+_0x5db9cb[_0x7531('0x1e')]()[_0x7531('0x1b')](/-/g,'_');}}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module track-changes/integrations/mediaembed
|
|
3
|
-
*/
|
|
4
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
5
|
-
/**
|
|
6
|
-
* Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
|
|
7
|
-
*/
|
|
8
|
-
export default class TrackChangesMediaEmbed extends Plugin {
|
|
9
|
-
/**
|
|
10
|
-
* @inheritDoc
|
|
11
|
-
*/
|
|
12
|
-
afterInit(): void;
|
|
13
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @module track-changes/integrations/mediaembed
|
|
3
|
+
*/
|
|
4
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
5
|
+
/**
|
|
6
|
+
* Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
|
|
7
|
+
*/
|
|
8
|
+
export default class TrackChangesMediaEmbed extends Plugin {
|
|
9
|
+
/**
|
|
10
|
+
* @inheritDoc
|
|
11
|
+
*/
|
|
12
|
+
afterInit(): void;
|
|
13
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d4d=['mediaEmbed','plugins','get','has','showSuggestionHighlights','_descriptionFactory','ELEMENT_MEDIA','MediaEmbedEditing','stop','registerElementLabel','options','editor','downcastDispatcher','div','high','afterInit','createEmptyElement','dataDowncast','TrackChangesEditing'];(function(_0x35bdf4,_0x5d4d31){const _0x542464=function(_0x27a0ec){while(--_0x27a0ec){_0x35bdf4['push'](_0x35bdf4['shift']());}};_0x542464(++_0x5d4d31);}(_0x5d4d,0x145));const _0x5424=function(_0x35bdf4,_0x5d4d31){_0x35bdf4=_0x35bdf4-0x0;let _0x542464=_0x5d4d[_0x35bdf4];return _0x542464;};import{Plugin as _0x153c3b}from'ckeditor5/src/core.js';import{getTranslation as _0xa449fe}from'../utils/common-translations.js';export default class ot extends _0x153c3b{[_0x5424('0xd')](){const _0x216995=this[_0x5424('0x9')];if(!_0x216995[_0x5424('0x12')][_0x5424('0x1')](_0x5424('0x5')))return;const _0x41a7df=_0x216995[_0x5424('0x12')][_0x5424('0x0')](_0x5424('0x10')),_0x228d9e=_0x216995['locale'];_0x41a7df['enableCommand'](_0x5424('0x11')),_0x41a7df[_0x5424('0x3')][_0x5424('0x7')]('media',_0x56042a=>_0xa449fe(_0x228d9e,_0x5424('0x4'),_0x56042a)),_0x216995['conversion']['for'](_0x5424('0xf'))['elementToElement']({'model':'media','view':(_0x5310d7,{writer:_0x5be30a,options:_0x1f1c1c})=>{if(_0x1f1c1c['showSuggestionHighlights'])return _0x5be30a[_0x5424('0xe')](_0x5424('0xb'));},'converterPriority':'high'}),_0x216995['data'][_0x5424('0xa')]['on']('attribute:url:media',(_0xa54720,_0x4e81c5,_0xb16822)=>{_0xb16822[_0x5424('0x8')][_0x5424('0x2')]&&_0xa54720[_0x5424('0x6')]();},{'priority':_0x5424('0xc')});}}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module track-changes/integrations/mention
|
|
3
|
-
*/
|
|
4
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
5
|
-
/**
|
|
6
|
-
* Provides track changes plugin integration for mention feature.
|
|
7
|
-
*/
|
|
8
|
-
export default class TrackChangesMention extends Plugin {
|
|
9
|
-
/**
|
|
10
|
-
* @inheritDoc
|
|
11
|
-
*/
|
|
12
|
-
afterInit(): void;
|
|
13
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @module track-changes/integrations/mention
|
|
3
|
+
*/
|
|
4
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
5
|
+
/**
|
|
6
|
+
* Provides track changes plugin integration for mention feature.
|
|
7
|
+
*/
|
|
8
|
+
export default class TrackChangesMention extends Plugin {
|
|
9
|
+
/**
|
|
10
|
+
* @inheritDoc
|
|
11
|
+
*/
|
|
12
|
+
afterInit(): void;
|
|
13
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cd2=['TrackChangesEditing','MentionEditing','plugins','has','afterInit','enableCommand','editor','get','mention'];(function(_0xe6b7b2,_0x4cd2af){const _0xc506f7=function(_0x2ced91){while(--_0x2ced91){_0xe6b7b2['push'](_0xe6b7b2['shift']());}};_0xc506f7(++_0x4cd2af);}(_0x4cd2,0xa0));const _0xc506=function(_0xe6b7b2,_0x4cd2af){_0xe6b7b2=_0xe6b7b2-0x0;let _0xc506f7=_0x4cd2[_0xe6b7b2];return _0xc506f7;};import{Plugin as _0x266f1c}from'ckeditor5/src/core.js';export default class rt extends _0x266f1c{[_0xc506('0x6')](){const _0x25710f=this[_0xc506('0x8')];_0x25710f['plugins'][_0xc506('0x5')](_0xc506('0x3'))&&_0x25710f[_0xc506('0x4')][_0xc506('0x0')](_0xc506('0x2'))[_0xc506('0x7')](_0xc506('0x1'));}}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module track-changes/integrations/pagebreak
|
|
3
|
-
*/
|
|
4
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
5
|
-
/**
|
|
6
|
-
* Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
|
|
7
|
-
*/
|
|
8
|
-
export default class TrackChangesPageBreak extends Plugin {
|
|
9
|
-
/**
|
|
10
|
-
* @inheritDoc
|
|
11
|
-
*/
|
|
12
|
-
afterInit(): void;
|
|
13
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @module track-changes/integrations/pagebreak
|
|
3
|
+
*/
|
|
4
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
5
|
+
/**
|
|
6
|
+
* Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
|
|
7
|
+
*/
|
|
8
|
+
export default class TrackChangesPageBreak extends Plugin {
|
|
9
|
+
/**
|
|
10
|
+
* @inheritDoc
|
|
11
|
+
*/
|
|
12
|
+
afterInit(): void;
|
|
13
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f2e=['editor','PageBreakEditing','_descriptionFactory','pageBreak','plugins','get','ELEMENT_PAGE_BREAK','registerElementLabel','has','TrackChangesEditing'];(function(_0x3fdf44,_0x4f2e32){const _0x6a08a0=function(_0x3828d6){while(--_0x3828d6){_0x3fdf44['push'](_0x3fdf44['shift']());}};_0x6a08a0(++_0x4f2e32);}(_0x4f2e,0x170));const _0x6a08=function(_0x3fdf44,_0x4f2e32){_0x3fdf44=_0x3fdf44-0x0;let _0x6a08a0=_0x4f2e[_0x3fdf44];return _0x6a08a0;};import{Plugin as _0x4c4144}from'ckeditor5/src/core.js';import{getTranslation as _0x120107}from'../utils/common-translations.js';export default class at extends _0x4c4144{['afterInit'](){const _0x51a33e=this[_0x6a08('0x2')];if(!_0x51a33e[_0x6a08('0x6')][_0x6a08('0x0')](_0x6a08('0x3')))return;_0x51a33e[_0x6a08('0x6')]['get']('TrackChangesEditing')['enableCommand'](_0x6a08('0x5'));const _0x222182=_0x51a33e[_0x6a08('0x6')][_0x6a08('0x7')](_0x6a08('0x1')),_0xc9d994=_0x51a33e['locale'];_0x222182[_0x6a08('0x4')][_0x6a08('0x9')](_0x6a08('0x5'),_0x5b0021=>_0x120107(_0xc9d994,_0x6a08('0x8'),_0x5b0021));}}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module track-changes/integrations/paragraph
|
|
3
|
-
*/
|
|
4
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
5
|
-
/**
|
|
6
|
-
* Provides track changes plugin integration for paragraph feature.
|
|
7
|
-
*/
|
|
8
|
-
export default class TrackChangesParagraph extends Plugin {
|
|
9
|
-
/**
|
|
10
|
-
* @inheritDoc
|
|
11
|
-
*/
|
|
12
|
-
afterInit(): void;
|
|
13
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @module track-changes/integrations/paragraph
|
|
3
|
+
*/
|
|
4
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
5
|
+
/**
|
|
6
|
+
* Provides track changes plugin integration for paragraph feature.
|
|
7
|
+
*/
|
|
8
|
+
export default class TrackChangesParagraph extends Plugin {
|
|
9
|
+
/**
|
|
10
|
+
* @inheritDoc
|
|
11
|
+
*/
|
|
12
|
+
afterInit(): void;
|
|
13
|
+
}
|