UNPKG

@ckeditor/ckeditor5-table

Version:

Table feature for CKEditor 5.

29 lines (28 loc) 713 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 */ import { Command } from 'ckeditor5/src/core.js'; /** * The merge cells command. * * The command is registered by {@link module:table/tableediting~TableEditing} as the `'mergeTableCells'` editor command. * * For example, to merge selected table cells: * * ```ts * editor.execute( 'mergeTableCells' ); * ``` */ export default class MergeCellsCommand extends Command { /** * @inheritDoc */ refresh(): void; /** * Executes the command. * * @fires execute */ execute(): void; }