@ckeditor/ckeditor5-table 0.0.0-nightly-20250605.0 → 0.0.0-nightly-20250607.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.
Files changed (165) hide show
  1. package/build/table.js +1 -1
  2. package/dist/index-content.css +2 -1
  3. package/dist/index.css +2 -1
  4. package/dist/index.css.map +1 -1
  5. package/dist/index.js +50 -6
  6. package/dist/index.js.map +1 -1
  7. package/package.json +9 -9
  8. package/src/commands/insertcolumncommand.d.ts +1 -1
  9. package/src/commands/insertcolumncommand.js +1 -1
  10. package/src/commands/insertrowcommand.d.ts +1 -1
  11. package/src/commands/insertrowcommand.js +1 -1
  12. package/src/commands/inserttablecommand.d.ts +1 -1
  13. package/src/commands/inserttablecommand.js +1 -1
  14. package/src/commands/inserttablelayoutcommand.d.ts +1 -1
  15. package/src/commands/inserttablelayoutcommand.js +1 -1
  16. package/src/commands/mergecellcommand.d.ts +1 -1
  17. package/src/commands/mergecellcommand.js +2 -2
  18. package/src/commands/mergecellscommand.d.ts +1 -1
  19. package/src/commands/mergecellscommand.js +2 -2
  20. package/src/commands/removecolumncommand.d.ts +1 -1
  21. package/src/commands/removecolumncommand.js +2 -2
  22. package/src/commands/removerowcommand.d.ts +1 -1
  23. package/src/commands/removerowcommand.js +1 -1
  24. package/src/commands/selectcolumncommand.d.ts +1 -1
  25. package/src/commands/selectcolumncommand.js +2 -2
  26. package/src/commands/selectrowcommand.d.ts +1 -1
  27. package/src/commands/selectrowcommand.js +1 -1
  28. package/src/commands/setheadercolumncommand.d.ts +1 -1
  29. package/src/commands/setheadercolumncommand.js +1 -1
  30. package/src/commands/setheaderrowcommand.d.ts +1 -1
  31. package/src/commands/setheaderrowcommand.js +1 -1
  32. package/src/commands/splitcellcommand.d.ts +1 -1
  33. package/src/commands/splitcellcommand.js +1 -1
  34. package/src/converters/downcast.d.ts +1 -1
  35. package/src/converters/downcast.js +1 -1
  36. package/src/converters/table-caption-post-fixer.d.ts +1 -1
  37. package/src/converters/table-caption-post-fixer.js +1 -1
  38. package/src/converters/table-cell-paragraph-post-fixer.d.ts +1 -1
  39. package/src/converters/table-cell-paragraph-post-fixer.js +1 -1
  40. package/src/converters/table-cell-refresh-handler.d.ts +1 -1
  41. package/src/converters/table-cell-refresh-handler.js +1 -1
  42. package/src/converters/table-headings-refresh-handler.d.ts +1 -1
  43. package/src/converters/table-headings-refresh-handler.js +2 -2
  44. package/src/converters/table-layout-post-fixer.d.ts +1 -1
  45. package/src/converters/table-layout-post-fixer.js +2 -2
  46. package/src/converters/upcasttable.d.ts +1 -1
  47. package/src/converters/upcasttable.js +1 -1
  48. package/src/index.d.ts +55 -55
  49. package/src/index.js +55 -24
  50. package/src/plaintableoutput.d.ts +2 -2
  51. package/src/plaintableoutput.js +2 -2
  52. package/src/table.d.ts +7 -7
  53. package/src/table.js +7 -7
  54. package/src/tablecaption/tablecaptionediting.d.ts +1 -1
  55. package/src/tablecaption/tablecaptionediting.js +3 -3
  56. package/src/tablecaption/tablecaptionui.d.ts +1 -1
  57. package/src/tablecaption/tablecaptionui.js +1 -1
  58. package/src/tablecaption/toggletablecaptioncommand.d.ts +1 -1
  59. package/src/tablecaption/toggletablecaptioncommand.js +1 -1
  60. package/src/tablecaption.d.ts +3 -3
  61. package/src/tablecaption.js +3 -3
  62. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +2 -2
  63. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +2 -2
  64. package/src/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +2 -2
  65. package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +2 -2
  66. package/src/tablecellproperties/commands/tablecellborderstylecommand.d.ts +2 -2
  67. package/src/tablecellproperties/commands/tablecellborderstylecommand.js +2 -2
  68. package/src/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +2 -2
  69. package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +2 -2
  70. package/src/tablecellproperties/commands/tablecellheightcommand.d.ts +2 -2
  71. package/src/tablecellproperties/commands/tablecellheightcommand.js +2 -2
  72. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +2 -2
  73. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +2 -2
  74. package/src/tablecellproperties/commands/tablecellpaddingcommand.d.ts +2 -2
  75. package/src/tablecellproperties/commands/tablecellpaddingcommand.js +2 -2
  76. package/src/tablecellproperties/commands/tablecellpropertycommand.d.ts +1 -1
  77. package/src/tablecellproperties/commands/tablecellpropertycommand.js +1 -1
  78. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +2 -2
  79. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +2 -2
  80. package/src/tablecellproperties/tablecellpropertiesediting.d.ts +3 -3
  81. package/src/tablecellproperties/tablecellpropertiesediting.js +16 -11
  82. package/src/tablecellproperties/tablecellpropertiesui.d.ts +2 -2
  83. package/src/tablecellproperties/tablecellpropertiesui.js +2 -2
  84. package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +2 -2
  85. package/src/tablecellproperties/ui/tablecellpropertiesview.js +1 -1
  86. package/src/tablecellproperties.d.ts +3 -3
  87. package/src/tablecellproperties.js +3 -3
  88. package/src/tablecellwidth/commands/tablecellwidthcommand.d.ts +2 -2
  89. package/src/tablecellwidth/commands/tablecellwidthcommand.js +2 -2
  90. package/src/tablecellwidth/tablecellwidthediting.d.ts +2 -2
  91. package/src/tablecellwidth/tablecellwidthediting.js +3 -3
  92. package/src/tableclipboard.d.ts +3 -3
  93. package/src/tableclipboard.js +4 -4
  94. package/src/tablecolumnresize/converters.d.ts +5 -1
  95. package/src/tablecolumnresize/converters.js +10 -0
  96. package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +3 -3
  97. package/src/tablecolumnresize/tablecolumnresizeediting.js +13 -10
  98. package/src/tablecolumnresize/tablewidthscommand.d.ts +1 -1
  99. package/src/tablecolumnresize/tablewidthscommand.js +1 -1
  100. package/src/tablecolumnresize/utils.d.ts +1 -1
  101. package/src/tablecolumnresize/utils.js +2 -2
  102. package/src/tablecolumnresize.d.ts +3 -3
  103. package/src/tablecolumnresize.js +3 -3
  104. package/src/tableconfig.d.ts +1 -1
  105. package/src/tableediting.d.ts +2 -2
  106. package/src/tableediting.js +19 -19
  107. package/src/tablekeyboard.d.ts +3 -3
  108. package/src/tablekeyboard.js +4 -4
  109. package/src/tablelayout/commands/tabletypecommand.d.ts +1 -1
  110. package/src/tablelayout/commands/tabletypecommand.js +1 -1
  111. package/src/tablelayout/tablelayoutediting.d.ts +2 -2
  112. package/src/tablelayout/tablelayoutediting.js +4 -4
  113. package/src/tablelayout/tablelayoutui.d.ts +1 -1
  114. package/src/tablelayout/tablelayoutui.js +2 -2
  115. package/src/tablelayout.d.ts +5 -5
  116. package/src/tablelayout.js +5 -5
  117. package/src/tablemouse/mouseeventsobserver.d.ts +1 -1
  118. package/src/tablemouse/mouseeventsobserver.js +1 -1
  119. package/src/tablemouse.d.ts +3 -3
  120. package/src/tablemouse.js +4 -4
  121. package/src/tableproperties/commands/tablealignmentcommand.d.ts +2 -2
  122. package/src/tableproperties/commands/tablealignmentcommand.js +2 -2
  123. package/src/tableproperties/commands/tablebackgroundcolorcommand.d.ts +2 -2
  124. package/src/tableproperties/commands/tablebackgroundcolorcommand.js +2 -2
  125. package/src/tableproperties/commands/tablebordercolorcommand.d.ts +2 -2
  126. package/src/tableproperties/commands/tablebordercolorcommand.js +2 -2
  127. package/src/tableproperties/commands/tableborderstylecommand.d.ts +2 -2
  128. package/src/tableproperties/commands/tableborderstylecommand.js +2 -2
  129. package/src/tableproperties/commands/tableborderwidthcommand.d.ts +2 -2
  130. package/src/tableproperties/commands/tableborderwidthcommand.js +2 -2
  131. package/src/tableproperties/commands/tableheightcommand.d.ts +2 -2
  132. package/src/tableproperties/commands/tableheightcommand.js +2 -2
  133. package/src/tableproperties/commands/tablepropertycommand.d.ts +1 -1
  134. package/src/tableproperties/commands/tablepropertycommand.js +1 -1
  135. package/src/tableproperties/commands/tablewidthcommand.d.ts +2 -2
  136. package/src/tableproperties/commands/tablewidthcommand.js +2 -2
  137. package/src/tableproperties/tablepropertiesediting.d.ts +2 -2
  138. package/src/tableproperties/tablepropertiesediting.js +15 -9
  139. package/src/tableproperties/tablepropertiesui.d.ts +2 -2
  140. package/src/tableproperties/tablepropertiesui.js +2 -2
  141. package/src/tableproperties/ui/tablepropertiesview.d.ts +2 -2
  142. package/src/tableproperties/ui/tablepropertiesview.js +1 -1
  143. package/src/tableproperties.d.ts +3 -3
  144. package/src/tableproperties.js +3 -3
  145. package/src/tableselection.d.ts +2 -2
  146. package/src/tableselection.js +3 -3
  147. package/src/tabletoolbar.d.ts +1 -1
  148. package/src/tabletoolbar.js +1 -1
  149. package/src/tableui.d.ts +1 -1
  150. package/src/tableui.js +2 -2
  151. package/src/tableutils.d.ts +2 -2
  152. package/src/tableutils.js +2 -2
  153. package/src/tablewalker.d.ts +1 -1
  154. package/src/tablewalker.js +1 -1
  155. package/src/ui/colorinputview.d.ts +1 -1
  156. package/src/ui/colorinputview.js +1 -1
  157. package/src/ui/inserttableview.d.ts +1 -1
  158. package/src/ui/inserttableview.js +1 -1
  159. package/src/utils/common.d.ts +1 -1
  160. package/src/utils/common.js +1 -0
  161. package/src/utils/structure.d.ts +1 -1
  162. package/src/utils/structure.js +1 -1
  163. package/src/utils/ui/table-properties.d.ts +3 -3
  164. package/src/utils/ui/table-properties.js +1 -1
  165. package/theme/tablecaption.css +2 -1
package/src/index.js CHANGED
@@ -5,28 +5,59 @@
5
5
  /**
6
6
  * @module table
7
7
  */
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 TableLayout } from './tablelayout.js';
18
- export { default as TableLayoutEditing } from './tablelayout/tablelayoutediting.js';
19
- export { default as TableProperties } from './tableproperties.js';
20
- export { default as TablePropertiesEditing } from './tableproperties/tablepropertiesediting.js';
21
- export { default as TablePropertiesUI } from './tableproperties/tablepropertiesui.js';
22
- export { default as TableCaption } from './tablecaption.js';
23
- export { default as TableCaptionEditing } from './tablecaption/tablecaptionediting.js';
24
- export { default as TableCaptionUI } from './tablecaption/tablecaptionui.js';
25
- export { default as TableClipboard } from './tableclipboard.js';
26
- export { default as TableMouse } from './tablemouse.js';
27
- export { default as TableKeyboard } from './tablekeyboard.js';
28
- export { default as TableSelection } from './tableselection.js';
29
- export { default as TableUtils } from './tableutils.js';
30
- export { default as TableColumnResize } from './tablecolumnresize.js';
31
- export { default as TableColumnResizeEditing } from './tablecolumnresize/tablecolumnresizeediting.js';
8
+ export { PlainTableOutput } from './plaintableoutput.js';
9
+ export { Table } from './table.js';
10
+ export { TableEditing } from './tableediting.js';
11
+ export { TableUI } from './tableui.js';
12
+ export { TableToolbar } from './tabletoolbar.js';
13
+ export { TableCellProperties } from './tablecellproperties.js';
14
+ export { TableCellPropertiesEditing } from './tablecellproperties/tablecellpropertiesediting.js';
15
+ export { TableCellPropertiesUI } from './tablecellproperties/tablecellpropertiesui.js';
16
+ export { TableCellWidthEditing } from './tablecellwidth/tablecellwidthediting.js';
17
+ export { TableLayout } from './tablelayout.js';
18
+ export { TableLayoutEditing } from './tablelayout/tablelayoutediting.js';
19
+ export { TableProperties } from './tableproperties.js';
20
+ export { TablePropertiesEditing } from './tableproperties/tablepropertiesediting.js';
21
+ export { TablePropertiesUI } from './tableproperties/tablepropertiesui.js';
22
+ export { TableCaption } from './tablecaption.js';
23
+ export { TableCaptionEditing } from './tablecaption/tablecaptionediting.js';
24
+ export { TableCaptionUI } from './tablecaption/tablecaptionui.js';
25
+ export { TableClipboard } from './tableclipboard.js';
26
+ export { TableMouse } from './tablemouse.js';
27
+ export { TableKeyboard } from './tablekeyboard.js';
28
+ export { TableSelection } from './tableselection.js';
29
+ export { TableUtils } from './tableutils.js';
30
+ export { TableColumnResize } from './tablecolumnresize.js';
31
+ export { TableColumnResizeEditing } from './tablecolumnresize/tablecolumnresizeediting.js';
32
+ export { InsertColumnCommand } from './commands/insertcolumncommand.js';
33
+ export { InsertRowCommand } from './commands/insertrowcommand.js';
34
+ export { InsertTableCommand } from './commands/inserttablecommand.js';
35
+ export { InsertTableLayoutCommand } from './commands/inserttablelayoutcommand.js';
36
+ export { TableTypeCommand } from './tablelayout/commands/tabletypecommand.js';
37
+ export { MergeCellCommand } from './commands/mergecellcommand.js';
38
+ export { MergeCellsCommand } from './commands/mergecellscommand.js';
39
+ export { RemoveColumnCommand } from './commands/removecolumncommand.js';
40
+ export { RemoveRowCommand } from './commands/removerowcommand.js';
41
+ export { SelectColumnCommand } from './commands/selectcolumncommand.js';
42
+ export { SelectRowCommand } from './commands/selectrowcommand.js';
43
+ export { SetHeaderColumnCommand } from './commands/setheadercolumncommand.js';
44
+ export { SetHeaderRowCommand } from './commands/setheaderrowcommand.js';
45
+ export { SplitCellCommand } from './commands/splitcellcommand.js';
46
+ export { ToggleTableCaptionCommand } from './tablecaption/toggletablecaptioncommand.js';
47
+ export { TableCellBackgroundColorCommand } from './tablecellproperties/commands/tablecellbackgroundcolorcommand.js';
48
+ export { TableCellBorderColorCommand } from './tablecellproperties/commands/tablecellbordercolorcommand.js';
49
+ export { TableCellBorderStyleCommand } from './tablecellproperties/commands/tablecellborderstylecommand.js';
50
+ export { TableCellBorderWidthCommand } from './tablecellproperties/commands/tablecellborderwidthcommand.js';
51
+ export { TableCellHeightCommand } from './tablecellproperties/commands/tablecellheightcommand.js';
52
+ export { TableCellHorizontalAlignmentCommand } from './tablecellproperties/commands/tablecellhorizontalalignmentcommand.js';
53
+ export { TableCellPaddingCommand } from './tablecellproperties/commands/tablecellpaddingcommand.js';
54
+ export { TableCellVerticalAlignmentCommand } from './tablecellproperties/commands/tablecellverticalalignmentcommand.js';
55
+ export { TableCellWidthCommand } from './tablecellwidth/commands/tablecellwidthcommand.js';
56
+ export { TableAlignmentCommand } from './tableproperties/commands/tablealignmentcommand.js';
57
+ export { TableBackgroundColorCommand } from './tableproperties/commands/tablebackgroundcolorcommand.js';
58
+ export { TableBorderColorCommand } from './tableproperties/commands/tablebordercolorcommand.js';
59
+ export { TableBorderStyleCommand } from './tableproperties/commands/tableborderstylecommand.js';
60
+ export { TableBorderWidthCommand } from './tableproperties/commands/tableborderwidthcommand.js';
61
+ export { TableHeightCommand } from './tableproperties/commands/tableheightcommand.js';
62
+ export { TableWidthCommand } from './tableproperties/commands/tablewidthcommand.js';
32
63
  import './augmentation.js';
@@ -6,14 +6,14 @@
6
6
  * @module table/plaintableoutput
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import Table from './table.js';
9
+ import { Table } from './table.js';
10
10
  /**
11
11
  * The plain table output feature.
12
12
  *
13
13
  * This feature strips the `<figure>` tag from the table data. This is because this tag is not supported
14
14
  * by most popular email clients and removing it ensures compatibility.
15
15
  */
16
- export default class PlainTableOutput extends Plugin {
16
+ export declare class PlainTableOutput extends Plugin {
17
17
  /**
18
18
  * @inheritDoc
19
19
  */
@@ -6,14 +6,14 @@
6
6
  * @module table/plaintableoutput
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import Table from './table.js';
9
+ import { Table } from './table.js';
10
10
  /**
11
11
  * The plain table output feature.
12
12
  *
13
13
  * This feature strips the `<figure>` tag from the table data. This is because this tag is not supported
14
14
  * by most popular email clients and removing it ensures compatibility.
15
15
  */
16
- export default class PlainTableOutput extends Plugin {
16
+ export class PlainTableOutput extends Plugin {
17
17
  /**
18
18
  * @inheritDoc
19
19
  */
package/src/table.d.ts CHANGED
@@ -7,12 +7,12 @@
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
9
  import { Widget } from 'ckeditor5/src/widget.js';
10
- import TableEditing from './tableediting.js';
11
- import TableUI from './tableui.js';
12
- import TableSelection from './tableselection.js';
13
- import TableClipboard from './tableclipboard.js';
14
- import TableKeyboard from './tablekeyboard.js';
15
- import TableMouse from './tablemouse.js';
10
+ import { TableEditing } from './tableediting.js';
11
+ import { TableUI } from './tableui.js';
12
+ import { TableSelection } from './tableselection.js';
13
+ import { TableClipboard } from './tableclipboard.js';
14
+ import { TableKeyboard } from './tablekeyboard.js';
15
+ import { TableMouse } from './tablemouse.js';
16
16
  import '../theme/table.css';
17
17
  /**
18
18
  * The table plugin.
@@ -28,7 +28,7 @@ import '../theme/table.css';
28
28
  * * {@link module:table/tableclipboard~TableClipboard clipboard feature},
29
29
  * * {@link module:table/tableui~TableUI UI feature}.
30
30
  */
31
- export default class Table extends Plugin {
31
+ export declare class Table extends Plugin {
32
32
  /**
33
33
  * @inheritDoc
34
34
  */
package/src/table.js CHANGED
@@ -7,12 +7,12 @@
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
9
  import { Widget } from 'ckeditor5/src/widget.js';
10
- import TableEditing from './tableediting.js';
11
- import TableUI from './tableui.js';
12
- import TableSelection from './tableselection.js';
13
- import TableClipboard from './tableclipboard.js';
14
- import TableKeyboard from './tablekeyboard.js';
15
- import TableMouse from './tablemouse.js';
10
+ import { TableEditing } from './tableediting.js';
11
+ import { TableUI } from './tableui.js';
12
+ import { TableSelection } from './tableselection.js';
13
+ import { TableClipboard } from './tableclipboard.js';
14
+ import { TableKeyboard } from './tablekeyboard.js';
15
+ import { TableMouse } from './tablemouse.js';
16
16
  import '../theme/table.css';
17
17
  /**
18
18
  * The table plugin.
@@ -28,7 +28,7 @@ import '../theme/table.css';
28
28
  * * {@link module:table/tableclipboard~TableClipboard clipboard feature},
29
29
  * * {@link module:table/tableui~TableUI UI feature}.
30
30
  */
31
- export default class Table extends Plugin {
31
+ export class Table extends Plugin {
32
32
  /**
33
33
  * @inheritDoc
34
34
  */
@@ -10,7 +10,7 @@ import { Element } from 'ckeditor5/src/engine.js';
10
10
  /**
11
11
  * The table caption editing plugin.
12
12
  */
13
- export default class TableCaptionEditing extends Plugin {
13
+ export declare class TableCaptionEditing extends Plugin {
14
14
  /**
15
15
  * A map that keeps saved JSONified table captions and table model elements they are
16
16
  * associated with.
@@ -8,13 +8,13 @@
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
9
  import { Element, enablePlaceholder } from 'ckeditor5/src/engine.js';
10
10
  import { toWidgetEditable } from 'ckeditor5/src/widget.js';
11
- import injectTableCaptionPostFixer from '../converters/table-caption-post-fixer.js';
12
- import ToggleTableCaptionCommand from './toggletablecaptioncommand.js';
11
+ import { injectTableCaptionPostFixer } from '../converters/table-caption-post-fixer.js';
12
+ import { ToggleTableCaptionCommand } from './toggletablecaptioncommand.js';
13
13
  import { isTable, matchTableCaptionViewElement } from './utils.js';
14
14
  /**
15
15
  * The table caption editing plugin.
16
16
  */
17
- export default class TableCaptionEditing extends Plugin {
17
+ export class TableCaptionEditing extends Plugin {
18
18
  /**
19
19
  * A map that keeps saved JSONified table captions and table model elements they are
20
20
  * associated with.
@@ -9,7 +9,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The table caption UI plugin. It introduces the `'toggleTableCaption'` UI button.
11
11
  */
12
- export default class TableCaptionUI extends Plugin {
12
+ export declare class TableCaptionUI extends Plugin {
13
13
  /**
14
14
  * @inheritDoc
15
15
  */
@@ -12,7 +12,7 @@ import { getCaptionFromModelSelection } from './utils.js';
12
12
  /**
13
13
  * The table caption UI plugin. It introduces the `'toggleTableCaption'` UI button.
14
14
  */
15
- export default class TableCaptionUI extends Plugin {
15
+ export class TableCaptionUI extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -29,7 +29,7 @@ import { Command } from 'ckeditor5/src/core.js';
29
29
  * editor.execute( 'toggleTableCaption', { focusCaptionOnShow: true } );
30
30
  * ```
31
31
  */
32
- export default class ToggleTableCaptionCommand extends Command {
32
+ export declare class ToggleTableCaptionCommand extends Command {
33
33
  value: boolean;
34
34
  /**
35
35
  * @inheritDoc
@@ -31,7 +31,7 @@ import { getSelectionAffectedTable } from '../utils/common.js';
31
31
  * editor.execute( 'toggleTableCaption', { focusCaptionOnShow: true } );
32
32
  * ```
33
33
  */
34
- export default class ToggleTableCaptionCommand extends Command {
34
+ export class ToggleTableCaptionCommand extends Command {
35
35
  /**
36
36
  * @inheritDoc
37
37
  */
@@ -6,13 +6,13 @@
6
6
  * @module table/tablecaption
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import TableCaptionEditing from './tablecaption/tablecaptionediting.js';
10
- import TableCaptionUI from './tablecaption/tablecaptionui.js';
9
+ import { TableCaptionEditing } from './tablecaption/tablecaptionediting.js';
10
+ import { TableCaptionUI } from './tablecaption/tablecaptionui.js';
11
11
  import '../theme/tablecaption.css';
12
12
  /**
13
13
  * The table caption plugin.
14
14
  */
15
- export default class TableCaption extends Plugin {
15
+ export declare class TableCaption extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -6,13 +6,13 @@
6
6
  * @module table/tablecaption
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import TableCaptionEditing from './tablecaption/tablecaptionediting.js';
10
- import TableCaptionUI from './tablecaption/tablecaptionui.js';
9
+ import { TableCaptionEditing } from './tablecaption/tablecaptionediting.js';
10
+ import { TableCaptionUI } from './tablecaption/tablecaptionui.js';
11
11
  import '../theme/tablecaption.css';
12
12
  /**
13
13
  * The table caption plugin.
14
14
  */
15
- export default class TableCaption extends Plugin {
15
+ export class TableCaption extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -6,7 +6,7 @@
6
6
  * @module table/tablecellproperties/commands/tablecellbackgroundcolorcommand
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core.js';
9
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
9
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
10
10
  /**
11
11
  * The table cell background color command.
12
12
  *
@@ -21,7 +21,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand.js';
21
21
  * } );
22
22
  * ```
23
23
  */
24
- export default class TableCellBackgroundColorCommand extends TableCellPropertyCommand {
24
+ export declare class TableCellBackgroundColorCommand extends TableCellPropertyCommand {
25
25
  /**
26
26
  * Creates a new `TableCellBackgroundColorCommand` instance.
27
27
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
5
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
6
  /**
7
7
  * The table cell background color command.
8
8
  *
@@ -17,7 +17,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand.js';
17
17
  * } );
18
18
  * ```
19
19
  */
20
- export default class TableCellBackgroundColorCommand extends TableCellPropertyCommand {
20
+ export class TableCellBackgroundColorCommand extends TableCellPropertyCommand {
21
21
  /**
22
22
  * Creates a new `TableCellBackgroundColorCommand` instance.
23
23
  *
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import type { Element } from 'ckeditor5/src/engine.js';
9
9
  import type { Editor } from 'ckeditor5/src/core.js';
10
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
10
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
11
11
  /**
12
12
  * The table cell border color command.
13
13
  *
@@ -22,7 +22,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand.js';
22
22
  * } );
23
23
  * ```
24
24
  */
25
- export default class TableCellBorderColorCommand extends TableCellPropertyCommand {
25
+ export declare class TableCellBorderColorCommand extends TableCellPropertyCommand {
26
26
  /**
27
27
  * Creates a new `TableCellBorderColorCommand` instance.
28
28
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
5
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
6
  import { getSingleValue } from '../../utils/table-properties.js';
7
7
  /**
8
8
  * The table cell border color command.
@@ -18,7 +18,7 @@ import { getSingleValue } from '../../utils/table-properties.js';
18
18
  * } );
19
19
  * ```
20
20
  */
21
- export default class TableCellBorderColorCommand extends TableCellPropertyCommand {
21
+ export class TableCellBorderColorCommand extends TableCellPropertyCommand {
22
22
  /**
23
23
  * Creates a new `TableCellBorderColorCommand` instance.
24
24
  *
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core.js';
9
9
  import type { Element } from 'ckeditor5/src/engine.js';
10
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
10
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
11
11
  /**
12
12
  * The table cell border style command.
13
13
  *
@@ -22,7 +22,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand.js';
22
22
  * } );
23
23
  * ```
24
24
  */
25
- export default class TableCellBorderStyleCommand extends TableCellPropertyCommand {
25
+ export declare class TableCellBorderStyleCommand extends TableCellPropertyCommand {
26
26
  /**
27
27
  * Creates a new `TableCellBorderStyleCommand` instance.
28
28
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
5
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
6
  import { getSingleValue } from '../../utils/table-properties.js';
7
7
  /**
8
8
  * The table cell border style command.
@@ -18,7 +18,7 @@ import { getSingleValue } from '../../utils/table-properties.js';
18
18
  * } );
19
19
  * ```
20
20
  */
21
- export default class TableCellBorderStyleCommand extends TableCellPropertyCommand {
21
+ export class TableCellBorderStyleCommand extends TableCellPropertyCommand {
22
22
  /**
23
23
  * Creates a new `TableCellBorderStyleCommand` instance.
24
24
  *
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core.js';
9
9
  import type { Element } from 'ckeditor5/src/engine.js';
10
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
10
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
11
11
  /**
12
12
  * The table cell border width command.
13
13
  *
@@ -32,7 +32,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand.js';
32
32
  *
33
33
  * will set the `borderWidth` attribute to `'5px'` in the model.
34
34
  */
35
- export default class TableCellBorderWidthCommand extends TableCellPropertyCommand {
35
+ export declare class TableCellBorderWidthCommand extends TableCellPropertyCommand {
36
36
  /**
37
37
  * Creates a new `TableCellBorderWidthCommand` instance.
38
38
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
5
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
6
  import { addDefaultUnitToNumericValue, getSingleValue } from '../../utils/table-properties.js';
7
7
  /**
8
8
  * The table cell border width command.
@@ -28,7 +28,7 @@ import { addDefaultUnitToNumericValue, getSingleValue } from '../../utils/table-
28
28
  *
29
29
  * will set the `borderWidth` attribute to `'5px'` in the model.
30
30
  */
31
- export default class TableCellBorderWidthCommand extends TableCellPropertyCommand {
31
+ export class TableCellBorderWidthCommand extends TableCellPropertyCommand {
32
32
  /**
33
33
  * Creates a new `TableCellBorderWidthCommand` instance.
34
34
  *
@@ -6,7 +6,7 @@
6
6
  * @module table/tablecellproperties/commands/tablecellheightcommand
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core.js';
9
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
9
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
10
10
  /**
11
11
  * The table cell height command.
12
12
  *
@@ -31,7 +31,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand.js';
31
31
  *
32
32
  * will set the `height` attribute to `'50px'` in the model.
33
33
  */
34
- export default class TableCellHeightCommand extends TableCellPropertyCommand {
34
+ export declare class TableCellHeightCommand extends TableCellPropertyCommand {
35
35
  /**
36
36
  * Creates a new `TableCellHeightCommand` instance.
37
37
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
5
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
6
  import { addDefaultUnitToNumericValue } from '../../utils/table-properties.js';
7
7
  /**
8
8
  * The table cell height command.
@@ -28,7 +28,7 @@ import { addDefaultUnitToNumericValue } from '../../utils/table-properties.js';
28
28
  *
29
29
  * will set the `height` attribute to `'50px'` in the model.
30
30
  */
31
- export default class TableCellHeightCommand extends TableCellPropertyCommand {
31
+ export class TableCellHeightCommand extends TableCellPropertyCommand {
32
32
  /**
33
33
  * Creates a new `TableCellHeightCommand` instance.
34
34
  *
@@ -6,7 +6,7 @@
6
6
  * @module table/tablecellproperties/commands/tablecellhorizontalalignmentcommand
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core.js';
9
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
9
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
10
10
  /**
11
11
  * The table cell horizontal alignment command.
12
12
  *
@@ -21,7 +21,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand.js';
21
21
  * } );
22
22
  * ```
23
23
  */
24
- export default class TableCellHorizontalAlignmentCommand extends TableCellPropertyCommand {
24
+ export declare class TableCellHorizontalAlignmentCommand extends TableCellPropertyCommand {
25
25
  /**
26
26
  * Creates a new `TableCellHorizontalAlignmentCommand` instance.
27
27
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
5
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
6
  /**
7
7
  * The table cell horizontal alignment command.
8
8
  *
@@ -17,7 +17,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand.js';
17
17
  * } );
18
18
  * ```
19
19
  */
20
- export default class TableCellHorizontalAlignmentCommand extends TableCellPropertyCommand {
20
+ export class TableCellHorizontalAlignmentCommand extends TableCellPropertyCommand {
21
21
  /**
22
22
  * Creates a new `TableCellHorizontalAlignmentCommand` instance.
23
23
  *
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core.js';
9
9
  import type { Element } from 'ckeditor5/src/engine.js';
10
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
10
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
11
11
  /**
12
12
  * The table cell padding command.
13
13
  *
@@ -32,7 +32,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand.js';
32
32
  *
33
33
  * will set the `padding` attribute to `'5px'` in the model.
34
34
  */
35
- export default class TableCellPaddingCommand extends TableCellPropertyCommand {
35
+ export declare class TableCellPaddingCommand extends TableCellPropertyCommand {
36
36
  /**
37
37
  * Creates a new `TableCellPaddingCommand` instance.
38
38
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
5
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
6
  import { addDefaultUnitToNumericValue, getSingleValue } from '../../utils/table-properties.js';
7
7
  /**
8
8
  * The table cell padding command.
@@ -28,7 +28,7 @@ import { addDefaultUnitToNumericValue, getSingleValue } from '../../utils/table-
28
28
  *
29
29
  * will set the `padding` attribute to `'5px'` in the model.
30
30
  */
31
- export default class TableCellPaddingCommand extends TableCellPropertyCommand {
31
+ export class TableCellPaddingCommand extends TableCellPropertyCommand {
32
32
  /**
33
33
  * Creates a new `TableCellPaddingCommand` instance.
34
34
  *
@@ -12,7 +12,7 @@ import type { Element, Batch } from 'ckeditor5/src/engine.js';
12
12
  *
13
13
  * The command is a base command for other table cell property commands.
14
14
  */
15
- export default class TableCellPropertyCommand extends Command {
15
+ export declare class TableCellPropertyCommand extends Command {
16
16
  /**
17
17
  * The attribute that will be set by the command.
18
18
  */
@@ -12,7 +12,7 @@ import { getSelectionAffectedTable } from '../../utils/common.js';
12
12
  *
13
13
  * The command is a base command for other table cell property commands.
14
14
  */
15
- export default class TableCellPropertyCommand extends Command {
15
+ export class TableCellPropertyCommand extends Command {
16
16
  /**
17
17
  * The attribute that will be set by the command.
18
18
  */
@@ -6,7 +6,7 @@
6
6
  * @module table/tablecellproperties/commands/tablecellverticalalignmentcommand
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core.js';
9
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
9
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
10
10
  /**
11
11
  * The table cell vertical alignment command.
12
12
  *
@@ -29,7 +29,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand.js';
29
29
  *
30
30
  * The `'middle'` value is the default one so there is no need to set it.
31
31
  */
32
- export default class TableCellVerticalAlignmentCommand extends TableCellPropertyCommand {
32
+ export declare class TableCellVerticalAlignmentCommand extends TableCellPropertyCommand {
33
33
  /**
34
34
  * Creates a new `TableCellVerticalAlignmentCommand` instance.
35
35
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import TableCellPropertyCommand from './tablecellpropertycommand.js';
5
+ import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
6
  /**
7
7
  * The table cell vertical alignment command.
8
8
  *
@@ -25,7 +25,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand.js';
25
25
  *
26
26
  * The `'middle'` value is the default one so there is no need to set it.
27
27
  */
28
- export default class TableCellVerticalAlignmentCommand extends TableCellPropertyCommand {
28
+ export class TableCellVerticalAlignmentCommand extends TableCellPropertyCommand {
29
29
  /**
30
30
  * Creates a new `TableCellVerticalAlignmentCommand` instance.
31
31
  *
@@ -6,8 +6,8 @@
6
6
  * @module table/tablecellproperties/tablecellpropertiesediting
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import TableEditing from './../tableediting.js';
10
- import TableCellWidthEditing from '../tablecellwidth/tablecellwidthediting.js';
9
+ import { TableEditing } from './../tableediting.js';
10
+ import { TableCellWidthEditing } from '../tablecellwidth/tablecellwidthediting.js';
11
11
  /**
12
12
  * The table cell properties editing feature.
13
13
  *
@@ -27,7 +27,7 @@ import TableCellWidthEditing from '../tablecellwidth/tablecellwidthediting.js';
27
27
  * - horizontal and vertical alignment: the `'tableCellHorizontalAlignment'` and `'tableCellVerticalAlignment'` commands
28
28
  * - width and height: the `'tableCellWidth'` and `'tableCellHeight'` commands
29
29
  */
30
- export default class TableCellPropertiesEditing extends Plugin {
30
+ export declare class TableCellPropertiesEditing extends Plugin {
31
31
  /**
32
32
  * @inheritDoc
33
33
  */