@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "40.0.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "
|
|
43
|
-
"ckeditor5-collaboration": "
|
|
42
|
+
"ckeditor5": "40.0.0",
|
|
43
|
+
"ckeditor5-collaboration": "40.0.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
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
|
-
import type { TrackChangesConfig, TrackChangesEditing, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand } from './index';
|
|
6
|
-
import type { Editor } from 'ckeditor5/src/core';
|
|
7
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
8
|
-
interface EditorConfig {
|
|
9
|
-
/**
|
|
10
|
-
* The configuration of the {@link module:track-changes/trackchanges~TrackChanges} feature.
|
|
11
|
-
*
|
|
12
|
-
* Read more in {@link module:track-changes/trackchangesconfig~TrackChangesConfig}.
|
|
13
|
-
*/
|
|
14
|
-
trackChanges?: TrackChangesConfig;
|
|
15
|
-
/**
|
|
16
|
-
* The configuration of the track changes data feature.
|
|
17
|
-
*/
|
|
18
|
-
trackChangesData?: {
|
|
19
|
-
/**
|
|
20
|
-
* Callback that creates an editor instances.
|
|
21
|
-
*
|
|
22
|
-
* Used in non-standard integrations. See track changes data
|
|
23
|
-
* {@glink features/collaboration/track-changes/track-changes-data#configuring-track-changes-data-plugin configuration guide}.
|
|
24
|
-
*/
|
|
25
|
-
editorCreator?: (config: EditorConfig, createElement: Function) => Promise<Editor>;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
interface PluginsMap {
|
|
29
|
-
[TrackChangesEditing.pluginName]: TrackChangesEditing;
|
|
30
|
-
}
|
|
31
|
-
interface CommandsMap {
|
|
32
|
-
acceptSuggestion: AcceptSuggestionCommand;
|
|
33
|
-
discardSuggestion: DiscardSuggestionCommand;
|
|
34
|
-
acceptAllSuggestions: ExecuteOnAllSuggestionsCommand<AcceptSuggestionCommand>;
|
|
35
|
-
discardAllSuggestions: ExecuteOnAllSuggestionsCommand<DiscardSuggestionCommand>;
|
|
36
|
-
acceptSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<AcceptSuggestionCommand>;
|
|
37
|
-
discardSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<DiscardSuggestionCommand>;
|
|
38
|
-
trackChanges: TrackChangesCommand;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
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
|
+
import type { TrackChangesConfig, TrackChangesEditing, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand } from './index';
|
|
6
|
+
import type { Editor } from 'ckeditor5/src/core';
|
|
7
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
8
|
+
interface EditorConfig {
|
|
9
|
+
/**
|
|
10
|
+
* The configuration of the {@link module:track-changes/trackchanges~TrackChanges} feature.
|
|
11
|
+
*
|
|
12
|
+
* Read more in {@link module:track-changes/trackchangesconfig~TrackChangesConfig}.
|
|
13
|
+
*/
|
|
14
|
+
trackChanges?: TrackChangesConfig;
|
|
15
|
+
/**
|
|
16
|
+
* The configuration of the track changes data feature.
|
|
17
|
+
*/
|
|
18
|
+
trackChangesData?: {
|
|
19
|
+
/**
|
|
20
|
+
* Callback that creates an editor instances.
|
|
21
|
+
*
|
|
22
|
+
* Used in non-standard integrations. See track changes data
|
|
23
|
+
* {@glink features/collaboration/track-changes/track-changes-data#configuring-track-changes-data-plugin configuration guide}.
|
|
24
|
+
*/
|
|
25
|
+
editorCreator?: (config: EditorConfig, createElement: Function) => Promise<Editor>;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
interface PluginsMap {
|
|
29
|
+
[TrackChangesEditing.pluginName]: TrackChangesEditing;
|
|
30
|
+
}
|
|
31
|
+
interface CommandsMap {
|
|
32
|
+
acceptSuggestion: AcceptSuggestionCommand;
|
|
33
|
+
discardSuggestion: DiscardSuggestionCommand;
|
|
34
|
+
acceptAllSuggestions: ExecuteOnAllSuggestionsCommand<AcceptSuggestionCommand>;
|
|
35
|
+
discardAllSuggestions: ExecuteOnAllSuggestionsCommand<DiscardSuggestionCommand>;
|
|
36
|
+
acceptSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<AcceptSuggestionCommand>;
|
|
37
|
+
discardSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<DiscardSuggestionCommand>;
|
|
38
|
+
trackChanges: TrackChangesCommand;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
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/commands/acceptsuggestioncommand
|
|
7
|
-
* @publicApi
|
|
8
|
-
*/
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
-
import type Suggestion from '../suggestion';
|
|
11
|
-
/**
|
|
12
|
-
* A command that accepts the suggestion chain.
|
|
13
|
-
*/
|
|
14
|
-
export default class AcceptSuggestionCommand extends Command {
|
|
15
|
-
constructor(editor: Editor, suggestions: Map<string, Suggestion>);
|
|
16
|
-
/**
|
|
17
|
-
* @inheritDoc
|
|
18
|
-
*/
|
|
19
|
-
refresh(): void;
|
|
20
|
-
/**
|
|
21
|
-
* @inheritDoc
|
|
22
|
-
*/
|
|
23
|
-
execute(suggestionId: string): void;
|
|
24
|
-
}
|
|
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/commands/acceptsuggestioncommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
+
import type Suggestion from '../suggestion';
|
|
11
|
+
/**
|
|
12
|
+
* A command that accepts the suggestion chain.
|
|
13
|
+
*/
|
|
14
|
+
export default class AcceptSuggestionCommand extends Command {
|
|
15
|
+
constructor(editor: Editor, suggestions: Map<string, Suggestion>);
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
refresh(): void;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
execute(suggestionId: string): void;
|
|
24
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29cb=['_isEnabledBasedOnSelection','getRanges','isEnabled','track-changes-accept-suggestion-not-found','model','get','acceptSuggestion','editor','plugins','refresh','execute','_suggestions','TrackChangesEditing'];(function(_0x3e37ab,_0x29cb02){const _0x1a65c8=function(_0x9e2fa2){while(--_0x9e2fa2){_0x3e37ab['push'](_0x3e37ab['shift']());}};_0x1a65c8(++_0x29cb02);}(_0x29cb,0x169));const _0x1a65=function(_0x3e37ab,_0x29cb02){_0x3e37ab=_0x3e37ab-0x0;let _0x1a65c8=_0x29cb[_0x3e37ab];return _0x1a65c8;};import{Command as _0x5de87c}from'ckeditor5/src/core';import{CKEditorError as _0x178435}from'ckeditor5/src/utils';export default class M extends _0x5de87c{constructor(_0x275149,_0x435707){super(_0x275149),this[_0x1a65('0x1')]=_0x435707,this['refresh'](),this[_0x1a65('0x3')]=!0x1;}[_0x1a65('0xc')](){this[_0x1a65('0x5')]=!0x0;}[_0x1a65('0x0')](_0x445d35){const _0x51b995=this['_suggestions'][_0x1a65('0x8')](_0x445d35);if(!_0x51b995)throw new _0x178435(_0x1a65('0x6'),this);const _0x32e028=_0x51b995[_0x1a65('0x4')]();this[_0x1a65('0xa')][_0x1a65('0x7')]['canEditAt'](_0x32e028)&&this[_0x1a65('0xa')][_0x1a65('0xb')][_0x1a65('0x8')](_0x1a65('0x2'))[_0x1a65('0x9')](_0x51b995);}}
|
|
@@ -1,24 +1,24 @@
|
|
|
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/commands/discardsuggestioncommand
|
|
7
|
-
* @publicApi
|
|
8
|
-
*/
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
-
import type Suggestion from '../suggestion';
|
|
11
|
-
/**
|
|
12
|
-
* A command that discards the suggestion chain.
|
|
13
|
-
*/
|
|
14
|
-
export default class DiscardSuggestionCommand extends Command {
|
|
15
|
-
constructor(editor: Editor, suggestions: Map<string, Suggestion>);
|
|
16
|
-
/**
|
|
17
|
-
* @inheritDoc
|
|
18
|
-
*/
|
|
19
|
-
refresh(): void;
|
|
20
|
-
/**
|
|
21
|
-
* @inheritDoc
|
|
22
|
-
*/
|
|
23
|
-
execute(suggestionId: string): void;
|
|
24
|
-
}
|
|
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/commands/discardsuggestioncommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
+
import type Suggestion from '../suggestion';
|
|
11
|
+
/**
|
|
12
|
+
* A command that discards the suggestion chain.
|
|
13
|
+
*/
|
|
14
|
+
export default class DiscardSuggestionCommand extends Command {
|
|
15
|
+
constructor(editor: Editor, suggestions: Map<string, Suggestion>);
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
refresh(): void;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
execute(suggestionId: string): void;
|
|
24
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x60ce=['TrackChangesEditing','_suggestions','plugins','canEditAt','getRanges','isEnabled','model','_isEnabledBasedOnSelection','get','track-changes-discard-suggestion-not-found','editor'];(function(_0x1f68b1,_0x60ce95){const _0x373f42=function(_0x173e1c){while(--_0x173e1c){_0x1f68b1['push'](_0x1f68b1['shift']());}};_0x373f42(++_0x60ce95);}(_0x60ce,0xe8));const _0x373f=function(_0x1f68b1,_0x60ce95){_0x1f68b1=_0x1f68b1-0x0;let _0x373f42=_0x60ce[_0x1f68b1];return _0x373f42;};import{Command as _0x248f0a}from'ckeditor5/src/core';import{CKEditorError as _0x2f6d5f}from'ckeditor5/src/utils';export default class $ extends _0x248f0a{constructor(_0x5658d6,_0x376db2){super(_0x5658d6),this['_suggestions']=_0x376db2,this['refresh'](),this[_0x373f('0x6')]=!0x1;}['refresh'](){this[_0x373f('0x4')]=!0x0;}['execute'](_0x43b2db){const _0x353cc9=this[_0x373f('0x0')][_0x373f('0x7')](_0x43b2db);if(!_0x353cc9)throw new _0x2f6d5f(_0x373f('0x8'),this);const _0xfbdf38=_0x353cc9[_0x373f('0x3')]();this['editor'][_0x373f('0x5')][_0x373f('0x2')](_0xfbdf38)&&this[_0x373f('0x9')][_0x373f('0x1')][_0x373f('0x7')](_0x373f('0xa'))['discardSuggestion'](_0x353cc9);}}
|
|
@@ -1,24 +1,24 @@
|
|
|
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/commands/executeonallsuggestionscommand
|
|
7
|
-
* @publicApi
|
|
8
|
-
*/
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
-
import type Suggestion from '../suggestion';
|
|
11
|
-
/**
|
|
12
|
-
* A command that executes passed command (accept or discard suggestion command) at once for all suggestions in the document.
|
|
13
|
-
*/
|
|
14
|
-
export default class ExecuteOnAllSuggestionsCommand<T extends Command> extends Command {
|
|
15
|
-
constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
|
|
16
|
-
/**
|
|
17
|
-
* @inheritDoc
|
|
18
|
-
*/
|
|
19
|
-
refresh(): void;
|
|
20
|
-
/**
|
|
21
|
-
* @inheritDoc
|
|
22
|
-
*/
|
|
23
|
-
execute(): void;
|
|
24
|
-
}
|
|
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/commands/executeonallsuggestionscommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
+
import type Suggestion from '../suggestion';
|
|
11
|
+
/**
|
|
12
|
+
* A command that executes passed command (accept or discard suggestion command) at once for all suggestions in the document.
|
|
13
|
+
*/
|
|
14
|
+
export default class ExecuteOnAllSuggestionsCommand<T extends Command> extends Command {
|
|
15
|
+
constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
refresh(): void;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
execute(): void;
|
|
24
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3880=['getRanges','isInContent','execute','isEnabled','values','model','_suggestions','refresh','from','_command','editor'];(function(_0x3cb4f0,_0x388041){const _0x35201e=function(_0x3f1570){while(--_0x3f1570){_0x3cb4f0['push'](_0x3cb4f0['shift']());}};_0x35201e(++_0x388041);}(_0x3880,0x163));const _0x3520=function(_0x3cb4f0,_0x388041){_0x3cb4f0=_0x3cb4f0-0x0;let _0x35201e=_0x3880[_0x3cb4f0];return _0x35201e;};import{Command as _0xd82202}from'ckeditor5/src/core';import{sortSuggestions as _0x283458,executeCommandForSuggestions as _0x4ab057}from'../utils/utils';export default class N extends _0xd82202{constructor(_0xacc81a,_0x2263f1,_0x8da4b2){super(_0xacc81a),this[_0x3520('0x6')]=_0x2263f1,this[_0x3520('0x3')]=_0x8da4b2,this[_0x3520('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x1d061b=Array['from'](this[_0x3520('0x3')]['values']())['some'](_0x2b6e04=>_0x2b6e04[_0x3520('0x9')]);this[_0x3520('0x0')]=this[_0x3520('0x6')]['isEnabled']&&_0x1d061b;}[_0x3520('0xa')](){const _0x566083=_0x283458(Array[_0x3520('0x5')](this[_0x3520('0x3')][_0x3520('0x1')]()));for(const _0x290a0d of _0x566083){const _0xdea80f=_0x290a0d[_0x3520('0x8')]();if(!this[_0x3520('0x7')]['model']['canEditAt'](_0xdea80f))return;}_0x4ab057(this[_0x3520('0x7')][_0x3520('0x2')],this['_command'],_0x566083);}}
|
|
@@ -1,24 +1,24 @@
|
|
|
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/commands/executeonselectedsuggestionscommand
|
|
7
|
-
* @publicApi
|
|
8
|
-
*/
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
-
import type Suggestion from '../suggestion';
|
|
11
|
-
/**
|
|
12
|
-
* A command that executes passed command (accept or discard suggestion command) at once for all suggestions selected in the document.
|
|
13
|
-
*/
|
|
14
|
-
export default class ExecuteOnSelectedSuggestionsCommand<T extends Command> extends Command {
|
|
15
|
-
constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
|
|
16
|
-
/**
|
|
17
|
-
* @inheritDoc
|
|
18
|
-
*/
|
|
19
|
-
refresh(): void;
|
|
20
|
-
/**
|
|
21
|
-
* @inheritDoc
|
|
22
|
-
*/
|
|
23
|
-
execute(): void;
|
|
24
|
-
}
|
|
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/commands/executeonselectedsuggestionscommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
+
import type Suggestion from '../suggestion';
|
|
11
|
+
/**
|
|
12
|
+
* A command that executes passed command (accept or discard suggestion command) at once for all suggestions selected in the document.
|
|
13
|
+
*/
|
|
14
|
+
export default class ExecuteOnSelectedSuggestionsCommand<T extends Command> extends Command {
|
|
15
|
+
constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
refresh(): void;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
execute(): void;
|
|
24
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50ff=['from','editor','_suggestions','execute','document','size','canEditAt','values','_selectedSuggestions','_command','getRanges','selection','model','isEnabled','refresh'];(function(_0x5ab14d,_0x50ff01){const _0x5eb5f0=function(_0x42eb30){while(--_0x42eb30){_0x5ab14d['push'](_0x5ab14d['shift']());}};_0x5eb5f0(++_0x50ff01);}(_0x50ff,0x1e1));const _0x5eb5=function(_0x5ab14d,_0x50ff01){_0x5ab14d=_0x5ab14d-0x0;let _0x5eb5f0=_0x50ff[_0x5ab14d];return _0x5eb5f0;};import{Command as _0xa897e8}from'ckeditor5/src/core';import{sortSuggestions as _0x405e45,getSelectedSuggestions as _0x285c39,executeCommandForSuggestions as _0x4f0258}from'../utils/utils';export default class R extends _0xa897e8{constructor(_0x32c0ec,_0x5969de,_0x3976ef){super(_0x32c0ec),this[_0x5eb5('0x8')]=_0x5969de,this[_0x5eb5('0x1')]=_0x3976ef,this[_0x5eb5('0x7')]=new Set(),this[_0x5eb5('0xd')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x5eb5('0xd')](){const _0xf9d2bb=this['editor']['model'][_0x5eb5('0x3')][_0x5eb5('0xa')],_0x36607b=Array[_0x5eb5('0xe')](this[_0x5eb5('0x1')][_0x5eb5('0x6')]());this[_0x5eb5('0x7')]=_0x285c39(_0xf9d2bb,_0x36607b),this[_0x5eb5('0xc')]=this[_0x5eb5('0x8')][_0x5eb5('0xc')]&&!!this['_selectedSuggestions'][_0x5eb5('0x4')];}[_0x5eb5('0x2')](){const _0x7fe869=_0x405e45(Array[_0x5eb5('0xe')](this[_0x5eb5('0x7')]));for(const _0x2f2dc8 of _0x7fe869){const _0x544771=_0x2f2dc8[_0x5eb5('0x9')]();if(!this['editor'][_0x5eb5('0xb')][_0x5eb5('0x5')](_0x544771))return;}_0x4f0258(this[_0x5eb5('0x0')][_0x5eb5('0xb')],this[_0x5eb5('0x8')],_0x7fe869);}}
|
|
@@ -1,26 +1,26 @@
|
|
|
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/commands/trackchangescommand
|
|
7
|
-
* @publicApi
|
|
8
|
-
*/
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
-
/**
|
|
11
|
-
* Turns the track changes mode on and off.
|
|
12
|
-
*
|
|
13
|
-
* When the track changes mode is on, this command disables all the unsupported commands.
|
|
14
|
-
*/
|
|
15
|
-
export default class TrackChangesCommand extends Command {
|
|
16
|
-
value: boolean;
|
|
17
|
-
constructor(editor: Editor, enabledCommands: Set<Command>);
|
|
18
|
-
/**
|
|
19
|
-
* @inheritDoc
|
|
20
|
-
*/
|
|
21
|
-
refresh(): void;
|
|
22
|
-
/**
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
execute(): void;
|
|
26
|
-
}
|
|
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/commands/trackchangescommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
+
/**
|
|
11
|
+
* Turns the track changes mode on and off.
|
|
12
|
+
*
|
|
13
|
+
* When the track changes mode is on, this command disables all the unsupported commands.
|
|
14
|
+
*/
|
|
15
|
+
export default class TrackChangesCommand extends Command {
|
|
16
|
+
value: boolean;
|
|
17
|
+
constructor(editor: Editor, enabledCommands: Set<Command>);
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
refresh(): void;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
execute(): void;
|
|
26
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10f5=['editor','commands','refresh','_isEnabledBasedOnSelection','_enabledCommands','value','has','clearForceDisabled','execute','affectsData','_disableUnsupportedCommands','_enableCommands','TrackChangesCommand'];(function(_0x7b61f7,_0x10f5cc){const _0x381bcd=function(_0x10be11){while(--_0x10be11){_0x7b61f7['push'](_0x7b61f7['shift']());}};_0x381bcd(++_0x10f5cc);}(_0x10f5,0x84));const _0x381b=function(_0x7b61f7,_0x10f5cc){_0x7b61f7=_0x7b61f7-0x0;let _0x381bcd=_0x10f5[_0x7b61f7];return _0x381bcd;};import{Command as _0x459803}from'ckeditor5/src/core';export default class _ extends _0x459803{constructor(_0x23baba,_0x43493d){super(_0x23baba),this[_0x381b('0x2')]=_0x43493d,this[_0x381b('0x3')]=!0x1,this[_0x381b('0x0')](),this[_0x381b('0x1')]=!0x1;}[_0x381b('0x0')](){this['isEnabled']=!0x0;}[_0x381b('0x6')](){this[_0x381b('0x3')]=!this[_0x381b('0x3')],this[_0x381b('0x3')]?this['_disableUnsupportedCommands']():this[_0x381b('0x9')]();}[_0x381b('0x8')](){for(const _0x336785 of this[_0x381b('0xb')]['commands'][_0x381b('0xc')]())_0x336785['affectsData']&&!this['_enabledCommands'][_0x381b('0x4')](_0x336785)&&_0x336785['forceDisabled']('TrackChangesCommand');}[_0x381b('0x9')](){for(const _0x529307 of this[_0x381b('0xb')][_0x381b('0xc')][_0x381b('0xc')]())_0x529307[_0x381b('0x7')]&&!this[_0x381b('0x2')]['has'](_0x529307)&&_0x529307[_0x381b('0x5')](_0x381b('0xa'));}}
|
package/src/index.d.ts
CHANGED
|
@@ -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
|
-
export { default as TrackChanges, type SuggestionData } from './trackchanges';
|
|
6
|
-
export { default as TrackChangesData } from './trackchangesdata';
|
|
7
|
-
export { default as TrackChangesEditing } from './trackchangesediting';
|
|
8
|
-
export type { SuggestionJSON } from './suggestion';
|
|
9
|
-
export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview';
|
|
10
|
-
export type { TrackChangesConfig } from './trackchangesconfig';
|
|
11
|
-
export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand';
|
|
12
|
-
export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand';
|
|
13
|
-
export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand';
|
|
14
|
-
export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand';
|
|
15
|
-
export type { default as TrackChangesCommand } from './commands/trackchangescommand';
|
|
16
|
-
import './augmentation';
|
|
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
|
+
export { default as TrackChanges, type SuggestionData } from './trackchanges';
|
|
6
|
+
export { default as TrackChangesData } from './trackchangesdata';
|
|
7
|
+
export { default as TrackChangesEditing } from './trackchangesediting';
|
|
8
|
+
export type { SuggestionJSON } from './suggestion';
|
|
9
|
+
export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview';
|
|
10
|
+
export type { TrackChangesConfig } from './trackchangesconfig';
|
|
11
|
+
export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand';
|
|
12
|
+
export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand';
|
|
13
|
+
export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand';
|
|
14
|
+
export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand';
|
|
15
|
+
export type { default as TrackChangesCommand } from './commands/trackchangescommand';
|
|
16
|
+
import './augmentation';
|
|
@@ -0,0 +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/aiassistant
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for the AI Assistant feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesAIAssistant extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x3308=['showAIAssistant','afterInit','editor','get','commands','enableCommand','plugins'];(function(_0x65e238,_0x330895){const _0x1aa660=function(_0x1aed76){while(--_0x1aed76){_0x65e238['push'](_0x65e238['shift']());}};_0x1aa660(++_0x330895);}(_0x3308,0x7e));const _0x1aa6=function(_0x65e238,_0x330895){_0x65e238=_0x65e238-0x0;let _0x1aa660=_0x3308[_0x65e238];return _0x1aa660;};import{Plugin as _0x504481}from'ckeditor5/src/core';export default class j extends _0x504481{[_0x1aa6('0x1')](){const _0x52d3a0=this[_0x1aa6('0x2')],_0xbd2e74=_0x52d3a0[_0x1aa6('0x6')][_0x1aa6('0x3')]('TrackChangesEditing');_0x52d3a0[_0x1aa6('0x4')]['get'](_0x1aa6('0x0'))&&_0xbd2e74[_0x1aa6('0x5')](_0x1aa6('0x0'));}}
|
|
@@ -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/alignment
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for alignment feature.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesAlignment 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/alignment
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for alignment feature.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesAlignment extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x351f=['markBlockFormat','afterInit','enableCommand','from','justify','FORMAT_ALIGN_TO_RIGHT','commandParams','left','schema','document','AlignmentEditing','FORMAT_ALIGN_TO_CENTER','getSelectedBlocks','FORMAT_ALIGN_TO_LEFT','editor','contentLanguageDirection','ltr','get','has','format','FORMAT_JUSTIFY_TEXT','alignment','registerDescriptionCallback','plugins','right','model','checkAttribute','*Format:*\x20%0','center','getAttribute','TrackChangesEditing'];(function(_0x34dc6e,_0x351fa1){const _0x5421d0=function(_0x1e8029){while(--_0x1e8029){_0x34dc6e['push'](_0x34dc6e['shift']());}};_0x5421d0(++_0x351fa1);}(_0x351f,0x142));const _0x5421=function(_0x34dc6e,_0x351fa1){_0x34dc6e=_0x34dc6e-0x0;let _0x5421d0=_0x351f[_0x34dc6e];return _0x5421d0;};import{Plugin as _0x4a1ad2}from'ckeditor5/src/core';import{getTranslation as _0xe12936}from'../utils/common-translations';export default class x extends _0x4a1ad2{[_0x5421('0x14')](){const _0x54c158=this[_0x5421('0x2')],_0x59f88d=_0x54c158['locale'];if(!_0x54c158[_0x5421('0xb')][_0x5421('0x6')](_0x5421('0x1d')))return;const _0x18025c=_0x54c158[_0x5421('0xb')][_0x5421('0x5')](_0x5421('0x12'));_0x18025c[_0x5421('0x15')](_0x5421('0x9'),(_0x6c7f31,_0x4c7426={})=>{let _0x56e02f=_0x4c7426['value'];_0x4c7426['value']||(_0x56e02f=_0x5421('0x4')===_0x54c158['locale'][_0x5421('0x3')]?'left':_0x5421('0xc'));const _0x56d8b7=Array[_0x5421('0x16')](this[_0x5421('0x2')][_0x5421('0xd')][_0x5421('0x1c')]['selection'][_0x5421('0x0')]())['filter'](_0x9587fa=>function(_0xeceb84,_0xabd9ae,_0x36f00b){const _0x437371=_0xeceb84[_0x5421('0x11')](_0x5421('0x9'))||null;return _0xabd9ae[_0x5421('0xe')](_0xeceb84,'alignment')&&_0x36f00b!=_0x437371;}(_0x9587fa,this[_0x5421('0x2')]['model'][_0x5421('0x1b')],_0x56e02f));_0x54c158[_0x5421('0xd')]['change'](()=>{for(const _0x2c6bfd of _0x56d8b7)_0x18025c[_0x5421('0x13')](_0x2c6bfd,{'commandName':_0x5421('0x9'),'commandParams':[{'value':_0x56e02f}]});});}),_0x18025c['_descriptionFactory'][_0x5421('0xa')](_0x1aa4b5=>{const {data:_0x69958b}=_0x1aa4b5;if(_0x69958b&&_0x5421('0x9')==_0x69958b['commandName']){const _0x3fdce7=_0x69958b[_0x5421('0x19')][0x0]['value'];return{'type':_0x5421('0x7'),'content':_0xe12936(_0x59f88d,_0x5421('0xf'),function(_0x4bf4d6){switch(_0x4bf4d6){case _0x5421('0x1a'):return _0xe12936(_0x59f88d,_0x5421('0x1'));case'right':return _0xe12936(_0x59f88d,_0x5421('0x18'));case _0x5421('0x10'):return _0xe12936(_0x59f88d,_0x5421('0x1e'));case _0x5421('0x17'):return _0xe12936(_0x59f88d,_0x5421('0x8'));}}(_0x3fdce7))};}});}}
|
|
@@ -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/basicstyles
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
/**
|
|
10
|
-
* Provides track changes plugin integration for basic styles features.
|
|
11
|
-
*/
|
|
12
|
-
export default class TrackChangesBasicStyles 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/basicstyles
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* Provides track changes plugin integration for basic styles features.
|
|
11
|
+
*/
|
|
12
|
+
export default class TrackChangesBasicStyles extends Plugin {
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
afterInit(): void;
|
|
17
|
+
}
|