UNPKG

841 BTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2024, 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/selectcolumncommand
7 */
8import { Command, type Editor } from 'ckeditor5/src/core.js';
9/**
10 * The select column command.
11 *
12 * The command is registered by {@link module:table/tableediting~TableEditing} as the `'selectTableColumn'` editor command.
13 *
14 * To select the columns containing the selected cells, execute the command:
15 *
16 * ```ts
17 * editor.execute( 'selectTableColumn' );
18 * ```
19 */
20export default class SelectColumnCommand extends Command {
21 /**
22 * @inheritDoc
23 */
24 constructor(editor: Editor);
25 /**
26 * @inheritDoc
27 */
28 refresh(): void;
29 /**
30 * @inheritDoc
31 */
32 execute(): void;
33}