@ckeditor/ckeditor5-table 45.2.1 → 46.0.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 (179) hide show
  1. package/build/table.js +1 -1
  2. package/dist/index-content.css +6 -5
  3. package/dist/index-editor.css +46 -46
  4. package/dist/index.css +63 -62
  5. package/dist/index.css.map +1 -1
  6. package/dist/index.js +305 -49
  7. package/dist/index.js.map +1 -1
  8. package/package.json +10 -10
  9. package/src/commands/insertcolumncommand.d.ts +1 -1
  10. package/src/commands/insertcolumncommand.js +1 -1
  11. package/src/commands/insertrowcommand.d.ts +1 -1
  12. package/src/commands/insertrowcommand.js +1 -1
  13. package/src/commands/inserttablecommand.d.ts +1 -1
  14. package/src/commands/inserttablecommand.js +1 -1
  15. package/src/commands/inserttablelayoutcommand.d.ts +1 -1
  16. package/src/commands/inserttablelayoutcommand.js +1 -1
  17. package/src/commands/mergecellcommand.d.ts +3 -3
  18. package/src/commands/mergecellcommand.js +2 -2
  19. package/src/commands/mergecellscommand.d.ts +1 -1
  20. package/src/commands/mergecellscommand.js +2 -2
  21. package/src/commands/removecolumncommand.d.ts +1 -1
  22. package/src/commands/removecolumncommand.js +2 -2
  23. package/src/commands/removerowcommand.d.ts +1 -1
  24. package/src/commands/removerowcommand.js +1 -1
  25. package/src/commands/selectcolumncommand.d.ts +1 -1
  26. package/src/commands/selectcolumncommand.js +2 -2
  27. package/src/commands/selectrowcommand.d.ts +1 -1
  28. package/src/commands/selectrowcommand.js +1 -1
  29. package/src/commands/setheadercolumncommand.d.ts +2 -2
  30. package/src/commands/setheadercolumncommand.js +1 -1
  31. package/src/commands/setheaderrowcommand.d.ts +2 -2
  32. package/src/commands/setheaderrowcommand.js +1 -1
  33. package/src/commands/splitcellcommand.d.ts +1 -1
  34. package/src/commands/splitcellcommand.js +1 -1
  35. package/src/converters/downcast.d.ts +21 -9
  36. package/src/converters/downcast.js +11 -3
  37. package/src/converters/table-caption-post-fixer.d.ts +3 -1
  38. package/src/converters/table-caption-post-fixer.js +3 -1
  39. package/src/converters/table-cell-paragraph-post-fixer.d.ts +3 -1
  40. package/src/converters/table-cell-paragraph-post-fixer.js +3 -1
  41. package/src/converters/table-cell-refresh-handler.d.ts +3 -1
  42. package/src/converters/table-cell-refresh-handler.js +3 -1
  43. package/src/converters/table-headings-refresh-handler.d.ts +3 -1
  44. package/src/converters/table-headings-refresh-handler.js +4 -2
  45. package/src/converters/table-layout-post-fixer.d.ts +3 -1
  46. package/src/converters/table-layout-post-fixer.js +4 -2
  47. package/src/converters/tableproperties.d.ts +17 -1
  48. package/src/converters/tableproperties.js +49 -2
  49. package/src/converters/upcasttable.d.ts +6 -1
  50. package/src/converters/upcasttable.js +6 -1
  51. package/src/index.d.ts +89 -56
  52. package/src/index.js +84 -24
  53. package/src/plaintableoutput.d.ts +2 -2
  54. package/src/plaintableoutput.js +2 -2
  55. package/src/table.d.ts +7 -7
  56. package/src/table.js +7 -7
  57. package/src/tablecaption/tablecaptionediting.d.ts +6 -6
  58. package/src/tablecaption/tablecaptionediting.js +8 -8
  59. package/src/tablecaption/tablecaptionui.d.ts +1 -1
  60. package/src/tablecaption/tablecaptionui.js +1 -1
  61. package/src/tablecaption/toggletablecaptioncommand.d.ts +1 -1
  62. package/src/tablecaption/toggletablecaptioncommand.js +1 -1
  63. package/src/tablecaption/utils.d.ts +8 -4
  64. package/src/tablecaption/utils.js +4 -0
  65. package/src/tablecaption.d.ts +3 -3
  66. package/src/tablecaption.js +3 -3
  67. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +2 -2
  68. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +2 -2
  69. package/src/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +4 -4
  70. package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +2 -2
  71. package/src/tablecellproperties/commands/tablecellborderstylecommand.d.ts +4 -4
  72. package/src/tablecellproperties/commands/tablecellborderstylecommand.js +2 -2
  73. package/src/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +4 -4
  74. package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +2 -2
  75. package/src/tablecellproperties/commands/tablecellheightcommand.d.ts +2 -2
  76. package/src/tablecellproperties/commands/tablecellheightcommand.js +2 -2
  77. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +2 -2
  78. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +2 -2
  79. package/src/tablecellproperties/commands/tablecellpaddingcommand.d.ts +4 -4
  80. package/src/tablecellproperties/commands/tablecellpaddingcommand.js +2 -2
  81. package/src/tablecellproperties/commands/tablecellpropertycommand.d.ts +3 -3
  82. package/src/tablecellproperties/commands/tablecellpropertycommand.js +1 -1
  83. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +2 -2
  84. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +2 -2
  85. package/src/tablecellproperties/tablecellpropertiesediting.d.ts +3 -3
  86. package/src/tablecellproperties/tablecellpropertiesediting.js +44 -19
  87. package/src/tablecellproperties/tablecellpropertiesui.d.ts +2 -2
  88. package/src/tablecellproperties/tablecellpropertiesui.js +2 -2
  89. package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +2 -2
  90. package/src/tablecellproperties/ui/tablecellpropertiesview.js +1 -1
  91. package/src/tablecellproperties.d.ts +3 -3
  92. package/src/tablecellproperties.js +3 -3
  93. package/src/tablecellwidth/commands/tablecellwidthcommand.d.ts +2 -2
  94. package/src/tablecellwidth/commands/tablecellwidthcommand.js +2 -2
  95. package/src/tablecellwidth/tablecellwidthediting.d.ts +2 -2
  96. package/src/tablecellwidth/tablecellwidthediting.js +5 -3
  97. package/src/tableclipboard.d.ts +6 -6
  98. package/src/tableclipboard.js +4 -4
  99. package/src/tablecolumnresize/constants.d.ts +9 -0
  100. package/src/tablecolumnresize/constants.js +9 -0
  101. package/src/tablecolumnresize/converters.d.ts +11 -1
  102. package/src/tablecolumnresize/converters.js +16 -0
  103. package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +7 -7
  104. package/src/tablecolumnresize/tablecolumnresizeediting.js +13 -11
  105. package/src/tablecolumnresize/tablewidthscommand.d.ts +3 -3
  106. package/src/tablecolumnresize/tablewidthscommand.js +1 -1
  107. package/src/tablecolumnresize/utils.d.ts +23 -11
  108. package/src/tablecolumnresize/utils.js +14 -2
  109. package/src/tablecolumnresize.d.ts +3 -3
  110. package/src/tablecolumnresize.js +3 -3
  111. package/src/tableconfig.d.ts +3 -1
  112. package/src/tableediting.d.ts +7 -7
  113. package/src/tableediting.js +19 -19
  114. package/src/tablekeyboard.d.ts +8 -8
  115. package/src/tablekeyboard.js +7 -7
  116. package/src/tablelayout/commands/tabletypecommand.d.ts +1 -1
  117. package/src/tablelayout/commands/tabletypecommand.js +1 -1
  118. package/src/tablelayout/tablelayoutediting.d.ts +2 -2
  119. package/src/tablelayout/tablelayoutediting.js +4 -4
  120. package/src/tablelayout/tablelayoutui.d.ts +1 -1
  121. package/src/tablelayout/tablelayoutui.js +4 -4
  122. package/src/tablelayout.d.ts +5 -5
  123. package/src/tablelayout.js +5 -5
  124. package/src/tablemouse/mouseeventsobserver.d.ts +13 -11
  125. package/src/tablemouse/mouseeventsobserver.js +4 -2
  126. package/src/tablemouse.d.ts +3 -3
  127. package/src/tablemouse.js +4 -4
  128. package/src/tableproperties/commands/tablealignmentcommand.d.ts +2 -2
  129. package/src/tableproperties/commands/tablealignmentcommand.js +2 -2
  130. package/src/tableproperties/commands/tablebackgroundcolorcommand.d.ts +2 -2
  131. package/src/tableproperties/commands/tablebackgroundcolorcommand.js +2 -2
  132. package/src/tableproperties/commands/tablebordercolorcommand.d.ts +4 -4
  133. package/src/tableproperties/commands/tablebordercolorcommand.js +2 -2
  134. package/src/tableproperties/commands/tableborderstylecommand.d.ts +4 -4
  135. package/src/tableproperties/commands/tableborderstylecommand.js +2 -2
  136. package/src/tableproperties/commands/tableborderwidthcommand.d.ts +4 -4
  137. package/src/tableproperties/commands/tableborderwidthcommand.js +2 -2
  138. package/src/tableproperties/commands/tableheightcommand.d.ts +2 -2
  139. package/src/tableproperties/commands/tableheightcommand.js +2 -2
  140. package/src/tableproperties/commands/tablepropertycommand.d.ts +4 -4
  141. package/src/tableproperties/commands/tablepropertycommand.js +1 -1
  142. package/src/tableproperties/commands/tablewidthcommand.d.ts +2 -2
  143. package/src/tableproperties/commands/tablewidthcommand.js +2 -2
  144. package/src/tableproperties/tablepropertiesediting.d.ts +2 -2
  145. package/src/tableproperties/tablepropertiesediting.js +49 -21
  146. package/src/tableproperties/tablepropertiesui.d.ts +2 -2
  147. package/src/tableproperties/tablepropertiesui.js +2 -2
  148. package/src/tableproperties/ui/tablepropertiesview.d.ts +2 -2
  149. package/src/tableproperties/ui/tablepropertiesview.js +1 -1
  150. package/src/tableproperties.d.ts +3 -3
  151. package/src/tableproperties.js +3 -3
  152. package/src/tableselection.d.ts +9 -9
  153. package/src/tableselection.js +4 -4
  154. package/src/tabletoolbar.d.ts +1 -1
  155. package/src/tabletoolbar.js +1 -1
  156. package/src/tableui.d.ts +1 -1
  157. package/src/tableui.js +4 -4
  158. package/src/tableutils.d.ts +25 -26
  159. package/src/tableutils.js +4 -4
  160. package/src/tablewalker.d.ts +8 -8
  161. package/src/tablewalker.js +2 -2
  162. package/src/ui/colorinputview.d.ts +6 -1
  163. package/src/ui/colorinputview.js +1 -1
  164. package/src/ui/inserttableview.d.ts +3 -1
  165. package/src/ui/inserttableview.js +3 -1
  166. package/src/utils/common.d.ts +16 -7
  167. package/src/utils/common.js +9 -1
  168. package/src/utils/structure.d.ts +24 -14
  169. package/src/utils/structure.js +11 -1
  170. package/src/utils/table-properties.d.ts +15 -2
  171. package/src/utils/table-properties.js +6 -0
  172. package/src/utils/ui/contextualballoon.d.ts +4 -3
  173. package/src/utils/ui/contextualballoon.js +1 -0
  174. package/src/utils/ui/table-properties.d.ts +20 -7
  175. package/src/utils/ui/table-properties.js +24 -11
  176. package/src/utils/ui/widget.d.ts +6 -0
  177. package/src/utils/ui/widget.js +6 -0
  178. package/theme/tablecaption.css +9 -8
  179. package/theme/tablecolumnresize.css +2 -2
@@ -69,16 +69,17 @@
69
69
  }
70
70
 
71
71
  :root{
72
- --ck-color-selector-caption-background:hsl(0, 0%, 97%);
73
- --ck-color-selector-caption-text:hsl(0, 0%, 20%);
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:break-word;
78
+ word-break:normal;
79
+ overflow-wrap:anywhere;
79
80
  text-align:center;
80
- color:var(--ck-color-selector-caption-text);
81
- background-color:var(--ck-color-selector-caption-background);
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;
@@ -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-selector-caption-background:hsl(0, 0%, 97%);
242
- --ck-color-selector-caption-text:hsl(0, 0%, 20%);
243
- --ck-color-selector-caption-highlighted-background:hsl(52deg 100% 50%);
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-selector-caption-highlighted-background);
221
+ background-color:var(--ck-color-table-caption-highlighted-background);
261
222
  }
262
223
 
263
224
  100%{
264
- background-color:var(--ck-color-selector-caption-background);
225
+ background-color:var(--ck-content-color-table-caption-background);
265
226
  }
266
227
  }
267
228
 
268
229
  :root{
269
- --ck-color-selector-column-resizer-hover:var(--ck-color-base-active);
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-selector-column-resizer-hover);
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-selector-caption-background: hsl(0, 0%, 97%);
460
- --ck-color-selector-caption-text: hsl(0, 0%, 20%);
461
- --ck-color-selector-caption-highlighted-background: hsl(52deg 100% 50%);
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: break-word;
416
+ word-break: normal;
417
+ overflow-wrap: anywhere;
469
418
  text-align: center;
470
- color: var(--ck-color-selector-caption-text);
471
- background-color: var(--ck-color-selector-caption-background);
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-selector-caption-highlighted-background);
455
+ background-color: var(--ck-color-table-caption-highlighted-background);
507
456
  }
508
457
 
509
458
  100% {
510
- background-color: var(--ck-color-selector-caption-background);
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-selector-column-resizer-hover: var(--ck-color-base-active);
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-selector-column-resizer-hover);
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 */