@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
25 lines (24 loc) • 820 B
TypeScript
/**
* @license Copyright (c) 2003-2025, 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/executeonselectedsuggestionscommand
* @publicApi
*/
import { Command, type Editor } from 'ckeditor5/src/core.js';
import type Suggestion from '../suggestion.js';
/**
* A command that executes passed command (accept or discard suggestion command) at once for all suggestions selected in the document.
*/
export default class ExecuteOnSelectedSuggestionsCommand<T extends Command> extends Command {
constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
/**
* @inheritDoc
*/
refresh(): void;
/**
* @inheritDoc
*/
execute(): void;
}