@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,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/entercommand
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { Enter } from 'ckeditor5/src/enter';
|
|
10
|
-
/**
|
|
11
|
-
* Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
|
|
12
|
-
*/
|
|
13
|
-
export default class TrackChangesEnterCommand extends Plugin {
|
|
14
|
-
static get requires(): readonly [typeof Enter];
|
|
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/entercommand
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { Enter } from 'ckeditor5/src/enter';
|
|
10
|
+
/**
|
|
11
|
+
* Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
|
|
12
|
+
*/
|
|
13
|
+
export default class TrackChangesEnterCommand extends Plugin {
|
|
14
|
+
static get requires(): readonly [typeof Enter];
|
|
15
|
+
init(): void;
|
|
16
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59b4=['editing','selection','createPositionAt','parent','enter','afterExecute','split','init','model','mapper','plugins','commands','createRange','unbindElementFromMarkerName','writer','fromRange','ck-suggestion-marker-split','get','data','downcastDispatcher','nextSibling','detach','enterBlock','bind','markerName','getFirstPosition','high','addMarker:suggestion:insertion','remove','requires','fire','hasClass','change','removeMarker:suggestion:insertion'];(function(_0x5636c7,_0x59b49c){const _0x580f5f=function(_0x5ed382){while(--_0x5ed382){_0x5636c7['push'](_0x5636c7['shift']());}};_0x580f5f(++_0x59b49c);}(_0x59b4,0x1ce));const _0x580f=function(_0x5636c7,_0x59b49c){_0x5636c7=_0x5636c7-0x0;let _0x580f5f=_0x59b4[_0x5636c7];return _0x580f5f;};import{Plugin as _0xa0a10}from'ckeditor5/src/core';import{Enter as _0x24ec86}from'ckeditor5/src/enter';import{LiveRange as _0x280430}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xa5c2ec}from'./utils';export default class z extends _0xa0a10{static get[_0x580f('0x9')](){return[_0x24ec86];}[_0x580f('0x15')](){const _0x22b64a=this['editor'],_0x4ec262=_0x22b64a[_0x580f('0x18')][_0x580f('0x1f')]('TrackChangesEditing'),_0xd889=_0x22b64a[_0x580f('0x19')][_0x580f('0x1f')](_0x580f('0x12'));_0x4ec262['enableCommand'](_0x580f('0x12'),()=>{_0x22b64a[_0x580f('0x16')][_0x580f('0xc')](_0x13fec7=>{const _0x5a00c1=_0x22b64a[_0x580f('0x16')]['document'][_0x580f('0xf')],_0x57121f=_0x5a00c1[_0x580f('0x5')](),_0x3844c2=_0x280430[_0x580f('0x1d')](_0x5a00c1['getFirstRange']());if(_0xd889[_0x580f('0x2')](_0x13fec7)){const _0x3bc751=_0x22b64a['model'][_0x580f('0x10')](_0x57121f[_0x580f('0x11')][_0x580f('0x0')],0x0),_0x47d231=_0x13fec7['createRange'](_0x57121f,_0x3bc751);_0x4ec262['markInsertion'](_0x47d231);}else _0x13fec7['setSelection'](_0x13fec7[_0x580f('0x1a')](_0x3844c2['end']));_0x3844c2[_0x580f('0x1')](),_0xd889[_0x580f('0xa')](_0x580f('0x13'),{'writer':_0x13fec7});});}),_0x22b64a[_0x580f('0xe')][_0x580f('0x21')]['on'](_0x580f('0x7'),_0xa5c2ec(_0x22b64a,_0x580f('0x14')),{'priority':_0x580f('0x6')}),_0x22b64a[_0x580f('0xe')][_0x580f('0x21')]['on'](_0x580f('0xd'),(_0x1af01f,_0x460825,_0x4f5f64)=>{const _0xaf94af=_0x4f5f64[_0x580f('0x17')]['markerNameToElements'](_0x460825['markerName']);if(_0xaf94af)for(const _0x53622b of _0xaf94af)_0x53622b[_0x580f('0xb')](_0x580f('0x1e'))&&(_0x4f5f64[_0x580f('0x17')][_0x580f('0x1b')](_0x53622b,_0x460825[_0x580f('0x4')]),_0x4f5f64[_0x580f('0x1c')][_0x580f('0x8')](_0x53622b));},{'priority':_0x580f('0x6')}),_0x22b64a[_0x580f('0x20')][_0x580f('0x21')]['on'](_0x580f('0x7'),(_0x330940,_0x27fc89,_0x4c5cd4)=>{_0x4c5cd4['options']['showSuggestionHighlights']&&_0xa5c2ec(_0x22b64a,'split',{'showActiveMarker':!0x1})[_0x580f('0x3')](this)(_0x330940,_0x27fc89,_0x4c5cd4);},{'priority':'high'});}}
|
|
@@ -1,21 +1,21 @@
|
|
|
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/findandreplace
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for find and replace feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesFindAndReplace extends Plugin {
|
|
13
|
-
/**
|
|
14
|
-
* @inheritDoc
|
|
15
|
-
*/
|
|
16
|
-
afterInit(): void;
|
|
17
|
-
handleFindCommand(executeCommand: Function, callbackOrText: Function | string, options?: {
|
|
18
|
-
matchCase?: boolean;
|
|
19
|
-
wholeWords?: boolean;
|
|
20
|
-
}): void;
|
|
21
|
-
}
|
|
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/findandreplace
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for find and replace feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesFindAndReplace extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
handleFindCommand(executeCommand: Function, callbackOrText: Function | string, options?: {
|
|
18
|
+
matchCase?: boolean;
|
|
19
|
+
wholeWords?: boolean;
|
|
20
|
+
}): void;
|
|
21
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35e8=['getMarkersGroup','editor','model','markers','_isInDeletionRange','FindAndReplaceEditing','filter','suggestion:deletion','end','FindAndReplaceUtils','find','string','findPrevious','createPositionAt','createRange','findNext','afterInit','item','enableCommand','replace','bind','getRange','getIntersection','plugins','handleFindCommand','replaceAll'];(function(_0x234f08,_0x35e863){const _0x5652e8=function(_0x34fc0b){while(--_0x34fc0b){_0x234f08['push'](_0x234f08['shift']());}};_0x5652e8(++_0x35e863);}(_0x35e8,0xf8));const _0x5652=function(_0x234f08,_0x35e863){_0x234f08=_0x234f08-0x0;let _0x5652e8=_0x35e8[_0x234f08];return _0x5652e8;};import{Plugin as _0xe85b8c}from'ckeditor5/src/core';export default class H extends _0xe85b8c{[_0x5652('0x2')](){if(!this[_0x5652('0xd')][_0x5652('0x9')]['has'](_0x5652('0x11')))return;const _0x26f639=this[_0x5652('0xd')][_0x5652('0x9')]['get']('TrackChangesEditing');_0x26f639[_0x5652('0x4')](_0x5652('0x16'),this['handleFindCommand'][_0x5652('0x6')](this)),_0x26f639['enableCommand'](_0x5652('0x1')),_0x26f639[_0x5652('0x4')](_0x5652('0x18')),_0x26f639[_0x5652('0x4')](_0x5652('0x5')),_0x26f639[_0x5652('0x4')](_0x5652('0xb'));}[_0x5652('0xa')](_0x233ebe,_0x5a2206,_0xb113e1={}){const _0x34d35b=this[_0x5652('0xd')][_0x5652('0x9')]['get'](_0x5652('0x15'));void 0x0!==_0xb113e1&&_0x233ebe(_0x306d11=>(_0x5652('0x17')==typeof _0x5a2206?_0x34d35b['findByTextCallback'](_0x5a2206,_0xb113e1):_0x5a2206)(_0x306d11)[_0x5652('0x12')](_0x2d725c=>!0x1===this[_0x5652('0x10')](_0x2d725c,_0x306d11[_0x5652('0x3')])),_0xb113e1);}[_0x5652('0x10')](_0x3d1bfb,_0x54b2d6){const _0x252961=this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x0')](this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x19')](_0x54b2d6,_0x3d1bfb['start']),this[_0x5652('0xd')][_0x5652('0xe')][_0x5652('0x19')](_0x54b2d6,_0x3d1bfb[_0x5652('0x14')]));for(const _0x539434 of this['editor']['model'][_0x5652('0xf')][_0x5652('0xc')](_0x5652('0x13')))if(null!==_0x252961[_0x5652('0x8')](_0x539434[_0x5652('0x7')]()))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/font
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for font features.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesFont 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/font
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for font features.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesFont extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bae=['config','enableCommand','trim','fontBackgroundColor','document','has','TrackChangesEditing','toLowerCase','FontFamilyEditing','commandParams','plugins','change','*Reset\x20font\x20background\x20color*','afterInit','label','isCollapsed','fontColor.colors','value','get','normalizeSizeOptions','FontColorEditing','commandName','format','fontSize.options','getRanges','fontFamily','*Set\x20font\x20family:*\x20%0','locale','FontSizeEditing','fontColor','title','find','*Reset\x20font\x20color*','from','*Reset\x20font\x20size*','model','editor','markInlineFormat','*Set\x20font\x20background\x20color:*\x20%0','*Set\x20font\x20size:*\x20%0','_enableCommand','fontSize','registerDescriptionCallback'];(function(_0x5d02bf,_0x3baed1){const _0x3cbc56=function(_0x46298b){while(--_0x46298b){_0x5d02bf['push'](_0x5d02bf['shift']());}};_0x3cbc56(++_0x3baed1);}(_0x3bae,0x1eb));const _0x3cbc=function(_0x5d02bf,_0x3baed1){_0x5d02bf=_0x5d02bf-0x0;let _0x3cbc56=_0x3bae[_0x5d02bf];return _0x3cbc56;};import{Plugin as _0x286b2b}from'ckeditor5/src/core';import{normalizeColorOptions as _0xf0e98a}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x4fc8ae}from'./utils';import{getTranslation as _0x4574e4}from'../utils/common-translations';const eo=[{'pluginName':_0x3cbc('0xa'),'commandName':_0x3cbc('0x17')},{'pluginName':_0x3cbc('0x21'),'commandName':_0x3cbc('0x7')},{'pluginName':_0x3cbc('0x2'),'commandName':_0x3cbc('0xb')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x3cbc('0x1c')}];export default class W extends _0x286b2b{[_0x3cbc('0x26')](){const _0x563d9f=this[_0x3cbc('0x12')][_0x3cbc('0x9')];for(const {pluginName:_0x450b5e,commandName:_0x2417ab}of eo)this[_0x3cbc('0x12')][_0x3cbc('0x23')][_0x3cbc('0x1e')](_0x450b5e)&&this['_enableCommand'](_0x2417ab);this[_0x3cbc('0x12')][_0x3cbc('0x23')][_0x3cbc('0x0')](_0x3cbc('0x1f'))['_descriptionFactory'][_0x3cbc('0x18')](_0x4137f0=>{const _0x5d83bd=_0x563d9f['t'],{data:_0x240d69}=_0x4137f0;if(null!=_0x240d69){if('fontSize'==_0x240d69['commandName']){const _0x40d048=_0x240d69[_0x3cbc('0x22')][0x0]['value'];if(_0x40d048){const _0x14a5ae=_0x5d83bd(this[_0x3cbc('0x12')][_0x3cbc('0x23')]['get']('FontSize')[_0x3cbc('0x1')](this[_0x3cbc('0x12')][_0x3cbc('0x19')][_0x3cbc('0x0')](_0x3cbc('0x5')))['find'](_0x580039=>_0x580039[_0x3cbc('0x11')]==_0x40d048)[_0x3cbc('0xc')])[_0x3cbc('0x20')]();return{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x15'),_0x14a5ae)};}return{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0x10'))};}if('fontFamily'==_0x240d69[_0x3cbc('0x3')]){const _0x1574b8=_0x240d69[_0x3cbc('0x22')][0x0][_0x3cbc('0x2a')];return _0x1574b8?{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x8'),_0x1574b8)}:{'type':'format','content':_0x4574e4(_0x563d9f,'*Reset\x20font\x20family*')};}if('fontColor'==_0x240d69[_0x3cbc('0x3')]){const _0x3bb9ff=_0x240d69[_0x3cbc('0x22')][0x0][_0x3cbc('0x2a')];if(_0x3bb9ff){const _0x33f99e=_0xf0e98a(this[_0x3cbc('0x12')]['config'][_0x3cbc('0x0')](_0x3cbc('0x29')))[_0x3cbc('0xd')](_0x2211ae=>_0x2211ae['model']==_0x3bb9ff);let _0x322ea1=_0x3bb9ff,_0xc74985='';return _0x33f99e&&(_0x322ea1=_0x33f99e[_0x3cbc('0x27')],_0xc74985=_0x5d83bd(_0x322ea1)[_0x3cbc('0x20')]()),{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,'*Set\x20font\x20color:*\x20%0',_0xc74985)['trim'](),'color':{'value':_0x3bb9ff,'title':_0xc74985||_0x322ea1}};}return{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0xe'))};}if('fontBackgroundColor'==_0x240d69[_0x3cbc('0x3')]){const _0x5ebada=_0x240d69[_0x3cbc('0x22')][0x0]['value'];if(_0x5ebada){const _0x504841=_0xf0e98a(this['editor'][_0x3cbc('0x19')][_0x3cbc('0x0')]('fontBackgroundColor.colors'))[_0x3cbc('0xd')](_0x25ac6c=>_0x25ac6c[_0x3cbc('0x11')]==_0x5ebada);let _0x3cd3d6=_0x5ebada,_0x1f2899='';return _0x504841&&(_0x3cd3d6=_0x504841[_0x3cbc('0x27')],_0x1f2899=_0x5d83bd(_0x3cd3d6)[_0x3cbc('0x20')]()),{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0x14'),_0x1f2899)[_0x3cbc('0x1b')](),'color':{'value':_0x5ebada,'title':_0x1f2899||_0x3cd3d6}};}return{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x25'))};}}});}[_0x3cbc('0x16')](_0x292f5e){const _0x4b82c7=this[_0x3cbc('0x12')];_0x4b82c7[_0x3cbc('0x23')][_0x3cbc('0x0')](_0x3cbc('0x1f'))[_0x3cbc('0x1a')](_0x292f5e,(_0x2d8488,_0xfbad5e={})=>{const _0x5a5789=_0x4b82c7[_0x3cbc('0x11')][_0x3cbc('0x1d')]['selection'],_0x1e86d3=_0xfbad5e[_0x3cbc('0x2a')];_0x5a5789[_0x3cbc('0x28')]?_0x2d8488(_0xfbad5e):_0x4b82c7['model'][_0x3cbc('0x24')](()=>{const _0x2159bb=Array[_0x3cbc('0xf')](_0x5a5789[_0x3cbc('0x6')]());for(const _0x2d5a49 of _0x2159bb){const _0x3e3ef2=_0x1e86d3?[_0x2d5a49]:_0x4fc8ae(_0x292f5e,_0x2d5a49,_0x4b82c7[_0x3cbc('0x11')]);for(const _0x31cd79 of _0x3e3ef2)_0x4b82c7[_0x3cbc('0x23')][_0x3cbc('0x0')]('TrackChangesEditing')[_0x3cbc('0x13')](_0x31cd79,{'commandName':_0x292f5e,'commandParams':[{'value':_0x1e86d3}]});}});});}}
|
|
@@ -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/formatpainter
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for the Format Painter feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesFormatPainter 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/formatpainter
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for the Format Painter feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesFormatPainter extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x63d3=['normalizeSizeOptions','isCollapsed','markInlineFormat','pasteFormat','*Set\x20format\x20to:*\x20%0','length','change','fontColor','config','word','title','modifySelection','getFirstPosition','getRanges','toLowerCase','commandName','format','createSelection','isBlock','getAttributes','afterInit','slice','getSelectedBlocks','plugins','boolean','commands','selection','_descriptionFactory','locale','push','isFormatting','fontSize','charAt','get','entries','fontSize.options','registerDescriptionCallback','find','model','createRange','join','getLastPosition','*Remove\x20all\x20formatting*','keys','copyFormat','toUpperCase','from','TrackChangesEditing','label','split','fontColor.colors','enableCommand'];(function(_0x5b23ad,_0x63d3b3){const _0x386be8=function(_0x194c8b){while(--_0x194c8b){_0x5b23ad['push'](_0x5b23ad['shift']());}};_0x386be8(++_0x63d3b3);}(_0x63d3,0x1e3));const _0x386b=function(_0x5b23ad,_0x63d3b3){_0x5b23ad=_0x5b23ad-0x0;let _0x386be8=_0x63d3[_0x5b23ad];return _0x386be8;};import{Plugin as _0x422c3c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x448008}from'ckeditor5/src/ui';import{first as _0x4ce873}from'ckeditor5/src/utils';import{getTranslation as _0x42c77a}from'../utils/common-translations';export default class J extends _0x422c3c{[_0x386b('0x5')](){const _0x4d9289=this['editor'],_0x428246=_0x4d9289[_0x386b('0x17')],_0x4826eb=_0x428246['document'][_0x386b('0xb')],_0x422423=_0x4d9289[_0x386b('0x8')][_0x386b('0x12')](_0x386b('0x20')),_0x3e7a6d=_0x4d9289[_0x386b('0xd')],_0x119061=_0x4d9289[_0x386b('0xa')]['get'](_0x386b('0x1d')),_0x4bd2b9=_0x4d9289[_0x386b('0xa')][_0x386b('0x12')](_0x386b('0x28'));_0x119061&&_0x4bd2b9&&(_0x422423[_0x386b('0x24')](_0x386b('0x28'),(_0x29781d,_0xbc3032={})=>{const _0xce85de=_0xbc3032;_0x428246[_0x386b('0x2b')](()=>{const _0x2a2280=Array[_0x386b('0x1f')](_0x4826eb[_0x386b('0x32')]()),_0x480f72=_0x4826eb[_0x386b('0x26')]?[io(_0x428246,_0x4826eb)]:_0x2a2280,_0x2ff460=!!_0x4ce873(function*(_0x5ca914,_0xb0c07){const _0x512c0d=_0x1fb2e5=>!!_0x4ce873(function*(_0x1652ea,_0x9cb244){for(const [_0x2ac32f]of _0x1652ea[_0x386b('0x4')]()){const _0x2f391e=_0x9cb244['getAttributeProperties'](_0x2ac32f);_0x2f391e&&_0x2f391e[_0x386b('0xf')]&&(yield _0x2ac32f);}}(_0x1fb2e5,_0xb0c07));for(const _0x147830 of _0x5ca914[_0x386b('0x32')]())for(const _0x55ea19 of _0x147830['getItems']())!_0xb0c07[_0x386b('0x3')](_0x55ea19)&&_0x512c0d(_0x55ea19)&&(yield _0x55ea19);for(const _0x5b085a of _0x5ca914[_0x386b('0x7')]())_0x512c0d(_0x5b085a)&&(yield _0x5b085a);_0x512c0d(_0x5ca914)&&(yield _0x5ca914);}(_0x4826eb,_0x428246['schema']));if(_0x2ff460||0x0!==Object[_0x386b('0x1c')](_0xce85de)[_0x386b('0x2a')])for(const _0x247d65 of _0x480f72)_0x422423[_0x386b('0x27')](_0x247d65,{'commandName':'pasteFormat','commandParams':[_0xce85de]});});}),_0x422423[_0x386b('0xc')][_0x386b('0x15')](_0x2bd2f5=>{const {data:_0x2601b2}=_0x2bd2f5;if(_0x2601b2&&_0x386b('0x28')===_0x2601b2[_0x386b('0x0')]){const _0x5575c2=[],_0x1f47dc=_0x2601b2['commandParams'][0x0];for(const [_0x332e21,_0x37d4e0]of Object[_0x386b('0x13')](_0x1f47dc))_0x5575c2[_0x386b('0xe')](so(_0x4d9289,_0x332e21,_0x37d4e0));return _0x5575c2['length']?{'type':_0x386b('0x1'),'content':_0x42c77a(_0x3e7a6d,_0x386b('0x29'),_0x5575c2[_0x386b('0x19')](',\x20'))}:{'type':_0x386b('0x1'),'content':_0x42c77a(_0x3e7a6d,_0x386b('0x1b'))};}}),_0x4d9289[_0x386b('0x8')]['get'](_0x386b('0x20'))['enableCommand'](_0x386b('0x1d')));}}function io(_0x2418bb,_0xe0a68e){const _0x5d75b2=_0x2418bb[_0x386b('0x2')](_0xe0a68e);_0x2418bb[_0x386b('0x30')](_0x5d75b2,{'unit':_0x386b('0x2e'),'direction':'backward'});const _0x48fac2=_0x5d75b2[_0x386b('0x31')]();_0x2418bb[_0x386b('0x30')](_0x5d75b2,{'unit':_0x386b('0x2e'),'direction':'forward'});const _0x3d0569=_0x5d75b2[_0x386b('0x1a')]();return _0x2418bb[_0x386b('0x18')](_0x48fac2,_0x3d0569);}function so(_0x47ee9a,_0x2b8c01,_0x18d05d){const _0x2635e4=_0x47ee9a[_0x386b('0xd')]['t'],_0x2552e7=_0x2b8c01[_0x386b('0x22')](/(?=[A-Z])/)[_0x386b('0x19')]('\x20'),_0x15cf10=_0x2635e4(_0x2552e7[_0x386b('0x11')](0x0)[_0x386b('0x1e')]()+_0x2552e7[_0x386b('0x6')](0x1))[_0x386b('0x33')]();if(_0x386b('0x9')==typeof _0x18d05d)return _0x15cf10;if(_0x386b('0x2c')===_0x2b8c01||'fontBackgroundColor'===_0x2b8c01){const _0x232d7d=_0x448008(_0x47ee9a[_0x386b('0x2d')]['get'](_0x386b('0x23')))['find'](_0x938063=>_0x938063[_0x386b('0x17')]==_0x18d05d);return _0x15cf10+'\x20('+(_0x232d7d?_0x2635e4(_0x232d7d[_0x386b('0x21')])[_0x386b('0x33')]():_0x18d05d)+')';}if(_0x386b('0x10')===_0x2b8c01&&isNaN(parseFloat(_0x18d05d))){const _0x23bda0=_0x47ee9a[_0x386b('0x8')]['get']('FontSize')[_0x386b('0x25')](_0x47ee9a['config'][_0x386b('0x12')](_0x386b('0x14')))[_0x386b('0x16')](_0xda897b=>_0xda897b[_0x386b('0x17')]==_0x18d05d);return _0x15cf10+'\x20('+(_0x23bda0?_0x2635e4(_0x23bda0[_0x386b('0x2f')])[_0x386b('0x33')]():_0x18d05d)+')';}return _0x15cf10+'\x20('+_0x18d05d+')';}
|
|
@@ -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/heading
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for heading feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesHeading 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/heading
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for heading feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesHeading extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4402=['getSelectedBlocks','parent','heading.options','model','registerElementLabel','ELEMENT_HEADING','commandName','blockName','enableCommand','filter','markBlockFormat','get','name','locale','change','editor','has','TrackChangesEditing','*Change\x20to:*\x20%0','heading','HeadingEditing','value','commandParams','schema','format','selection','plugins','from','config','_descriptionFactory','isObject','registerDescriptionCallback','formatBlock','ELEMENT_HEADING_CUSTOM'];(function(_0x56d364,_0x440270){const _0x4f87d4=function(_0x4807e1){while(--_0x4807e1){_0x56d364['push'](_0x56d364['shift']());}};_0x4f87d4(++_0x440270);}(_0x4402,0x1d1));const _0x4f87=function(_0x56d364,_0x440270){_0x56d364=_0x56d364-0x0;let _0x4f87d4=_0x4402[_0x56d364];return _0x4f87d4;};import{Plugin as _0x4c4336}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x470f84}from'./utils';import{getTranslation as _0x3f68ae}from'../utils/common-translations';export default class K extends _0x4c4336{['afterInit'](){const _0x48e9d2=this[_0x4f87('0x1a')],_0x1e0c8d=_0x48e9d2[_0x4f87('0x18')],_0x34327d=_0x48e9d2[_0x4f87('0x5')]['get'](_0x4f87('0xd'));if(!_0x48e9d2[_0x4f87('0x3')][_0x4f87('0x1b')](_0x4f87('0x1f')))return;const _0x48ec19=_0x48e9d2[_0x4f87('0x3')][_0x4f87('0x16')](_0x4f87('0x1c'));_0x48ec19[_0x4f87('0x13')](_0x4f87('0x1e'),(_0x3676be,_0x11ff64)=>{const _0xe9d71=_0x11ff64[_0x4f87('0x20')],_0x443c64=Array[_0x4f87('0x4')](this[_0x4f87('0x1a')][_0x4f87('0xe')]['document'][_0x4f87('0x2')][_0x4f87('0xb')]())[_0x4f87('0x14')](_0x225189=>function(_0x45f283,_0x4b9db3,_0x2c1c1e){return _0x2c1c1e['checkChild'](_0x45f283[_0x4f87('0xc')],_0x4b9db3)&&!_0x2c1c1e[_0x4f87('0x7')](_0x45f283)&&_0x45f283[_0x4f87('0x17')]!=_0x4b9db3;}(_0x225189,_0xe9d71,this['editor'][_0x4f87('0xe')][_0x4f87('0x0')]));_0x48e9d2[_0x4f87('0xe')][_0x4f87('0x19')](()=>{for(const _0x496dd0 of _0x443c64)_0x48ec19[_0x4f87('0x15')](_0x496dd0,{'commandName':_0x4f87('0x1e'),'commandParams':[_0x11ff64],'formatGroupId':_0x4f87('0x12')},_0x470f84(_0x496dd0));});});for(const _0x2680d8 of _0x34327d)'paragraph'!=_0x2680d8[_0x4f87('0xe')]&&_0x48ec19[_0x4f87('0x6')][_0x4f87('0xf')](_0x2680d8['model'],_0x4bfd70=>{const _0x229093=nn(_0x2680d8[_0x4f87('0xe')]);return null!==_0x229093?_0x41eaf4(_0x4bfd70,_0x229093):_0x1a3e4c(_0x4bfd70,_0x2680d8['title']);});function _0x41eaf4(_0x28989a,_0x3a434a){return _0x3f68ae(_0x1e0c8d,_0x4f87('0x10'),[_0x28989a,_0x3a434a]);}function _0x1a3e4c(_0x46eb4d,_0x122655){return _0x3f68ae(_0x1e0c8d,_0x4f87('0xa'),[_0x46eb4d,_0x122655]);}_0x48ec19[_0x4f87('0x6')][_0x4f87('0x8')](_0x1304b3=>{const {type:_0x23fd39,data:_0x26851b}=_0x1304b3;if(_0x4f87('0x9')==_0x23fd39&&_0x26851b&&_0x4f87('0x1e')==_0x26851b[_0x4f87('0x11')]){const _0x3a65d5=_0x26851b[_0x4f87('0x21')][0x0][_0x4f87('0x20')],_0xdd95a2=nn(_0x3a65d5);if(null!==_0xdd95a2)return{'type':_0x4f87('0x1'),'content':_0x3f68ae(_0x1e0c8d,_0x4f87('0x1d'),_0x41eaf4(0x1,_0xdd95a2))};const _0x4fdd4e=_0x34327d['find'](_0x50224c=>_0x50224c[_0x4f87('0xe')]===_0x3a65d5)['title'];return{'type':'format','content':_0x3f68ae(_0x1e0c8d,'*Change\x20to:*\x20%0',_0x1a3e4c(0x1,_0x4fdd4e))};}});}}function nn(_0x23c7b7){const _0xf52981=_0x23c7b7['match'](/^heading(\d+)$/);return _0xf52981?_0xf52981[0x1]:null;}
|
|
@@ -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/highlight
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for highlight feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesHighlight 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/highlight
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for highlight feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesHighlight extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x124e=['title','*Set\x20highlight:*\x20%0','getRanges','registerDescriptionCallback','change','FORMAT_HIGHLIGHT','format','afterInit','plugins','highlight.options','TrackChangesEditing','formatInline','get','getAttribute','commandName','value','backward','has','createRange','highlight','document','editor','push','find','getLastMatchingPosition','HighlightEditing','locale','toLowerCase','model','isCollapsed','selection','enableCommand','config'];(function(_0x145388,_0x124e66){const _0x186db4=function(_0x369aca){while(--_0x369aca){_0x145388['push'](_0x145388['shift']());}};_0x186db4(++_0x124e66);}(_0x124e,0xb9));const _0x186d=function(_0x145388,_0x124e66){_0x145388=_0x145388-0x0;let _0x186db4=_0x124e[_0x145388];return _0x186db4;};import{Plugin as _0x1eb08d}from'ckeditor5/src/core';import{getTranslation as _0x32b5b8}from'../utils/common-translations';import{getRangesWithAttribute as _0x4f31cd}from'./utils';export default class Q extends _0x1eb08d{[_0x186d('0x14')](){const _0x2a5887=this[_0x186d('0x1')];if(!_0x2a5887['plugins'][_0x186d('0x1e')](_0x186d('0x5')))return;const _0x40871e=_0x2a5887[_0x186d('0x15')][_0x186d('0x19')](_0x186d('0x17'));_0x40871e[_0x186d('0xb')](_0x186d('0x20'),(_0x43fb9b,_0x19ff1e={})=>{const _0x2890e1=_0x2a5887[_0x186d('0x8')][_0x186d('0x0')][_0x186d('0xa')],_0x2c4bb2=_0x2890e1['getAttribute'](_0x186d('0x20'));let _0x558675=_0x19ff1e[_0x186d('0x1c')],_0x24cd06=[];if(_0x2890e1[_0x186d('0x9')]){const _0x168ca0=_0x2890e1['getFirstPosition']();if(!_0x2890e1['hasAttribute'](_0x186d('0x20')))return void _0x43fb9b(_0x19ff1e);{const _0x302777=_0x10d022=>_0x10d022['item'][_0x186d('0x1a')](_0x186d('0x20'))===_0x2c4bb2,_0x23f01d=_0x168ca0[_0x186d('0x4')](_0x302777,{'direction':_0x186d('0x1d')}),_0x5aec5a=_0x168ca0[_0x186d('0x4')](_0x302777);_0x24cd06=[_0x2a5887[_0x186d('0x8')][_0x186d('0x1f')](_0x23f01d,_0x5aec5a)],_0x558675==_0x2c4bb2&&(_0x558675=null);}}else for(const _0x1291df of _0x2890e1[_0x186d('0xf')]())_0x558675?_0x24cd06[_0x186d('0x2')](_0x1291df):_0x24cd06[_0x186d('0x2')](..._0x4f31cd(_0x186d('0x20'),_0x1291df,_0x2a5887[_0x186d('0x8')]));_0x2a5887[_0x186d('0x8')][_0x186d('0x11')](()=>{for(const _0x33509c of _0x24cd06)_0x40871e['markInlineFormat'](_0x33509c,{'commandName':_0x186d('0x20'),'commandParams':[{'value':_0x558675}]});});});const _0x391ec3=_0x2a5887[_0x186d('0x6')];_0x40871e['_descriptionFactory'][_0x186d('0x10')](_0x1a80ea=>{const {type:_0x293752,data:_0x3913f8}=_0x1a80ea;if(_0x186d('0x18')==_0x293752&&_0x3913f8&&_0x186d('0x20')==_0x3913f8[_0x186d('0x1b')]){const _0x2bb55c=_0x391ec3['t'],_0x10d7d1=_0x3913f8['commandParams'][0x0][_0x186d('0x1c')];if(_0x10d7d1){const _0x456c92=_0x2a5887[_0x186d('0xc')][_0x186d('0x19')](_0x186d('0x16'))[_0x186d('0x3')](_0x2f60be=>_0x2f60be[_0x186d('0x8')]==_0x10d7d1),_0x37c301=_0x2bb55c(_0x456c92[_0x186d('0xd')])[_0x186d('0x7')]();return{'type':_0x186d('0x13'),'content':_0x32b5b8(_0x391ec3,_0x186d('0xe'),_0x37c301),'color':{'value':_0x456c92['color'],'title':_0x456c92[_0x186d('0xd')]}};}return{'type':_0x186d('0x13'),'content':_0x32b5b8(_0x391ec3,'*Remove\x20highlight*',_0x32b5b8(_0x391ec3,_0x186d('0x12')))};}});}}
|
|
@@ -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/horizontalline
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for {@link module:horizontal-line/horizontalline~HorizontalLine horizontal line feature}.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesHorizontalLine 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/horizontalline
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for {@link module:horizontal-line/horizontalline~HorizontalLine horizontal line feature}.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesHorizontalLine extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3894=['get','elementToStructure','horizontalLine','_descriptionFactory','div','showSuggestionHighlights','high','plugins','ck-horizontal-line','createPositionAt','conversion','editor','afterInit','for','registerElementLabel','HorizontalLineEditing','TrackChangesEditing','ELEMENT_HORIZONTAL_LINE','has','addClass','locale','dataDowncast'];(function(_0x30a92b,_0x3894a8){const _0x5ae906=function(_0x15630a){while(--_0x15630a){_0x30a92b['push'](_0x30a92b['shift']());}};_0x5ae906(++_0x3894a8);}(_0x3894,0x130));const _0x5ae9=function(_0x30a92b,_0x3894a8){_0x30a92b=_0x30a92b-0x0;let _0x5ae906=_0x3894[_0x30a92b];return _0x5ae906;};import{Plugin as _0x58f8d9}from'ckeditor5/src/core';import{getTranslation as _0x2fdbc3}from'../utils/common-translations';export default class V extends _0x58f8d9{[_0x5ae9('0x10')](){const _0xec027=this[_0x5ae9('0xf')];if(!_0xec027[_0x5ae9('0xb')][_0x5ae9('0x0')](_0x5ae9('0x13')))return;_0xec027['plugins'][_0x5ae9('0x4')](_0x5ae9('0x14'))['enableCommand'](_0x5ae9('0x6'));const _0x73d43d=_0xec027[_0x5ae9('0xb')][_0x5ae9('0x4')](_0x5ae9('0x14')),_0x4b7483=_0xec027[_0x5ae9('0x2')];_0x73d43d[_0x5ae9('0x7')][_0x5ae9('0x12')](_0x5ae9('0x6'),_0x3d8eca=>_0x2fdbc3(_0x4b7483,_0x5ae9('0x15'),_0x3d8eca)),_0xec027[_0x5ae9('0xe')][_0x5ae9('0x11')](_0x5ae9('0x3'))[_0x5ae9('0x5')]({'model':_0x5ae9('0x6'),'view':(_0x14bca1,{writer:_0x2899e3,options:_0x532fd9})=>{if(!_0x532fd9[_0x5ae9('0x9')])return null;const _0x41ddeb=_0x2899e3['createContainerElement'](_0x5ae9('0x8')),_0x2e0035=_0x2899e3['createEmptyElement']('hr');return _0x2899e3[_0x5ae9('0x1')](_0x5ae9('0xc'),_0x41ddeb),_0x2899e3['insert'](_0x2899e3[_0x5ae9('0xd')](_0x41ddeb,0x0),_0x2e0035),_0x41ddeb;},'converterPriority':_0x5ae9('0xa')});}}
|
|
@@ -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/htmlembed
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for {@link module:html-embed/htmlembed~HtmlEmbed HTML Embed feature}.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesHtmlEmbed 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/htmlembed
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for {@link module:html-embed/htmlembed~HtmlEmbed HTML Embed feature}.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesHtmlEmbed extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e53=['commandName','afterInit','registerDescriptionCallback','rawHtmlApi','htmlEmbed','document','registerElementLabel','get','getCustomProperty','editing','change','value','TrackChangesEditing','HtmlEmbed','*Change\x20%0\x20content*','rawHtml','markBlockFormat','model','plugins','enableCommand','selection','getSelectedElement','ELEMENT_HTML_EMBED','element','_descriptionFactory'];(function(_0x350108,_0x4e5301){const _0x4417fd=function(_0x5dfc25){while(--_0x5dfc25){_0x350108['push'](_0x350108['shift']());}};_0x4417fd(++_0x4e5301);}(_0x4e53,0x142));const _0x4417=function(_0x350108,_0x4e5301){_0x350108=_0x350108-0x0;let _0x4417fd=_0x4e53[_0x350108];return _0x4417fd;};import{Plugin as _0xf586d4}from'ckeditor5/src/core';import{getTranslation as _0x7c6fef}from'../utils/common-translations';export default class X extends _0xf586d4{[_0x4417('0x4')](){const _0x544a3f=this['editor'];if(!_0x544a3f[_0x4417('0x15')]['has'](_0x4417('0x10')))return;const _0x49a7ac=_0x544a3f[_0x4417('0x15')]['get'](_0x4417('0xf')),_0x3c3867=_0x544a3f['locale'],_0x3fff83=_0x544a3f[_0x4417('0xc')]['view'][_0x4417('0x8')][_0x4417('0x17')];_0x49a7ac[_0x4417('0x2')][_0x4417('0x9')](_0x4417('0x12'),_0x15a534=>_0x7c6fef(_0x3c3867,'ELEMENT_HTML_EMBED',_0x15a534)),_0x544a3f[_0x4417('0x15')][_0x4417('0xa')](_0x4417('0xf'))[_0x4417('0x16')]('htmlEmbed',(_0x22a7ef,_0x7fc62)=>{const _0xd9723d=_0x544a3f[_0x4417('0x14')],_0x58e01c=_0xd9723d[_0x4417('0x8')][_0x4417('0x17')];_0xd9723d[_0x4417('0xd')](()=>{const _0x2a8b3d=function(_0x121566){const _0xb9242c=_0x121566[_0x4417('0x18')]();if(_0xb9242c&&_0xb9242c['is'](_0x4417('0x1'),'rawHtml'))return _0x121566[_0x4417('0x18')]();return null;}(_0x58e01c);if(!_0x2a8b3d)return void _0x22a7ef(null);const _0x248fe9=_0x2a8b3d['getAttribute'](_0x4417('0xe'))||'';if(void 0x0===_0x7fc62)return;if(_0x7fc62===_0x248fe9)return;_0x49a7ac[_0x4417('0x13')](_0x2a8b3d,{'commandName':_0x4417('0x7'),'commandParams':[_0x7fc62]}),_0x3fff83[_0x4417('0x18')]()[_0x4417('0xb')](_0x4417('0x6'))['cancel']();});}),_0x49a7ac[_0x4417('0x2')][_0x4417('0x5')](_0x4bb865=>{const {data:_0x15f631}=_0x4bb865;if(_0x15f631&&_0x4417('0x7')==_0x15f631[_0x4417('0x3')]){const _0xd2b495=_0x7c6fef(_0x3c3867,_0x4417('0x0'));return{'type':'format','content':_0x7c6fef(_0x3c3867,_0x4417('0x11'),_0xd2b495)};}});}}
|