@ckeditor/ckeditor5-table 48.2.0 → 48.3.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/dist/augmentation.d.ts +80 -80
- package/dist/commands/insertcolumncommand.d.ts +50 -50
- package/dist/commands/insertrowcommand.d.ts +49 -49
- package/dist/commands/inserttablecommand.d.ts +43 -43
- package/dist/commands/inserttablelayoutcommand.d.ts +34 -34
- package/dist/commands/mergecellcommand.d.ts +63 -63
- package/dist/commands/mergecellscommand.d.ts +24 -24
- package/dist/commands/removecolumncommand.d.ts +24 -24
- package/dist/commands/removerowcommand.d.ts +24 -24
- package/dist/commands/selectcolumncommand.d.ts +28 -28
- package/dist/commands/selectrowcommand.d.ts +28 -28
- package/dist/commands/setfooterrowcommand.d.ts +48 -48
- package/dist/commands/setheadercolumncommand.d.ts +45 -45
- package/dist/commands/setheaderrowcommand.d.ts +48 -48
- package/dist/commands/splitcellcommand.d.ts +38 -38
- package/dist/converters/downcast.d.ts +77 -77
- package/dist/converters/table-caption-post-fixer.d.ts +18 -18
- package/dist/converters/table-cell-paragraph-post-fixer.d.ts +30 -30
- package/dist/converters/table-cell-refresh-handler.d.ts +16 -16
- package/dist/converters/table-layout-post-fixer.d.ts +224 -224
- package/dist/converters/table-structure-post-fixer.d.ts +16 -16
- package/dist/converters/table-structure-refresh-handler.d.ts +15 -15
- package/dist/converters/tableproperties.d.ts +98 -98
- package/dist/converters/upcasttable.d.ts +47 -47
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +98 -98
- package/dist/index.js +12835 -14503
- package/dist/index.js.map +1 -1
- package/dist/plaintableoutput.d.ts +28 -28
- package/dist/table.d.ts +39 -39
- package/dist/tablecaption/tablecaptionediting.d.ts +62 -62
- package/dist/tablecaption/tablecaptionui.d.ts +18 -18
- package/dist/tablecaption/toggletablecaptioncommand.d.ts +61 -61
- package/dist/tablecaption/utils.d.ts +31 -31
- package/dist/tablecaption.d.ts +23 -23
- package/dist/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +27 -27
- package/dist/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +32 -32
- package/dist/tablecellproperties/commands/tablecellborderstylecommand.d.ts +32 -32
- package/dist/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +46 -46
- package/dist/tablecellproperties/commands/tablecellheightcommand.d.ts +41 -41
- package/dist/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +27 -27
- package/dist/tablecellproperties/commands/tablecellpaddingcommand.d.ts +46 -46
- package/dist/tablecellproperties/commands/tablecellpropertycommand.d.ts +79 -79
- package/dist/tablecellproperties/commands/tablecelltypecommand.d.ts +42 -42
- package/dist/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +35 -35
- package/dist/tablecellproperties/tablecellpropertiesediting.d.ts +49 -49
- package/dist/tablecellproperties/tablecellpropertiesui.d.ts +123 -123
- package/dist/tablecellproperties/tablecellpropertiesutils.d.ts +13 -13
- package/dist/tablecellproperties/ui/tablecellpropertiesview.d.ts +257 -257
- package/dist/tablecellproperties.d.ts +29 -29
- package/dist/tablecellwidth/commands/tablecellwidthcommand.d.ts +41 -41
- package/dist/tablecellwidth/tablecellwidthediting.d.ts +28 -28
- package/dist/tableclipboard.d.ts +79 -79
- package/dist/tablecolumnresize/constants.d.ts +23 -23
- package/dist/tablecolumnresize/converters.d.ts +20 -20
- package/dist/tablecolumnresize/tablecolumnresizeediting.d.ts +184 -184
- package/dist/tablecolumnresize/tablewidthscommand.d.ts +31 -31
- package/dist/tablecolumnresize/utils.d.ts +127 -127
- package/dist/tablecolumnresize.d.ts +25 -25
- package/dist/tableconfig.d.ts +670 -670
- package/dist/tableediting.d.ts +99 -99
- package/dist/tablekeyboard.d.ts +67 -67
- package/dist/tablelayout/commands/tabletypecommand.d.ts +38 -38
- package/dist/tablelayout/tablelayoutediting.d.ts +58 -58
- package/dist/tablelayout/tablelayoutui.d.ts +27 -27
- package/dist/tablelayout.d.ts +25 -25
- package/dist/tablemouse/mouseeventsobserver.d.ts +54 -54
- package/dist/tablemouse.d.ts +47 -47
- package/dist/tableproperties/commands/tablealignmentcommand.d.ts +27 -27
- package/dist/tableproperties/commands/tablebackgroundcolorcommand.d.ts +27 -27
- package/dist/tableproperties/commands/tablebordercolorcommand.d.ts +32 -32
- package/dist/tableproperties/commands/tableborderstylecommand.d.ts +32 -32
- package/dist/tableproperties/commands/tableborderwidthcommand.d.ts +46 -46
- package/dist/tableproperties/commands/tableheightcommand.d.ts +41 -41
- package/dist/tableproperties/commands/tablepropertycommand.d.ts +64 -64
- package/dist/tableproperties/commands/tablewidthcommand.d.ts +41 -41
- package/dist/tableproperties/tablepropertiesediting.d.ts +48 -48
- package/dist/tableproperties/tablepropertiesui.d.ts +131 -131
- package/dist/tableproperties/ui/tablepropertiesview.d.ts +207 -207
- package/dist/tableproperties.d.ts +29 -29
- package/dist/tableselection.d.ts +106 -106
- package/dist/tabletoolbar.d.ts +31 -31
- package/dist/tableui.d.ts +53 -53
- package/dist/tableutils.d.ts +532 -532
- package/dist/tablewalker.d.ts +342 -350
- package/dist/ui/colorinputview.d.ts +137 -137
- package/dist/ui/inserttableview.d.ts +78 -78
- package/dist/utils/common.d.ts +58 -58
- package/dist/utils/structure.d.ts +229 -229
- package/dist/utils/table-properties.d.ts +92 -92
- package/dist/utils/ui/contextualballoon.d.ts +28 -28
- package/dist/utils/ui/table-properties.d.ts +195 -192
- package/dist/utils/ui/widget.d.ts +22 -22
- package/package.json +9 -9
|
@@ -1,264 +1,264 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
import { ButtonView, FocusCycler, LabeledFieldView, ToolbarView, View, ViewCollection, type FocusableView, type NormalizedColorOption, type ColorPickerConfig } from
|
|
9
|
-
import { KeystrokeHandler, FocusTracker, type Locale } from
|
|
10
|
-
import { type ColorInputView } from
|
|
11
|
-
import type { TableCellPropertiesOptions } from
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
6
|
+
* @module table/tablecellproperties/ui/tablecellpropertiesview
|
|
7
|
+
*/
|
|
8
|
+
import { ButtonView, FocusCycler, LabeledFieldView, ToolbarView, View, ViewCollection, type FocusableView, type NormalizedColorOption, type ColorPickerConfig } from "@ckeditor/ckeditor5-ui";
|
|
9
|
+
import { KeystrokeHandler, FocusTracker, type Locale } from "@ckeditor/ckeditor5-utils";
|
|
10
|
+
import { type ColorInputView } from "../../ui/colorinputview.js";
|
|
11
|
+
import type { TableCellPropertiesOptions } from "../../tableconfig.js";
|
|
12
|
+
import "../../../theme/formrow.css";
|
|
13
|
+
import "../../../theme/tableform.css";
|
|
14
|
+
import "../../../theme/tablecellproperties.css";
|
|
15
15
|
export interface TableCellPropertiesViewOptions {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
borderColors: Array<NormalizedColorOption>;
|
|
17
|
+
backgroundColors: Array<NormalizedColorOption>;
|
|
18
|
+
defaultTableCellProperties: TableCellPropertiesOptions;
|
|
19
|
+
colorPickerConfig: false | ColorPickerConfig;
|
|
20
|
+
showScopedHeaderOptions?: boolean;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
* The class representing a table cell properties form, allowing users to customize
|
|
24
|
+
* certain style aspects of a table cell, for instance, border, padding, text alignment, etc..
|
|
25
|
+
*/
|
|
26
26
|
export declare class TableCellPropertiesView extends View {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
27
|
+
/**
|
|
28
|
+
* The value of the cell border style.
|
|
29
|
+
*
|
|
30
|
+
* @observable
|
|
31
|
+
* @default ''
|
|
32
|
+
*/
|
|
33
|
+
borderStyle: string;
|
|
34
|
+
/**
|
|
35
|
+
* The value of the cell border width style.
|
|
36
|
+
*
|
|
37
|
+
* @observable
|
|
38
|
+
* @default ''
|
|
39
|
+
*/
|
|
40
|
+
borderWidth: string;
|
|
41
|
+
/**
|
|
42
|
+
* The value of the cell border color style.
|
|
43
|
+
*
|
|
44
|
+
* @observable
|
|
45
|
+
* @default ''
|
|
46
|
+
*/
|
|
47
|
+
borderColor: string;
|
|
48
|
+
/**
|
|
49
|
+
* The value of the cell padding style.
|
|
50
|
+
*
|
|
51
|
+
* @observable
|
|
52
|
+
* @default ''
|
|
53
|
+
*/
|
|
54
|
+
padding: string;
|
|
55
|
+
/**
|
|
56
|
+
* The value of the cell background color style.
|
|
57
|
+
*
|
|
58
|
+
* @observable
|
|
59
|
+
* @default ''
|
|
60
|
+
*/
|
|
61
|
+
backgroundColor: string;
|
|
62
|
+
/**
|
|
63
|
+
* The value of the table cell width style.
|
|
64
|
+
*
|
|
65
|
+
* @observable
|
|
66
|
+
* @default ''
|
|
67
|
+
*/
|
|
68
|
+
width: string;
|
|
69
|
+
/**
|
|
70
|
+
* The value of the table cell height style.
|
|
71
|
+
*
|
|
72
|
+
* @observable
|
|
73
|
+
* @default ''
|
|
74
|
+
*/
|
|
75
|
+
height: string;
|
|
76
|
+
/**
|
|
77
|
+
* The value of the horizontal text alignment style.
|
|
78
|
+
*
|
|
79
|
+
* @observable
|
|
80
|
+
* @default ''
|
|
81
|
+
*/
|
|
82
|
+
horizontalAlignment: string;
|
|
83
|
+
/**
|
|
84
|
+
* The value of the vertical text alignment style.
|
|
85
|
+
*
|
|
86
|
+
* @observable
|
|
87
|
+
* @default ''
|
|
88
|
+
*/
|
|
89
|
+
verticalAlignment: string;
|
|
90
|
+
/**
|
|
91
|
+
* The type of the table cell ('data' or 'header').
|
|
92
|
+
*
|
|
93
|
+
* @observable
|
|
94
|
+
* @default ''
|
|
95
|
+
*/
|
|
96
|
+
cellType: string;
|
|
97
|
+
/**
|
|
98
|
+
* Options passed to the view. See {@link #constructor} to learn more.
|
|
99
|
+
*/
|
|
100
|
+
readonly options: TableCellPropertiesViewOptions;
|
|
101
|
+
/**
|
|
102
|
+
* Tracks information about the DOM focus in the form.
|
|
103
|
+
*/
|
|
104
|
+
readonly focusTracker: FocusTracker;
|
|
105
|
+
/**
|
|
106
|
+
* An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
|
|
107
|
+
*/
|
|
108
|
+
readonly keystrokes: KeystrokeHandler;
|
|
109
|
+
/**
|
|
110
|
+
* A collection of child views in the form.
|
|
111
|
+
*/
|
|
112
|
+
readonly children: ViewCollection;
|
|
113
|
+
/**
|
|
114
|
+
* A dropdown that allows selecting the style of the table cell border.
|
|
115
|
+
*/
|
|
116
|
+
readonly borderStyleDropdown: LabeledFieldView<FocusableView>;
|
|
117
|
+
/**
|
|
118
|
+
* An input that allows specifying the width of the table cell border.
|
|
119
|
+
*/
|
|
120
|
+
readonly borderWidthInput: LabeledFieldView<FocusableView>;
|
|
121
|
+
/**
|
|
122
|
+
* An input that allows specifying the color of the table cell border.
|
|
123
|
+
*/
|
|
124
|
+
readonly borderColorInput: LabeledFieldView<ColorInputView>;
|
|
125
|
+
/**
|
|
126
|
+
* An input that allows specifying the table cell background color.
|
|
127
|
+
*/
|
|
128
|
+
readonly backgroundInput: LabeledFieldView<ColorInputView>;
|
|
129
|
+
/**
|
|
130
|
+
* A dropdown that allows selecting the type of the table cell (data or header).
|
|
131
|
+
*/
|
|
132
|
+
readonly cellTypeDropdown: LabeledFieldView<FocusableView>;
|
|
133
|
+
/**
|
|
134
|
+
* An input that allows specifying the table cell padding.
|
|
135
|
+
*/
|
|
136
|
+
readonly paddingInput: LabeledFieldView;
|
|
137
|
+
/**
|
|
138
|
+
* An input that allows specifying the table cell width.
|
|
139
|
+
*/
|
|
140
|
+
readonly widthInput: LabeledFieldView<FocusableView>;
|
|
141
|
+
/**
|
|
142
|
+
* An input that allows specifying the table cell height.
|
|
143
|
+
*/
|
|
144
|
+
readonly heightInput: LabeledFieldView<FocusableView>;
|
|
145
|
+
/**
|
|
146
|
+
* A toolbar with buttons that allow changing the horizontal text alignment in a table cell.
|
|
147
|
+
*/
|
|
148
|
+
readonly horizontalAlignmentToolbar: ToolbarView;
|
|
149
|
+
/**
|
|
150
|
+
* A toolbar with buttons that allow changing the vertical text alignment in a table cell.
|
|
151
|
+
*/
|
|
152
|
+
readonly verticalAlignmentToolbar: ToolbarView;
|
|
153
|
+
/**
|
|
154
|
+
* The "Save" button view.
|
|
155
|
+
*/
|
|
156
|
+
saveButtonView: ButtonView;
|
|
157
|
+
/**
|
|
158
|
+
* The "Cancel" button view.
|
|
159
|
+
*/
|
|
160
|
+
cancelButtonView: ButtonView;
|
|
161
|
+
/**
|
|
162
|
+
* The "Back" button view.
|
|
163
|
+
*/
|
|
164
|
+
backButtonView: ButtonView;
|
|
165
|
+
/**
|
|
166
|
+
* A collection of views that can be focused in the form.
|
|
167
|
+
*/
|
|
168
|
+
protected readonly _focusables: ViewCollection<FocusableView>;
|
|
169
|
+
/**
|
|
170
|
+
* Helps cycling over {@link #_focusables} in the form.
|
|
171
|
+
*/
|
|
172
|
+
protected readonly _focusCycler: FocusCycler;
|
|
173
|
+
/**
|
|
174
|
+
* @param locale The {@link module:core/editor/editor~Editor#locale} instance.
|
|
175
|
+
* @param options Additional configuration of the view.
|
|
176
|
+
* @param options.borderColors A configuration of the border color palette used by the
|
|
177
|
+
* {@link module:table/tablecellproperties/ui/tablecellpropertiesview~TableCellPropertiesView#borderColorInput}.
|
|
178
|
+
* @param options.backgroundColors A configuration of the background color palette used by the
|
|
179
|
+
* {@link module:table/tablecellproperties/ui/tablecellpropertiesview~TableCellPropertiesView#backgroundInput}.
|
|
180
|
+
* @param options.defaultTableCellProperties The default table cell properties.
|
|
181
|
+
*/
|
|
182
|
+
constructor(locale: Locale, options: TableCellPropertiesViewOptions);
|
|
183
|
+
/**
|
|
184
|
+
* @inheritDoc
|
|
185
|
+
*/
|
|
186
|
+
override render(): void;
|
|
187
|
+
/**
|
|
188
|
+
* @inheritDoc
|
|
189
|
+
*/
|
|
190
|
+
override destroy(): void;
|
|
191
|
+
/**
|
|
192
|
+
* Focuses the fist focusable field in the form.
|
|
193
|
+
*/
|
|
194
|
+
focus(): void;
|
|
195
|
+
/**
|
|
196
|
+
* Creates the following form fields:
|
|
197
|
+
*
|
|
198
|
+
* * {@link #borderStyleDropdown},
|
|
199
|
+
* * {@link #borderWidthInput},
|
|
200
|
+
* * {@link #borderColorInput}.
|
|
201
|
+
*/
|
|
202
|
+
private _createBorderFields;
|
|
203
|
+
/**
|
|
204
|
+
* Creates the following form fields:
|
|
205
|
+
*
|
|
206
|
+
* * {@link #backgroundInput}.
|
|
207
|
+
*/
|
|
208
|
+
private _createBackgroundFields;
|
|
209
|
+
/**
|
|
210
|
+
* Create cell type field.
|
|
211
|
+
*
|
|
212
|
+
* * {@link #cellTypeDropdown}.
|
|
213
|
+
*
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
private _createCellTypeField;
|
|
217
|
+
/**
|
|
218
|
+
* Creates the following form fields:
|
|
219
|
+
*
|
|
220
|
+
* * {@link #widthInput}.
|
|
221
|
+
* * {@link #heightInput}.
|
|
222
|
+
*/
|
|
223
|
+
private _createDimensionFields;
|
|
224
|
+
/**
|
|
225
|
+
* Creates the following form fields:
|
|
226
|
+
*
|
|
227
|
+
* * {@link #paddingInput}.
|
|
228
|
+
*/
|
|
229
|
+
private _createPaddingField;
|
|
230
|
+
/**
|
|
231
|
+
* Creates the following form fields:
|
|
232
|
+
*
|
|
233
|
+
* * {@link #horizontalAlignmentToolbar},
|
|
234
|
+
* * {@link #verticalAlignmentToolbar}.
|
|
235
|
+
*/
|
|
236
|
+
private _createAlignmentFields;
|
|
237
|
+
/**
|
|
238
|
+
* Creates the following form controls:
|
|
239
|
+
*
|
|
240
|
+
* * {@link #saveButtonView},
|
|
241
|
+
* * {@link #cancelButtonView}.
|
|
242
|
+
*/
|
|
243
|
+
private _createActionButtons;
|
|
244
|
+
/**
|
|
245
|
+
* Creates a back button view that cancels the form.
|
|
246
|
+
*/
|
|
247
|
+
private _createBackButton;
|
|
248
|
+
/**
|
|
249
|
+
* Creates the cell type dropdown definitions.
|
|
250
|
+
*/
|
|
251
|
+
private _getCellTypeDefinitions;
|
|
252
|
+
/**
|
|
253
|
+
* Provides localized labels for {@link #horizontalAlignmentToolbar} buttons.
|
|
254
|
+
*/
|
|
255
|
+
private get _horizontalAlignmentLabels();
|
|
256
|
+
/**
|
|
257
|
+
* Provides localized labels for {@link #verticalAlignmentToolbar} buttons.
|
|
258
|
+
*/
|
|
259
|
+
private get _verticalAlignmentLabels();
|
|
260
|
+
/**
|
|
261
|
+
* Provides localized labels for {@link #cellTypeDropdown}.
|
|
262
|
+
*/
|
|
263
|
+
private get _cellTypeLabels();
|
|
264
264
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
import { Plugin } from
|
|
9
|
-
import { TableCellPropertiesUI } from
|
|
10
|
-
import { TableCellPropertiesEditing } from
|
|
6
|
+
* @module table/tablecellproperties
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { TableCellPropertiesUI } from "./tablecellproperties/tablecellpropertiesui.js";
|
|
10
|
+
import { TableCellPropertiesEditing } from "./tablecellproperties/tablecellpropertiesediting.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
* The table cell properties feature. Enables support for setting properties of table cells (size, border, background, etc.).
|
|
13
|
+
*
|
|
14
|
+
* Read more in the {@glink features/tables/tables-styling Table and cell styling tools} section.
|
|
15
|
+
* See also the {@link module:table/tableproperties~TableProperties} plugin.
|
|
16
|
+
*
|
|
17
|
+
* This is a "glue" plugin that loads the
|
|
18
|
+
* {@link module:table/tablecellproperties/tablecellpropertiesediting~TableCellPropertiesEditing table cell properties editing feature} and
|
|
19
|
+
* the {@link module:table/tablecellproperties/tablecellpropertiesui~TableCellPropertiesUI table cell properties UI feature}.
|
|
20
|
+
*/
|
|
21
21
|
export declare class TableCellProperties extends Plugin {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get pluginName(): "TableCellProperties";
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static override get isOfficialPlugin(): true;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
static get requires(): PluginDependenciesOf<[TableCellPropertiesEditing, TableCellPropertiesUI]>;
|
|
34
34
|
}
|