UNPKG

1.28 kBTypeScriptView 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/tableproperties/tablepropertiesediting
7 */
8import { Plugin } from 'ckeditor5/src/core.js';
9import TableEditing from '../tableediting.js';
10/**
11 * The table properties editing feature.
12 *
13 * Introduces table's model attributes and their conversion:
14 *
15 * - border: `tableBorderStyle`, `tableBorderColor` and `tableBorderWidth`
16 * - background color: `tableBackgroundColor`
17 * - horizontal alignment: `tableAlignment`
18 * - width & height: `tableWidth` & `tableHeight`
19 *
20 * It also registers commands used to manipulate the above attributes:
21 *
22 * - border: `'tableBorderStyle'`, `'tableBorderColor'` and `'tableBorderWidth'` commands
23 * - background color: `'tableBackgroundColor'`
24 * - horizontal alignment: `'tableAlignment'`
25 * - width & height: `'tableWidth'` & `'tableHeight'`
26 */
27export default class TablePropertiesEditing extends Plugin {
28 /**
29 * @inheritDoc
30 */
31 static get pluginName(): "TablePropertiesEditing";
32 /**
33 * @inheritDoc
34 */
35 static get requires(): readonly [typeof TableEditing];
36 /**
37 * @inheritDoc
38 */
39 init(): void;
40}