@ckeditor/ckeditor5-track-changes 39.0.2 → 40.0.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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/augmentation.d.ts +40 -40
- package/src/commands/acceptsuggestioncommand.d.ts +24 -24
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.d.ts +24 -24
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.d.ts +26 -26
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +16 -16
- package/src/integrations/aiassistant.d.ts +17 -0
- package/src/integrations/aiassistant.js +23 -0
- package/src/integrations/alignment.d.ts +17 -17
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.d.ts +17 -17
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.d.ts +17 -17
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.d.ts +17 -17
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.d.ts +17 -17
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.d.ts +14 -14
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.d.ts +17 -17
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.d.ts +17 -17
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.d.ts +29 -29
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.d.ts +16 -16
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.d.ts +21 -21
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.d.ts +17 -17
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.d.ts +17 -17
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.d.ts +17 -17
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.d.ts +17 -17
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.d.ts +17 -17
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.d.ts +17 -17
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.d.ts +17 -17
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.d.ts +23 -23
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.d.ts +18 -18
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.d.ts +17 -17
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.d.ts +16 -16
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.d.ts +17 -17
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.d.ts +17 -17
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.d.ts +29 -29
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.d.ts +17 -17
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.d.ts +17 -17
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.d.ts +17 -17
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.d.ts +17 -17
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.d.ts +17 -17
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.d.ts +17 -17
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.d.ts +16 -16
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.d.ts +17 -17
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.d.ts +18 -18
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.d.ts +42 -42
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.d.ts +22 -22
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.d.ts +19 -19
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.d.ts +26 -26
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.d.ts +22 -22
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.d.ts +22 -22
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.d.ts +17 -17
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.d.ts +27 -27
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.d.ts +17 -17
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.d.ts +17 -17
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.d.ts +17 -17
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.d.ts +21 -21
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.d.ts +276 -276
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +163 -163
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +244 -244
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +75 -75
- package/src/trackchangesdata.d.ts +41 -41
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +468 -467
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.d.ts +38 -38
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +37 -37
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
- 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 +9 -9
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.d.ts +30 -30
- package/src/utils/utils.js +1 -1
- package/theme/icons/track-changes-accept.svg +1 -1
- package/theme/icons/track-changes-discard.svg +1 -1
- package/theme/icons/track-changes.svg +1 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module track-changes/integrations/listproperties
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import type { Description } from '../suggestiondescriptionfactory';
|
|
10
|
-
import type Suggestion from '../suggestion';
|
|
11
|
-
/**
|
|
12
|
-
* Provides track changes plugin integration for list properties feature.
|
|
13
|
-
*/
|
|
14
|
-
export default class TrackChangesListProperties extends Plugin {
|
|
15
|
-
/**
|
|
16
|
-
* @inheritDoc
|
|
17
|
-
*/
|
|
18
|
-
afterInit(): void;
|
|
19
|
-
handleListStyleCommand(executeCommand: Function, options?: {
|
|
20
|
-
type?: string | null;
|
|
21
|
-
}): void;
|
|
22
|
-
handleListReversedCommand(executeCommand: Function, options?: {
|
|
23
|
-
reversed?: boolean;
|
|
24
|
-
}): void;
|
|
25
|
-
handleListStartCommand(executeCommand: Function, options?: {
|
|
26
|
-
startIndex?: number;
|
|
27
|
-
}): void;
|
|
28
|
-
handleDescriptions(suggestion: Suggestion): Description | undefined;
|
|
29
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/integrations/listproperties
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import type { Description } from '../suggestiondescriptionfactory';
|
|
10
|
+
import type Suggestion from '../suggestion';
|
|
11
|
+
/**
|
|
12
|
+
* Provides track changes plugin integration for list properties feature.
|
|
13
|
+
*/
|
|
14
|
+
export default class TrackChangesListProperties extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
afterInit(): void;
|
|
19
|
+
handleListStyleCommand(executeCommand: Function, options?: {
|
|
20
|
+
type?: string | null;
|
|
21
|
+
}): void;
|
|
22
|
+
handleListReversedCommand(executeCommand: Function, options?: {
|
|
23
|
+
reversed?: boolean;
|
|
24
|
+
}): void;
|
|
25
|
+
handleListStartCommand(executeCommand: Function, options?: {
|
|
26
|
+
startIndex?: number;
|
|
27
|
+
}): void;
|
|
28
|
+
handleDescriptions(suggestion: Suggestion): Description | undefined;
|
|
29
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cd0=['getSelectedBlocks','config','plugins','from','listType','ListPropertiesEditing','enableCommand','TrackChangesEditing','listStyle','styles','ELEMENT_','length','model','markMultiRangeBlockFormat','*Format:*\x20set\x20order\x20to\x20regular','get','flat','handleListStyleCommand','listReversed','map','selection','filter','createRange','has','getAttribute','commandParams','handleListStartCommand','element','getSiblingNodes','parent','*Format:*\x20set\x20order\x20to\x20reversed','getFirstPosition','document','_LIST_','_getSuggestionBlocks','unshift','toUpperCase','handleListReversedCommand','forward','before','push','getLastPosition','startIndex','commandName','listItem','createPositionAt','numbered','locale','ListUtils','_getTranslationKeyForListStyle','listStart','editor','change','backward','afterInit','bind','getListTypeFromListStyleType','type','reversed'];(function(_0x1ea38f,_0x5cd05e){const _0x36564a=function(_0x32d5a4){while(--_0x32d5a4){_0x1ea38f['push'](_0x1ea38f['shift']());}};_0x36564a(++_0x5cd05e);}(_0x5cd0,0xe4));const _0x3656=function(_0x1ea38f,_0x5cd05e){_0x1ea38f=_0x1ea38f-0x0;let _0x36564a=_0x5cd0[_0x1ea38f];return _0x36564a;};import{Plugin as _0x5d4829}from'ckeditor5/src/core';import{getTranslation as _0x4d1a58}from'../utils/common-translations';export default class ot extends _0x5d4829{[_0x3656('0x3')](){if(!this['editor'][_0x3656('0xa')][_0x3656('0x1f')](_0x3656('0xd')))return;const _0x527c9a=this[_0x3656('0x0')][_0x3656('0x9')]['get']('list.properties'),_0x5a7168=this['editor'][_0x3656('0xa')][_0x3656('0x17')](_0x3656('0xf'));_0x527c9a[_0x3656('0x11')]&&_0x5a7168['enableCommand'](_0x3656('0x10'),this[_0x3656('0x19')][_0x3656('0x4')](this)),_0x527c9a[_0x3656('0x7')]&&_0x5a7168[_0x3656('0xe')](_0x3656('0x1a'),this[_0x3656('0x2d')][_0x3656('0x4')](this)),_0x527c9a[_0x3656('0x32')]&&_0x5a7168[_0x3656('0xe')](_0x3656('0x3a'),this[_0x3656('0x22')][_0x3656('0x4')](this)),_0x5a7168['_descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions'][_0x3656('0x4')](this));}[_0x3656('0x19')](_0x58bb72,_0x425503={}){const _0x31a559=this[_0x3656('0x0')][_0x3656('0xa')][_0x3656('0x17')](_0x3656('0xf')),_0x2e214c=this['_getSuggestionBlocksForListStyle']();this[_0x3656('0x0')][_0x3656('0x14')]['change'](()=>{_0x31a559[_0x3656('0x15')](_0x2e214c,{'commandName':_0x3656('0x10'),'commandParams':[{'type':_0x425503[_0x3656('0x6')]}],'formatGroupId':_0x3656('0x10')});});}[_0x3656('0x2d')](_0x2f1cce,_0x120fdf={}){const _0x26dab8=this[_0x3656('0x0')][_0x3656('0xa')][_0x3656('0x17')](_0x3656('0xf')),_0x5b7ef0=this[_0x3656('0x2a')](_0x50dfc6=>_0x50dfc6['is'](_0x3656('0x23'),_0x3656('0x34'))&&'numbered'===_0x50dfc6[_0x3656('0x20')](_0x3656('0xc')));if(_0x5b7ef0[_0x3656('0x13')]<0x1)return;const _0x3b645e=_0x5b7ef0[_0x3656('0x1b')](_0x54f251=>this[_0x3656('0x0')]['model'][_0x3656('0x1e')](this['editor'][_0x3656('0x14')][_0x3656('0x35')](_0x54f251,_0x3656('0x2f')),this[_0x3656('0x0')][_0x3656('0x14')][_0x3656('0x35')](_0x54f251,0x0)));this[_0x3656('0x0')]['model'][_0x3656('0x1')](()=>{_0x26dab8[_0x3656('0x15')](_0x3b645e,{'commandName':'listReversed','commandParams':[{'reversed':_0x120fdf[_0x3656('0x7')]}],'formatGroupId':_0x3656('0x1a')});});}[_0x3656('0x22')](_0x530f53,_0x40de11={}){const _0x35341=this['editor'][_0x3656('0xa')][_0x3656('0x17')](_0x3656('0xf')),_0x47b1a9=this[_0x3656('0x2a')](_0x3ce521=>_0x3ce521['is'](_0x3656('0x23'),_0x3656('0x34'))&&_0x3656('0x36')===_0x3ce521[_0x3656('0x20')](_0x3656('0xc')));if(_0x47b1a9['length']<0x1)return;const _0x4cb2e7=_0x47b1a9[_0x3656('0x1b')](_0x1888ae=>this[_0x3656('0x0')]['model'][_0x3656('0x1e')](this['editor'][_0x3656('0x14')][_0x3656('0x35')](_0x1888ae,'before'),this[_0x3656('0x0')][_0x3656('0x14')][_0x3656('0x35')](_0x1888ae,0x0)));this['editor'][_0x3656('0x14')][_0x3656('0x1')](()=>{_0x35341[_0x3656('0x15')](_0x4cb2e7,{'commandName':_0x3656('0x3a'),'commandParams':[{'startIndex':_0x40de11[_0x3656('0x32')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0xf3b030){const _0x2959cb=this['editor'][_0x3656('0x37')],{data:_0x5f2119}=_0xf3b030;if(!_0x5f2119)return;let _0x2129d3,_0x4f4f79;switch(_0x5f2119[_0x3656('0x33')]){case _0x3656('0x10'):_0x2129d3='*Change\x20to:*\x20%0',_0x4f4f79={'type':'format','content':_0x4d1a58(_0x2959cb,_0x2129d3,_0x4d1a58(_0x2959cb,this[_0x3656('0x39')](_0x5f2119[_0x3656('0x21')][0x0][_0x3656('0x6')])))};break;case'listReversed':_0x2129d3=_0x5f2119[_0x3656('0x21')][0x0]['reversed']?_0x3656('0x26'):_0x3656('0x16'),_0x4f4f79={'type':'format','content':_0x4d1a58(_0x2959cb,_0x2129d3)};break;case _0x3656('0x3a'):_0x2129d3='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x4f4f79={'type':'format','content':_0x4d1a58(_0x2959cb,_0x2129d3,_0x5f2119['commandParams'][0x0][_0x3656('0x32')])};}return _0x4f4f79;}['_getSuggestionBlocksForListStyle'](){var _0x11b692,_0x88e746,_0x27ed34,_0x1f7436;const _0xc2ef8b=this[_0x3656('0x0')][_0x3656('0xa')][_0x3656('0x17')]('ListUtils');let _0x530d57=Array['from'](this[_0x3656('0x0')]['model']['document'][_0x3656('0x1c')][_0x3656('0x8')]());return(null===(_0x11b692=_0x530d57[0x0])||void 0x0===_0x11b692?void 0x0:_0x11b692['is'](_0x3656('0x23'),'listItem'))&&_0x530d57[_0x3656('0x2b')](..._0xc2ef8b[_0x3656('0x24')](this[_0x3656('0x0')][_0x3656('0x14')]['document'][_0x3656('0x1c')][_0x3656('0x27')](),_0x3656('0x2'))),(null===(_0x88e746=_0x530d57[_0x530d57[_0x3656('0x13')]-0x1])||void 0x0===_0x88e746?void 0x0:_0x88e746['is']('element',_0x3656('0x34')))&&_0x530d57[_0x3656('0x30')](..._0xc2ef8b[_0x3656('0x24')](this[_0x3656('0x0')][_0x3656('0x14')][_0x3656('0x28')]['selection'][_0x3656('0x31')](),'forward')),_0x530d57=[...new Set(_0x530d57)],(null===(_0x1f7436=null===(_0x27ed34=this[_0x3656('0x0')][_0x3656('0x14')][_0x3656('0x28')]['selection']['getFirstPosition']())||void 0x0===_0x27ed34?void 0x0:_0x27ed34[_0x3656('0x25')])||void 0x0===_0x1f7436?void 0x0:_0x1f7436['is']('element',_0x3656('0x34')))&&(_0x530d57=_0x530d57[_0x3656('0x1d')](_0x59eecd=>_0x59eecd['is'](_0x3656('0x23'),_0x3656('0x34')))),_0x530d57;}[_0x3656('0x2a')](_0x5b4e8f){const _0x5284e6=this[_0x3656('0x0')][_0x3656('0xa')][_0x3656('0x17')]('ListUtils');let _0x13be57=Array[_0x3656('0xb')](this[_0x3656('0x0')][_0x3656('0x14')][_0x3656('0x28')][_0x3656('0x1c')]['getSelectedBlocks']())[_0x3656('0x1d')](_0x5b4e8f)[_0x3656('0x1b')](_0xcfae92=>{const _0x2c7185=this[_0x3656('0x0')]['model'][_0x3656('0x35')](_0xcfae92,0x0);return[..._0x5284e6['getSiblingNodes'](_0x2c7185,'backward'),..._0x5284e6['getSiblingNodes'](_0x2c7185,_0x3656('0x2e'))];})[_0x3656('0x18')]();return _0x13be57=[...new Set(_0x13be57)],_0x13be57;}[_0x3656('0x39')](_0xd31602){return _0x3656('0x12')+this[_0x3656('0x0')][_0x3656('0xa')][_0x3656('0x17')](_0x3656('0x38'))[_0x3656('0x5')](_0xd31602)[_0x3656('0x2c')]()+_0x3656('0x29')+_0xd31602[_0x3656('0x2c')]()['replace'](/-/g,'_');}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module track-changes/integrations/mediaembed
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesMediaEmbed extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/integrations/mediaembed
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesMediaEmbed extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16ab=['enableCommand','media','showSuggestionHighlights','MediaEmbedEditing','options','high','data','plugins','afterInit','stop','attribute:url:media','get','ELEMENT_MEDIA','dataDowncast','conversion','registerElementLabel'];(function(_0x55fcc5,_0x16ab18){const _0x218212=function(_0x128c18){while(--_0x128c18){_0x55fcc5['push'](_0x55fcc5['shift']());}};_0x218212(++_0x16ab18);}(_0x16ab,0x1cd));const _0x2182=function(_0x55fcc5,_0x16ab18){_0x55fcc5=_0x55fcc5-0x0;let _0x218212=_0x16ab[_0x55fcc5];return _0x218212;};import{Plugin as _0x5702b7}from'ckeditor5/src/core';import{getTranslation as _0x17ea61}from'../utils/common-translations';export default class rt extends _0x5702b7{[_0x2182('0xb')](){const _0x272b5b=this['editor'];if(!_0x272b5b[_0x2182('0xa')]['has'](_0x2182('0x6')))return;const _0x171fcc=_0x272b5b['plugins'][_0x2182('0xe')]('TrackChangesEditing'),_0x13829c=_0x272b5b['locale'];_0x171fcc[_0x2182('0x3')]('mediaEmbed'),_0x171fcc['_descriptionFactory'][_0x2182('0x2')](_0x2182('0x4'),_0x158a52=>_0x17ea61(_0x13829c,_0x2182('0xf'),_0x158a52)),_0x272b5b[_0x2182('0x1')]['for'](_0x2182('0x0'))['elementToElement']({'model':_0x2182('0x4'),'view':(_0x38dc12,{writer:_0x31158e,options:_0x31c587})=>{if(_0x31c587[_0x2182('0x5')])return _0x31158e['createEmptyElement']('div');},'converterPriority':'high'}),_0x272b5b[_0x2182('0x9')]['downcastDispatcher']['on'](_0x2182('0xd'),(_0x191f52,_0x3ec261,_0x28ea3b)=>{_0x28ea3b[_0x2182('0x7')][_0x2182('0x5')]&&_0x191f52[_0x2182('0xc')]();},{'priority':_0x2182('0x8')});}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module track-changes/integrations/mention
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for mention feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesMention extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/integrations/mention
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for mention feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesMention extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2773=['has','mention','editor','get','TrackChangesEditing','MentionEditing','plugins'];(function(_0x26c123,_0x2773cf){const _0x522a5c=function(_0x34c510){while(--_0x34c510){_0x26c123['push'](_0x26c123['shift']());}};_0x522a5c(++_0x2773cf);}(_0x2773,0x106));const _0x522a=function(_0x26c123,_0x2773cf){_0x26c123=_0x26c123-0x0;let _0x522a5c=_0x2773[_0x26c123];return _0x522a5c;};import{Plugin as _0x4b4e02}from'ckeditor5/src/core';export default class at extends _0x4b4e02{['afterInit'](){const _0x195332=this[_0x522a('0x6')];_0x195332[_0x522a('0x3')][_0x522a('0x4')](_0x522a('0x2'))&&_0x195332['plugins'][_0x522a('0x0')](_0x522a('0x1'))['enableCommand'](_0x522a('0x5'));}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module track-changes/integrations/pagebreak
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesPageBreak extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/integrations/pagebreak
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesPageBreak extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a14=['enableCommand','editor','afterInit','get','locale','TrackChangesEditing','pageBreak','registerElementLabel','plugins'];(function(_0xafe4ff,_0x1a14ae){const _0xd34449=function(_0x23de4f){while(--_0x23de4f){_0xafe4ff['push'](_0xafe4ff['shift']());}};_0xd34449(++_0x1a14ae);}(_0x1a14,0x92));const _0xd344=function(_0xafe4ff,_0x1a14ae){_0xafe4ff=_0xafe4ff-0x0;let _0xd34449=_0x1a14[_0xafe4ff];return _0xd34449;};import{Plugin as _0x561149}from'ckeditor5/src/core';import{getTranslation as _0x32e5ca}from'../utils/common-translations';export default class ct extends _0x561149{[_0xd344('0x0')](){const _0x2a43af=this[_0xd344('0x8')];if(!_0x2a43af[_0xd344('0x6')]['has']('PageBreakEditing'))return;_0x2a43af[_0xd344('0x6')][_0xd344('0x1')](_0xd344('0x3'))[_0xd344('0x7')](_0xd344('0x4'));const _0x3469e3=_0x2a43af['plugins'][_0xd344('0x1')](_0xd344('0x3')),_0x436848=_0x2a43af[_0xd344('0x2')];_0x3469e3['_descriptionFactory'][_0xd344('0x5')](_0xd344('0x4'),_0x2493ff=>_0x32e5ca(_0x436848,'ELEMENT_PAGE_BREAK',_0x2493ff));}}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module track-changes/integrations/paragraph
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for paragraph feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesParagraph extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/integrations/paragraph
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for paragraph feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesParagraph extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x184f=['ck-suggestion-marker--active','mapper','document','filter','plugins','from','locale','toViewPosition','get','has','writer','TrackChangesEditing','parent','markerRange','enableCommand','bindElementToMarker','getFirstRange','change','schema','commandName','markBlockFormat','nodeAfter','end','markerName','ELEMENT_PARAGRAPH','insertParagraph','Paragraph','*Insert:*\x20%0','editor','_descriptionFactory','isTouching','getItemLabel','includes','addMarker:suggestion:insertion','model','paragraph','data','downcastDispatcher','showSuggestionHighlights','addClass','format','isLimit','registerElementLabel','name','registerDescriptionCallback','editing','getSelectedBlocks','blockName','consumable','checkChild','highest'];(function(_0x39507a,_0x184f68){const _0x3808e2=function(_0x59d191){while(--_0x59d191){_0x39507a['push'](_0x39507a['shift']());}};_0x3808e2(++_0x184f68);}(_0x184f,0x154));const _0x3808=function(_0x39507a,_0x184f68){_0x39507a=_0x39507a-0x0;let _0x3808e2=_0x184f[_0x39507a];return _0x3808e2;};import{Plugin as _0x2924c6}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x310c0b}from'./utils';import{getTranslation as _0x9b139b}from'../utils/common-translations';export default class ht extends _0x2924c6{['afterInit'](){const _0xbc58a0=this[_0x3808('0x2d')];if(!_0xbc58a0[_0x3808('0x15')][_0x3808('0x1a')](_0x3808('0x2b')))return;const _0xb77098=_0xbc58a0[_0x3808('0x17')],_0x3fc406=_0xbc58a0[_0x3808('0x15')][_0x3808('0x19')](_0x3808('0x1c'));_0x3fc406[_0x3808('0x2e')][_0x3808('0x8')](_0x3808('0x1'),_0x22b5a2=>_0x9b139b(_0xb77098,_0x3808('0x29'),_0x22b5a2)),_0x3fc406['enableCommand'](_0x3808('0x1'),(_0x44c3cc,_0xf89b92={})=>{const _0x187881=_0xbc58a0[_0x3808('0x0')][_0x3808('0x13')],_0x3b1971=_0xf89b92['selection']||_0x187881['selection'],_0x3944ef=Array[_0x3808('0x16')](_0x3b1971[_0x3808('0xc')]())[_0x3808('0x14')](_0x7b8395=>function(_0x4993b8,_0x25f4ea){return _0x25f4ea['checkChild'](_0x4993b8[_0x3808('0x1d')],_0x3808('0x1'))&&!_0x25f4ea['isObject'](_0x4993b8)&&_0x3808('0x1')!=_0x4993b8[_0x3808('0x9')];}(_0x7b8395,this['editor'][_0x3808('0x0')][_0x3808('0x23')]));_0xbc58a0[_0x3808('0x0')][_0x3808('0x22')](()=>{for(const _0x5aaaf8 of _0x3944ef)_0x3fc406[_0x3808('0x25')](_0x5aaaf8,{'commandName':_0x3808('0x1'),'commandParams':[],'formatGroupId':_0x3808('0xd')},_0x310c0b(_0x5aaaf8));});}),_0x3fc406[_0x3808('0x2e')][_0x3808('0xa')](_0x33e301=>{const {data:_0x152550}=_0x33e301;if(_0x152550&&_0x3808('0x1')==_0x152550[_0x3808('0x24')])return{'type':_0x3808('0x6'),'content':_0x9b139b(_0xb77098,'*Change\x20to:*\x20%0',_0x9b139b(_0xb77098,_0x3808('0x29')))};}),_0x3fc406[_0x3808('0x1f')](_0x3808('0x2a')),_0xbc58a0[_0x3808('0xb')][_0x3808('0x3')]['on']('addMarker:suggestion:insertion',ar(_0xbc58a0),{'priority':_0x3808('0x10')}),_0xbc58a0[_0x3808('0x2')]['downcastDispatcher']['on'](_0x3808('0x32'),(_0x2a37f5,_0x1f8e2b,_0x575e5f)=>{_0x575e5f['options'][_0x3808('0x4')]&&ar(_0xbc58a0,{'showActiveMarker':!0x1})(_0x2a37f5,_0x1f8e2b,_0x575e5f);},{'priority':_0x3808('0x10')});const _0x162f76=_0x3fc406[_0x3808('0x2e')];_0x162f76['registerDescriptionCallback'](_0x25de07=>{if('insertion'!==_0x25de07['type'])return;const {start:_0xc952d3,end:_0x160194}=_0x25de07[_0x3808('0x21')]();if(!_0xc952d3[_0x3808('0x2f')](_0x160194)||!_0xc952d3[_0x3808('0x26')])return;const _0x540d36=_0xbc58a0[_0x3808('0x0')]['schema'],_0x35bf6c=_0xc952d3[_0x3808('0x26')];return _0x540d36['isBlock'](_0x35bf6c)&&!_0x540d36[_0x3808('0x7')](_0x35bf6c)&&_0x540d36[_0x3808('0xf')](_0x35bf6c,'$text')?{'type':'insertion','content':_0x9b139b(_0xb77098,_0x3808('0x2c'),_0x162f76[_0x3808('0x30')](_0x35bf6c,0x1))}:void 0x0;});}}function ar(_0x14e542,{showActiveMarker:_0x243b36=!0x0}={}){return(_0x305275,_0x168978,_0x39940d)=>{const _0x5db57b=_0x14e542[_0x3808('0x15')]['get'](_0x3808('0x1c')),_0x11f00a=_0x168978[_0x3808('0x1e')]['start'],_0x216d1b=_0x168978[_0x3808('0x1e')][_0x3808('0x27')],_0x3cd5ed=_0x14e542[_0x3808('0x0')][_0x3808('0x23')];if(!_0x11f00a[_0x3808('0x2f')](_0x216d1b)||!_0x11f00a[_0x3808('0x26')])return;const _0x5a93a=_0x11f00a[_0x3808('0x26')];if(_0x3cd5ed['isBlock'](_0x5a93a)&&!_0x3cd5ed[_0x3808('0x7')](_0x5a93a)&&_0x3cd5ed[_0x3808('0xf')](_0x5a93a,'$text')){if(!_0x39940d[_0x3808('0xe')]['consume'](_0x168978[_0x3808('0x1e')],_0x305275[_0x3808('0x9')]))return;const _0xedb300=_0x39940d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split'}),_0x5673e3=_0x39940d[_0x3808('0x12')][_0x3808('0x18')](_0x216d1b);_0x243b36&&_0x5db57b['activeMarkers'][_0x3808('0x31')](_0x168978['markerName'])&&_0x39940d[_0x3808('0x1b')][_0x3808('0x5')](_0x3808('0x11'),_0xedb300),_0x39940d[_0x3808('0x1b')]['insert'](_0x5673e3,_0xedb300),_0x39940d[_0x3808('0x12')][_0x3808('0x20')](_0xedb300,_0x168978[_0x3808('0x28')]);}};}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module track-changes/integrations/removeformat
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for remove format feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesRemoveFormat extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/integrations/removeformat
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for remove format feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesRemoveFormat extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc9c3=['_descriptionFactory','registerDescriptionCallback','markInlineFormat','model','isFormatting','TrackChangesEditing','has','plugins','*Remove\x20all\x20formatting*','get','isCollapsed','editor','getRanges','createRangeOn','schema','from','removeFormat','commandName','getAttributeProperties'];(function(_0x4bc184,_0xc9c34a){const _0x1f36fc=function(_0xbe7513){while(--_0xbe7513){_0x4bc184['push'](_0x4bc184['shift']());}};_0x1f36fc(++_0xc9c34a);}(_0xc9c3,0x1a2));const _0x1f36=function(_0x4bc184,_0xc9c34a){_0x4bc184=_0x4bc184-0x0;let _0x1f36fc=_0xc9c3[_0x4bc184];return _0x1f36fc;};import{Plugin as _0x24276f}from'ckeditor5/src/core';import{getTranslation as _0x5d4cfa}from'../utils/common-translations';export default class ut extends _0x24276f{['afterInit'](){const _0x19ff69=this[_0x1f36('0xb')];if(!_0x19ff69['plugins'][_0x1f36('0x6')]('RemoveFormatEditing'))return;const _0x5638f3=_0x19ff69[_0x1f36('0x7')][_0x1f36('0x9')](_0x1f36('0x5'));_0x5638f3['enableCommand'](_0x1f36('0x10'),_0x5f3731=>{const _0x31db09=_0x19ff69[_0x1f36('0x3')]['document']['selection'];_0x31db09[_0x1f36('0xa')]?_0x5f3731():_0x19ff69[_0x1f36('0x3')]['change'](()=>{const _0x4f1a43=Array[_0x1f36('0xf')](_0x31db09[_0x1f36('0xc')]());for(const _0x5c551d of _0x4f1a43)for(const _0x587f1b of _0x5c551d['getItems']())mo(_0x587f1b,_0x19ff69[_0x1f36('0x3')][_0x1f36('0xe')])&&_0x5638f3[_0x1f36('0x2')](_0x19ff69['model'][_0x1f36('0xd')](_0x587f1b),{'commandName':_0x1f36('0x10'),'commandParams':[]});});}),_0x5638f3[_0x1f36('0x0')][_0x1f36('0x1')](_0x3bcc37=>{const {data:_0x5e371d}=_0x3bcc37;if(_0x5e371d&&'removeFormat'==_0x5e371d[_0x1f36('0x11')])return{'type':'format','content':_0x5d4cfa(_0x19ff69['locale'],_0x1f36('0x8'))};});}}function mo(_0x38dfd0,_0x38169a){for(const [_0x44e462]of _0x38dfd0['getAttributes']()){const _0x2564fa=_0x38169a[_0x1f36('0x12')](_0x44e462);if(_0x2564fa&&_0x2564fa[_0x1f36('0x4')])return!0x0;}return!0x1;}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module track-changes/integrations/mention
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesRestrictedEditingMode extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/integrations/mention
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesRestrictedEditingMode extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43b5=['goToNextRestrictedEditingException','acceptAllSuggestions','plugins','discardAllSuggestions','acceptSelectedSuggestions','enableCommand','afterInit','goToPreviousRestrictedEditingException','discardSelectedSuggestions','RestrictedEditingModeEditing','editor','trackChanges','get'];(function(_0x2891eb,_0x43b525){const _0x3016ec=function(_0x727cd6){while(--_0x727cd6){_0x2891eb['push'](_0x2891eb['shift']());}};_0x3016ec(++_0x43b525);}(_0x43b5,0x10e));const _0x3016=function(_0x2891eb,_0x43b525){_0x2891eb=_0x2891eb-0x0;let _0x3016ec=_0x43b5[_0x2891eb];return _0x3016ec;};import{Plugin as _0x162a7d}from'ckeditor5/src/core';export default class ft extends _0x162a7d{[_0x3016('0x9')](){const _0x33b16e=this[_0x3016('0x0')];if(!_0x33b16e[_0x3016('0x5')]['has'](_0x3016('0xc')))return;const _0x40bdb5=_0x33b16e['plugins'][_0x3016('0x2')]('TrackChangesEditing');_0x40bdb5[_0x3016('0x8')](_0x3016('0xa')),_0x40bdb5[_0x3016('0x8')](_0x3016('0x3'));const _0x313095=_0x33b16e['plugins'][_0x3016('0x2')](_0x3016('0xc'));_0x313095[_0x3016('0x8')](_0x3016('0x1')),_0x313095[_0x3016('0x8')]('acceptSuggestion'),_0x313095[_0x3016('0x8')]('discardSuggestion'),_0x313095['enableCommand'](_0x3016('0x4')),_0x313095['enableCommand'](_0x3016('0x6')),_0x313095[_0x3016('0x8')](_0x3016('0x7')),_0x313095[_0x3016('0x8')](_0x3016('0xb'));}}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module track-changes/integrations/shiftentercommand
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { ShiftEnter } from 'ckeditor5/src/enter';
|
|
10
|
-
/**
|
|
11
|
-
* Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
|
|
12
|
-
*/
|
|
13
|
-
export default class TrackChangesShiftEnterCommand extends Plugin {
|
|
14
|
-
static get requires(): readonly [typeof ShiftEnter];
|
|
15
|
-
init(): void;
|
|
16
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/integrations/shiftentercommand
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { ShiftEnter } from 'ckeditor5/src/enter';
|
|
10
|
+
/**
|
|
11
|
+
* Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
|
|
12
|
+
*/
|
|
13
|
+
export default class TrackChangesShiftEnterCommand extends Plugin {
|
|
14
|
+
static get requires(): readonly [typeof ShiftEnter];
|
|
15
|
+
init(): void;
|
|
16
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31e6=['activeMarkers','addMarker:suggestion:deletion','_descriptionFactory','merge','get','split','ck-suggestion-marker-','mapper','TrackChangesEditing','init','ck-suggestion-marker--active','shiftEnter','createPositionBefore','writer','requires','consumable','options','test','span','addMarker:suggestion:insertion','showSuggestionHighlights','includes','editor','markerName','plugins','createUIElement','locale','markerRange','element','addClass','getItems','softBreak','registerElementLabel','editing','data','bindElementToMarker','downcastDispatcher','high'];(function(_0x298a80,_0x31e6e1){const _0x4fbcd8=function(_0x38bed6){while(--_0x38bed6){_0x298a80['push'](_0x298a80['shift']());}};_0x4fbcd8(++_0x31e6e1);}(_0x31e6,0x112));const _0x4fbc=function(_0x298a80,_0x31e6e1){_0x298a80=_0x298a80-0x0;let _0x4fbcd8=_0x31e6[_0x298a80];return _0x4fbcd8;};import{Plugin as _0x22b46c}from'ckeditor5/src/core';import{ShiftEnter as _0x3226a4}from'ckeditor5/src/enter';import{getTranslation as _0x2ed43d}from'../utils/common-translations';export default class lt extends _0x22b46c{static get[_0x4fbc('0x6')](){return[_0x3226a4];}[_0x4fbc('0x1')](){const _0x55c20a=this[_0x4fbc('0xe')],_0x3a394d=_0x55c20a['plugins'][_0x4fbc('0x22')]('TrackChangesEditing');_0x3a394d['enableCommand'](_0x4fbc('0x3')),_0x55c20a[_0x4fbc('0x19')][_0x4fbc('0x1c')]['on'](_0x4fbc('0xb'),re(_0x55c20a),{'priority':_0x4fbc('0x1d')}),_0x55c20a[_0x4fbc('0x19')][_0x4fbc('0x1c')]['on'](_0x4fbc('0x1f'),re(_0x55c20a),{'priority':'high'}),_0x55c20a[_0x4fbc('0x1a')][_0x4fbc('0x1c')]['on']('addMarker:suggestion',(_0x55d850,_0x4ff5fb,_0x13127d)=>{_0x13127d[_0x4fbc('0x8')][_0x4fbc('0xc')]&&re(_0x55c20a,{'showActiveMarker':!0x1})(_0x55d850,_0x4ff5fb,_0x13127d);}),_0x3a394d[_0x4fbc('0x20')][_0x4fbc('0x18')](_0x4fbc('0x17'),_0x774580=>_0x2ed43d(_0x55c20a[_0x4fbc('0x12')],'ELEMENT_LINE_BREAK',_0x774580));}}function re(_0x31d4ed,{showActiveMarker:_0x5e80f3=!0x0}={}){return(_0x139647,_0xdbe05f,_0x3705d6)=>{const _0x219947=_0x31d4ed[_0x4fbc('0x10')][_0x4fbc('0x22')](_0x4fbc('0x0'));if(!_0x3705d6[_0x4fbc('0x7')][_0x4fbc('0x9')](_0xdbe05f['markerRange'],_0x139647['name']))return;const _0x5357cb=_0x31d4ed['model'];for(const _0x201949 of _0xdbe05f[_0x4fbc('0x13')][_0x4fbc('0x16')]()){if(!_0x201949['is'](_0x4fbc('0x14'),_0x4fbc('0x17')))continue;const _0x2a6d03='deletion'==_0xdbe05f[_0x4fbc('0xf')][_0x4fbc('0x23')](':')[0x1]?_0x4fbc('0x21'):_0x4fbc('0x23'),_0x50a9d2=_0x3705d6[_0x4fbc('0x5')][_0x4fbc('0x11')](_0x4fbc('0xa'),{'class':_0x4fbc('0x24')+_0x2a6d03}),_0x346169=_0x3705d6['mapper']['toViewPosition'](_0x5357cb[_0x4fbc('0x4')](_0x201949));_0x5e80f3&&_0x219947[_0x4fbc('0x1e')][_0x4fbc('0xd')](_0xdbe05f[_0x4fbc('0xf')])&&_0x3705d6[_0x4fbc('0x5')][_0x4fbc('0x15')](_0x4fbc('0x2'),_0x50a9d2),_0x3705d6[_0x4fbc('0x5')]['insert'](_0x346169,_0x50a9d2),_0x3705d6[_0x4fbc('0x25')][_0x4fbc('0x1b')](_0x50a9d2,_0xdbe05f['markerName']);}};}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module track-changes/integrations/mention
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for standard editing mode feature from restricted editing package.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesStandardEditingMode extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/integrations/mention
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for standard editing mode feature from restricted editing package.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesStandardEditingMode extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|