UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

25 lines (24 loc) 687 B
/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module track-changes/commands/discardsuggestioncommand * @publicApi */ import { Command, type Editor } from "@ckeditor/ckeditor5-core"; import { type Suggestion } from "../suggestion.js"; /** * A command that discards the suggestion chain. */ export declare class DiscardSuggestionCommand extends Command { constructor(editor: Editor, suggestions: Map<string, Suggestion>); /** * @inheritDoc */ override refresh(): void; /** * @inheritDoc */ override execute(suggestionId: string): void; }