UNPKG

913 BJavaScriptView 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/tablecolumnresize
7 */
8import { Plugin } from 'ckeditor5/src/core';
9import TableColumnResizeEditing from './tablecolumnresize/tablecolumnresizeediting';
10import TableCellWidthEditing from './tablecellwidth/tablecellwidthediting';
11import '../theme/tablecolumnresize.css';
12/**
13 * The table column resize feature.
14 *
15 * It provides the possibility to set the width of each column in a table using a resize handler.
16 */
17export default class TableColumnResize extends Plugin {
18 /**
19 * @inheritDoc
20 */
21 static get requires() {
22 return [TableColumnResizeEditing, TableCellWidthEditing];
23 }
24 /**
25 * @inheritDoc
26 */
27 static get pluginName() {
28 return 'TableColumnResize';
29 }
30}