@ckeditor/ckeditor5-table 37.0.0-alpha.0 → 37.0.0-alpha.1
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/README.md +1 -1
- package/build/table.js +1 -1
- package/ckeditor5-metadata.json +6 -6
- package/package.json +27 -27
- package/src/augmentation.d.ts +76 -0
- package/src/augmentation.js +5 -0
- package/src/commands/insertcolumncommand.d.ts +0 -6
- package/src/commands/insertrowcommand.d.ts +0 -6
- package/src/commands/inserttablecommand.d.ts +0 -6
- package/src/commands/inserttablecommand.js +0 -1
- package/src/commands/mergecellcommand.d.ts +0 -8
- package/src/commands/mergecellscommand.d.ts +0 -5
- package/src/commands/removecolumncommand.d.ts +0 -5
- package/src/commands/removerowcommand.d.ts +0 -5
- package/src/commands/selectcolumncommand.d.ts +0 -5
- package/src/commands/selectrowcommand.d.ts +0 -5
- package/src/commands/setheadercolumncommand.d.ts +0 -5
- package/src/commands/setheaderrowcommand.d.ts +0 -5
- package/src/commands/splitcellcommand.d.ts +0 -6
- package/src/converters/table-cell-refresh-handler.d.ts +1 -1
- package/src/converters/table-headings-refresh-handler.d.ts +1 -1
- package/src/converters/tableproperties.d.ts +1 -1
- package/src/converters/upcasttable.js +28 -25
- package/src/index.d.ts +31 -0
- package/src/index.js +1 -0
- package/src/plaintableoutput.d.ts +0 -5
- package/src/table.d.ts +0 -5
- package/src/tablecaption/tablecaptionediting.d.ts +0 -5
- package/src/tablecaption/tablecaptionui.d.ts +0 -5
- package/src/tablecaption/toggletablecaptioncommand.d.ts +0 -5
- package/src/tablecaption.d.ts +0 -5
- package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +0 -5
- package/src/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +0 -5
- package/src/tablecellproperties/commands/tablecellborderstylecommand.d.ts +0 -5
- package/src/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +0 -5
- package/src/tablecellproperties/commands/tablecellheightcommand.d.ts +0 -5
- package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +0 -5
- package/src/tablecellproperties/commands/tablecellpaddingcommand.d.ts +0 -5
- package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +0 -5
- package/src/tablecellproperties/tablecellpropertiesediting.d.ts +0 -6
- package/src/tablecellproperties/tablecellpropertiesediting.js +0 -1
- package/src/tablecellproperties/tablecellpropertiesui.d.ts +0 -6
- package/src/tablecellproperties/tablecellpropertiesui.js +0 -1
- package/src/tablecellproperties.d.ts +0 -5
- package/src/tablecellwidth/commands/tablecellwidthcommand.d.ts +1 -6
- package/src/tablecellwidth/tablecellwidthediting.d.ts +0 -6
- package/src/tablecellwidth/tablecellwidthediting.js +0 -1
- package/src/tableclipboard.d.ts +0 -5
- package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +0 -5
- package/src/tablecolumnresize.d.ts +0 -5
- package/src/tableconfig.d.ts +2 -12
- package/src/tableediting.d.ts +0 -5
- package/src/tablekeyboard.d.ts +0 -5
- package/src/tablemouse/mouseeventsobserver.d.ts +9 -9
- package/src/tablemouse/mouseeventsobserver.js +1 -1
- package/src/tablemouse.d.ts +0 -5
- package/src/tableproperties/commands/tablealignmentcommand.d.ts +0 -5
- package/src/tableproperties/commands/tablebackgroundcolorcommand.d.ts +0 -5
- package/src/tableproperties/commands/tablebordercolorcommand.d.ts +0 -5
- package/src/tableproperties/commands/tableborderstylecommand.d.ts +0 -5
- package/src/tableproperties/commands/tableborderwidthcommand.d.ts +0 -5
- package/src/tableproperties/commands/tableheightcommand.d.ts +0 -5
- package/src/tableproperties/commands/tablewidthcommand.d.ts +0 -5
- package/src/tableproperties/tablepropertiesediting.d.ts +0 -6
- package/src/tableproperties/tablepropertiesediting.js +0 -1
- package/src/tableproperties/tablepropertiesui.d.ts +0 -6
- package/src/tableproperties/tablepropertiesui.js +0 -1
- package/src/tableproperties.d.ts +0 -5
- package/src/tableselection.d.ts +0 -5
- package/src/tabletoolbar.d.ts +0 -6
- package/src/tabletoolbar.js +0 -1
- package/src/tableui.d.ts +0 -5
- package/src/tableutils.d.ts +0 -5
|
@@ -38,8 +38,3 @@ export default class TableCellVerticalAlignmentCommand extends TableCellProperty
|
|
|
38
38
|
*/
|
|
39
39
|
constructor(editor: Editor, defaultValue: string);
|
|
40
40
|
}
|
|
41
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
42
|
-
interface CommandsMap {
|
|
43
|
-
tableCellVerticalAlignment: TableCellVerticalAlignmentCommand;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* @module table/tablecellproperties/tablecellpropertiesediting
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
|
|
9
|
-
import '../tableconfig';
|
|
10
9
|
/**
|
|
11
10
|
* The table cell properties editing feature.
|
|
12
11
|
*
|
|
@@ -40,8 +39,3 @@ export default class TableCellPropertiesEditing extends Plugin {
|
|
|
40
39
|
*/
|
|
41
40
|
init(): void;
|
|
42
41
|
}
|
|
43
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
44
|
-
interface PluginsMap {
|
|
45
|
-
[TableCellPropertiesEditing.pluginName]: TableCellPropertiesEditing;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -20,7 +20,6 @@ import TableCellBorderColorCommand from './commands/tablecellbordercolorcommand'
|
|
|
20
20
|
import TableCellBorderWidthCommand from './commands/tablecellborderwidthcommand';
|
|
21
21
|
import { getNormalizedDefaultProperties } from '../utils/table-properties';
|
|
22
22
|
import { enableProperty } from '../utils/common';
|
|
23
|
-
import '../tableconfig';
|
|
24
23
|
const VALIGN_VALUES_REG_EXP = /^(top|middle|bottom)$/;
|
|
25
24
|
const ALIGN_VALUES_REG_EXP = /^(left|center|right|justify)$/;
|
|
26
25
|
/**
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin, type Editor, type PluginDependencies } from 'ckeditor5/src/core';
|
|
9
9
|
import TableCellPropertiesView from './ui/tablecellpropertiesview';
|
|
10
|
-
import '../tableconfig';
|
|
11
10
|
/**
|
|
12
11
|
* The table cell properties UI plugin. It introduces the `'tableCellProperties'` button
|
|
13
12
|
* that opens a form allowing to specify the visual styling of a table cell.
|
|
@@ -110,8 +109,3 @@ export default class TableCellPropertiesUI extends Plugin {
|
|
|
110
109
|
*/
|
|
111
110
|
private _getValidatedPropertyChangeCallback;
|
|
112
111
|
}
|
|
113
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
114
|
-
interface PluginsMap {
|
|
115
|
-
[TableCellPropertiesUI.pluginName]: TableCellPropertiesUI;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
@@ -14,7 +14,6 @@ import { getTableWidgetAncestor } from '../utils/ui/widget';
|
|
|
14
14
|
import { getBalloonCellPositionData, repositionContextualBalloon } from '../utils/ui/contextualballoon';
|
|
15
15
|
import tableCellProperties from './../../theme/icons/table-cell-properties.svg';
|
|
16
16
|
import { getNormalizedDefaultProperties } from '../utils/table-properties';
|
|
17
|
-
import '../tableconfig';
|
|
18
17
|
const ERROR_TEXT_TIMEOUT = 500;
|
|
19
18
|
// Map of view properties and related commands.
|
|
20
19
|
const propertyToCommandMap = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* @module table/
|
|
6
|
+
* @module table/tablecellwidth/commands/tablecellwidthcommand
|
|
7
7
|
*/
|
|
8
8
|
import type { Editor } from 'ckeditor5/src/core';
|
|
9
9
|
import TableCellPropertyCommand from '../../tablecellproperties/commands/tablecellpropertycommand';
|
|
@@ -44,8 +44,3 @@ export default class TableCellWidthCommand extends TableCellPropertyCommand {
|
|
|
44
44
|
*/
|
|
45
45
|
_getValueToSet(value: string | number | undefined): unknown;
|
|
46
46
|
}
|
|
47
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
48
|
-
interface CommandsMap {
|
|
49
|
-
tableCellWidth: TableCellWidthCommand;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* @module table/tablecellwidth/tablecellwidthediting
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
|
|
9
|
-
import '../tableconfig';
|
|
10
9
|
/**
|
|
11
10
|
* The table cell width editing feature.
|
|
12
11
|
*
|
|
@@ -27,8 +26,3 @@ export default class TableCellWidthEditing extends Plugin {
|
|
|
27
26
|
*/
|
|
28
27
|
init(): void;
|
|
29
28
|
}
|
|
30
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
31
|
-
interface PluginsMap {
|
|
32
|
-
[TableCellWidthEditing.pluginName]: TableCellWidthEditing;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -10,7 +10,6 @@ import TableEditing from './../tableediting';
|
|
|
10
10
|
import TableCellWidthCommand from './commands/tablecellwidthcommand';
|
|
11
11
|
import { getNormalizedDefaultProperties } from '../utils/table-properties';
|
|
12
12
|
import { enableProperty } from '../utils/common';
|
|
13
|
-
import '../tableconfig';
|
|
14
13
|
/**
|
|
15
14
|
* The table cell width editing feature.
|
|
16
15
|
*
|
package/src/tableclipboard.d.ts
CHANGED
|
@@ -61,8 +61,3 @@ export default class TableClipboard extends Plugin {
|
|
|
61
61
|
*/
|
|
62
62
|
getTableIfOnlyTableInContent(content: DocumentFragment | Item, model: Model): Element | null;
|
|
63
63
|
}
|
|
64
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
65
|
-
interface PluginsMap {
|
|
66
|
-
[TableClipboard.pluginName]: TableClipboard;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -135,8 +135,3 @@ export default class TableColumnResizeEditing extends Plugin {
|
|
|
135
135
|
*/
|
|
136
136
|
private _registerResizerInserter;
|
|
137
137
|
}
|
|
138
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
139
|
-
interface PluginsMap {
|
|
140
|
-
[TableColumnResizeEditing.pluginName]: TableColumnResizeEditing;
|
|
141
|
-
}
|
|
142
|
-
}
|
package/src/tableconfig.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ export interface TableConfig {
|
|
|
135
135
|
* Default values will not be kept in the editor model.
|
|
136
136
|
*
|
|
137
137
|
* The default color palettes for the table background and the table border are the same
|
|
138
|
-
* ({@link module:table/utils/ui/table-properties
|
|
138
|
+
* ({@link module:table/utils/ui/table-properties#defaultColors check out their content}).
|
|
139
139
|
*
|
|
140
140
|
* Both color palette configurations must follow the
|
|
141
141
|
* {@link module:table/tableconfig~TableColorConfig table color configuration format}.
|
|
@@ -192,7 +192,7 @@ export interface TableConfig {
|
|
|
192
192
|
* Default values will not be kept in the editor model.
|
|
193
193
|
*
|
|
194
194
|
* The default color palettes for the cell background and the cell border are the same
|
|
195
|
-
* ({@link module:table/utils/ui/table-properties
|
|
195
|
+
* ({@link module:table/utils/ui/table-properties#defaultColors check out their content}).
|
|
196
196
|
*
|
|
197
197
|
* Both color palette configurations must follow the
|
|
198
198
|
* {@link module:table/tableconfig~TableColorConfig table color configuration format}.
|
|
@@ -329,13 +329,3 @@ export interface TableCellPropertiesOptions {
|
|
|
329
329
|
*/
|
|
330
330
|
verticalAlignment?: string;
|
|
331
331
|
}
|
|
332
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
333
|
-
interface EditorConfig {
|
|
334
|
-
/**
|
|
335
|
-
* The configuration of the {@link module:table/table~Table} feature.
|
|
336
|
-
*
|
|
337
|
-
* Read more in {@link module:table/tableconfig~TableConfig}.
|
|
338
|
-
*/
|
|
339
|
-
table?: TableConfig;
|
|
340
|
-
}
|
|
341
|
-
}
|
package/src/tableediting.d.ts
CHANGED
|
@@ -37,11 +37,6 @@ export default class TableEditing extends Plugin {
|
|
|
37
37
|
*/
|
|
38
38
|
registerAdditionalSlot(slotHandler: AdditionalSlot): void;
|
|
39
39
|
}
|
|
40
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
41
|
-
interface PluginsMap {
|
|
42
|
-
[TableEditing.pluginName]: TableEditing;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
40
|
/**
|
|
46
41
|
* By default, only the `tableRow` elements from the `table` model are downcast inside the `<table>` and
|
|
47
42
|
* all other elements are pushed outside the table. This handler allows creating additional slots inside
|
package/src/tablekeyboard.d.ts
CHANGED
|
@@ -61,8 +61,3 @@ export default class TableKeyboard extends Plugin {
|
|
|
61
61
|
*/
|
|
62
62
|
protected _navigateFromCellInDirection(focusCell: Element, direction: ArrowKeyCodeDirection, expandSelection?: boolean): void;
|
|
63
63
|
}
|
|
64
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
65
|
-
interface PluginsMap {
|
|
66
|
-
[TableKeyboard.pluginName]: TableKeyboard;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* @module table/
|
|
6
|
+
* @module table/tablemouse/mouseeventsobserver
|
|
7
7
|
*/
|
|
8
8
|
import { DomEventObserver, type DomEventData } from 'ckeditor5/src/engine';
|
|
9
9
|
/**
|
|
@@ -29,14 +29,14 @@ export default class MouseEventsObserver extends DomEventObserver<'mousemove' |
|
|
|
29
29
|
/**
|
|
30
30
|
* Fired when the mouse is moved over one of the editables.
|
|
31
31
|
*
|
|
32
|
-
* Introduced by {@link module:table/
|
|
32
|
+
* Introduced by {@link module:table/tablemouse/mouseeventsobserver~MouseEventsObserver}.
|
|
33
33
|
*
|
|
34
34
|
* Note that this event is not available by default. To make it available,
|
|
35
|
-
* {@link module:table/
|
|
35
|
+
* {@link module:table/tablemouse/mouseeventsobserver~MouseEventsObserver} needs to be added
|
|
36
36
|
* to {@link module:engine/view/view~View} using the {@link module:engine/view/view~View#addObserver} method.
|
|
37
37
|
*
|
|
38
|
-
* @see module:table/
|
|
39
|
-
* @eventName mousemove
|
|
38
|
+
* @see module:table/tablemouse/mouseeventsobserver~MouseEventsObserver
|
|
39
|
+
* @eventName module:engine/view/document~Document#mousemove
|
|
40
40
|
* @param data Event data.
|
|
41
41
|
*/
|
|
42
42
|
export type ViewDocumentMouseMoveEvent = {
|
|
@@ -46,14 +46,14 @@ export type ViewDocumentMouseMoveEvent = {
|
|
|
46
46
|
/**
|
|
47
47
|
* Fired when the mouse is moved out of one of the editables.
|
|
48
48
|
*
|
|
49
|
-
* Introduced by {@link module:table/
|
|
49
|
+
* Introduced by {@link module:table/tablemouse/mouseeventsobserver~MouseEventsObserver}.
|
|
50
50
|
*
|
|
51
51
|
* Note that this event is not available by default. To make it available,
|
|
52
|
-
* {@link module:table/
|
|
52
|
+
* {@link module:table/tablemouse/mouseeventsobserver~MouseEventsObserver} needs to be added
|
|
53
53
|
* to {@link module:engine/view/view~View} using the {@link module:engine/view/view~View#addObserver} method.
|
|
54
54
|
*
|
|
55
|
-
* @see module:table/
|
|
56
|
-
* @eventName mouseleave
|
|
55
|
+
* @see module:table/tablemouse/mouseeventsobserver~MouseEventsObserver
|
|
56
|
+
* @eventName module:engine/view/document~Document#mouseleave
|
|
57
57
|
* @param data Event data.
|
|
58
58
|
*/
|
|
59
59
|
export type ViewDocumentMouseLeaveEvent = {
|
package/src/tablemouse.d.ts
CHANGED
|
@@ -30,8 +30,3 @@ export default class TableAlignmentCommand extends TablePropertyCommand {
|
|
|
30
30
|
*/
|
|
31
31
|
constructor(editor: Editor, defaultValue: string);
|
|
32
32
|
}
|
|
33
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
34
|
-
interface CommandsMap {
|
|
35
|
-
tableAlignment: TableAlignmentCommand;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -30,8 +30,3 @@ export default class TableBackgroundColorCommand extends TablePropertyCommand {
|
|
|
30
30
|
*/
|
|
31
31
|
constructor(editor: Editor, defaultValue: string);
|
|
32
32
|
}
|
|
33
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
34
|
-
interface CommandsMap {
|
|
35
|
-
tableBackgroundColor: TableBackgroundColorCommand;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -35,8 +35,3 @@ export default class TableBorderColorCommand extends TablePropertyCommand {
|
|
|
35
35
|
*/
|
|
36
36
|
protected _getValue(table: Element): unknown;
|
|
37
37
|
}
|
|
38
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
39
|
-
interface CommandsMap {
|
|
40
|
-
tableBorderColor: TableBorderColorCommand;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -35,8 +35,3 @@ export default class TableBorderStyleCommand extends TablePropertyCommand {
|
|
|
35
35
|
*/
|
|
36
36
|
protected _getValue(table: Element): unknown;
|
|
37
37
|
}
|
|
38
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
39
|
-
interface CommandsMap {
|
|
40
|
-
tableBorderStyle: TableBorderStyleCommand;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -49,8 +49,3 @@ export default class TableBorderWidthCommand extends TablePropertyCommand {
|
|
|
49
49
|
*/
|
|
50
50
|
protected _getValueToSet(value: string | number | undefined): unknown;
|
|
51
51
|
}
|
|
52
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
53
|
-
interface CommandsMap {
|
|
54
|
-
tableBorderWidth: TableBorderWidthCommand;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -44,8 +44,3 @@ export default class TableHeightCommand extends TablePropertyCommand {
|
|
|
44
44
|
*/
|
|
45
45
|
protected _getValueToSet(value: string | number | undefined): unknown;
|
|
46
46
|
}
|
|
47
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
48
|
-
interface CommandsMap {
|
|
49
|
-
tableHeight: TableHeightCommand;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* @module table/tableproperties/tablepropertiesediting
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
|
|
9
|
-
import '../tableconfig';
|
|
10
9
|
/**
|
|
11
10
|
* The table properties editing feature.
|
|
12
11
|
*
|
|
@@ -38,8 +37,3 @@ export default class TablePropertiesEditing extends Plugin {
|
|
|
38
37
|
*/
|
|
39
38
|
init(): void;
|
|
40
39
|
}
|
|
41
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
42
|
-
interface PluginsMap {
|
|
43
|
-
[TablePropertiesEditing.pluginName]: TablePropertiesEditing;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -17,7 +17,6 @@ import TableWidthCommand from './commands/tablewidthcommand';
|
|
|
17
17
|
import TableHeightCommand from './commands/tableheightcommand';
|
|
18
18
|
import TableAlignmentCommand from './commands/tablealignmentcommand';
|
|
19
19
|
import { getNormalizedDefaultProperties } from '../utils/table-properties';
|
|
20
|
-
import '../tableconfig';
|
|
21
20
|
const ALIGN_VALUES_REG_EXP = /^(left|center|right)$/;
|
|
22
21
|
const FLOAT_VALUES_REG_EXP = /^(left|none|right)$/;
|
|
23
22
|
/**
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { type Editor, Plugin, type PluginDependencies } from 'ckeditor5/src/core';
|
|
9
9
|
import TablePropertiesView from './ui/tablepropertiesview';
|
|
10
|
-
import '../tableconfig';
|
|
11
10
|
/**
|
|
12
11
|
* The table properties UI plugin. It introduces the `'tableProperties'` button
|
|
13
12
|
* that opens a form allowing to specify visual styling of an entire table.
|
|
@@ -112,8 +111,3 @@ export default class TablePropertiesUI extends Plugin {
|
|
|
112
111
|
*/
|
|
113
112
|
private _getValidatedPropertyChangeCallback;
|
|
114
113
|
}
|
|
115
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
116
|
-
interface PluginsMap {
|
|
117
|
-
[TablePropertiesUI.pluginName]: TablePropertiesUI;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
@@ -14,7 +14,6 @@ import { colorFieldValidator, getLocalizedColorErrorText, getLocalizedLengthErro
|
|
|
14
14
|
import { getTableWidgetAncestor } from '../utils/ui/widget';
|
|
15
15
|
import { getBalloonTablePositionData, repositionContextualBalloon } from '../utils/ui/contextualballoon';
|
|
16
16
|
import { getNormalizedDefaultProperties } from '../utils/table-properties';
|
|
17
|
-
import '../tableconfig';
|
|
18
17
|
const ERROR_TEXT_TIMEOUT = 500;
|
|
19
18
|
// Map of view properties and related commands.
|
|
20
19
|
const propertyToCommandMap = {
|
package/src/tableproperties.d.ts
CHANGED
package/src/tableselection.d.ts
CHANGED
package/src/tabletoolbar.d.ts
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* @module table/tabletoolbar
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
|
|
9
|
-
import './tableconfig';
|
|
10
9
|
/**
|
|
11
10
|
* The table toolbar class. It creates toolbars for the table feature and its content (for now only for the table cell content).
|
|
12
11
|
*
|
|
@@ -30,8 +29,3 @@ export default class TableToolbar extends Plugin {
|
|
|
30
29
|
*/
|
|
31
30
|
afterInit(): void;
|
|
32
31
|
}
|
|
33
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
34
|
-
interface PluginsMap {
|
|
35
|
-
[TableToolbar.pluginName]: TableToolbar;
|
|
36
|
-
}
|
|
37
|
-
}
|
package/src/tabletoolbar.js
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
import { Plugin } from 'ckeditor5/src/core';
|
|
9
9
|
import { WidgetToolbarRepository } from 'ckeditor5/src/widget';
|
|
10
10
|
import { getSelectedTableWidget, getTableWidgetAncestor } from './utils/ui/widget';
|
|
11
|
-
import './tableconfig';
|
|
12
11
|
/**
|
|
13
12
|
* The table toolbar class. It creates toolbars for the table feature and its content (for now only for the table cell content).
|
|
14
13
|
*
|
package/src/tableui.d.ts
CHANGED
package/src/tableutils.d.ts
CHANGED