UNPKG

@ckeditor/ckeditor5-table

Version:

Table feature for CKEditor 5.

34 lines (33 loc) 829 B
/** * @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 table/commands/selectrowcommand */ import { Command, type Editor } from 'ckeditor5/src/core.js'; /** * The select row command. * * The command is registered by {@link module:table/tableediting~TableEditing} as the `'selectTableRow'` editor command. * * To select the rows containing the selected cells, execute the command: * * ```ts * editor.execute( 'selectTableRow' ); * ``` */ export default class SelectRowCommand extends Command { /** * @inheritDoc */ constructor(editor: Editor); /** * @inheritDoc */ refresh(): void; /** * @inheritDoc */ execute(): void; }