@ckeditor/ckeditor5-table 45.2.1 → 46.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/table.js +1 -1
- package/dist/index-content.css +6 -5
- package/dist/index-editor.css +46 -46
- package/dist/index.css +63 -62
- package/dist/index.css.map +1 -1
- package/dist/index.js +306 -49
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/src/commands/insertcolumncommand.d.ts +1 -1
- package/src/commands/insertcolumncommand.js +1 -1
- package/src/commands/insertrowcommand.d.ts +1 -1
- package/src/commands/insertrowcommand.js +1 -1
- package/src/commands/inserttablecommand.d.ts +1 -1
- package/src/commands/inserttablecommand.js +1 -1
- package/src/commands/inserttablelayoutcommand.d.ts +1 -1
- package/src/commands/inserttablelayoutcommand.js +1 -1
- package/src/commands/mergecellcommand.d.ts +3 -3
- package/src/commands/mergecellcommand.js +2 -2
- package/src/commands/mergecellscommand.d.ts +1 -1
- package/src/commands/mergecellscommand.js +2 -2
- package/src/commands/removecolumncommand.d.ts +1 -1
- package/src/commands/removecolumncommand.js +2 -2
- package/src/commands/removerowcommand.d.ts +1 -1
- package/src/commands/removerowcommand.js +1 -1
- package/src/commands/selectcolumncommand.d.ts +1 -1
- package/src/commands/selectcolumncommand.js +2 -2
- package/src/commands/selectrowcommand.d.ts +1 -1
- package/src/commands/selectrowcommand.js +1 -1
- package/src/commands/setheadercolumncommand.d.ts +2 -2
- package/src/commands/setheadercolumncommand.js +1 -1
- package/src/commands/setheaderrowcommand.d.ts +2 -2
- package/src/commands/setheaderrowcommand.js +1 -1
- package/src/commands/splitcellcommand.d.ts +1 -1
- package/src/commands/splitcellcommand.js +1 -1
- package/src/converters/downcast.d.ts +21 -9
- package/src/converters/downcast.js +11 -3
- package/src/converters/table-caption-post-fixer.d.ts +3 -1
- package/src/converters/table-caption-post-fixer.js +3 -1
- package/src/converters/table-cell-paragraph-post-fixer.d.ts +3 -1
- package/src/converters/table-cell-paragraph-post-fixer.js +3 -1
- package/src/converters/table-cell-refresh-handler.d.ts +3 -1
- package/src/converters/table-cell-refresh-handler.js +3 -1
- package/src/converters/table-headings-refresh-handler.d.ts +3 -1
- package/src/converters/table-headings-refresh-handler.js +4 -2
- package/src/converters/table-layout-post-fixer.d.ts +3 -1
- package/src/converters/table-layout-post-fixer.js +4 -2
- package/src/converters/tableproperties.d.ts +17 -1
- package/src/converters/tableproperties.js +49 -2
- package/src/converters/upcasttable.d.ts +6 -1
- package/src/converters/upcasttable.js +6 -1
- package/src/index.d.ts +89 -56
- package/src/index.js +84 -24
- package/src/plaintableoutput.d.ts +2 -2
- package/src/plaintableoutput.js +2 -2
- package/src/table.d.ts +7 -7
- package/src/table.js +7 -7
- package/src/tablecaption/tablecaptionediting.d.ts +6 -6
- package/src/tablecaption/tablecaptionediting.js +8 -8
- package/src/tablecaption/tablecaptionui.d.ts +1 -1
- package/src/tablecaption/tablecaptionui.js +1 -1
- package/src/tablecaption/toggletablecaptioncommand.d.ts +1 -1
- package/src/tablecaption/toggletablecaptioncommand.js +1 -1
- package/src/tablecaption/utils.d.ts +8 -4
- package/src/tablecaption/utils.js +4 -0
- package/src/tablecaption.d.ts +3 -3
- package/src/tablecaption.js +3 -3
- package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +4 -4
- package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellborderstylecommand.d.ts +4 -4
- package/src/tablecellproperties/commands/tablecellborderstylecommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +4 -4
- package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellheightcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellheightcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellpaddingcommand.d.ts +4 -4
- package/src/tablecellproperties/commands/tablecellpaddingcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellpropertycommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellpropertycommand.js +1 -1
- package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +2 -2
- package/src/tablecellproperties/tablecellpropertiesediting.d.ts +3 -3
- package/src/tablecellproperties/tablecellpropertiesediting.js +44 -19
- package/src/tablecellproperties/tablecellpropertiesui.d.ts +2 -2
- package/src/tablecellproperties/tablecellpropertiesui.js +2 -2
- package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +2 -2
- package/src/tablecellproperties/ui/tablecellpropertiesview.js +1 -1
- package/src/tablecellproperties.d.ts +3 -3
- package/src/tablecellproperties.js +3 -3
- package/src/tablecellwidth/commands/tablecellwidthcommand.d.ts +2 -2
- package/src/tablecellwidth/commands/tablecellwidthcommand.js +2 -2
- package/src/tablecellwidth/tablecellwidthediting.d.ts +2 -2
- package/src/tablecellwidth/tablecellwidthediting.js +5 -3
- package/src/tableclipboard.d.ts +6 -6
- package/src/tableclipboard.js +4 -4
- package/src/tablecolumnresize/constants.d.ts +9 -0
- package/src/tablecolumnresize/constants.js +9 -0
- package/src/tablecolumnresize/converters.d.ts +11 -1
- package/src/tablecolumnresize/converters.js +16 -0
- package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +7 -7
- package/src/tablecolumnresize/tablecolumnresizeediting.js +13 -11
- package/src/tablecolumnresize/tablewidthscommand.d.ts +3 -3
- package/src/tablecolumnresize/tablewidthscommand.js +1 -1
- package/src/tablecolumnresize/utils.d.ts +23 -11
- package/src/tablecolumnresize/utils.js +14 -2
- package/src/tablecolumnresize.d.ts +3 -3
- package/src/tablecolumnresize.js +3 -3
- package/src/tableconfig.d.ts +3 -1
- package/src/tableediting.d.ts +7 -7
- package/src/tableediting.js +19 -19
- package/src/tablekeyboard.d.ts +8 -8
- package/src/tablekeyboard.js +7 -7
- package/src/tablelayout/commands/tabletypecommand.d.ts +1 -1
- package/src/tablelayout/commands/tabletypecommand.js +1 -1
- package/src/tablelayout/tablelayoutediting.d.ts +2 -2
- package/src/tablelayout/tablelayoutediting.js +4 -4
- package/src/tablelayout/tablelayoutui.d.ts +1 -1
- package/src/tablelayout/tablelayoutui.js +4 -4
- package/src/tablelayout.d.ts +5 -5
- package/src/tablelayout.js +5 -5
- package/src/tablemouse/mouseeventsobserver.d.ts +13 -11
- package/src/tablemouse/mouseeventsobserver.js +4 -2
- package/src/tablemouse.d.ts +3 -3
- package/src/tablemouse.js +4 -4
- package/src/tableproperties/commands/tablealignmentcommand.d.ts +2 -2
- package/src/tableproperties/commands/tablealignmentcommand.js +2 -2
- package/src/tableproperties/commands/tablebackgroundcolorcommand.d.ts +2 -2
- package/src/tableproperties/commands/tablebackgroundcolorcommand.js +2 -2
- package/src/tableproperties/commands/tablebordercolorcommand.d.ts +4 -4
- package/src/tableproperties/commands/tablebordercolorcommand.js +2 -2
- package/src/tableproperties/commands/tableborderstylecommand.d.ts +4 -4
- package/src/tableproperties/commands/tableborderstylecommand.js +2 -2
- package/src/tableproperties/commands/tableborderwidthcommand.d.ts +4 -4
- package/src/tableproperties/commands/tableborderwidthcommand.js +2 -2
- package/src/tableproperties/commands/tableheightcommand.d.ts +2 -2
- package/src/tableproperties/commands/tableheightcommand.js +2 -2
- package/src/tableproperties/commands/tablepropertycommand.d.ts +4 -4
- package/src/tableproperties/commands/tablepropertycommand.js +1 -1
- package/src/tableproperties/commands/tablewidthcommand.d.ts +2 -2
- package/src/tableproperties/commands/tablewidthcommand.js +2 -2
- package/src/tableproperties/tablepropertiesediting.d.ts +2 -2
- package/src/tableproperties/tablepropertiesediting.js +49 -21
- package/src/tableproperties/tablepropertiesui.d.ts +2 -2
- package/src/tableproperties/tablepropertiesui.js +2 -2
- package/src/tableproperties/ui/tablepropertiesview.d.ts +2 -2
- package/src/tableproperties/ui/tablepropertiesview.js +1 -1
- package/src/tableproperties.d.ts +3 -3
- package/src/tableproperties.js +3 -3
- package/src/tableselection.d.ts +9 -9
- package/src/tableselection.js +4 -4
- package/src/tabletoolbar.d.ts +1 -1
- package/src/tabletoolbar.js +1 -1
- package/src/tableui.d.ts +1 -1
- package/src/tableui.js +4 -4
- package/src/tableutils.d.ts +25 -26
- package/src/tableutils.js +4 -4
- package/src/tablewalker.d.ts +8 -8
- package/src/tablewalker.js +2 -2
- package/src/ui/colorinputview.d.ts +6 -1
- package/src/ui/colorinputview.js +1 -1
- package/src/ui/inserttableview.d.ts +3 -1
- package/src/ui/inserttableview.js +3 -1
- package/src/utils/common.d.ts +16 -7
- package/src/utils/common.js +9 -1
- package/src/utils/structure.d.ts +24 -14
- package/src/utils/structure.js +11 -1
- package/src/utils/table-properties.d.ts +15 -2
- package/src/utils/table-properties.js +6 -0
- package/src/utils/ui/contextualballoon.d.ts +5 -3
- package/src/utils/ui/contextualballoon.js +2 -0
- package/src/utils/ui/table-properties.d.ts +20 -7
- package/src/utils/ui/table-properties.js +24 -11
- package/src/utils/ui/widget.d.ts +6 -0
- package/src/utils/ui/widget.js +6 -0
- package/theme/tablecaption.css +9 -8
- package/theme/tablecolumnresize.css +2 -2
package/dist/index-content.css
CHANGED
|
@@ -69,16 +69,17 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
:root{
|
|
72
|
-
--ck-color-
|
|
73
|
-
--ck-color-
|
|
72
|
+
--ck-content-color-table-caption-background:hsl(0, 0%, 97%);
|
|
73
|
+
--ck-content-color-table-caption-text:hsl(0, 0%, 20%);
|
|
74
74
|
}
|
|
75
75
|
.ck-content .table > figcaption{
|
|
76
76
|
display:table-caption;
|
|
77
77
|
caption-side:top;
|
|
78
|
-
word-break:
|
|
78
|
+
word-break:normal;
|
|
79
|
+
overflow-wrap:anywhere;
|
|
79
80
|
text-align:center;
|
|
80
|
-
color:var(--ck-color-
|
|
81
|
-
background-color:var(--ck-color-
|
|
81
|
+
color:var(--ck-content-color-table-caption-text);
|
|
82
|
+
background-color:var(--ck-content-color-table-caption-background);
|
|
82
83
|
padding:.6em;
|
|
83
84
|
font-size:.75em;
|
|
84
85
|
outline-offset:-1px;
|
package/dist/index-editor.css
CHANGED
|
@@ -7,12 +7,6 @@
|
|
|
7
7
|
width:100%;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.ck .ck-insert-table-dropdown__grid{
|
|
11
|
-
display:flex;
|
|
12
|
-
flex-direction:row;
|
|
13
|
-
flex-wrap:wrap;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
10
|
.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row{
|
|
17
11
|
flex-wrap:wrap;
|
|
18
12
|
}
|
|
@@ -29,39 +23,6 @@
|
|
|
29
23
|
flex-grow:1;
|
|
30
24
|
}
|
|
31
25
|
|
|
32
|
-
.ck.ck-input-color{
|
|
33
|
-
width:100%;
|
|
34
|
-
display:flex;
|
|
35
|
-
flex-direction:row-reverse;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.ck.ck-input-color > input.ck.ck-input-text{
|
|
39
|
-
min-width:auto;
|
|
40
|
-
flex-grow:1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ck.ck-input-color > div.ck.ck-dropdown{
|
|
44
|
-
min-width:auto;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.ck.ck-input-color > div.ck.ck-dropdown > .ck-input-color__button .ck-dropdown__arrow{
|
|
48
|
-
display:none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.ck.ck-input-color .ck.ck-input-color__button{
|
|
52
|
-
display:flex;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview{
|
|
56
|
-
position:relative;
|
|
57
|
-
overflow:hidden;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview > .ck.ck-input-color__button__preview__no-color-indicator{
|
|
61
|
-
position:absolute;
|
|
62
|
-
display:block;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
26
|
.ck-editor__editable.ck-editor__editable_inline > .ck-widget.ck-widget_with-selection-handle.layout-table:first-child{
|
|
66
27
|
margin-top:var(--ck-spacing-large);
|
|
67
28
|
}
|
|
@@ -238,9 +199,9 @@
|
|
|
238
199
|
}
|
|
239
200
|
|
|
240
201
|
:root{
|
|
241
|
-
--ck-color-
|
|
242
|
-
--ck-color-
|
|
243
|
-
--ck-color-
|
|
202
|
+
--ck-content-color-table-caption-background:hsl(0, 0%, 97%);
|
|
203
|
+
--ck-content-color-table-caption-text:hsl(0, 0%, 20%);
|
|
204
|
+
--ck-color-table-caption-highlighted-background:hsl(52deg 100% 50%);
|
|
244
205
|
}
|
|
245
206
|
@media (forced-colors: none){
|
|
246
207
|
.ck.ck-editor__editable .table > figcaption.table__caption_highlighted{
|
|
@@ -257,16 +218,16 @@
|
|
|
257
218
|
|
|
258
219
|
@keyframes ck-table-caption-highlight{
|
|
259
220
|
0%{
|
|
260
|
-
background-color:var(--ck-color-
|
|
221
|
+
background-color:var(--ck-color-table-caption-highlighted-background);
|
|
261
222
|
}
|
|
262
223
|
|
|
263
224
|
100%{
|
|
264
|
-
background-color:var(--ck-color-
|
|
225
|
+
background-color:var(--ck-content-color-table-caption-background);
|
|
265
226
|
}
|
|
266
227
|
}
|
|
267
228
|
|
|
268
229
|
:root{
|
|
269
|
-
--ck-color-
|
|
230
|
+
--ck-color-table-column-resizer-hover:var(--ck-color-base-active);
|
|
270
231
|
--ck-table-column-resizer-width:7px;
|
|
271
232
|
--ck-table-column-resizer-position-offset:calc(var(--ck-table-column-resizer-width) * -0.5 - 0.5px);
|
|
272
233
|
}
|
|
@@ -296,11 +257,50 @@
|
|
|
296
257
|
|
|
297
258
|
.ck.ck-editor__editable .table .ck-table-column-resizer:hover,
|
|
298
259
|
.ck.ck-editor__editable .table .ck-table-column-resizer__active{
|
|
299
|
-
background-color:var(--ck-color-
|
|
260
|
+
background-color:var(--ck-color-table-column-resizer-hover);
|
|
300
261
|
opacity:0.25;
|
|
301
262
|
}
|
|
302
263
|
|
|
303
264
|
.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer{
|
|
304
265
|
left:var(--ck-table-column-resizer-position-offset);
|
|
305
266
|
right:unset;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.ck.ck-input-color{
|
|
270
|
+
width:100%;
|
|
271
|
+
display:flex;
|
|
272
|
+
flex-direction:row-reverse;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.ck.ck-input-color > input.ck.ck-input-text{
|
|
276
|
+
min-width:auto;
|
|
277
|
+
flex-grow:1;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.ck.ck-input-color > div.ck.ck-dropdown{
|
|
281
|
+
min-width:auto;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.ck.ck-input-color > div.ck.ck-dropdown > .ck-input-color__button .ck-dropdown__arrow{
|
|
285
|
+
display:none;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.ck.ck-input-color .ck.ck-input-color__button{
|
|
289
|
+
display:flex;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview{
|
|
293
|
+
position:relative;
|
|
294
|
+
overflow:hidden;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview > .ck.ck-input-color__button__preview__no-color-indicator{
|
|
298
|
+
position:absolute;
|
|
299
|
+
display:block;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.ck .ck-insert-table-dropdown__grid{
|
|
303
|
+
display:flex;
|
|
304
|
+
flex-direction:row;
|
|
305
|
+
flex-wrap:wrap;
|
|
306
306
|
}
|
package/dist/index.css
CHANGED
|
@@ -121,17 +121,6 @@
|
|
|
121
121
|
width: 100%;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
/*
|
|
125
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
126
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
127
|
-
*/
|
|
128
|
-
|
|
129
|
-
.ck .ck-insert-table-dropdown__grid {
|
|
130
|
-
display: flex;
|
|
131
|
-
flex-direction: row;
|
|
132
|
-
flex-wrap: wrap;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
124
|
/*
|
|
136
125
|
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
137
126
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -160,47 +149,6 @@
|
|
|
160
149
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
161
150
|
*/
|
|
162
151
|
|
|
163
|
-
.ck.ck-input-color {
|
|
164
|
-
width: 100%;
|
|
165
|
-
display: flex;
|
|
166
|
-
flex-direction: row-reverse;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.ck.ck-input-color > input.ck.ck-input-text {
|
|
170
|
-
min-width: auto;
|
|
171
|
-
flex-grow: 1;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.ck.ck-input-color > div.ck.ck-dropdown {
|
|
175
|
-
min-width: auto;
|
|
176
|
-
|
|
177
|
-
/* This dropdown has no arrow but a color preview instead. */
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.ck.ck-input-color > div.ck.ck-dropdown > .ck-input-color__button .ck-dropdown__arrow {
|
|
181
|
-
display: none;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.ck.ck-input-color .ck.ck-input-color__button {
|
|
185
|
-
/* Resolving issue with misaligned buttons on Safari (see #10589) */
|
|
186
|
-
display: flex;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview {
|
|
190
|
-
position: relative;
|
|
191
|
-
overflow: hidden;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview > .ck.ck-input-color__button__preview__no-color-indicator {
|
|
195
|
-
position: absolute;
|
|
196
|
-
display: block;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
/*
|
|
200
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
201
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
202
|
-
*/
|
|
203
|
-
|
|
204
152
|
.ck-editor__editable.ck-editor__editable_inline > .ck-widget.ck-widget_with-selection-handle.layout-table:first-child {
|
|
205
153
|
margin-top: var(--ck-spacing-large);
|
|
206
154
|
}
|
|
@@ -456,19 +404,20 @@
|
|
|
456
404
|
*/
|
|
457
405
|
|
|
458
406
|
:root {
|
|
459
|
-
--ck-color-
|
|
460
|
-
--ck-color-
|
|
461
|
-
--ck-color-
|
|
407
|
+
--ck-content-color-table-caption-background: hsl(0, 0%, 97%);
|
|
408
|
+
--ck-content-color-table-caption-text: hsl(0, 0%, 20%);
|
|
409
|
+
--ck-color-table-caption-highlighted-background: hsl(52deg 100% 50%);
|
|
462
410
|
}
|
|
463
411
|
|
|
464
412
|
/* Content styles */
|
|
465
413
|
.ck-content .table > figcaption {
|
|
466
414
|
display: table-caption;
|
|
467
415
|
caption-side: top;
|
|
468
|
-
word-break:
|
|
416
|
+
word-break: normal;
|
|
417
|
+
overflow-wrap: anywhere;
|
|
469
418
|
text-align: center;
|
|
470
|
-
color: var(--ck-color-
|
|
471
|
-
background-color: var(--ck-color-
|
|
419
|
+
color: var(--ck-content-color-table-caption-text);
|
|
420
|
+
background-color: var(--ck-content-color-table-caption-background);
|
|
472
421
|
padding: .6em;
|
|
473
422
|
font-size: .75em;
|
|
474
423
|
outline-offset: -1px;
|
|
@@ -503,11 +452,11 @@
|
|
|
503
452
|
|
|
504
453
|
@keyframes ck-table-caption-highlight {
|
|
505
454
|
0% {
|
|
506
|
-
background-color: var(--ck-color-
|
|
455
|
+
background-color: var(--ck-color-table-caption-highlighted-background);
|
|
507
456
|
}
|
|
508
457
|
|
|
509
458
|
100% {
|
|
510
|
-
background-color: var(--ck-color-
|
|
459
|
+
background-color: var(--ck-content-color-table-caption-background);
|
|
511
460
|
}
|
|
512
461
|
}
|
|
513
462
|
|
|
@@ -517,7 +466,7 @@
|
|
|
517
466
|
*/
|
|
518
467
|
|
|
519
468
|
:root {
|
|
520
|
-
--ck-color-
|
|
469
|
+
--ck-color-table-column-resizer-hover: var(--ck-color-base-active);
|
|
521
470
|
--ck-table-column-resizer-width: 7px;
|
|
522
471
|
|
|
523
472
|
/* The offset used for absolute positioning of the resizer element, so that it is placed exactly above the cell border.
|
|
@@ -565,7 +514,7 @@
|
|
|
565
514
|
|
|
566
515
|
.ck.ck-editor__editable .table .ck-table-column-resizer:hover,
|
|
567
516
|
.ck.ck-editor__editable .table .ck-table-column-resizer__active {
|
|
568
|
-
background-color: var(--ck-color-
|
|
517
|
+
background-color: var(--ck-color-table-column-resizer-hover);
|
|
569
518
|
opacity: 0.25;
|
|
570
519
|
}
|
|
571
520
|
|
|
@@ -574,4 +523,56 @@
|
|
|
574
523
|
right: unset;
|
|
575
524
|
}
|
|
576
525
|
|
|
526
|
+
/*
|
|
527
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
528
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
529
|
+
*/
|
|
530
|
+
|
|
531
|
+
.ck.ck-input-color {
|
|
532
|
+
width: 100%;
|
|
533
|
+
display: flex;
|
|
534
|
+
flex-direction: row-reverse;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.ck.ck-input-color > input.ck.ck-input-text {
|
|
538
|
+
min-width: auto;
|
|
539
|
+
flex-grow: 1;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.ck.ck-input-color > div.ck.ck-dropdown {
|
|
543
|
+
min-width: auto;
|
|
544
|
+
|
|
545
|
+
/* This dropdown has no arrow but a color preview instead. */
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.ck.ck-input-color > div.ck.ck-dropdown > .ck-input-color__button .ck-dropdown__arrow {
|
|
549
|
+
display: none;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.ck.ck-input-color .ck.ck-input-color__button {
|
|
553
|
+
/* Resolving issue with misaligned buttons on Safari (see #10589) */
|
|
554
|
+
display: flex;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview {
|
|
558
|
+
position: relative;
|
|
559
|
+
overflow: hidden;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview > .ck.ck-input-color__button__preview__no-color-indicator {
|
|
563
|
+
position: absolute;
|
|
564
|
+
display: block;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/*
|
|
568
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
569
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
570
|
+
*/
|
|
571
|
+
|
|
572
|
+
.ck .ck-insert-table-dropdown__grid {
|
|
573
|
+
display: flex;
|
|
574
|
+
flex-direction: row;
|
|
575
|
+
flex-wrap: wrap;
|
|
576
|
+
}
|
|
577
|
+
|
|
577
578
|
/*# sourceMappingURL=index.css.map */
|