@ckeditor/ckeditor5-table 48.2.0 → 48.3.0-alpha.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 (94) hide show
  1. package/dist/augmentation.d.ts +80 -80
  2. package/dist/commands/insertcolumncommand.d.ts +50 -50
  3. package/dist/commands/insertrowcommand.d.ts +49 -49
  4. package/dist/commands/inserttablecommand.d.ts +43 -43
  5. package/dist/commands/inserttablelayoutcommand.d.ts +34 -34
  6. package/dist/commands/mergecellcommand.d.ts +63 -63
  7. package/dist/commands/mergecellscommand.d.ts +24 -24
  8. package/dist/commands/removecolumncommand.d.ts +24 -24
  9. package/dist/commands/removerowcommand.d.ts +24 -24
  10. package/dist/commands/selectcolumncommand.d.ts +28 -28
  11. package/dist/commands/selectrowcommand.d.ts +28 -28
  12. package/dist/commands/setfooterrowcommand.d.ts +48 -48
  13. package/dist/commands/setheadercolumncommand.d.ts +45 -45
  14. package/dist/commands/setheaderrowcommand.d.ts +48 -48
  15. package/dist/commands/splitcellcommand.d.ts +38 -38
  16. package/dist/converters/downcast.d.ts +77 -77
  17. package/dist/converters/table-caption-post-fixer.d.ts +18 -18
  18. package/dist/converters/table-cell-paragraph-post-fixer.d.ts +30 -30
  19. package/dist/converters/table-cell-refresh-handler.d.ts +16 -16
  20. package/dist/converters/table-layout-post-fixer.d.ts +224 -224
  21. package/dist/converters/table-structure-post-fixer.d.ts +16 -16
  22. package/dist/converters/table-structure-refresh-handler.d.ts +15 -15
  23. package/dist/converters/tableproperties.d.ts +98 -98
  24. package/dist/converters/upcasttable.d.ts +47 -47
  25. package/dist/index.css.map +1 -1
  26. package/dist/index.d.ts +98 -98
  27. package/dist/index.js +12835 -14503
  28. package/dist/index.js.map +1 -1
  29. package/dist/plaintableoutput.d.ts +28 -28
  30. package/dist/table.d.ts +39 -39
  31. package/dist/tablecaption/tablecaptionediting.d.ts +62 -62
  32. package/dist/tablecaption/tablecaptionui.d.ts +18 -18
  33. package/dist/tablecaption/toggletablecaptioncommand.d.ts +61 -61
  34. package/dist/tablecaption/utils.d.ts +31 -31
  35. package/dist/tablecaption.d.ts +23 -23
  36. package/dist/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +27 -27
  37. package/dist/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +32 -32
  38. package/dist/tablecellproperties/commands/tablecellborderstylecommand.d.ts +32 -32
  39. package/dist/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +46 -46
  40. package/dist/tablecellproperties/commands/tablecellheightcommand.d.ts +41 -41
  41. package/dist/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +27 -27
  42. package/dist/tablecellproperties/commands/tablecellpaddingcommand.d.ts +46 -46
  43. package/dist/tablecellproperties/commands/tablecellpropertycommand.d.ts +79 -79
  44. package/dist/tablecellproperties/commands/tablecelltypecommand.d.ts +42 -42
  45. package/dist/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +35 -35
  46. package/dist/tablecellproperties/tablecellpropertiesediting.d.ts +49 -49
  47. package/dist/tablecellproperties/tablecellpropertiesui.d.ts +123 -123
  48. package/dist/tablecellproperties/tablecellpropertiesutils.d.ts +13 -13
  49. package/dist/tablecellproperties/ui/tablecellpropertiesview.d.ts +257 -257
  50. package/dist/tablecellproperties.d.ts +29 -29
  51. package/dist/tablecellwidth/commands/tablecellwidthcommand.d.ts +41 -41
  52. package/dist/tablecellwidth/tablecellwidthediting.d.ts +28 -28
  53. package/dist/tableclipboard.d.ts +79 -79
  54. package/dist/tablecolumnresize/constants.d.ts +23 -23
  55. package/dist/tablecolumnresize/converters.d.ts +20 -20
  56. package/dist/tablecolumnresize/tablecolumnresizeediting.d.ts +184 -184
  57. package/dist/tablecolumnresize/tablewidthscommand.d.ts +31 -31
  58. package/dist/tablecolumnresize/utils.d.ts +127 -127
  59. package/dist/tablecolumnresize.d.ts +25 -25
  60. package/dist/tableconfig.d.ts +670 -670
  61. package/dist/tableediting.d.ts +99 -99
  62. package/dist/tablekeyboard.d.ts +67 -67
  63. package/dist/tablelayout/commands/tabletypecommand.d.ts +38 -38
  64. package/dist/tablelayout/tablelayoutediting.d.ts +58 -58
  65. package/dist/tablelayout/tablelayoutui.d.ts +27 -27
  66. package/dist/tablelayout.d.ts +25 -25
  67. package/dist/tablemouse/mouseeventsobserver.d.ts +54 -54
  68. package/dist/tablemouse.d.ts +47 -47
  69. package/dist/tableproperties/commands/tablealignmentcommand.d.ts +27 -27
  70. package/dist/tableproperties/commands/tablebackgroundcolorcommand.d.ts +27 -27
  71. package/dist/tableproperties/commands/tablebordercolorcommand.d.ts +32 -32
  72. package/dist/tableproperties/commands/tableborderstylecommand.d.ts +32 -32
  73. package/dist/tableproperties/commands/tableborderwidthcommand.d.ts +46 -46
  74. package/dist/tableproperties/commands/tableheightcommand.d.ts +41 -41
  75. package/dist/tableproperties/commands/tablepropertycommand.d.ts +64 -64
  76. package/dist/tableproperties/commands/tablewidthcommand.d.ts +41 -41
  77. package/dist/tableproperties/tablepropertiesediting.d.ts +48 -48
  78. package/dist/tableproperties/tablepropertiesui.d.ts +131 -131
  79. package/dist/tableproperties/ui/tablepropertiesview.d.ts +207 -207
  80. package/dist/tableproperties.d.ts +29 -29
  81. package/dist/tableselection.d.ts +106 -106
  82. package/dist/tabletoolbar.d.ts +31 -31
  83. package/dist/tableui.d.ts +53 -53
  84. package/dist/tableutils.d.ts +532 -532
  85. package/dist/tablewalker.d.ts +342 -350
  86. package/dist/ui/colorinputview.d.ts +137 -137
  87. package/dist/ui/inserttableview.d.ts +78 -78
  88. package/dist/utils/common.d.ts +58 -58
  89. package/dist/utils/structure.d.ts +229 -229
  90. package/dist/utils/table-properties.d.ts +92 -92
  91. package/dist/utils/ui/contextualballoon.d.ts +28 -28
  92. package/dist/utils/ui/table-properties.d.ts +195 -192
  93. package/dist/utils/ui/widget.d.ts +22 -22
  94. package/package.json +9 -9
@@ -1,68 +1,68 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module table/commands/mergecellcommand
7
- */
8
- import type { ModelNode } from '@ckeditor/ckeditor5-engine';
9
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
10
- import type { ArrowKeyCodeDirection } from '@ckeditor/ckeditor5-utils';
6
+ * @module table/commands/mergecellcommand
7
+ */
8
+ import type { ModelNode } from "@ckeditor/ckeditor5-engine";
9
+ import { Command, type Editor } from "@ckeditor/ckeditor5-core";
10
+ import type { ArrowKeyCodeDirection } from "@ckeditor/ckeditor5-utils";
11
11
  /**
12
- * The merge cell command.
13
- *
14
- * The command is registered by {@link module:table/tableediting~TableEditing} as the `'mergeTableCellRight'`, `'mergeTableCellLeft'`,
15
- * `'mergeTableCellUp'` and `'mergeTableCellDown'` editor commands.
16
- *
17
- * To merge a table cell at the current selection with another cell, execute the command corresponding with the preferred direction.
18
- *
19
- * For example, to merge with a cell to the right:
20
- *
21
- * ```ts
22
- * editor.execute( 'mergeTableCellRight' );
23
- * ```
24
- *
25
- * **Note**: If a table cell has a different [`rowspan`](https://www.w3.org/TR/html50/tabular-data.html#attr-tdth-rowspan)
26
- * (for `'mergeTableCellRight'` and `'mergeTableCellLeft'`) or [`colspan`](https://www.w3.org/TR/html50/tabular-data.html#attr-tdth-colspan)
27
- * (for `'mergeTableCellUp'` and `'mergeTableCellDown'`), the command will be disabled.
28
- */
12
+ * The merge cell command.
13
+ *
14
+ * The command is registered by {@link module:table/tableediting~TableEditing} as the `'mergeTableCellRight'`, `'mergeTableCellLeft'`,
15
+ * `'mergeTableCellUp'` and `'mergeTableCellDown'` editor commands.
16
+ *
17
+ * To merge a table cell at the current selection with another cell, execute the command corresponding with the preferred direction.
18
+ *
19
+ * For example, to merge with a cell to the right:
20
+ *
21
+ * ```ts
22
+ * editor.execute( 'mergeTableCellRight' );
23
+ * ```
24
+ *
25
+ * **Note**: If a table cell has a different [`rowspan`](https://www.w3.org/TR/html50/tabular-data.html#attr-tdth-rowspan)
26
+ * (for `'mergeTableCellRight'` and `'mergeTableCellLeft'`) or [`colspan`](https://www.w3.org/TR/html50/tabular-data.html#attr-tdth-colspan)
27
+ * (for `'mergeTableCellUp'` and `'mergeTableCellDown'`), the command will be disabled.
28
+ */
29
29
  export declare class MergeCellCommand extends Command {
30
- /**
31
- * The direction that indicates which cell will be merged with the currently selected one.
32
- */
33
- readonly direction: ArrowKeyCodeDirection;
34
- /**
35
- * Whether the merge is horizontal (left/right) or vertical (up/down).
36
- */
37
- readonly isHorizontal: boolean;
38
- /**
39
- * @inheritDoc
40
- */
41
- value: ModelNode | undefined;
42
- /**
43
- * Creates a new `MergeCellCommand` instance.
44
- *
45
- * @param editor The editor on which this command will be used.
46
- * @param options.direction Indicates which cell to merge with the currently selected one.
47
- * Possible values are: `'left'`, `'right'`, `'up'` and `'down'`.
48
- */
49
- constructor(editor: Editor, options: {
50
- direction: ArrowKeyCodeDirection;
51
- });
52
- /**
53
- * @inheritDoc
54
- */
55
- refresh(): void;
56
- /**
57
- * Executes the command.
58
- *
59
- * Depending on the command's {@link #direction} value, it will merge the cell that is to the `'left'`, `'right'`, `'up'` or `'down'`.
60
- *
61
- * @fires execute
62
- */
63
- execute(): void;
64
- /**
65
- * Returns a cell that can be merged with the current cell depending on the command's direction.
66
- */
67
- private _getMergeableCell;
30
+ /**
31
+ * The direction that indicates which cell will be merged with the currently selected one.
32
+ */
33
+ readonly direction: ArrowKeyCodeDirection;
34
+ /**
35
+ * Whether the merge is horizontal (left/right) or vertical (up/down).
36
+ */
37
+ readonly isHorizontal: boolean;
38
+ /**
39
+ * @inheritDoc
40
+ */
41
+ value: ModelNode | undefined;
42
+ /**
43
+ * Creates a new `MergeCellCommand` instance.
44
+ *
45
+ * @param editor The editor on which this command will be used.
46
+ * @param options.direction Indicates which cell to merge with the currently selected one.
47
+ * Possible values are: `'left'`, `'right'`, `'up'` and `'down'`.
48
+ */
49
+ constructor(editor: Editor, options: {
50
+ direction: ArrowKeyCodeDirection;
51
+ });
52
+ /**
53
+ * @inheritDoc
54
+ */
55
+ override refresh(): void;
56
+ /**
57
+ * Executes the command.
58
+ *
59
+ * Depending on the command's {@link #direction} value, it will merge the cell that is to the `'left'`, `'right'`, `'up'` or `'down'`.
60
+ *
61
+ * @fires execute
62
+ */
63
+ override execute(): void;
64
+ /**
65
+ * Returns a cell that can be merged with the current cell depending on the command's direction.
66
+ */
67
+ private _getMergeableCell;
68
68
  }
@@ -1,28 +1,28 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import { Command } from '@ckeditor/ckeditor5-core';
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import { Command } from "@ckeditor/ckeditor5-core";
6
6
  /**
7
- * The merge cells command.
8
- *
9
- * The command is registered by {@link module:table/tableediting~TableEditing} as the `'mergeTableCells'` editor command.
10
- *
11
- * For example, to merge selected table cells:
12
- *
13
- * ```ts
14
- * editor.execute( 'mergeTableCells' );
15
- * ```
16
- */
7
+ * The merge cells command.
8
+ *
9
+ * The command is registered by {@link module:table/tableediting~TableEditing} as the `'mergeTableCells'` editor command.
10
+ *
11
+ * For example, to merge selected table cells:
12
+ *
13
+ * ```ts
14
+ * editor.execute( 'mergeTableCells' );
15
+ * ```
16
+ */
17
17
  export declare class MergeCellsCommand extends Command {
18
- /**
19
- * @inheritDoc
20
- */
21
- refresh(): void;
22
- /**
23
- * Executes the command.
24
- *
25
- * @fires execute
26
- */
27
- execute(): void;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ override refresh(): void;
22
+ /**
23
+ * Executes the command.
24
+ *
25
+ * @fires execute
26
+ */
27
+ override execute(): void;
28
28
  }
@@ -1,29 +1,29 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module table/commands/removecolumncommand
7
- */
8
- import { Command } from '@ckeditor/ckeditor5-core';
6
+ * @module table/commands/removecolumncommand
7
+ */
8
+ import { Command } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The remove column command.
11
- *
12
- * The command is registered by {@link module:table/tableediting~TableEditing} as the `'removeTableColumn'` editor command.
13
- *
14
- * To remove the column containing the selected cell, execute the command:
15
- *
16
- * ```ts
17
- * editor.execute( 'removeTableColumn' );
18
- * ```
19
- */
10
+ * The remove column command.
11
+ *
12
+ * The command is registered by {@link module:table/tableediting~TableEditing} as the `'removeTableColumn'` editor command.
13
+ *
14
+ * To remove the column containing the selected cell, execute the command:
15
+ *
16
+ * ```ts
17
+ * editor.execute( 'removeTableColumn' );
18
+ * ```
19
+ */
20
20
  export declare class RemoveColumnCommand extends Command {
21
- /**
22
- * @inheritDoc
23
- */
24
- refresh(): void;
25
- /**
26
- * @inheritDoc
27
- */
28
- execute(): void;
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ override refresh(): void;
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ override execute(): void;
29
29
  }
@@ -1,29 +1,29 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module table/commands/removerowcommand
7
- */
8
- import { Command } from '@ckeditor/ckeditor5-core';
6
+ * @module table/commands/removerowcommand
7
+ */
8
+ import { Command } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The remove row command.
11
- *
12
- * The command is registered by {@link module:table/tableediting~TableEditing} as the `'removeTableRow'` editor command.
13
- *
14
- * To remove the row containing the selected cell, execute the command:
15
- *
16
- * ```ts
17
- * editor.execute( 'removeTableRow' );
18
- * ```
19
- */
10
+ * The remove row command.
11
+ *
12
+ * The command is registered by {@link module:table/tableediting~TableEditing} as the `'removeTableRow'` editor command.
13
+ *
14
+ * To remove the row containing the selected cell, execute the command:
15
+ *
16
+ * ```ts
17
+ * editor.execute( 'removeTableRow' );
18
+ * ```
19
+ */
20
20
  export declare class RemoveRowCommand extends Command {
21
- /**
22
- * @inheritDoc
23
- */
24
- refresh(): void;
25
- /**
26
- * @inheritDoc
27
- */
28
- execute(): void;
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ override refresh(): void;
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ override execute(): void;
29
29
  }
@@ -1,33 +1,33 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module table/commands/selectcolumncommand
7
- */
8
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
6
+ * @module table/commands/selectcolumncommand
7
+ */
8
+ import { Command, type Editor } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The select column command.
11
- *
12
- * The command is registered by {@link module:table/tableediting~TableEditing} as the `'selectTableColumn'` editor command.
13
- *
14
- * To select the columns containing the selected cells, execute the command:
15
- *
16
- * ```ts
17
- * editor.execute( 'selectTableColumn' );
18
- * ```
19
- */
10
+ * The select column command.
11
+ *
12
+ * The command is registered by {@link module:table/tableediting~TableEditing} as the `'selectTableColumn'` editor command.
13
+ *
14
+ * To select the columns containing the selected cells, execute the command:
15
+ *
16
+ * ```ts
17
+ * editor.execute( 'selectTableColumn' );
18
+ * ```
19
+ */
20
20
  export declare class SelectColumnCommand extends Command {
21
- /**
22
- * @inheritDoc
23
- */
24
- constructor(editor: Editor);
25
- /**
26
- * @inheritDoc
27
- */
28
- refresh(): void;
29
- /**
30
- * @inheritDoc
31
- */
32
- execute(): void;
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ constructor(editor: Editor);
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ override refresh(): void;
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ override execute(): void;
33
33
  }
@@ -1,33 +1,33 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module table/commands/selectrowcommand
7
- */
8
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
6
+ * @module table/commands/selectrowcommand
7
+ */
8
+ import { Command, type Editor } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The select row command.
11
- *
12
- * The command is registered by {@link module:table/tableediting~TableEditing} as the `'selectTableRow'` editor command.
13
- *
14
- * To select the rows containing the selected cells, execute the command:
15
- *
16
- * ```ts
17
- * editor.execute( 'selectTableRow' );
18
- * ```
19
- */
10
+ * The select row command.
11
+ *
12
+ * The command is registered by {@link module:table/tableediting~TableEditing} as the `'selectTableRow'` editor command.
13
+ *
14
+ * To select the rows containing the selected cells, execute the command:
15
+ *
16
+ * ```ts
17
+ * editor.execute( 'selectTableRow' );
18
+ * ```
19
+ */
20
20
  export declare class SelectRowCommand extends Command {
21
- /**
22
- * @inheritDoc
23
- */
24
- constructor(editor: Editor);
25
- /**
26
- * @inheritDoc
27
- */
28
- refresh(): void;
29
- /**
30
- * @inheritDoc
31
- */
32
- execute(): void;
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ constructor(editor: Editor);
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ override refresh(): void;
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ override execute(): void;
33
33
  }
@@ -1,53 +1,53 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module table/commands/setfooterrowcommand
7
- */
8
- import { Command } from '@ckeditor/ckeditor5-core';
6
+ * @module table/commands/setfooterrowcommand
7
+ */
8
+ import { Command } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The footer row command.
11
- *
12
- * The command is registered by {@link module:table/tableediting~TableEditing} as the `'setTableFooterRow'` editor command.
13
- *
14
- * You can make the row containing the selected cell a footer by executing:
15
- *
16
- * ```ts
17
- * editor.execute( 'setTableFooterRow' );
18
- * ```
19
- *
20
- * **Note:** All following rows will also become footers. If the current row is already a footer, executing this command
21
- * will make it a regular row back again (including the preceding rows).
22
- */
10
+ * The footer row command.
11
+ *
12
+ * The command is registered by {@link module:table/tableediting~TableEditing} as the `'setTableFooterRow'` editor command.
13
+ *
14
+ * You can make the row containing the selected cell a footer by executing:
15
+ *
16
+ * ```ts
17
+ * editor.execute( 'setTableFooterRow' );
18
+ * ```
19
+ *
20
+ * **Note:** All following rows will also become footers. If the current row is already a footer, executing this command
21
+ * will make it a regular row back again (including the preceding rows).
22
+ */
23
23
  export declare class SetFooterRowCommand extends Command {
24
- /**
25
- * Flag indicating whether the command is active. The command is active when the
26
- * {@link module:engine/model/selection~ModelSelection} is in a footer row.
27
- *
28
- * @observable
29
- */
30
- value: boolean;
31
- /**
32
- * @inheritDoc
33
- */
34
- refresh(): void;
35
- /**
36
- * Executes the command.
37
- *
38
- * When the selection is in a non-footer row, the command will set the `footerRows` table attribute to cover that row.
39
- *
40
- * When the selection is already in a footer row, it will set `footerRows` so the footer section will start after that row.
41
- *
42
- * @fires execute
43
- * @param options.forceValue If set, the command will set (`true`) or unset (`false`) the footer rows according to
44
- * the `forceValue` parameter instead of the current model state.
45
- */
46
- execute(options?: {
47
- forceValue?: boolean;
48
- }): void;
49
- /**
50
- * Checks if a table cell is in the footer section.
51
- */
52
- private _isInFooter;
24
+ /**
25
+ * Flag indicating whether the command is active. The command is active when the
26
+ * {@link module:engine/model/selection~ModelSelection} is in a footer row.
27
+ *
28
+ * @observable
29
+ */
30
+ value: boolean;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ override refresh(): void;
35
+ /**
36
+ * Executes the command.
37
+ *
38
+ * When the selection is in a non-footer row, the command will set the `footerRows` table attribute to cover that row.
39
+ *
40
+ * When the selection is already in a footer row, it will set `footerRows` so the footer section will start after that row.
41
+ *
42
+ * @fires execute
43
+ * @param options.forceValue If set, the command will set (`true`) or unset (`false`) the footer rows according to
44
+ * the `forceValue` parameter instead of the current model state.
45
+ */
46
+ override execute(options?: {
47
+ forceValue?: boolean;
48
+ }): void;
49
+ /**
50
+ * Checks if a table cell is in the footer section.
51
+ */
52
+ private _isInFooter;
53
53
  }
@@ -1,50 +1,50 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module table/commands/setheadercolumncommand
7
- */
8
- import { Command } from '@ckeditor/ckeditor5-core';
6
+ * @module table/commands/setheadercolumncommand
7
+ */
8
+ import { Command } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The header column command.
11
- *
12
- * The command is registered by {@link module:table/tableediting~TableEditing} as the `'setTableColumnHeader'` editor command.
13
- *
14
- * You can make the column containing the selected cell a [header](https://www.w3.org/TR/html50/tabular-data.html#the-th-element)
15
- * by executing:
16
- *
17
- * ```ts
18
- * editor.execute( 'setTableColumnHeader' );
19
- * ```
20
- *
21
- * **Note:** All preceding columns will also become headers. If the current column is already a header, executing this command
22
- * will make it a regular column back again (including the following columns).
23
- */
10
+ * The header column command.
11
+ *
12
+ * The command is registered by {@link module:table/tableediting~TableEditing} as the `'setTableColumnHeader'` editor command.
13
+ *
14
+ * You can make the column containing the selected cell a [header](https://www.w3.org/TR/html50/tabular-data.html#the-th-element)
15
+ * by executing:
16
+ *
17
+ * ```ts
18
+ * editor.execute( 'setTableColumnHeader' );
19
+ * ```
20
+ *
21
+ * **Note:** All preceding columns will also become headers. If the current column is already a header, executing this command
22
+ * will make it a regular column back again (including the following columns).
23
+ */
24
24
  export declare class SetHeaderColumnCommand extends Command {
25
- /**
26
- * Flag indicating whether the command is active. The command is active when the
27
- * {@link module:engine/model/selection~ModelSelection} is in a header column.
28
- *
29
- * @observable
30
- */
31
- value: boolean;
32
- /**
33
- * @inheritDoc
34
- */
35
- refresh(): void;
36
- /**
37
- * Executes the command.
38
- *
39
- * When the selection is in a non-header column, the command will set the `headingColumns` table attribute to cover that column.
40
- *
41
- * When the selection is already in a header column, it will set `headingColumns` so the heading section will end before that column.
42
- *
43
- * @fires execute
44
- * @param options.forceValue If set, the command will set (`true`) or unset (`false`) the header columns according to
45
- * the `forceValue` parameter instead of the current model state.
46
- */
47
- execute(options?: {
48
- forceValue?: boolean;
49
- }): void;
25
+ /**
26
+ * Flag indicating whether the command is active. The command is active when the
27
+ * {@link module:engine/model/selection~ModelSelection} is in a header column.
28
+ *
29
+ * @observable
30
+ */
31
+ value: boolean;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ override refresh(): void;
36
+ /**
37
+ * Executes the command.
38
+ *
39
+ * When the selection is in a non-header column, the command will set the `headingColumns` table attribute to cover that column.
40
+ *
41
+ * When the selection is already in a header column, it will set `headingColumns` so the heading section will end before that column.
42
+ *
43
+ * @fires execute
44
+ * @param options.forceValue If set, the command will set (`true`) or unset (`false`) the header columns according to
45
+ * the `forceValue` parameter instead of the current model state.
46
+ */
47
+ override execute(options?: {
48
+ forceValue?: boolean;
49
+ }): void;
50
50
  }