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/table
|
7 | */
|
8 | import { Plugin } from 'ckeditor5/src/core';
|
9 | import { Widget } from 'ckeditor5/src/widget';
|
10 | import TableEditing from './tableediting';
|
11 | import TableUI from './tableui';
|
12 | import TableSelection from './tableselection';
|
13 | import TableClipboard from './tableclipboard';
|
14 | import TableKeyboard from './tablekeyboard';
|
15 | import TableMouse from './tablemouse';
|
16 | import '../theme/table.css';
|
17 | /**
|
18 | * The table plugin.
|
19 | *
|
20 | * For a detailed overview, check the {@glink features/tables/tables Table feature documentation}.
|
21 | *
|
22 | * This is a "glue" plugin that loads the following table features:
|
23 | *
|
24 | * * {@link module:table/tableediting~TableEditing editing feature},
|
25 | * * {@link module:table/tableselection~TableSelection selection feature},
|
26 | * * {@link module:table/tablekeyboard~TableKeyboard keyboard navigation feature},
|
27 | * * {@link module:table/tablemouse~TableMouse mouse selection feature},
|
28 | * * {@link module:table/tableclipboard~TableClipboard clipboard feature},
|
29 | * * {@link module:table/tableui~TableUI UI feature}.
|
30 | */
|
31 | export default class Table extends Plugin {
|
32 | /**
|
33 | * @inheritDoc
|
34 | */
|
35 | static get requires(): readonly [typeof TableEditing, typeof TableUI, typeof TableSelection, typeof TableMouse, typeof TableKeyboard, typeof TableClipboard, typeof Widget];
|
36 | /**
|
37 | * @inheritDoc
|
38 | */
|
39 | static get pluginName(): 'Table';
|
40 | }
|