@ckeditor/ckeditor5-table 37.0.0-alpha.1 → 37.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/table.js +1 -1
- package/package.json +25 -25
- package/src/converters/upcasttable.js +1 -1
- package/src/plaintableoutput.d.ts +3 -2
- package/src/table.d.ts +9 -2
- package/src/tablecaption.d.ts +4 -2
- package/src/tablecellproperties/tablecellpropertiesediting.d.ts +4 -2
- package/src/tablecellproperties/tablecellpropertiesui.d.ts +3 -2
- package/src/tablecellproperties.d.ts +4 -2
- package/src/tablecellwidth/tablecellwidthediting.d.ts +3 -2
- package/src/tableclipboard.d.ts +4 -2
- package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +4 -2
- package/src/tablecolumnresize.d.ts +4 -2
- package/src/tableediting.d.ts +3 -2
- package/src/tablekeyboard.d.ts +7 -2
- package/src/tablemouse.d.ts +4 -2
- package/src/tableproperties/tablepropertiesediting.d.ts +3 -2
- package/src/tableproperties/tablepropertiesui.d.ts +3 -2
- package/src/tableproperties.d.ts +4 -2
- package/src/tableselection.d.ts +3 -2
- package/src/tabletoolbar.d.ts +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-table",
|
|
3
|
-
"version": "37.0.0-alpha.
|
|
3
|
+
"version": "37.0.0-alpha.3",
|
|
4
4
|
"description": "Table feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,34 +12,34 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "^37.0.0-alpha.
|
|
15
|
+
"ckeditor5": "^37.0.0-alpha.3",
|
|
16
16
|
"lodash-es": "^4.17.15"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@ckeditor/ckeditor5-alignment": "^37.0.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.
|
|
19
|
+
"@ckeditor/ckeditor5-alignment": "^37.0.0-alpha.3",
|
|
20
|
+
"@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.3",
|
|
21
|
+
"@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.3",
|
|
22
|
+
"@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.3",
|
|
23
|
+
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.3",
|
|
24
24
|
"@ckeditor/ckeditor5-dev-utils": "^35.0.0",
|
|
25
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-highlight": "^37.0.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-horizontal-line": "^37.0.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-html-support": "^37.0.0-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-indent": "^37.0.0-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-link": "^37.0.0-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-list": "^37.0.0-alpha.
|
|
34
|
-
"@ckeditor/ckeditor5-media-embed": "^37.0.0-alpha.
|
|
35
|
-
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.
|
|
36
|
-
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.
|
|
37
|
-
"@ckeditor/ckeditor5-typing": "^37.0.0-alpha.
|
|
38
|
-
"@ckeditor/ckeditor5-ui": "^37.0.0-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-undo": "^37.0.0-alpha.
|
|
40
|
-
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.
|
|
41
|
-
"@ckeditor/ckeditor5-widget": "^37.0.0-alpha.
|
|
42
|
-
"@ckeditor/ckeditor5-source-editing": "^37.0.0-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.3",
|
|
26
|
+
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.3",
|
|
27
|
+
"@ckeditor/ckeditor5-highlight": "^37.0.0-alpha.3",
|
|
28
|
+
"@ckeditor/ckeditor5-horizontal-line": "^37.0.0-alpha.3",
|
|
29
|
+
"@ckeditor/ckeditor5-html-support": "^37.0.0-alpha.3",
|
|
30
|
+
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.3",
|
|
31
|
+
"@ckeditor/ckeditor5-indent": "^37.0.0-alpha.3",
|
|
32
|
+
"@ckeditor/ckeditor5-link": "^37.0.0-alpha.3",
|
|
33
|
+
"@ckeditor/ckeditor5-list": "^37.0.0-alpha.3",
|
|
34
|
+
"@ckeditor/ckeditor5-media-embed": "^37.0.0-alpha.3",
|
|
35
|
+
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.3",
|
|
36
|
+
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.3",
|
|
37
|
+
"@ckeditor/ckeditor5-typing": "^37.0.0-alpha.3",
|
|
38
|
+
"@ckeditor/ckeditor5-ui": "^37.0.0-alpha.3",
|
|
39
|
+
"@ckeditor/ckeditor5-undo": "^37.0.0-alpha.3",
|
|
40
|
+
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.3",
|
|
41
|
+
"@ckeditor/ckeditor5-widget": "^37.0.0-alpha.3",
|
|
42
|
+
"@ckeditor/ckeditor5-source-editing": "^37.0.0-alpha.3",
|
|
43
43
|
"json-diff": "^0.5.4",
|
|
44
44
|
"typescript": "^4.8.4",
|
|
45
45
|
"webpack": "^5.58.1",
|
|
@@ -213,7 +213,7 @@ function scanTable(viewTable) {
|
|
|
213
213
|
}
|
|
214
214
|
return {
|
|
215
215
|
headingRows,
|
|
216
|
-
headingColumns: headingColumns
|
|
216
|
+
headingColumns: headingColumns || 0,
|
|
217
217
|
rows: [...headRows, ...bodyRows]
|
|
218
218
|
};
|
|
219
219
|
}
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/plaintableoutput
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import Table from './table';
|
|
9
10
|
/**
|
|
10
11
|
* The plain table output feature.
|
|
11
12
|
*/
|
|
@@ -17,7 +18,7 @@ export default class PlainTableOutput extends Plugin {
|
|
|
17
18
|
/**
|
|
18
19
|
* @inheritDoc
|
|
19
20
|
*/
|
|
20
|
-
static get requires():
|
|
21
|
+
static get requires(): readonly [typeof Table];
|
|
21
22
|
/**
|
|
22
23
|
* @inheritDoc
|
|
23
24
|
*/
|
package/src/table.d.ts
CHANGED
|
@@ -5,7 +5,14 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/table
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
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';
|
|
9
16
|
import '../theme/table.css';
|
|
10
17
|
/**
|
|
11
18
|
* The table plugin.
|
|
@@ -25,7 +32,7 @@ export default class Table extends Plugin {
|
|
|
25
32
|
/**
|
|
26
33
|
* @inheritDoc
|
|
27
34
|
*/
|
|
28
|
-
static get requires():
|
|
35
|
+
static get requires(): readonly [typeof TableEditing, typeof TableUI, typeof TableSelection, typeof TableMouse, typeof TableKeyboard, typeof TableClipboard, typeof Widget];
|
|
29
36
|
/**
|
|
30
37
|
* @inheritDoc
|
|
31
38
|
*/
|
package/src/tablecaption.d.ts
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecaption
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableCaptionEditing from './tablecaption/tablecaptionediting';
|
|
10
|
+
import TableCaptionUI from './tablecaption/tablecaptionui';
|
|
9
11
|
import '../theme/tablecaption.css';
|
|
10
12
|
/**
|
|
11
13
|
* The table caption plugin.
|
|
@@ -18,5 +20,5 @@ export default class TableCaption extends Plugin {
|
|
|
18
20
|
/**
|
|
19
21
|
* @inheritDoc
|
|
20
22
|
*/
|
|
21
|
-
static get requires():
|
|
23
|
+
static get requires(): readonly [typeof TableCaptionEditing, typeof TableCaptionUI];
|
|
22
24
|
}
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellproperties/tablecellpropertiesediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableEditing from './../tableediting';
|
|
10
|
+
import TableCellWidthEditing from '../tablecellwidth/tablecellwidthediting';
|
|
9
11
|
/**
|
|
10
12
|
* The table cell properties editing feature.
|
|
11
13
|
*
|
|
@@ -33,7 +35,7 @@ export default class TableCellPropertiesEditing extends Plugin {
|
|
|
33
35
|
/**
|
|
34
36
|
* @inheritDoc
|
|
35
37
|
*/
|
|
36
|
-
static get requires():
|
|
38
|
+
static get requires(): readonly [typeof TableEditing, typeof TableCellWidthEditing];
|
|
37
39
|
/**
|
|
38
40
|
* @inheritDoc
|
|
39
41
|
*/
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellproperties/tablecellpropertiesui
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
9
|
+
import { ContextualBalloon } from 'ckeditor5/src/ui';
|
|
9
10
|
import TableCellPropertiesView from './ui/tablecellpropertiesview';
|
|
10
11
|
/**
|
|
11
12
|
* The table cell properties UI plugin. It introduces the `'tableCellProperties'` button
|
|
@@ -39,7 +40,7 @@ export default class TableCellPropertiesUI extends Plugin {
|
|
|
39
40
|
/**
|
|
40
41
|
* @inheritDoc
|
|
41
42
|
*/
|
|
42
|
-
static get requires():
|
|
43
|
+
static get requires(): readonly [typeof ContextualBalloon];
|
|
43
44
|
/**
|
|
44
45
|
* @inheritDoc
|
|
45
46
|
*/
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellproperties
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui';
|
|
10
|
+
import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting';
|
|
9
11
|
/**
|
|
10
12
|
* The table cell properties feature. Enables support for setting properties of table cells (size, border, background, etc.).
|
|
11
13
|
*
|
|
@@ -24,5 +26,5 @@ export default class TableCellProperties extends Plugin {
|
|
|
24
26
|
/**
|
|
25
27
|
* @inheritDoc
|
|
26
28
|
*/
|
|
27
|
-
static get requires():
|
|
29
|
+
static get requires(): readonly [typeof TableCellPropertiesEditing, typeof TableCellPropertiesUI];
|
|
28
30
|
}
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellwidth/tablecellwidthediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableEditing from './../tableediting';
|
|
9
10
|
/**
|
|
10
11
|
* The table cell width editing feature.
|
|
11
12
|
*
|
|
@@ -20,7 +21,7 @@ export default class TableCellWidthEditing extends Plugin {
|
|
|
20
21
|
/**
|
|
21
22
|
* @inheritDoc
|
|
22
23
|
*/
|
|
23
|
-
static get requires():
|
|
24
|
+
static get requires(): readonly [typeof TableEditing];
|
|
24
25
|
/**
|
|
25
26
|
* @inheritDoc
|
|
26
27
|
*/
|
package/src/tableclipboard.d.ts
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
6
6
|
import type { DocumentFragment, Element, Item, Model, Position, Writer } from 'ckeditor5/src/engine';
|
|
7
|
+
import TableSelection from './tableselection';
|
|
7
8
|
import { type TableSlot } from './tablewalker';
|
|
9
|
+
import TableUtils from './tableutils';
|
|
8
10
|
/**
|
|
9
11
|
* This plugin adds support for copying/cutting/pasting fragments of tables.
|
|
10
12
|
* It is loaded automatically by the {@link module:table/table~Table} plugin.
|
|
@@ -17,7 +19,7 @@ export default class TableClipboard extends Plugin {
|
|
|
17
19
|
/**
|
|
18
20
|
* @inheritDoc
|
|
19
21
|
*/
|
|
20
|
-
static get requires():
|
|
22
|
+
static get requires(): readonly [typeof TableSelection, typeof TableUtils];
|
|
21
23
|
/**
|
|
22
24
|
* @inheritDoc
|
|
23
25
|
*/
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin, type Editor
|
|
5
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
6
6
|
import type { Element } from 'ckeditor5/src/engine';
|
|
7
|
+
import TableEditing from '../tableediting';
|
|
8
|
+
import TableUtils from '../tableutils';
|
|
7
9
|
/**
|
|
8
10
|
* The table column resize editing plugin.
|
|
9
11
|
*/
|
|
@@ -36,7 +38,7 @@ export default class TableColumnResizeEditing extends Plugin {
|
|
|
36
38
|
/**
|
|
37
39
|
* @inheritDoc
|
|
38
40
|
*/
|
|
39
|
-
static get requires():
|
|
41
|
+
static get requires(): readonly [typeof TableEditing, typeof TableUtils];
|
|
40
42
|
/**
|
|
41
43
|
* @inheritDoc
|
|
42
44
|
*/
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecolumnresize
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableColumnResizeEditing from './tablecolumnresize/tablecolumnresizeediting';
|
|
10
|
+
import TableCellWidthEditing from './tablecellwidth/tablecellwidthediting';
|
|
9
11
|
import '../theme/tablecolumnresize.css';
|
|
10
12
|
/**
|
|
11
13
|
* The table column resize feature.
|
|
@@ -16,7 +18,7 @@ export default class TableColumnResize extends Plugin {
|
|
|
16
18
|
/**
|
|
17
19
|
* @inheritDoc
|
|
18
20
|
*/
|
|
19
|
-
static get requires():
|
|
21
|
+
static get requires(): readonly [typeof TableColumnResizeEditing, typeof TableCellWidthEditing];
|
|
20
22
|
/**
|
|
21
23
|
* @inheritDoc
|
|
22
24
|
*/
|
package/src/tableediting.d.ts
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
9
9
|
import type { PositionOffset, SlotFilter } from 'ckeditor5/src/engine';
|
|
10
|
+
import TableUtils from '../src/tableutils';
|
|
10
11
|
import '../theme/tableediting.css';
|
|
11
12
|
/**
|
|
12
13
|
* The table editing feature.
|
|
@@ -23,7 +24,7 @@ export default class TableEditing extends Plugin {
|
|
|
23
24
|
/**
|
|
24
25
|
* @inheritDoc
|
|
25
26
|
*/
|
|
26
|
-
static get requires():
|
|
27
|
+
static get requires(): readonly [typeof TableUtils];
|
|
27
28
|
/**
|
|
28
29
|
* @inheritDoc
|
|
29
30
|
*/
|
package/src/tablekeyboard.d.ts
CHANGED
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* @module table/tablekeyboard
|
|
7
|
+
*/
|
|
8
|
+
import TableSelection from './tableselection';
|
|
9
|
+
import TableUtils from './tableutils';
|
|
10
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
6
11
|
import { type ArrowKeyCodeDirection } from 'ckeditor5/src/utils';
|
|
7
12
|
import type { Element } from 'ckeditor5/src/engine';
|
|
8
13
|
/**
|
|
@@ -17,7 +22,7 @@ export default class TableKeyboard extends Plugin {
|
|
|
17
22
|
/**
|
|
18
23
|
* @inheritDoc
|
|
19
24
|
*/
|
|
20
|
-
static get requires():
|
|
25
|
+
static get requires(): readonly [typeof TableSelection, typeof TableUtils];
|
|
21
26
|
/**
|
|
22
27
|
* @inheritDoc
|
|
23
28
|
*/
|
package/src/tablemouse.d.ts
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablemouse
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableSelection from './tableselection';
|
|
10
|
+
import TableUtils from './tableutils';
|
|
9
11
|
/**
|
|
10
12
|
* This plugin enables a table cells' selection with the mouse.
|
|
11
13
|
* It is loaded automatically by the {@link module:table/table~Table} plugin.
|
|
@@ -18,7 +20,7 @@ export default class TableMouse extends Plugin {
|
|
|
18
20
|
/**
|
|
19
21
|
* @inheritDoc
|
|
20
22
|
*/
|
|
21
|
-
static get requires():
|
|
23
|
+
static get requires(): readonly [typeof TableSelection, typeof TableUtils];
|
|
22
24
|
/**
|
|
23
25
|
* @inheritDoc
|
|
24
26
|
*/
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/tablepropertiesediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableEditing from '../tableediting';
|
|
9
10
|
/**
|
|
10
11
|
* The table properties editing feature.
|
|
11
12
|
*
|
|
@@ -31,7 +32,7 @@ export default class TablePropertiesEditing extends Plugin {
|
|
|
31
32
|
/**
|
|
32
33
|
* @inheritDoc
|
|
33
34
|
*/
|
|
34
|
-
static get requires():
|
|
35
|
+
static get requires(): readonly [typeof TableEditing];
|
|
35
36
|
/**
|
|
36
37
|
* @inheritDoc
|
|
37
38
|
*/
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/tablepropertiesui
|
|
7
7
|
*/
|
|
8
|
-
import { type Editor, Plugin
|
|
8
|
+
import { type Editor, Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { ContextualBalloon } from 'ckeditor5/src/ui';
|
|
9
10
|
import TablePropertiesView from './ui/tablepropertiesview';
|
|
10
11
|
/**
|
|
11
12
|
* The table properties UI plugin. It introduces the `'tableProperties'` button
|
|
@@ -39,7 +40,7 @@ export default class TablePropertiesUI extends Plugin {
|
|
|
39
40
|
/**
|
|
40
41
|
* @inheritDoc
|
|
41
42
|
*/
|
|
42
|
-
static get requires():
|
|
43
|
+
static get requires(): readonly [typeof ContextualBalloon];
|
|
43
44
|
/**
|
|
44
45
|
* @inheritDoc
|
|
45
46
|
*/
|
package/src/tableproperties.d.ts
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TablePropertiesEditing from './tableproperties/tablepropertiesediting';
|
|
10
|
+
import TablePropertiesUI from './tableproperties/tablepropertiesui';
|
|
9
11
|
/**
|
|
10
12
|
* The table properties feature. Enables support for setting properties of tables (size, border, background, etc.).
|
|
11
13
|
*
|
|
@@ -24,5 +26,5 @@ export default class TableProperties extends Plugin {
|
|
|
24
26
|
/**
|
|
25
27
|
* @inheritDoc
|
|
26
28
|
*/
|
|
27
|
-
static get requires():
|
|
29
|
+
static get requires(): readonly [typeof TablePropertiesEditing, typeof TablePropertiesUI];
|
|
28
30
|
}
|
package/src/tableselection.d.ts
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableselection
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
9
|
import type { Element, DocumentFragment } from 'ckeditor5/src/engine';
|
|
10
|
+
import TableUtils from './tableutils';
|
|
10
11
|
import '../theme/tableselection.css';
|
|
11
12
|
/**
|
|
12
13
|
* This plugin enables the advanced table cells, rows and columns selection.
|
|
@@ -20,7 +21,7 @@ export default class TableSelection extends Plugin {
|
|
|
20
21
|
/**
|
|
21
22
|
* @inheritDoc
|
|
22
23
|
*/
|
|
23
|
-
static get requires():
|
|
24
|
+
static get requires(): readonly [typeof TableUtils, typeof TableUtils];
|
|
24
25
|
/**
|
|
25
26
|
* @inheritDoc
|
|
26
27
|
*/
|
package/src/tabletoolbar.d.ts
CHANGED
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tabletoolbar
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { WidgetToolbarRepository } from 'ckeditor5/src/widget';
|
|
9
10
|
/**
|
|
10
11
|
* The table toolbar class. It creates toolbars for the table feature and its content (for now only for the table cell content).
|
|
11
12
|
*
|
|
@@ -19,7 +20,7 @@ export default class TableToolbar extends Plugin {
|
|
|
19
20
|
/**
|
|
20
21
|
* @inheritDoc
|
|
21
22
|
*/
|
|
22
|
-
static get requires():
|
|
23
|
+
static get requires(): readonly [typeof WidgetToolbarRepository];
|
|
23
24
|
/**
|
|
24
25
|
* @inheritDoc
|
|
25
26
|
*/
|