@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,37 +1,37 @@
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/tablecellproperties/commands/tablecellbordercolorcommand
7
- */
8
- import type { ModelElement } from '@ckeditor/ckeditor5-engine';
9
- import type { Editor } from '@ckeditor/ckeditor5-core';
10
- import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
+ * @module table/tablecellproperties/commands/tablecellbordercolorcommand
7
+ */
8
+ import type { ModelElement } from "@ckeditor/ckeditor5-engine";
9
+ import type { Editor } from "@ckeditor/ckeditor5-core";
10
+ import { TableCellPropertyCommand } from "./tablecellpropertycommand.js";
11
11
  /**
12
- * The table cell border color command.
13
- *
14
- * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
15
- * the `'tableCellBorderColor'` editor command.
16
- *
17
- * To change the border color of selected cells, execute the command:
18
- *
19
- * ```ts
20
- * editor.execute( 'tableCellBorderColor', {
21
- * value: '#f00'
22
- * } );
23
- * ```
24
- */
12
+ * The table cell border color command.
13
+ *
14
+ * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
15
+ * the `'tableCellBorderColor'` editor command.
16
+ *
17
+ * To change the border color of selected cells, execute the command:
18
+ *
19
+ * ```ts
20
+ * editor.execute( 'tableCellBorderColor', {
21
+ * value: '#f00'
22
+ * } );
23
+ * ```
24
+ */
25
25
  export declare class TableCellBorderColorCommand extends TableCellPropertyCommand {
26
- /**
27
- * Creates a new `TableCellBorderColorCommand` instance.
28
- *
29
- * @param editor An editor in which this command will be used.
30
- * @param defaultValue The default value of the attribute.
31
- */
32
- constructor(editor: Editor, defaultValue: string);
33
- /**
34
- * @inheritDoc
35
- */
36
- protected _getAttribute(tableCell: ModelElement): unknown;
26
+ /**
27
+ * Creates a new `TableCellBorderColorCommand` instance.
28
+ *
29
+ * @param editor An editor in which this command will be used.
30
+ * @param defaultValue The default value of the attribute.
31
+ */
32
+ constructor(editor: Editor, defaultValue: string);
33
+ /**
34
+ * @inheritDoc
35
+ */
36
+ protected override _getAttribute(tableCell: ModelElement): unknown;
37
37
  }
@@ -1,37 +1,37 @@
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/tablecellproperties/commands/tablecellborderstylecommand
7
- */
8
- import type { Editor } from '@ckeditor/ckeditor5-core';
9
- import type { ModelElement } from '@ckeditor/ckeditor5-engine';
10
- import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
+ * @module table/tablecellproperties/commands/tablecellborderstylecommand
7
+ */
8
+ import type { Editor } from "@ckeditor/ckeditor5-core";
9
+ import type { ModelElement } from "@ckeditor/ckeditor5-engine";
10
+ import { TableCellPropertyCommand } from "./tablecellpropertycommand.js";
11
11
  /**
12
- * The table cell border style command.
13
- *
14
- * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
15
- * the `'tableCellBorderStyle'` editor command.
16
- *
17
- * To change the border style of selected cells, execute the command:
18
- *
19
- * ```ts
20
- * editor.execute( 'tableCellBorderStyle', {
21
- * value: 'dashed'
22
- * } );
23
- * ```
24
- */
12
+ * The table cell border style command.
13
+ *
14
+ * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
15
+ * the `'tableCellBorderStyle'` editor command.
16
+ *
17
+ * To change the border style of selected cells, execute the command:
18
+ *
19
+ * ```ts
20
+ * editor.execute( 'tableCellBorderStyle', {
21
+ * value: 'dashed'
22
+ * } );
23
+ * ```
24
+ */
25
25
  export declare class TableCellBorderStyleCommand extends TableCellPropertyCommand {
26
- /**
27
- * Creates a new `TableCellBorderStyleCommand` instance.
28
- *
29
- * @param editor An editor in which this command will be used.
30
- * @param defaultValue The default value of the attribute.
31
- */
32
- constructor(editor: Editor, defaultValue: string);
33
- /**
34
- * @inheritDoc
35
- */
36
- protected _getAttribute(tableCell: ModelElement): unknown;
26
+ /**
27
+ * Creates a new `TableCellBorderStyleCommand` instance.
28
+ *
29
+ * @param editor An editor in which this command will be used.
30
+ * @param defaultValue The default value of the attribute.
31
+ */
32
+ constructor(editor: Editor, defaultValue: string);
33
+ /**
34
+ * @inheritDoc
35
+ */
36
+ protected override _getAttribute(tableCell: ModelElement): unknown;
37
37
  }
@@ -1,51 +1,51 @@
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/tablecellproperties/commands/tablecellborderwidthcommand
7
- */
8
- import type { Editor } from '@ckeditor/ckeditor5-core';
9
- import type { ModelElement } from '@ckeditor/ckeditor5-engine';
10
- import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
+ * @module table/tablecellproperties/commands/tablecellborderwidthcommand
7
+ */
8
+ import type { Editor } from "@ckeditor/ckeditor5-core";
9
+ import type { ModelElement } from "@ckeditor/ckeditor5-engine";
10
+ import { TableCellPropertyCommand } from "./tablecellpropertycommand.js";
11
11
  /**
12
- * The table cell border width command.
13
- *
14
- * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
15
- * the `'tableCellBorderWidth'` editor command.
16
- *
17
- * To change the border width of selected cells, execute the command:
18
- *
19
- * ```ts
20
- * editor.execute( 'tableCellBorderWidth', {
21
- * value: '5px'
22
- * } );
23
- * ```
24
- *
25
- * **Note**: This command adds the default `'px'` unit to numeric values. Executing:
26
- *
27
- * ```ts
28
- * editor.execute( 'tableCellBorderWidth', {
29
- * value: '5'
30
- * } );
31
- * ```
32
- *
33
- * will set the `borderWidth` attribute to `'5px'` in the model.
34
- */
12
+ * The table cell border width command.
13
+ *
14
+ * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
15
+ * the `'tableCellBorderWidth'` editor command.
16
+ *
17
+ * To change the border width of selected cells, execute the command:
18
+ *
19
+ * ```ts
20
+ * editor.execute( 'tableCellBorderWidth', {
21
+ * value: '5px'
22
+ * } );
23
+ * ```
24
+ *
25
+ * **Note**: This command adds the default `'px'` unit to numeric values. Executing:
26
+ *
27
+ * ```ts
28
+ * editor.execute( 'tableCellBorderWidth', {
29
+ * value: '5'
30
+ * } );
31
+ * ```
32
+ *
33
+ * will set the `borderWidth` attribute to `'5px'` in the model.
34
+ */
35
35
  export declare class TableCellBorderWidthCommand extends TableCellPropertyCommand {
36
- /**
37
- * Creates a new `TableCellBorderWidthCommand` instance.
38
- *
39
- * @param editor An editor in which this command will be used.
40
- * @param defaultValue The default value of the attribute.
41
- */
42
- constructor(editor: Editor, defaultValue: string);
43
- /**
44
- * @inheritDoc
45
- */
46
- protected _getAttribute(tableCell: ModelElement): unknown;
47
- /**
48
- * @inheritDoc
49
- */
50
- protected _getValueToSet(value: string | number | undefined): unknown;
36
+ /**
37
+ * Creates a new `TableCellBorderWidthCommand` instance.
38
+ *
39
+ * @param editor An editor in which this command will be used.
40
+ * @param defaultValue The default value of the attribute.
41
+ */
42
+ constructor(editor: Editor, defaultValue: string);
43
+ /**
44
+ * @inheritDoc
45
+ */
46
+ protected override _getAttribute(tableCell: ModelElement): unknown;
47
+ /**
48
+ * @inheritDoc
49
+ */
50
+ protected override _getValueToSet(value: string | number | undefined): unknown;
51
51
  }
@@ -1,46 +1,46 @@
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/tablecellproperties/commands/tablecellheightcommand
7
- */
8
- import type { Editor } from '@ckeditor/ckeditor5-core';
9
- import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
+ * @module table/tablecellproperties/commands/tablecellheightcommand
7
+ */
8
+ import type { Editor } from "@ckeditor/ckeditor5-core";
9
+ import { TableCellPropertyCommand } from "./tablecellpropertycommand.js";
10
10
  /**
11
- * The table cell height command.
12
- *
13
- * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
14
- * the `'tableCellHeight'` editor command.
15
- *
16
- * To change the height of selected cells, execute the command:
17
- *
18
- * ```ts
19
- * editor.execute( 'tableCellHeight', {
20
- * value: '50px'
21
- * } );
22
- * ```
23
- *
24
- * **Note**: This command adds the default `'px'` unit to numeric values. Executing:
25
- *
26
- * ```ts
27
- * editor.execute( 'tableCellHeight', {
28
- * value: '50'
29
- * } );
30
- * ```
31
- *
32
- * will set the `height` attribute to `'50px'` in the model.
33
- */
11
+ * The table cell height command.
12
+ *
13
+ * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
14
+ * the `'tableCellHeight'` editor command.
15
+ *
16
+ * To change the height of selected cells, execute the command:
17
+ *
18
+ * ```ts
19
+ * editor.execute( 'tableCellHeight', {
20
+ * value: '50px'
21
+ * } );
22
+ * ```
23
+ *
24
+ * **Note**: This command adds the default `'px'` unit to numeric values. Executing:
25
+ *
26
+ * ```ts
27
+ * editor.execute( 'tableCellHeight', {
28
+ * value: '50'
29
+ * } );
30
+ * ```
31
+ *
32
+ * will set the `height` attribute to `'50px'` in the model.
33
+ */
34
34
  export declare class TableCellHeightCommand extends TableCellPropertyCommand {
35
- /**
36
- * Creates a new `TableCellHeightCommand` instance.
37
- *
38
- * @param editor An editor in which this command will be used.
39
- * @param defaultValue The default value of the attribute.
40
- */
41
- constructor(editor: Editor, defaultValue: string);
42
- /**
43
- * @inheritDoc
44
- */
45
- protected _getValueToSet(value: string | number | undefined): unknown;
35
+ /**
36
+ * Creates a new `TableCellHeightCommand` instance.
37
+ *
38
+ * @param editor An editor in which this command will be used.
39
+ * @param defaultValue The default value of the attribute.
40
+ */
41
+ constructor(editor: Editor, defaultValue: string);
42
+ /**
43
+ * @inheritDoc
44
+ */
45
+ protected override _getValueToSet(value: string | number | undefined): unknown;
46
46
  }
@@ -1,32 +1,32 @@
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/tablecellproperties/commands/tablecellhorizontalalignmentcommand
7
- */
8
- import type { Editor } from '@ckeditor/ckeditor5-core';
9
- import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
+ * @module table/tablecellproperties/commands/tablecellhorizontalalignmentcommand
7
+ */
8
+ import type { Editor } from "@ckeditor/ckeditor5-core";
9
+ import { TableCellPropertyCommand } from "./tablecellpropertycommand.js";
10
10
  /**
11
- * The table cell horizontal alignment command.
12
- *
13
- * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
14
- * the `'tableCellHorizontalAlignment'` editor command.
15
- *
16
- * To change the horizontal text alignment of selected cells, execute the command:
17
- *
18
- * ```ts
19
- * editor.execute( 'tableCellHorizontalAlignment', {
20
- * value: 'right'
21
- * } );
22
- * ```
23
- */
11
+ * The table cell horizontal alignment command.
12
+ *
13
+ * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
14
+ * the `'tableCellHorizontalAlignment'` editor command.
15
+ *
16
+ * To change the horizontal text alignment of selected cells, execute the command:
17
+ *
18
+ * ```ts
19
+ * editor.execute( 'tableCellHorizontalAlignment', {
20
+ * value: 'right'
21
+ * } );
22
+ * ```
23
+ */
24
24
  export declare class TableCellHorizontalAlignmentCommand extends TableCellPropertyCommand {
25
- /**
26
- * Creates a new `TableCellHorizontalAlignmentCommand` instance.
27
- *
28
- * @param editor An editor in which this command will be used.
29
- * @param defaultValue The default value for the "alignment" attribute.
30
- */
31
- constructor(editor: Editor, defaultValue: string);
25
+ /**
26
+ * Creates a new `TableCellHorizontalAlignmentCommand` instance.
27
+ *
28
+ * @param editor An editor in which this command will be used.
29
+ * @param defaultValue The default value for the "alignment" attribute.
30
+ */
31
+ constructor(editor: Editor, defaultValue: string);
32
32
  }
@@ -1,51 +1,51 @@
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/tablecellproperties/commands/tablecellpaddingcommand
7
- */
8
- import type { Editor } from '@ckeditor/ckeditor5-core';
9
- import type { ModelElement } from '@ckeditor/ckeditor5-engine';
10
- import { TableCellPropertyCommand } from './tablecellpropertycommand.js';
6
+ * @module table/tablecellproperties/commands/tablecellpaddingcommand
7
+ */
8
+ import type { Editor } from "@ckeditor/ckeditor5-core";
9
+ import type { ModelElement } from "@ckeditor/ckeditor5-engine";
10
+ import { TableCellPropertyCommand } from "./tablecellpropertycommand.js";
11
11
  /**
12
- * The table cell padding command.
13
- *
14
- * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
15
- * the `'tableCellPadding'` editor command.
16
- *
17
- * To change the padding of selected cells, execute the command:
18
- *
19
- * ```ts
20
- * editor.execute( 'tableCellPadding', {
21
- * value: '5px'
22
- * } );
23
- * ```
24
- *
25
- * **Note**: This command adds the default `'px'` unit to numeric values. Executing:
26
- *
27
- * ```ts
28
- * editor.execute( 'tableCellPadding', {
29
- * value: '5'
30
- * } );
31
- * ```
32
- *
33
- * will set the `padding` attribute to `'5px'` in the model.
34
- */
12
+ * The table cell padding command.
13
+ *
14
+ * The command is registered by the {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing} as
15
+ * the `'tableCellPadding'` editor command.
16
+ *
17
+ * To change the padding of selected cells, execute the command:
18
+ *
19
+ * ```ts
20
+ * editor.execute( 'tableCellPadding', {
21
+ * value: '5px'
22
+ * } );
23
+ * ```
24
+ *
25
+ * **Note**: This command adds the default `'px'` unit to numeric values. Executing:
26
+ *
27
+ * ```ts
28
+ * editor.execute( 'tableCellPadding', {
29
+ * value: '5'
30
+ * } );
31
+ * ```
32
+ *
33
+ * will set the `padding` attribute to `'5px'` in the model.
34
+ */
35
35
  export declare class TableCellPaddingCommand extends TableCellPropertyCommand {
36
- /**
37
- * Creates a new `TableCellPaddingCommand` instance.
38
- *
39
- * @param editor An editor in which this command will be used.
40
- * @param defaultValue The default value of the attribute.
41
- */
42
- constructor(editor: Editor, defaultValue: string);
43
- /**
44
- * @inheritDoc
45
- */
46
- protected _getAttribute(tableCell: ModelElement): unknown;
47
- /**
48
- * @inheritDoc
49
- */
50
- protected _getValueToSet(value: string | number | undefined): unknown;
36
+ /**
37
+ * Creates a new `TableCellPaddingCommand` instance.
38
+ *
39
+ * @param editor An editor in which this command will be used.
40
+ * @param defaultValue The default value of the attribute.
41
+ */
42
+ constructor(editor: Editor, defaultValue: string);
43
+ /**
44
+ * @inheritDoc
45
+ */
46
+ protected override _getAttribute(tableCell: ModelElement): unknown;
47
+ /**
48
+ * @inheritDoc
49
+ */
50
+ protected override _getValueToSet(value: string | number | undefined): unknown;
51
51
  }