@ckeditor/ckeditor5-track-changes 48.2.0-alpha.7 → 48.3.0-alpha.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/dist/augmentation.d.ts +42 -42
- package/dist/commands/acceptsuggestioncommand.d.ts +19 -19
- package/dist/commands/discardsuggestioncommand.d.ts +19 -19
- package/dist/commands/executeonallsuggestionscommand.d.ts +19 -19
- package/dist/commands/executeonselectedsuggestionscommand.d.ts +19 -19
- package/dist/commands/previewfinalcontentcommand.d.ts +21 -21
- package/dist/commands/trackchangescommand.d.ts +21 -21
- package/dist/index.d.ts +23 -23
- package/dist/index.js +4 -4
- package/dist/integrations/ai.d.ts +12 -12
- package/dist/integrations/aiassistant.d.ts +12 -12
- package/dist/integrations/aiquickactions.d.ts +12 -12
- package/dist/integrations/alignment.d.ts +12 -12
- package/dist/integrations/basicstyles.d.ts +12 -12
- package/dist/integrations/blockquote.d.ts +12 -12
- package/dist/integrations/bookmark.d.ts +12 -12
- package/dist/integrations/casechange.d.ts +12 -12
- package/dist/integrations/ckbox.d.ts +12 -12
- package/dist/integrations/codeblock.d.ts +12 -12
- package/dist/integrations/comments.d.ts +9 -9
- package/dist/integrations/deletecommand.d.ts +12 -12
- package/dist/integrations/emoji.d.ts +12 -12
- package/dist/integrations/entercommand.d.ts +11 -11
- package/dist/integrations/findandreplace.d.ts +16 -16
- package/dist/integrations/font.d.ts +12 -12
- package/dist/integrations/footnotes.d.ts +12 -12
- package/dist/integrations/formatpainter.d.ts +12 -12
- package/dist/integrations/generalhtmlsupport.d.ts +24 -24
- package/dist/integrations/heading.d.ts +12 -12
- package/dist/integrations/highlight.d.ts +12 -12
- package/dist/integrations/horizontalline.d.ts +12 -12
- package/dist/integrations/htmlembed.d.ts +12 -12
- package/dist/integrations/image.d.ts +12 -12
- package/dist/integrations/imagereplace.d.ts +12 -12
- package/dist/integrations/imagestyle.d.ts +12 -12
- package/dist/integrations/importword.d.ts +13 -13
- package/dist/integrations/indent.d.ts +12 -12
- package/dist/integrations/inputcommand.d.ts +11 -11
- package/dist/integrations/legacylist.d.ts +12 -12
- package/dist/integrations/legacylistproperties.d.ts +24 -24
- package/dist/integrations/lineheight.d.ts +12 -12
- package/dist/integrations/link.d.ts +12 -12
- package/dist/integrations/list.d.ts +12 -12
- package/dist/integrations/listproperties.d.ts +15 -15
- package/dist/integrations/mediaembed.d.ts +12 -12
- package/dist/integrations/mediaembedstyle.d.ts +13 -13
- package/dist/integrations/mention.d.ts +12 -12
- package/dist/integrations/mergefields.d.ts +12 -12
- package/dist/integrations/multilevellist.d.ts +19 -19
- package/dist/integrations/pagebreak.d.ts +12 -12
- package/dist/integrations/paragraph.d.ts +12 -12
- package/dist/integrations/removeformat.d.ts +12 -12
- package/dist/integrations/replacesourcecommand.d.ts +13 -13
- package/dist/integrations/restrictededitingmode.d.ts +12 -12
- package/dist/integrations/shiftentercommand.d.ts +9 -9
- package/dist/integrations/standardeditingmode.d.ts +12 -12
- package/dist/integrations/style.d.ts +29 -29
- package/dist/integrations/table.d.ts +34 -34
- package/dist/integrations/tablecaption.d.ts +17 -17
- package/dist/integrations/tableclipboard.d.ts +15 -15
- package/dist/integrations/tablecolumnresize.d.ts +21 -21
- package/dist/integrations/tablefooters.d.ts +17 -17
- package/dist/integrations/tableheadings.d.ts +17 -17
- package/dist/integrations/tablelayout.d.ts +12 -12
- package/dist/integrations/tablemergesplit.d.ts +17 -17
- package/dist/integrations/tableofcontents.d.ts +12 -12
- package/dist/integrations/tableproperties.d.ts +30 -30
- package/dist/integrations/template.d.ts +12 -12
- package/dist/integrations/title.d.ts +12 -12
- package/dist/integrations/undo.d.ts +12 -12
- package/dist/integrations/uploadcare.d.ts +12 -12
- package/dist/integrations/utils.d.ts +8 -8
- package/dist/suggestion.d.ts +285 -283
- package/dist/suggestiondescriptionfactory.d.ts +165 -165
- package/dist/trackchanges.d.ts +178 -178
- package/dist/trackchangesconfig.d.ts +136 -103
- package/dist/trackchangesdata.d.ts +59 -59
- package/dist/trackchangesediting.d.ts +565 -565
- package/dist/trackchangespreview.d.ts +26 -26
- package/dist/trackchangesui.d.ts +52 -52
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/ui/suggestioncontroller.d.ts +34 -33
- package/dist/ui/view/basesuggestionthreadview.d.ts +192 -191
- package/dist/ui/view/suggestionthreadview.d.ts +89 -89
- package/dist/ui/view/suggestionview.d.ts +219 -183
- package/dist/ui/view/trackchangespreviewview.d.ts +0 -4
- package/dist/utils/common-translations.d.ts +6 -6
- package/dist/utils/utils.d.ts +23 -23
- package/package.json +25 -25
package/dist/augmentation.d.ts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import type { TrackChanges, TrackChangesData, TrackChangesEditing, TrackChangesConfig, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand, PreviewFinalContentCommand, TrackChangesPreview } from
|
|
6
|
-
import type { Editor } from
|
|
7
|
-
declare module
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import type { TrackChanges, TrackChangesData, TrackChangesEditing, TrackChangesConfig, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand, PreviewFinalContentCommand, TrackChangesPreview } from "./index.js";
|
|
6
|
+
import type { Editor } from "@ckeditor/ckeditor5-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
|
+
[TrackChanges.pluginName]: TrackChanges;
|
|
30
|
+
[TrackChangesData.pluginName]: TrackChangesData;
|
|
31
|
+
[TrackChangesEditing.pluginName]: TrackChangesEditing;
|
|
32
|
+
[TrackChangesPreview.pluginName]: TrackChangesPreview;
|
|
33
|
+
}
|
|
34
|
+
interface CommandsMap {
|
|
35
|
+
acceptSuggestion: AcceptSuggestionCommand;
|
|
36
|
+
discardSuggestion: DiscardSuggestionCommand;
|
|
37
|
+
acceptAllSuggestions: ExecuteOnAllSuggestionsCommand<AcceptSuggestionCommand>;
|
|
38
|
+
discardAllSuggestions: ExecuteOnAllSuggestionsCommand<DiscardSuggestionCommand>;
|
|
39
|
+
acceptSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<AcceptSuggestionCommand>;
|
|
40
|
+
discardSelectedSuggestions: ExecuteOnSelectedSuggestionsCommand<DiscardSuggestionCommand>;
|
|
41
|
+
trackChanges: TrackChangesCommand;
|
|
42
|
+
previewFinalContent: PreviewFinalContentCommand;
|
|
43
|
+
}
|
|
44
44
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Command, type Editor } from
|
|
10
|
-
import { type Suggestion } from
|
|
6
|
+
* @module track-changes/commands/acceptsuggestioncommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from "@ckeditor/ckeditor5-core";
|
|
10
|
+
import { type Suggestion } from "../suggestion.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* A command that accepts the suggestion chain.
|
|
13
|
+
*/
|
|
14
14
|
export declare class AcceptSuggestionCommand extends Command {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
constructor(editor: Editor, suggestions: Map<string, Suggestion>);
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
override refresh(): void;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
override execute(suggestionId: string): void;
|
|
24
24
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Command, type Editor } from
|
|
10
|
-
import { type Suggestion } from
|
|
6
|
+
* @module track-changes/commands/discardsuggestioncommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from "@ckeditor/ckeditor5-core";
|
|
10
|
+
import { type Suggestion } from "../suggestion.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* A command that discards the suggestion chain.
|
|
13
|
+
*/
|
|
14
14
|
export declare class DiscardSuggestionCommand extends Command {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
constructor(editor: Editor, suggestions: Map<string, Suggestion>);
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
override refresh(): void;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
override execute(suggestionId: string): void;
|
|
24
24
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Command, type Editor } from
|
|
10
|
-
import { type Suggestion } from
|
|
6
|
+
* @module track-changes/commands/executeonallsuggestionscommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from "@ckeditor/ckeditor5-core";
|
|
10
|
+
import { type Suggestion } from "../suggestion.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* A command that executes passed command (accept or discard suggestion command) at once for all suggestions in the document.
|
|
13
|
+
*/
|
|
14
14
|
export declare class ExecuteOnAllSuggestionsCommand<T extends Command> extends Command {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
override refresh(): void;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
override execute(): void;
|
|
24
24
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Command, type Editor } from
|
|
10
|
-
import { type Suggestion } from
|
|
6
|
+
* @module track-changes/commands/executeonselectedsuggestionscommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from "@ckeditor/ckeditor5-core";
|
|
10
|
+
import { type Suggestion } from "../suggestion.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* A command that executes passed command (accept or discard suggestion command) at once for all suggestions selected in the document.
|
|
13
|
+
*/
|
|
14
14
|
export declare class ExecuteOnSelectedSuggestionsCommand<T extends Command> extends Command {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
override refresh(): void;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
override execute(): void;
|
|
24
24
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Command, type Editor } from
|
|
6
|
+
* @module track-changes/commands/previewfinalcontentcommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from "@ckeditor/ckeditor5-core";
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
* A command that displays a dialog with the document preview where all the suggestions are accepted.
|
|
12
|
+
*/
|
|
13
13
|
export declare class PreviewFinalContentCommand extends Command {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
constructor(editor: Editor);
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
override refresh(): void;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
override execute(): void;
|
|
26
26
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Command, type Editor } from
|
|
6
|
+
* @module track-changes/commands/trackchangescommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from "@ckeditor/ckeditor5-core";
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
15
|
export declare class TrackChangesCommand extends Command {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
value: boolean;
|
|
17
|
+
constructor(editor: Editor, enabledCommands: Set<Command>);
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
override refresh(): void;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
override execute(): void;
|
|
26
26
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export { TrackChanges, type SuggestionData, type TrackChangesAdapter, type AddSuggestionInput, type UpdateSuggestionInput } from
|
|
9
|
-
export { TrackChangesData, TrackChangesDataGetter } from
|
|
10
|
-
export { TrackChangesEditing, type SuggestionAttributeData, type SuggestionFormatData } from
|
|
11
|
-
export { TrackChangesPreview } from
|
|
12
|
-
export { TrackChangesUI } from
|
|
13
|
-
export { Suggestion, type SuggestionJSON, type SuggestionOptions, type SuggestionType } from
|
|
14
|
-
export { BaseSuggestionThreadView, type AcceptSuggestionEvent, type DiscardSuggestionEvent, type SuggestionThreadConfig } from
|
|
15
|
-
export { SuggestionThreadView } from
|
|
16
|
-
export { SuggestionView, type SuggestionConfig } from
|
|
17
|
-
export { AcceptSuggestionCommand } from
|
|
18
|
-
export { DiscardSuggestionCommand } from
|
|
19
|
-
export { ExecuteOnAllSuggestionsCommand } from
|
|
20
|
-
export { ExecuteOnSelectedSuggestionsCommand } from
|
|
21
|
-
export { TrackChangesCommand } from
|
|
22
|
-
export { PreviewFinalContentCommand } from
|
|
23
|
-
export { SuggestionDescriptionFactory, type SuggestionDescription, type SuggestionDescriptionCallback, type SuggestionDescriptionItem, type SuggestionLabelCallback } from
|
|
24
|
-
export type { TrackChangesConfig, TrackChangesPreviewConfig } from
|
|
25
|
-
import
|
|
6
|
+
* @module track-changes
|
|
7
|
+
*/
|
|
8
|
+
export { TrackChanges, type SuggestionData, type TrackChangesAdapter, type AddSuggestionInput, type UpdateSuggestionInput } from "./trackchanges.js";
|
|
9
|
+
export { TrackChangesData, TrackChangesDataGetter } from "./trackchangesdata.js";
|
|
10
|
+
export { TrackChangesEditing, type SuggestionAttributeData, type SuggestionFormatData } from "./trackchangesediting.js";
|
|
11
|
+
export { TrackChangesPreview } from "./trackchangespreview.js";
|
|
12
|
+
export { TrackChangesUI } from "./trackchangesui.js";
|
|
13
|
+
export { Suggestion, type SuggestionJSON, type SuggestionOptions, type SuggestionType } from "./suggestion.js";
|
|
14
|
+
export { BaseSuggestionThreadView, type AcceptSuggestionEvent, type DiscardSuggestionEvent, type SuggestionThreadConfig } from "./ui/view/basesuggestionthreadview.js";
|
|
15
|
+
export { SuggestionThreadView } from "./ui/view/suggestionthreadview.js";
|
|
16
|
+
export { SuggestionView, type SuggestionConfig } from "./ui/view/suggestionview.js";
|
|
17
|
+
export { AcceptSuggestionCommand } from "./commands/acceptsuggestioncommand.js";
|
|
18
|
+
export { DiscardSuggestionCommand } from "./commands/discardsuggestioncommand.js";
|
|
19
|
+
export { ExecuteOnAllSuggestionsCommand } from "./commands/executeonallsuggestionscommand.js";
|
|
20
|
+
export { ExecuteOnSelectedSuggestionsCommand } from "./commands/executeonselectedsuggestionscommand.js";
|
|
21
|
+
export { TrackChangesCommand } from "./commands/trackchangescommand.js";
|
|
22
|
+
export { PreviewFinalContentCommand } from "./commands/previewfinalcontentcommand.js";
|
|
23
|
+
export { SuggestionDescriptionFactory, type SuggestionDescription, type SuggestionDescriptionCallback, type SuggestionDescriptionItem, type SuggestionLabelCallback } from "./suggestiondescriptionfactory.js";
|
|
24
|
+
export type { TrackChangesConfig, TrackChangesPreviewConfig } from "./trackchangesconfig.js";
|
|
25
|
+
import "./augmentation.js";
|