UNPKG

1.55 kBTypeScriptView 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/table
7 */
8import { Plugin } from 'ckeditor5/src/core';
9import { Widget } from 'ckeditor5/src/widget';
10import TableEditing from './tableediting';
11import TableUI from './tableui';
12import TableSelection from './tableselection';
13import TableClipboard from './tableclipboard';
14import TableKeyboard from './tablekeyboard';
15import TableMouse from './tablemouse';
16import '../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 */
31export 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}