UNPKG

1.37 kBJavaScriptView 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/tablecellproperties
7 */
8import { Plugin } from 'ckeditor5/src/core';
9import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui';
10import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting';
11/**
12 * The table cell properties feature. Enables support for setting properties of table cells (size, border, background, etc.).
13 *
14 * Read more in the {@glink features/tables/tables-styling Table and cell styling tools} section.
15 * See also the {@link module:table/tableproperties~TableProperties} plugin.
16 *
17 * This is a "glue" plugin that loads the
18 * {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing table cell properties editing feature} and
19 * the {@link module:table/tablecellproperties/tablecellpropertiesui~TableCellPropertiesUI table cell properties UI feature}.
20 */
21export default class TableCellProperties extends Plugin {
22 /**
23 * @inheritDoc
24 */
25 static get pluginName() {
26 return 'TableCellProperties';
27 }
28 /**
29 * @inheritDoc
30 */
31 static get requires() {
32 return [TableCellPropertiesEditing, TableCellPropertiesUI];
33 }
34}