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/tableproperties
|
7 | */
|
8 | import { Plugin } from 'ckeditor5/src/core';
|
9 | import TablePropertiesEditing from './tableproperties/tablepropertiesediting';
|
10 | import TablePropertiesUI from './tableproperties/tablepropertiesui';
|
11 | /**
|
12 | * The table properties feature. Enables support for setting properties of tables (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/tablecellproperties~TableCellProperties} plugin.
|
16 | *
|
17 | * This is a "glue" plugin that loads the
|
18 | * {@link module:table/tableproperties/tablepropertiesediting~TablePropertiesEditing table properties editing feature} and
|
19 | * the {@link module:table/tableproperties/tablepropertiesui~TablePropertiesUI table properties UI feature}.
|
20 | */
|
21 | export default class TableProperties extends Plugin {
|
22 | /**
|
23 | * @inheritDoc
|
24 | */
|
25 | static get pluginName() {
|
26 | return 'TableProperties';
|
27 | }
|
28 | /**
|
29 | * @inheritDoc
|
30 | */
|
31 | static get requires() {
|
32 | return [TablePropertiesEditing, TablePropertiesUI];
|
33 | }
|
34 | }
|