@ckeditor/ckeditor5-table 0.0.0-nightly-20231215.0 → 0.0.0-nightly-20231217.0
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/CHANGELOG.md +2 -2
- package/package.json +3 -2
- package/src/augmentation.d.ts +1 -1
- package/src/commands/insertcolumncommand.d.ts +1 -1
- package/src/commands/insertcolumncommand.js +1 -1
- package/src/commands/insertrowcommand.d.ts +1 -1
- package/src/commands/insertrowcommand.js +1 -1
- package/src/commands/inserttablecommand.d.ts +1 -1
- package/src/commands/inserttablecommand.js +1 -1
- package/src/commands/mergecellcommand.d.ts +3 -3
- package/src/commands/mergecellcommand.js +4 -4
- package/src/commands/mergecellscommand.d.ts +1 -1
- package/src/commands/mergecellscommand.js +4 -4
- package/src/commands/removecolumncommand.d.ts +1 -1
- package/src/commands/removecolumncommand.js +2 -2
- package/src/commands/removerowcommand.d.ts +1 -1
- package/src/commands/removerowcommand.js +1 -1
- package/src/commands/selectcolumncommand.d.ts +1 -1
- package/src/commands/selectcolumncommand.js +2 -2
- package/src/commands/selectrowcommand.d.ts +1 -1
- package/src/commands/selectrowcommand.js +1 -1
- package/src/commands/setheadercolumncommand.d.ts +1 -1
- package/src/commands/setheadercolumncommand.js +3 -3
- package/src/commands/setheaderrowcommand.d.ts +1 -1
- package/src/commands/setheaderrowcommand.js +3 -3
- package/src/commands/splitcellcommand.d.ts +1 -1
- package/src/commands/splitcellcommand.js +1 -1
- package/src/converters/downcast.d.ts +3 -3
- package/src/converters/downcast.js +2 -2
- package/src/converters/table-caption-post-fixer.d.ts +1 -1
- package/src/converters/table-cell-paragraph-post-fixer.d.ts +1 -1
- package/src/converters/table-cell-refresh-handler.d.ts +1 -1
- package/src/converters/table-cell-refresh-handler.js +1 -1
- package/src/converters/table-headings-refresh-handler.d.ts +1 -1
- package/src/converters/table-headings-refresh-handler.js +1 -1
- package/src/converters/table-layout-post-fixer.d.ts +1 -1
- package/src/converters/table-layout-post-fixer.js +2 -2
- package/src/converters/tableproperties.d.ts +1 -1
- package/src/converters/upcasttable.d.ts +1 -1
- package/src/converters/upcasttable.js +2 -2
- package/src/index.d.ts +53 -53
- package/src/index.js +23 -23
- package/src/plaintableoutput.d.ts +2 -2
- package/src/plaintableoutput.js +2 -2
- package/src/table.d.ts +8 -8
- package/src/table.js +8 -8
- package/src/tablecaption/tablecaptionediting.d.ts +2 -2
- package/src/tablecaption/tablecaptionediting.js +6 -6
- package/src/tablecaption/tablecaptionui.d.ts +1 -1
- package/src/tablecaption/tablecaptionui.js +3 -3
- package/src/tablecaption/toggletablecaptioncommand.d.ts +1 -1
- package/src/tablecaption/toggletablecaptioncommand.js +3 -3
- package/src/tablecaption/utils.d.ts +1 -1
- package/src/tablecaption/utils.js +1 -1
- package/src/tablecaption.d.ts +3 -3
- package/src/tablecaption.js +3 -3
- package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +1 -1
- package/src/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellborderstylecommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellborderstylecommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellheightcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellheightcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +1 -1
- package/src/tablecellproperties/commands/tablecellpaddingcommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellpaddingcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellpropertycommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellpropertycommand.js +1 -1
- package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +1 -1
- package/src/tablecellproperties/tablecellpropertiesediting.d.ts +3 -3
- package/src/tablecellproperties/tablecellpropertiesediting.js +15 -15
- package/src/tablecellproperties/tablecellpropertiesui.d.ts +3 -3
- package/src/tablecellproperties/tablecellpropertiesui.js +7 -7
- package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +4 -4
- package/src/tablecellproperties/ui/tablecellpropertiesview.js +5 -5
- package/src/tablecellproperties.d.ts +3 -3
- package/src/tablecellproperties.js +3 -3
- package/src/tablecellwidth/commands/tablecellwidthcommand.d.ts +2 -2
- package/src/tablecellwidth/commands/tablecellwidthcommand.js +2 -2
- package/src/tablecellwidth/tablecellwidthediting.d.ts +2 -2
- package/src/tablecellwidth/tablecellwidthediting.js +5 -5
- package/src/tableclipboard.d.ts +5 -5
- package/src/tableclipboard.js +5 -5
- package/src/tablecolumnresize/converters.d.ts +2 -2
- package/src/tablecolumnresize/converters.js +1 -1
- package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +4 -4
- package/src/tablecolumnresize/tablecolumnresizeediting.js +10 -10
- package/src/tablecolumnresize/tablewidthscommand.d.ts +2 -2
- package/src/tablecolumnresize/tablewidthscommand.js +2 -2
- package/src/tablecolumnresize/utils.d.ts +3 -3
- package/src/tablecolumnresize/utils.js +2 -2
- package/src/tablecolumnresize.d.ts +3 -3
- package/src/tablecolumnresize.js +3 -3
- package/src/tableconfig.d.ts +2 -2
- package/src/tableediting.d.ts +3 -3
- package/src/tableediting.js +20 -20
- package/src/tablekeyboard.d.ts +5 -5
- package/src/tablekeyboard.js +5 -5
- package/src/tablemouse/mouseeventsobserver.d.ts +1 -1
- package/src/tablemouse/mouseeventsobserver.js +1 -1
- package/src/tablemouse.d.ts +3 -3
- package/src/tablemouse.js +4 -4
- package/src/tableproperties/commands/tablealignmentcommand.d.ts +2 -2
- package/src/tableproperties/commands/tablealignmentcommand.js +1 -1
- package/src/tableproperties/commands/tablebackgroundcolorcommand.d.ts +2 -2
- package/src/tableproperties/commands/tablebackgroundcolorcommand.js +1 -1
- package/src/tableproperties/commands/tablebordercolorcommand.d.ts +3 -3
- package/src/tableproperties/commands/tablebordercolorcommand.js +2 -2
- package/src/tableproperties/commands/tableborderstylecommand.d.ts +3 -3
- package/src/tableproperties/commands/tableborderstylecommand.js +2 -2
- package/src/tableproperties/commands/tableborderwidthcommand.d.ts +3 -3
- package/src/tableproperties/commands/tableborderwidthcommand.js +2 -2
- package/src/tableproperties/commands/tableheightcommand.d.ts +2 -2
- package/src/tableproperties/commands/tableheightcommand.js +2 -2
- package/src/tableproperties/commands/tablepropertycommand.d.ts +2 -2
- package/src/tableproperties/commands/tablepropertycommand.js +2 -2
- package/src/tableproperties/commands/tablewidthcommand.d.ts +2 -2
- package/src/tableproperties/commands/tablewidthcommand.js +2 -2
- package/src/tableproperties/tablepropertiesediting.d.ts +2 -2
- package/src/tableproperties/tablepropertiesediting.js +12 -12
- package/src/tableproperties/tablepropertiesui.d.ts +3 -3
- package/src/tableproperties/tablepropertiesui.js +7 -7
- package/src/tableproperties/ui/tablepropertiesview.d.ts +4 -4
- package/src/tableproperties/ui/tablepropertiesview.js +5 -5
- package/src/tableproperties.d.ts +3 -3
- package/src/tableproperties.js +3 -3
- package/src/tableselection.d.ts +3 -3
- package/src/tableselection.js +5 -5
- package/src/tabletoolbar.d.ts +2 -2
- package/src/tabletoolbar.js +3 -3
- package/src/tableui.d.ts +1 -1
- package/src/tableui.js +4 -4
- package/src/tableutils.d.ts +3 -3
- package/src/tableutils.js +6 -6
- package/src/tablewalker.d.ts +1 -1
- package/src/ui/colorinputview.d.ts +2 -2
- package/src/ui/colorinputview.js +2 -2
- package/src/ui/formrowview.d.ts +2 -2
- package/src/ui/formrowview.js +1 -1
- package/src/ui/inserttableview.d.ts +2 -2
- package/src/ui/inserttableview.js +2 -2
- package/src/utils/common.d.ts +2 -2
- package/src/utils/common.js +1 -1
- package/src/utils/structure.d.ts +3 -3
- package/src/utils/structure.js +2 -2
- package/src/utils/table-properties.d.ts +1 -1
- package/src/utils/ui/contextualballoon.d.ts +2 -2
- package/src/utils/ui/contextualballoon.js +4 -4
- package/src/utils/ui/table-properties.d.ts +5 -5
- package/src/utils/ui/table-properties.js +4 -4
- package/src/utils/ui/widget.d.ts +1 -1
- package/src/utils/ui/widget.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -202,10 +202,10 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
202
202
|
|
|
203
203
|
### Features
|
|
204
204
|
|
|
205
|
-
* Implemented the table post–fixer which bulletproofs the feature in various complex use–cases (
|
|
205
|
+
* Implemented the table post–fixer which bulletproofs the feature in various complex use–cases (for example, pasting and real-time collaborative editing). Closes [#13](https://github.com/ckeditor/ckeditor5-table/issues/13). ([01f9a3b](https://github.com/ckeditor/ckeditor5-table/commit/01f9a3b))
|
|
206
206
|
* Introduced the toolbar for the table widget (previously it was available only for single cells). Changed the toolbar configuration option from `table.toolbar` to `table.contentToolbar`. Closes [#113](https://github.com/ckeditor/ckeditor5-table/issues/113). Closes [#106](https://github.com/ckeditor/ckeditor5-table/issues/106). ([9f9486d](https://github.com/ckeditor/ckeditor5-table/commit/9f9486d))
|
|
207
207
|
|
|
208
|
-
Other: `config.table.toolbar` is marked as
|
|
208
|
+
Other: `config.table.toolbar` is marked as deprecated. Use `config.table.contentToolbar` instead.
|
|
209
209
|
* Introduced a support for block content inside tables. Closes [#56](https://github.com/ckeditor/ckeditor5-table/issues/56). ([cdf718e](https://github.com/ckeditor/ckeditor5-table/commit/cdf718e))
|
|
210
210
|
|
|
211
211
|
### Bug fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-table",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231217.0",
|
|
4
4
|
"description": "Table feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
"ckeditor5-plugin",
|
|
11
11
|
"ckeditor5-dll"
|
|
12
12
|
],
|
|
13
|
+
"type": "module",
|
|
13
14
|
"main": "src/index.js",
|
|
14
15
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"ckeditor5": "0.0.0-nightly-20231217.0",
|
|
16
17
|
"lodash-es": "4.17.21"
|
|
17
18
|
},
|
|
18
19
|
"author": "CKSource (http://cksource.com/)",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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 type { TableConfig, Table, TableCaption, TableCaptionEditing, TableCaptionUI, TableCellProperties, TableCellPropertiesEditing, TableCellPropertiesUI, TableCellWidthEditing, TableClipboard, TableColumnResize, TableColumnResizeEditing, TableEditing, TableKeyboard, TableMouse, TableProperties, TablePropertiesEditing, TablePropertiesUI, TableSelection, TableToolbar, TableUI, TableUtils, PlainTableOutput, InsertColumnCommand, InsertRowCommand, InsertTableCommand, MergeCellCommand, MergeCellsCommand, RemoveColumnCommand, RemoveRowCommand, SelectColumnCommand, SelectRowCommand, SetHeaderColumnCommand, SetHeaderRowCommand, SplitCellCommand, ToggleTableCaptionCommand, TableCellBackgroundColorCommand, TableCellBorderColorCommand, TableCellBorderStyleCommand, TableCellBorderWidthCommand, TableCellHeightCommand, TableCellHorizontalAlignmentCommand, TableCellPaddingCommand, TableCellVerticalAlignmentCommand, TableCellWidthCommand, TableAlignmentCommand, TableBackgroundColorCommand, TableBorderColorCommand, TableBorderStyleCommand, TableBorderWidthCommand, TableHeightCommand, TableWidthCommand } from './index';
|
|
5
|
+
import type { TableConfig, Table, TableCaption, TableCaptionEditing, TableCaptionUI, TableCellProperties, TableCellPropertiesEditing, TableCellPropertiesUI, TableCellWidthEditing, TableClipboard, TableColumnResize, TableColumnResizeEditing, TableEditing, TableKeyboard, TableMouse, TableProperties, TablePropertiesEditing, TablePropertiesUI, TableSelection, TableToolbar, TableUI, TableUtils, PlainTableOutput, InsertColumnCommand, InsertRowCommand, InsertTableCommand, MergeCellCommand, MergeCellsCommand, RemoveColumnCommand, RemoveRowCommand, SelectColumnCommand, SelectRowCommand, SetHeaderColumnCommand, SetHeaderRowCommand, SplitCellCommand, ToggleTableCaptionCommand, TableCellBackgroundColorCommand, TableCellBorderColorCommand, TableCellBorderStyleCommand, TableCellBorderWidthCommand, TableCellHeightCommand, TableCellHorizontalAlignmentCommand, TableCellPaddingCommand, TableCellVerticalAlignmentCommand, TableCellWidthCommand, TableAlignmentCommand, TableBackgroundColorCommand, TableBorderColorCommand, TableBorderStyleCommand, TableBorderWidthCommand, TableHeightCommand, TableWidthCommand } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface EditorConfig {
|
|
8
8
|
/**
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/commands/mergecellcommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Node } from 'ckeditor5/src/engine';
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
-
import type { ArrowKeyCodeDirection } from 'ckeditor5/src/utils';
|
|
8
|
+
import type { Node } from 'ckeditor5/src/engine.js';
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import type { ArrowKeyCodeDirection } from 'ckeditor5/src/utils.js';
|
|
11
11
|
/**
|
|
12
12
|
* The merge cell command.
|
|
13
13
|
*
|
|
@@ -2,10 +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 { Command } from 'ckeditor5/src/core';
|
|
6
|
-
import TableWalker from '../tablewalker';
|
|
7
|
-
import { isHeadingColumnCell } from '../utils/common';
|
|
8
|
-
import { removeEmptyRowsColumns } from '../utils/structure';
|
|
5
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
6
|
+
import TableWalker from '../tablewalker.js';
|
|
7
|
+
import { isHeadingColumnCell } from '../utils/common.js';
|
|
8
|
+
import { removeEmptyRowsColumns } from '../utils/structure.js';
|
|
9
9
|
/**
|
|
10
10
|
* The merge cell command.
|
|
11
11
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
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 { Command } from 'ckeditor5/src/core';
|
|
5
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
6
6
|
/**
|
|
7
7
|
* The merge cells command.
|
|
8
8
|
*
|
|
@@ -2,10 +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 { Command } from 'ckeditor5/src/core';
|
|
6
|
-
import TableUtils from '../tableutils';
|
|
7
|
-
import { updateNumericAttribute } from '../utils/common';
|
|
8
|
-
import { removeEmptyRowsColumns } from '../utils/structure';
|
|
5
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
6
|
+
import TableUtils from '../tableutils.js';
|
|
7
|
+
import { updateNumericAttribute } from '../utils/common.js';
|
|
8
|
+
import { removeEmptyRowsColumns } from '../utils/structure.js';
|
|
9
9
|
/**
|
|
10
10
|
* The merge cells command.
|
|
11
11
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/commands/removecolumncommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command } from 'ckeditor5/src/core';
|
|
9
|
-
import TableWalker from '../tablewalker';
|
|
8
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
9
|
+
import TableWalker from '../tablewalker.js';
|
|
10
10
|
/**
|
|
11
11
|
* The remove column command.
|
|
12
12
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/commands/selectcolumncommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command } from 'ckeditor5/src/core';
|
|
9
|
-
import TableWalker from '../tablewalker';
|
|
8
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
9
|
+
import TableWalker from '../tablewalker.js';
|
|
10
10
|
/**
|
|
11
11
|
* The select column command.
|
|
12
12
|
*
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/commands/setheadercolumncommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command } from 'ckeditor5/src/core';
|
|
9
|
-
import { isHeadingColumnCell, updateNumericAttribute } from '../utils/common';
|
|
10
|
-
import { getHorizontallyOverlappingCells, splitVertically } from '../utils/structure';
|
|
8
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { isHeadingColumnCell, updateNumericAttribute } from '../utils/common.js';
|
|
10
|
+
import { getHorizontallyOverlappingCells, splitVertically } from '../utils/structure.js';
|
|
11
11
|
/**
|
|
12
12
|
* The header column command.
|
|
13
13
|
*
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/commands/setheaderrowcommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command } from 'ckeditor5/src/core';
|
|
9
|
-
import { updateNumericAttribute } from '../utils/common';
|
|
10
|
-
import { getVerticallyOverlappingCells, splitHorizontally } from '../utils/structure';
|
|
8
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { updateNumericAttribute } from '../utils/common.js';
|
|
10
|
+
import { getVerticallyOverlappingCells, splitHorizontally } from '../utils/structure.js';
|
|
11
11
|
/**
|
|
12
12
|
* The header row command.
|
|
13
13
|
*
|
|
@@ -2,9 +2,9 @@
|
|
|
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 type { Element, ElementCreatorFunction } from 'ckeditor5/src/engine';
|
|
6
|
-
import type TableUtils from '../tableutils';
|
|
7
|
-
import type { AdditionalSlot } from '../tableediting';
|
|
5
|
+
import type { Element, ElementCreatorFunction } from 'ckeditor5/src/engine.js';
|
|
6
|
+
import type TableUtils from '../tableutils.js';
|
|
7
|
+
import type { AdditionalSlot } from '../tableediting.js';
|
|
8
8
|
/**
|
|
9
9
|
* Model table element to view table element conversion helper.
|
|
10
10
|
*/
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/converters/downcast
|
|
7
7
|
*/
|
|
8
|
-
import { toWidget, toWidgetEditable } from 'ckeditor5/src/widget';
|
|
9
|
-
import TableWalker from './../tablewalker';
|
|
8
|
+
import { toWidget, toWidgetEditable } from 'ckeditor5/src/widget.js';
|
|
9
|
+
import TableWalker from './../tablewalker.js';
|
|
10
10
|
/**
|
|
11
11
|
* Model table element to view table element conversion helper.
|
|
12
12
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/converters/table-cell-paragraph-post-fixer
|
|
7
7
|
*/
|
|
8
|
-
import type { Model } from 'ckeditor5/src/engine';
|
|
8
|
+
import type { Model } from 'ckeditor5/src/engine.js';
|
|
9
9
|
/**
|
|
10
10
|
* Injects a table cell post-fixer into the model which inserts a `paragraph` element into empty table cells.
|
|
11
11
|
*
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/converters/table-cell-refresh-handler
|
|
7
7
|
*/
|
|
8
|
-
import type { EditingController, Model } from 'ckeditor5/src/engine';
|
|
8
|
+
import type { EditingController, Model } from 'ckeditor5/src/engine.js';
|
|
9
9
|
/**
|
|
10
10
|
* A table cell refresh handler which marks the table cell in the differ to have it re-rendered.
|
|
11
11
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
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 { isSingleParagraphWithoutAttributes } from './downcast';
|
|
5
|
+
import { isSingleParagraphWithoutAttributes } from './downcast.js';
|
|
6
6
|
/**
|
|
7
7
|
* A table cell refresh handler which marks the table cell in the differ to have it re-rendered.
|
|
8
8
|
*
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/converters/table-headings-refresh-handler
|
|
7
7
|
*/
|
|
8
|
-
import type { EditingController, Model } from 'ckeditor5/src/engine';
|
|
8
|
+
import type { EditingController, Model } from 'ckeditor5/src/engine.js';
|
|
9
9
|
/**
|
|
10
10
|
* A table headings refresh handler which marks the table cells or rows in the differ to have it re-rendered
|
|
11
11
|
* if the headings attribute changed.
|
|
@@ -2,7 +2,7 @@
|
|
|
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 TableWalker from '../tablewalker';
|
|
5
|
+
import TableWalker from '../tablewalker.js';
|
|
6
6
|
/**
|
|
7
7
|
* A table headings refresh handler which marks the table cells or rows in the differ to have it re-rendered
|
|
8
8
|
* if the headings attribute changed.
|
|
@@ -2,8 +2,8 @@
|
|
|
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 TableWalker from './../tablewalker';
|
|
6
|
-
import { createEmptyTableCell, updateNumericAttribute } from '../utils/common';
|
|
5
|
+
import TableWalker from './../tablewalker.js';
|
|
6
|
+
import { createEmptyTableCell, updateNumericAttribute } from '../utils/common.js';
|
|
7
7
|
/**
|
|
8
8
|
* Injects a table layout post-fixer into the model.
|
|
9
9
|
*
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/converters/tableproperties
|
|
7
7
|
*/
|
|
8
|
-
import type { Conversion, ViewElement } from 'ckeditor5/src/engine';
|
|
8
|
+
import type { Conversion, ViewElement } from 'ckeditor5/src/engine.js';
|
|
9
9
|
/**
|
|
10
10
|
* Conversion helper for upcasting attributes using normalized styles.
|
|
11
11
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
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 { createEmptyTableCell } from '../utils/common';
|
|
6
|
-
import { first } from 'ckeditor5/src/utils';
|
|
5
|
+
import { createEmptyTableCell } from '../utils/common.js';
|
|
6
|
+
import { first } from 'ckeditor5/src/utils.js';
|
|
7
7
|
/**
|
|
8
8
|
* Returns a function that converts the table view representation:
|
|
9
9
|
*
|
package/src/index.d.ts
CHANGED
|
@@ -5,56 +5,56 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table
|
|
7
7
|
*/
|
|
8
|
-
export { default as PlainTableOutput } from './plaintableoutput';
|
|
9
|
-
export { default as Table } from './table';
|
|
10
|
-
export { default as TableEditing } from './tableediting';
|
|
11
|
-
export { default as TableUI } from './tableui';
|
|
12
|
-
export { default as TableToolbar } from './tabletoolbar';
|
|
13
|
-
export { default as TableCellProperties } from './tablecellproperties';
|
|
14
|
-
export { default as TableCellPropertiesEditing } from './tablecellproperties/tablecellpropertiesediting';
|
|
15
|
-
export { default as TableCellPropertiesUI } from './tablecellproperties/tablecellpropertiesui';
|
|
16
|
-
export { default as TableCellWidthEditing } from './tablecellwidth/tablecellwidthediting';
|
|
17
|
-
export { default as TableProperties } from './tableproperties';
|
|
18
|
-
export { default as TablePropertiesEditing } from './tableproperties/tablepropertiesediting';
|
|
19
|
-
export { default as TablePropertiesUI } from './tableproperties/tablepropertiesui';
|
|
20
|
-
export { default as TableCaption } from './tablecaption';
|
|
21
|
-
export { default as TableCaptionEditing } from './tablecaption/tablecaptionediting';
|
|
22
|
-
export { default as TableCaptionUI } from './tablecaption/tablecaptionui';
|
|
23
|
-
export { default as TableClipboard } from './tableclipboard';
|
|
24
|
-
export { default as TableMouse } from './tablemouse';
|
|
25
|
-
export { default as TableKeyboard } from './tablekeyboard';
|
|
26
|
-
export { default as TableSelection } from './tableselection';
|
|
27
|
-
export { default as TableUtils } from './tableutils';
|
|
28
|
-
export { default as TableColumnResize } from './tablecolumnresize';
|
|
29
|
-
export { default as TableColumnResizeEditing } from './tablecolumnresize/tablecolumnresizeediting';
|
|
30
|
-
export type { TableConfig } from './tableconfig';
|
|
31
|
-
export type { default as InsertColumnCommand } from './commands/insertcolumncommand';
|
|
32
|
-
export type { default as InsertRowCommand } from './commands/insertrowcommand';
|
|
33
|
-
export type { default as InsertTableCommand } from './commands/inserttablecommand';
|
|
34
|
-
export type { default as MergeCellCommand } from './commands/mergecellcommand';
|
|
35
|
-
export type { default as MergeCellsCommand } from './commands/mergecellscommand';
|
|
36
|
-
export type { default as RemoveColumnCommand } from './commands/removecolumncommand';
|
|
37
|
-
export type { default as RemoveRowCommand } from './commands/removerowcommand';
|
|
38
|
-
export type { default as SelectColumnCommand } from './commands/selectcolumncommand';
|
|
39
|
-
export type { default as SelectRowCommand } from './commands/selectrowcommand';
|
|
40
|
-
export type { default as SetHeaderColumnCommand } from './commands/setheadercolumncommand';
|
|
41
|
-
export type { default as SetHeaderRowCommand } from './commands/setheaderrowcommand';
|
|
42
|
-
export type { default as SplitCellCommand } from './commands/splitcellcommand';
|
|
43
|
-
export type { default as ToggleTableCaptionCommand } from './tablecaption/toggletablecaptioncommand';
|
|
44
|
-
export type { default as TableCellBackgroundColorCommand } from './tablecellproperties/commands/tablecellbackgroundcolorcommand';
|
|
45
|
-
export type { default as TableCellBorderColorCommand } from './tablecellproperties/commands/tablecellbordercolorcommand';
|
|
46
|
-
export type { default as TableCellBorderStyleCommand } from './tablecellproperties/commands/tablecellborderstylecommand';
|
|
47
|
-
export type { default as TableCellBorderWidthCommand } from './tablecellproperties/commands/tablecellborderwidthcommand';
|
|
48
|
-
export type { default as TableCellHeightCommand } from './tablecellproperties/commands/tablecellheightcommand';
|
|
49
|
-
export type { default as TableCellHorizontalAlignmentCommand } from './tablecellproperties/commands/tablecellhorizontalalignmentcommand';
|
|
50
|
-
export type { default as TableCellPaddingCommand } from './tablecellproperties/commands/tablecellpaddingcommand';
|
|
51
|
-
export type { default as TableCellVerticalAlignmentCommand } from './tablecellproperties/commands/tablecellverticalalignmentcommand';
|
|
52
|
-
export type { default as TableCellWidthCommand } from './tablecellwidth/commands/tablecellwidthcommand';
|
|
53
|
-
export type { default as TableAlignmentCommand } from './tableproperties/commands/tablealignmentcommand';
|
|
54
|
-
export type { default as TableBackgroundColorCommand } from './tableproperties/commands/tablebackgroundcolorcommand';
|
|
55
|
-
export type { default as TableBorderColorCommand } from './tableproperties/commands/tablebordercolorcommand';
|
|
56
|
-
export type { default as TableBorderStyleCommand } from './tableproperties/commands/tableborderstylecommand';
|
|
57
|
-
export type { default as TableBorderWidthCommand } from './tableproperties/commands/tableborderwidthcommand';
|
|
58
|
-
export type { default as TableHeightCommand } from './tableproperties/commands/tableheightcommand';
|
|
59
|
-
export type { default as TableWidthCommand } from './tableproperties/commands/tablewidthcommand';
|
|
60
|
-
import './augmentation';
|
|
8
|
+
export { default as PlainTableOutput } from './plaintableoutput.js';
|
|
9
|
+
export { default as Table } from './table.js';
|
|
10
|
+
export { default as TableEditing } from './tableediting.js';
|
|
11
|
+
export { default as TableUI } from './tableui.js';
|
|
12
|
+
export { default as TableToolbar } from './tabletoolbar.js';
|
|
13
|
+
export { default as TableCellProperties } from './tablecellproperties.js';
|
|
14
|
+
export { default as TableCellPropertiesEditing } from './tablecellproperties/tablecellpropertiesediting.js';
|
|
15
|
+
export { default as TableCellPropertiesUI } from './tablecellproperties/tablecellpropertiesui.js';
|
|
16
|
+
export { default as TableCellWidthEditing } from './tablecellwidth/tablecellwidthediting.js';
|
|
17
|
+
export { default as TableProperties } from './tableproperties.js';
|
|
18
|
+
export { default as TablePropertiesEditing } from './tableproperties/tablepropertiesediting.js';
|
|
19
|
+
export { default as TablePropertiesUI } from './tableproperties/tablepropertiesui.js';
|
|
20
|
+
export { default as TableCaption } from './tablecaption.js';
|
|
21
|
+
export { default as TableCaptionEditing } from './tablecaption/tablecaptionediting.js';
|
|
22
|
+
export { default as TableCaptionUI } from './tablecaption/tablecaptionui.js';
|
|
23
|
+
export { default as TableClipboard } from './tableclipboard.js';
|
|
24
|
+
export { default as TableMouse } from './tablemouse.js';
|
|
25
|
+
export { default as TableKeyboard } from './tablekeyboard.js';
|
|
26
|
+
export { default as TableSelection } from './tableselection.js';
|
|
27
|
+
export { default as TableUtils } from './tableutils.js';
|
|
28
|
+
export { default as TableColumnResize } from './tablecolumnresize.js';
|
|
29
|
+
export { default as TableColumnResizeEditing } from './tablecolumnresize/tablecolumnresizeediting.js';
|
|
30
|
+
export type { TableConfig } from './tableconfig.js';
|
|
31
|
+
export type { default as InsertColumnCommand } from './commands/insertcolumncommand.js';
|
|
32
|
+
export type { default as InsertRowCommand } from './commands/insertrowcommand.js';
|
|
33
|
+
export type { default as InsertTableCommand } from './commands/inserttablecommand.js';
|
|
34
|
+
export type { default as MergeCellCommand } from './commands/mergecellcommand.js';
|
|
35
|
+
export type { default as MergeCellsCommand } from './commands/mergecellscommand.js';
|
|
36
|
+
export type { default as RemoveColumnCommand } from './commands/removecolumncommand.js';
|
|
37
|
+
export type { default as RemoveRowCommand } from './commands/removerowcommand.js';
|
|
38
|
+
export type { default as SelectColumnCommand } from './commands/selectcolumncommand.js';
|
|
39
|
+
export type { default as SelectRowCommand } from './commands/selectrowcommand.js';
|
|
40
|
+
export type { default as SetHeaderColumnCommand } from './commands/setheadercolumncommand.js';
|
|
41
|
+
export type { default as SetHeaderRowCommand } from './commands/setheaderrowcommand.js';
|
|
42
|
+
export type { default as SplitCellCommand } from './commands/splitcellcommand.js';
|
|
43
|
+
export type { default as ToggleTableCaptionCommand } from './tablecaption/toggletablecaptioncommand.js';
|
|
44
|
+
export type { default as TableCellBackgroundColorCommand } from './tablecellproperties/commands/tablecellbackgroundcolorcommand.js';
|
|
45
|
+
export type { default as TableCellBorderColorCommand } from './tablecellproperties/commands/tablecellbordercolorcommand.js';
|
|
46
|
+
export type { default as TableCellBorderStyleCommand } from './tablecellproperties/commands/tablecellborderstylecommand.js';
|
|
47
|
+
export type { default as TableCellBorderWidthCommand } from './tablecellproperties/commands/tablecellborderwidthcommand.js';
|
|
48
|
+
export type { default as TableCellHeightCommand } from './tablecellproperties/commands/tablecellheightcommand.js';
|
|
49
|
+
export type { default as TableCellHorizontalAlignmentCommand } from './tablecellproperties/commands/tablecellhorizontalalignmentcommand.js';
|
|
50
|
+
export type { default as TableCellPaddingCommand } from './tablecellproperties/commands/tablecellpaddingcommand.js';
|
|
51
|
+
export type { default as TableCellVerticalAlignmentCommand } from './tablecellproperties/commands/tablecellverticalalignmentcommand.js';
|
|
52
|
+
export type { default as TableCellWidthCommand } from './tablecellwidth/commands/tablecellwidthcommand.js';
|
|
53
|
+
export type { default as TableAlignmentCommand } from './tableproperties/commands/tablealignmentcommand.js';
|
|
54
|
+
export type { default as TableBackgroundColorCommand } from './tableproperties/commands/tablebackgroundcolorcommand.js';
|
|
55
|
+
export type { default as TableBorderColorCommand } from './tableproperties/commands/tablebordercolorcommand.js';
|
|
56
|
+
export type { default as TableBorderStyleCommand } from './tableproperties/commands/tableborderstylecommand.js';
|
|
57
|
+
export type { default as TableBorderWidthCommand } from './tableproperties/commands/tableborderwidthcommand.js';
|
|
58
|
+
export type { default as TableHeightCommand } from './tableproperties/commands/tableheightcommand.js';
|
|
59
|
+
export type { default as TableWidthCommand } from './tableproperties/commands/tablewidthcommand.js';
|
|
60
|
+
import './augmentation.js';
|