UNPKG

737 BTypeScriptView Raw
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 table/commands/removerowcommand
7 */
8import { Command } from 'ckeditor5/src/core';
9/**
10 * The remove row command.
11 *
12 * The command is registered by {@link module:table/tableediting~TableEditing} as the `'removeTableRow'` editor command.
13 *
14 * To remove the row containing the selected cell, execute the command:
15 *
16 * ```ts
17 * editor.execute( 'removeTableRow' );
18 * ```
19 */
20export default class RemoveRowCommand extends Command {
21 /**
22 * @inheritDoc
23 */
24 refresh(): void;
25 /**
26 * @inheritDoc
27 */
28 execute(): void;
29}