@ckeditor/ckeditor5-table 47.6.1 → 48.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 (505) hide show
  1. package/LICENSE.md +1 -1
  2. package/ckeditor5-metadata.json +35 -22
  3. package/{src → dist}/augmentation.d.ts +2 -30
  4. package/{src → dist}/commands/insertcolumncommand.d.ts +1 -1
  5. package/{src → dist}/commands/insertrowcommand.d.ts +1 -1
  6. package/{src → dist}/commands/inserttablecommand.d.ts +5 -1
  7. package/{src → dist}/commands/inserttablelayoutcommand.d.ts +1 -1
  8. package/{src → dist}/commands/mergecellcommand.d.ts +3 -3
  9. package/{src → dist}/commands/mergecellscommand.d.ts +1 -1
  10. package/{src → dist}/commands/removecolumncommand.d.ts +1 -1
  11. package/{src → dist}/commands/removerowcommand.d.ts +1 -1
  12. package/{src → dist}/commands/selectcolumncommand.d.ts +1 -1
  13. package/{src → dist}/commands/selectrowcommand.d.ts +1 -1
  14. package/dist/commands/setfooterrowcommand.d.ts +53 -0
  15. package/{src → dist}/commands/setheadercolumncommand.d.ts +1 -1
  16. package/{src → dist}/commands/setheaderrowcommand.d.ts +1 -1
  17. package/{src → dist}/commands/splitcellcommand.d.ts +1 -1
  18. package/{src → dist}/converters/downcast.d.ts +3 -3
  19. package/{src → dist}/converters/table-caption-post-fixer.d.ts +1 -1
  20. package/{src → dist}/converters/table-cell-paragraph-post-fixer.d.ts +1 -1
  21. package/{src → dist}/converters/table-cell-refresh-handler.d.ts +1 -1
  22. package/{src → dist}/converters/table-layout-post-fixer.d.ts +1 -1
  23. package/dist/converters/table-structure-post-fixer.d.ts +20 -0
  24. package/{src/converters/table-headings-refresh-handler.d.ts → dist/converters/table-structure-refresh-handler.d.ts} +3 -3
  25. package/{src → dist}/converters/tableproperties.d.ts +11 -2
  26. package/{src → dist}/converters/upcasttable.d.ts +6 -2
  27. package/dist/index-content.css +100 -110
  28. package/dist/index-editor.css +620 -289
  29. package/dist/index.css +692 -585
  30. package/dist/index.css.map +1 -1
  31. package/{src → dist}/index.d.ts +5 -7
  32. package/dist/index.js +11002 -12488
  33. package/dist/index.js.map +1 -1
  34. package/{src → dist}/plaintableoutput.d.ts +1 -1
  35. package/{src → dist}/table.d.ts +2 -2
  36. package/{src → dist}/tablecaption/tablecaptionediting.d.ts +2 -2
  37. package/{src → dist}/tablecaption/tablecaptionui.d.ts +1 -1
  38. package/{src → dist}/tablecaption/toggletablecaptioncommand.d.ts +1 -1
  39. package/{src → dist}/tablecaption/utils.d.ts +1 -1
  40. package/{src → dist}/tablecaption.d.ts +1 -1
  41. package/{src → dist}/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +1 -1
  42. package/{src → dist}/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +2 -2
  43. package/{src → dist}/tablecellproperties/commands/tablecellborderstylecommand.d.ts +2 -2
  44. package/{src → dist}/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +2 -2
  45. package/{src → dist}/tablecellproperties/commands/tablecellheightcommand.d.ts +1 -1
  46. package/{src → dist}/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +1 -1
  47. package/{src → dist}/tablecellproperties/commands/tablecellpaddingcommand.d.ts +2 -2
  48. package/{src → dist}/tablecellproperties/commands/tablecellpropertycommand.d.ts +2 -2
  49. package/{src → dist}/tablecellproperties/commands/tablecelltypecommand.d.ts +2 -6
  50. package/{src → dist}/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +1 -1
  51. package/{src → dist}/tablecellproperties/tablecellpropertiesediting.d.ts +1 -1
  52. package/{src → dist}/tablecellproperties/tablecellpropertiesui.d.ts +2 -2
  53. package/dist/tablecellproperties/tablecellpropertiesutils.d.ts +18 -0
  54. package/{src/tablecellproperties/ui/tablecellpropertiesviewexperimental.d.ts → dist/tablecellproperties/ui/tablecellpropertiesview.d.ts} +11 -13
  55. package/{src → dist}/tablecellproperties.d.ts +1 -1
  56. package/{src → dist}/tablecellwidth/commands/tablecellwidthcommand.d.ts +1 -1
  57. package/{src → dist}/tablecellwidth/tablecellwidthediting.d.ts +1 -1
  58. package/{src → dist}/tableclipboard.d.ts +3 -3
  59. package/{src → dist}/tablecolumnresize/converters.d.ts +1 -1
  60. package/{src → dist}/tablecolumnresize/tablecolumnresizeediting.d.ts +2 -2
  61. package/{src → dist}/tablecolumnresize/tablewidthscommand.d.ts +2 -2
  62. package/{src → dist}/tablecolumnresize/utils.d.ts +2 -2
  63. package/{src → dist}/tablecolumnresize.d.ts +1 -1
  64. package/{src → dist}/tableconfig.d.ts +57 -8
  65. package/{src → dist}/tableediting.d.ts +3 -3
  66. package/{src → dist}/tablekeyboard.d.ts +3 -3
  67. package/{src → dist}/tablelayout/commands/tabletypecommand.d.ts +1 -1
  68. package/{src → dist}/tablelayout/tablelayoutediting.d.ts +1 -1
  69. package/{src → dist}/tablelayout/tablelayoutui.d.ts +1 -1
  70. package/{src → dist}/tablelayout.d.ts +1 -1
  71. package/{src → dist}/tablemouse/mouseeventsobserver.d.ts +1 -1
  72. package/{src → dist}/tablemouse.d.ts +1 -1
  73. package/{src → dist}/tableproperties/commands/tablealignmentcommand.d.ts +1 -1
  74. package/{src → dist}/tableproperties/commands/tablebackgroundcolorcommand.d.ts +1 -1
  75. package/{src → dist}/tableproperties/commands/tablebordercolorcommand.d.ts +2 -2
  76. package/{src → dist}/tableproperties/commands/tableborderstylecommand.d.ts +2 -2
  77. package/{src → dist}/tableproperties/commands/tableborderwidthcommand.d.ts +2 -2
  78. package/{src → dist}/tableproperties/commands/tableheightcommand.d.ts +1 -1
  79. package/{src → dist}/tableproperties/commands/tablepropertycommand.d.ts +2 -2
  80. package/{src → dist}/tableproperties/commands/tablewidthcommand.d.ts +1 -1
  81. package/{src → dist}/tableproperties/tablepropertiesediting.d.ts +1 -1
  82. package/{src → dist}/tableproperties/tablepropertiesui.d.ts +2 -2
  83. package/{src → dist}/tableproperties/ui/tablepropertiesview.d.ts +10 -3
  84. package/{src → dist}/tableproperties.d.ts +1 -1
  85. package/{src → dist}/tableselection.d.ts +2 -2
  86. package/{src → dist}/tabletoolbar.d.ts +2 -2
  87. package/{src → dist}/tableui.d.ts +1 -1
  88. package/{src → dist}/tableutils.d.ts +69 -17
  89. package/{src → dist}/tablewalker.d.ts +1 -1
  90. package/dist/translations/af.js +1 -1
  91. package/dist/translations/af.umd.js +1 -1
  92. package/dist/translations/ar.js +1 -1
  93. package/dist/translations/ar.umd.js +1 -1
  94. package/dist/translations/ast.js +1 -1
  95. package/dist/translations/ast.umd.js +1 -1
  96. package/dist/translations/az.js +1 -1
  97. package/dist/translations/az.umd.js +1 -1
  98. package/dist/translations/be.js +1 -1
  99. package/dist/translations/be.umd.js +1 -1
  100. package/dist/translations/bg.js +1 -1
  101. package/dist/translations/bg.umd.js +1 -1
  102. package/dist/translations/bn.js +1 -1
  103. package/dist/translations/bn.umd.js +1 -1
  104. package/dist/translations/bs.js +1 -1
  105. package/dist/translations/bs.umd.js +1 -1
  106. package/dist/translations/ca.js +1 -1
  107. package/dist/translations/ca.umd.js +1 -1
  108. package/dist/translations/cs.js +1 -1
  109. package/dist/translations/cs.umd.js +1 -1
  110. package/dist/translations/da.js +1 -1
  111. package/dist/translations/da.umd.js +1 -1
  112. package/dist/translations/de-ch.js +1 -1
  113. package/dist/translations/de-ch.umd.js +1 -1
  114. package/dist/translations/de.js +1 -1
  115. package/dist/translations/de.umd.js +1 -1
  116. package/dist/translations/el.js +1 -1
  117. package/dist/translations/el.umd.js +1 -1
  118. package/dist/translations/en-au.js +1 -1
  119. package/dist/translations/en-au.umd.js +1 -1
  120. package/dist/translations/en-gb.js +1 -1
  121. package/dist/translations/en-gb.umd.js +1 -1
  122. package/dist/translations/en.js +1 -1
  123. package/dist/translations/en.umd.js +1 -1
  124. package/dist/translations/eo.js +1 -1
  125. package/dist/translations/eo.umd.js +1 -1
  126. package/dist/translations/es-co.js +1 -1
  127. package/dist/translations/es-co.umd.js +1 -1
  128. package/dist/translations/es.js +1 -1
  129. package/dist/translations/es.umd.js +1 -1
  130. package/dist/translations/et.js +1 -1
  131. package/dist/translations/et.umd.js +1 -1
  132. package/dist/translations/eu.js +1 -1
  133. package/dist/translations/eu.umd.js +1 -1
  134. package/dist/translations/fa.js +1 -1
  135. package/dist/translations/fa.umd.js +1 -1
  136. package/dist/translations/fi.js +1 -1
  137. package/dist/translations/fi.umd.js +1 -1
  138. package/dist/translations/fr.js +1 -1
  139. package/dist/translations/fr.umd.js +1 -1
  140. package/dist/translations/gl.js +1 -1
  141. package/dist/translations/gl.umd.js +1 -1
  142. package/dist/translations/gu.js +1 -1
  143. package/dist/translations/gu.umd.js +1 -1
  144. package/dist/translations/he.js +1 -1
  145. package/dist/translations/he.umd.js +1 -1
  146. package/dist/translations/hi.js +1 -1
  147. package/dist/translations/hi.umd.js +1 -1
  148. package/dist/translations/hr.js +1 -1
  149. package/dist/translations/hr.umd.js +1 -1
  150. package/dist/translations/hu.js +1 -1
  151. package/dist/translations/hu.umd.js +1 -1
  152. package/dist/translations/hy.js +1 -1
  153. package/dist/translations/hy.umd.js +1 -1
  154. package/dist/translations/id.js +1 -1
  155. package/dist/translations/id.umd.js +1 -1
  156. package/dist/translations/it.js +1 -1
  157. package/dist/translations/it.umd.js +1 -1
  158. package/dist/translations/ja.js +1 -1
  159. package/dist/translations/ja.umd.js +1 -1
  160. package/dist/translations/jv.js +1 -1
  161. package/dist/translations/jv.umd.js +1 -1
  162. package/dist/translations/kk.js +1 -1
  163. package/dist/translations/kk.umd.js +1 -1
  164. package/dist/translations/km.js +1 -1
  165. package/dist/translations/km.umd.js +1 -1
  166. package/dist/translations/kn.js +1 -1
  167. package/dist/translations/kn.umd.js +1 -1
  168. package/dist/translations/ko.js +1 -1
  169. package/dist/translations/ko.umd.js +1 -1
  170. package/dist/translations/ku.js +1 -1
  171. package/dist/translations/ku.umd.js +1 -1
  172. package/dist/translations/lt.js +1 -1
  173. package/dist/translations/lt.umd.js +1 -1
  174. package/dist/translations/lv.js +1 -1
  175. package/dist/translations/lv.umd.js +1 -1
  176. package/dist/translations/ms.js +1 -1
  177. package/dist/translations/ms.umd.js +1 -1
  178. package/dist/translations/nb.js +1 -1
  179. package/dist/translations/nb.umd.js +1 -1
  180. package/dist/translations/ne.js +1 -1
  181. package/dist/translations/ne.umd.js +1 -1
  182. package/dist/translations/nl.js +1 -1
  183. package/dist/translations/nl.umd.js +1 -1
  184. package/dist/translations/no.js +1 -1
  185. package/dist/translations/no.umd.js +1 -1
  186. package/dist/translations/oc.js +1 -1
  187. package/dist/translations/oc.umd.js +1 -1
  188. package/dist/translations/pl.js +1 -1
  189. package/dist/translations/pl.umd.js +1 -1
  190. package/dist/translations/pt-br.js +1 -1
  191. package/dist/translations/pt-br.umd.js +1 -1
  192. package/dist/translations/pt.js +1 -1
  193. package/dist/translations/pt.umd.js +1 -1
  194. package/dist/translations/ro.js +1 -1
  195. package/dist/translations/ro.umd.js +1 -1
  196. package/dist/translations/ru.js +1 -1
  197. package/dist/translations/ru.umd.js +1 -1
  198. package/dist/translations/si.js +1 -1
  199. package/dist/translations/si.umd.js +1 -1
  200. package/dist/translations/sk.js +1 -1
  201. package/dist/translations/sk.umd.js +1 -1
  202. package/dist/translations/sl.js +1 -1
  203. package/dist/translations/sl.umd.js +1 -1
  204. package/dist/translations/sq.js +1 -1
  205. package/dist/translations/sq.umd.js +1 -1
  206. package/dist/translations/sr-latn.js +1 -1
  207. package/dist/translations/sr-latn.umd.js +1 -1
  208. package/dist/translations/sr.js +1 -1
  209. package/dist/translations/sr.umd.js +1 -1
  210. package/dist/translations/sv.js +1 -1
  211. package/dist/translations/sv.umd.js +1 -1
  212. package/dist/translations/th.js +1 -1
  213. package/dist/translations/th.umd.js +1 -1
  214. package/dist/translations/ti.js +1 -1
  215. package/dist/translations/ti.umd.js +1 -1
  216. package/dist/translations/tk.js +1 -1
  217. package/dist/translations/tk.umd.js +1 -1
  218. package/dist/translations/tr.js +1 -1
  219. package/dist/translations/tr.umd.js +1 -1
  220. package/dist/translations/tt.js +1 -1
  221. package/dist/translations/tt.umd.js +1 -1
  222. package/dist/translations/ug.js +1 -1
  223. package/dist/translations/ug.umd.js +1 -1
  224. package/dist/translations/uk.js +1 -1
  225. package/dist/translations/uk.umd.js +1 -1
  226. package/dist/translations/ur.js +1 -1
  227. package/dist/translations/ur.umd.js +1 -1
  228. package/dist/translations/uz.js +1 -1
  229. package/dist/translations/uz.umd.js +1 -1
  230. package/dist/translations/vi.js +1 -1
  231. package/dist/translations/vi.umd.js +1 -1
  232. package/dist/translations/zh-cn.js +1 -1
  233. package/dist/translations/zh-cn.umd.js +1 -1
  234. package/dist/translations/zh.js +1 -1
  235. package/dist/translations/zh.umd.js +1 -1
  236. package/{src → dist}/ui/colorinputview.d.ts +2 -2
  237. package/{src → dist}/ui/inserttableview.d.ts +2 -2
  238. package/{src → dist}/utils/common.d.ts +2 -2
  239. package/{src → dist}/utils/structure.d.ts +1 -1
  240. package/{src → dist}/utils/table-properties.d.ts +1 -1
  241. package/{src → dist}/utils/ui/contextualballoon.d.ts +2 -2
  242. package/{src → dist}/utils/ui/table-properties.d.ts +2 -2
  243. package/{src → dist}/utils/ui/widget.d.ts +1 -1
  244. package/package.json +27 -50
  245. package/build/table.js +0 -5
  246. package/build/translations/af.js +0 -1
  247. package/build/translations/ar.js +0 -1
  248. package/build/translations/ast.js +0 -1
  249. package/build/translations/az.js +0 -1
  250. package/build/translations/be.js +0 -1
  251. package/build/translations/bg.js +0 -1
  252. package/build/translations/bn.js +0 -1
  253. package/build/translations/bs.js +0 -1
  254. package/build/translations/ca.js +0 -1
  255. package/build/translations/cs.js +0 -1
  256. package/build/translations/da.js +0 -1
  257. package/build/translations/de-ch.js +0 -1
  258. package/build/translations/de.js +0 -1
  259. package/build/translations/el.js +0 -1
  260. package/build/translations/en-au.js +0 -1
  261. package/build/translations/en-gb.js +0 -1
  262. package/build/translations/eo.js +0 -1
  263. package/build/translations/es-co.js +0 -1
  264. package/build/translations/es.js +0 -1
  265. package/build/translations/et.js +0 -1
  266. package/build/translations/eu.js +0 -1
  267. package/build/translations/fa.js +0 -1
  268. package/build/translations/fi.js +0 -1
  269. package/build/translations/fr.js +0 -1
  270. package/build/translations/gl.js +0 -1
  271. package/build/translations/gu.js +0 -1
  272. package/build/translations/he.js +0 -1
  273. package/build/translations/hi.js +0 -1
  274. package/build/translations/hr.js +0 -1
  275. package/build/translations/hu.js +0 -1
  276. package/build/translations/hy.js +0 -1
  277. package/build/translations/id.js +0 -1
  278. package/build/translations/it.js +0 -1
  279. package/build/translations/ja.js +0 -1
  280. package/build/translations/jv.js +0 -1
  281. package/build/translations/kk.js +0 -1
  282. package/build/translations/km.js +0 -1
  283. package/build/translations/kn.js +0 -1
  284. package/build/translations/ko.js +0 -1
  285. package/build/translations/ku.js +0 -1
  286. package/build/translations/lt.js +0 -1
  287. package/build/translations/lv.js +0 -1
  288. package/build/translations/ms.js +0 -1
  289. package/build/translations/nb.js +0 -1
  290. package/build/translations/ne.js +0 -1
  291. package/build/translations/nl.js +0 -1
  292. package/build/translations/no.js +0 -1
  293. package/build/translations/oc.js +0 -1
  294. package/build/translations/pl.js +0 -1
  295. package/build/translations/pt-br.js +0 -1
  296. package/build/translations/pt.js +0 -1
  297. package/build/translations/ro.js +0 -1
  298. package/build/translations/ru.js +0 -1
  299. package/build/translations/si.js +0 -1
  300. package/build/translations/sk.js +0 -1
  301. package/build/translations/sl.js +0 -1
  302. package/build/translations/sq.js +0 -1
  303. package/build/translations/sr-latn.js +0 -1
  304. package/build/translations/sr.js +0 -1
  305. package/build/translations/sv.js +0 -1
  306. package/build/translations/th.js +0 -1
  307. package/build/translations/ti.js +0 -1
  308. package/build/translations/tk.js +0 -1
  309. package/build/translations/tr.js +0 -1
  310. package/build/translations/tt.js +0 -1
  311. package/build/translations/ug.js +0 -1
  312. package/build/translations/uk.js +0 -1
  313. package/build/translations/ur.js +0 -1
  314. package/build/translations/uz.js +0 -1
  315. package/build/translations/vi.js +0 -1
  316. package/build/translations/zh-cn.js +0 -1
  317. package/build/translations/zh.js +0 -1
  318. package/lang/contexts.json +0 -82
  319. package/lang/translations/af.po +0 -332
  320. package/lang/translations/ar.po +0 -332
  321. package/lang/translations/ast.po +0 -332
  322. package/lang/translations/az.po +0 -332
  323. package/lang/translations/be.po +0 -332
  324. package/lang/translations/bg.po +0 -332
  325. package/lang/translations/bn.po +0 -334
  326. package/lang/translations/bs.po +0 -332
  327. package/lang/translations/ca.po +0 -332
  328. package/lang/translations/cs.po +0 -332
  329. package/lang/translations/da.po +0 -332
  330. package/lang/translations/de-ch.po +0 -332
  331. package/lang/translations/de.po +0 -332
  332. package/lang/translations/el.po +0 -332
  333. package/lang/translations/en-au.po +0 -332
  334. package/lang/translations/en-gb.po +0 -332
  335. package/lang/translations/en.po +0 -332
  336. package/lang/translations/eo.po +0 -332
  337. package/lang/translations/es-co.po +0 -332
  338. package/lang/translations/es.po +0 -332
  339. package/lang/translations/et.po +0 -332
  340. package/lang/translations/eu.po +0 -332
  341. package/lang/translations/fa.po +0 -332
  342. package/lang/translations/fi.po +0 -332
  343. package/lang/translations/fr.po +0 -332
  344. package/lang/translations/gl.po +0 -332
  345. package/lang/translations/gu.po +0 -332
  346. package/lang/translations/he.po +0 -332
  347. package/lang/translations/hi.po +0 -332
  348. package/lang/translations/hr.po +0 -332
  349. package/lang/translations/hu.po +0 -332
  350. package/lang/translations/hy.po +0 -332
  351. package/lang/translations/id.po +0 -332
  352. package/lang/translations/it.po +0 -332
  353. package/lang/translations/ja.po +0 -332
  354. package/lang/translations/jv.po +0 -332
  355. package/lang/translations/kk.po +0 -332
  356. package/lang/translations/km.po +0 -332
  357. package/lang/translations/kn.po +0 -332
  358. package/lang/translations/ko.po +0 -332
  359. package/lang/translations/ku.po +0 -332
  360. package/lang/translations/lt.po +0 -332
  361. package/lang/translations/lv.po +0 -332
  362. package/lang/translations/ms.po +0 -332
  363. package/lang/translations/nb.po +0 -332
  364. package/lang/translations/ne.po +0 -332
  365. package/lang/translations/nl.po +0 -332
  366. package/lang/translations/no.po +0 -332
  367. package/lang/translations/oc.po +0 -332
  368. package/lang/translations/pl.po +0 -332
  369. package/lang/translations/pt-br.po +0 -332
  370. package/lang/translations/pt.po +0 -332
  371. package/lang/translations/ro.po +0 -332
  372. package/lang/translations/ru.po +0 -332
  373. package/lang/translations/si.po +0 -332
  374. package/lang/translations/sk.po +0 -332
  375. package/lang/translations/sl.po +0 -332
  376. package/lang/translations/sq.po +0 -332
  377. package/lang/translations/sr-latn.po +0 -332
  378. package/lang/translations/sr.po +0 -332
  379. package/lang/translations/sv.po +0 -332
  380. package/lang/translations/th.po +0 -332
  381. package/lang/translations/ti.po +0 -332
  382. package/lang/translations/tk.po +0 -332
  383. package/lang/translations/tr.po +0 -332
  384. package/lang/translations/tt.po +0 -332
  385. package/lang/translations/ug.po +0 -332
  386. package/lang/translations/uk.po +0 -332
  387. package/lang/translations/ur.po +0 -332
  388. package/lang/translations/uz.po +0 -332
  389. package/lang/translations/vi.po +0 -332
  390. package/lang/translations/zh-cn.po +0 -332
  391. package/lang/translations/zh.po +0 -332
  392. package/src/augmentation.js +0 -5
  393. package/src/commands/insertcolumncommand.js +0 -71
  394. package/src/commands/insertrowcommand.js +0 -70
  395. package/src/commands/inserttablecommand.js +0 -69
  396. package/src/commands/inserttablelayoutcommand.js +0 -65
  397. package/src/commands/mergecellcommand.js +0 -206
  398. package/src/commands/mergecellscommand.js +0 -94
  399. package/src/commands/removecolumncommand.js +0 -109
  400. package/src/commands/removerowcommand.js +0 -82
  401. package/src/commands/selectcolumncommand.js +0 -60
  402. package/src/commands/selectrowcommand.js +0 -56
  403. package/src/commands/setheadercolumncommand.js +0 -76
  404. package/src/commands/setheaderrowcommand.js +0 -83
  405. package/src/commands/splitcellcommand.js +0 -58
  406. package/src/converters/downcast.js +0 -322
  407. package/src/converters/table-caption-post-fixer.js +0 -55
  408. package/src/converters/table-cell-paragraph-post-fixer.js +0 -109
  409. package/src/converters/table-cell-refresh-handler.js +0 -47
  410. package/src/converters/table-headings-refresh-handler.js +0 -51
  411. package/src/converters/table-layout-post-fixer.js +0 -369
  412. package/src/converters/tableproperties.js +0 -451
  413. package/src/converters/upcasttable.js +0 -385
  414. package/src/index.js +0 -98
  415. package/src/plaintableoutput.js +0 -49
  416. package/src/table.js +0 -50
  417. package/src/tablecaption/tablecaptionediting.js +0 -178
  418. package/src/tablecaption/tablecaptionui.js +0 -64
  419. package/src/tablecaption/toggletablecaptioncommand.js +0 -105
  420. package/src/tablecaption/utils.js +0 -61
  421. package/src/tablecaption.js +0 -34
  422. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +0 -30
  423. package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +0 -44
  424. package/src/tablecellproperties/commands/tablecellborderstylecommand.js +0 -44
  425. package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +0 -64
  426. package/src/tablecellproperties/commands/tablecellheightcommand.js +0 -51
  427. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +0 -30
  428. package/src/tablecellproperties/commands/tablecellpaddingcommand.js +0 -64
  429. package/src/tablecellproperties/commands/tablecellpropertycommand.js +0 -138
  430. package/src/tablecellproperties/commands/tablecelltypecommand.js +0 -167
  431. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +0 -38
  432. package/src/tablecellproperties/tablecellpropertiesediting.js +0 -412
  433. package/src/tablecellproperties/tablecellpropertiesui.js +0 -385
  434. package/src/tablecellproperties/tablecellpropertiesuiexperimental.d.ts +0 -128
  435. package/src/tablecellproperties/tablecellpropertiesuiexperimental.js +0 -408
  436. package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +0 -229
  437. package/src/tablecellproperties/ui/tablecellpropertiesview.js +0 -612
  438. package/src/tablecellproperties/ui/tablecellpropertiesviewexperimental.js +0 -744
  439. package/src/tablecellproperties.js +0 -40
  440. package/src/tablecellwidth/commands/tablecellwidthcommand.js +0 -51
  441. package/src/tablecellwidth/tablecellwidthediting.js +0 -53
  442. package/src/tableclipboard.js +0 -500
  443. package/src/tablecolumnresize/constants.js +0 -33
  444. package/src/tablecolumnresize/converters.js +0 -62
  445. package/src/tablecolumnresize/tablecolumnresizeediting.js +0 -734
  446. package/src/tablecolumnresize/tablewidthscommand.js +0 -61
  447. package/src/tablecolumnresize/utils.js +0 -370
  448. package/src/tablecolumnresize.js +0 -36
  449. package/src/tableconfig.js +0 -5
  450. package/src/tableediting.js +0 -246
  451. package/src/tablekeyboard.js +0 -273
  452. package/src/tablelayout/commands/tabletypecommand.js +0 -68
  453. package/src/tablelayout/tablelayoutediting.js +0 -295
  454. package/src/tablelayout/tablelayoutui.js +0 -196
  455. package/src/tablelayout.js +0 -36
  456. package/src/tablemouse/mouseeventsobserver.js +0 -34
  457. package/src/tablemouse.js +0 -178
  458. package/src/tableproperties/commands/tablealignmentcommand.js +0 -30
  459. package/src/tableproperties/commands/tablebackgroundcolorcommand.js +0 -30
  460. package/src/tableproperties/commands/tablebordercolorcommand.js +0 -44
  461. package/src/tableproperties/commands/tableborderstylecommand.js +0 -44
  462. package/src/tableproperties/commands/tableborderwidthcommand.js +0 -64
  463. package/src/tableproperties/commands/tableheightcommand.js +0 -54
  464. package/src/tableproperties/commands/tablepropertycommand.js +0 -103
  465. package/src/tableproperties/commands/tablewidthcommand.js +0 -54
  466. package/src/tableproperties/tablepropertiesediting.js +0 -546
  467. package/src/tableproperties/tablepropertiesui.js +0 -374
  468. package/src/tableproperties/tablepropertiesuiexperimental.d.ts +0 -136
  469. package/src/tableproperties/tablepropertiesuiexperimental.js +0 -375
  470. package/src/tableproperties/ui/tablepropertiesview.js +0 -520
  471. package/src/tableproperties/ui/tablepropertiesviewexperimental.d.ts +0 -216
  472. package/src/tableproperties/ui/tablepropertiesviewexperimental.js +0 -544
  473. package/src/tableproperties.js +0 -40
  474. package/src/tableselection.js +0 -323
  475. package/src/tabletoolbar.js +0 -63
  476. package/src/tableui.js +0 -335
  477. package/src/tableutils.js +0 -1282
  478. package/src/tablewalker.js +0 -489
  479. package/src/ui/colorinputview.js +0 -305
  480. package/src/ui/inserttableview.js +0 -192
  481. package/src/utils/common.js +0 -118
  482. package/src/utils/structure.js +0 -452
  483. package/src/utils/table-properties.js +0 -121
  484. package/src/utils/ui/contextualballoon.js +0 -111
  485. package/src/utils/ui/table-properties.js +0 -390
  486. package/src/utils/ui/table-propertiesexperimental.d.ts +0 -215
  487. package/src/utils/ui/table-propertiesexperimental.js +0 -391
  488. package/src/utils/ui/widget.js +0 -56
  489. package/theme/colorinput.css +0 -39
  490. package/theme/formrow-experimental.css +0 -15
  491. package/theme/formrow.css +0 -13
  492. package/theme/inserttable.css +0 -10
  493. package/theme/table.css +0 -144
  494. package/theme/tablecaption.css +0 -66
  495. package/theme/tablecellproperties-experimental.css +0 -4
  496. package/theme/tablecellproperties.css +0 -28
  497. package/theme/tablecolumnresize.css +0 -62
  498. package/theme/tableediting.css +0 -10
  499. package/theme/tableform-experimental.css +0 -61
  500. package/theme/tableform.css +0 -64
  501. package/theme/tablelayout.css +0 -74
  502. package/theme/tableproperties-experimental.css +0 -78
  503. package/theme/tableproperties.css +0 -18
  504. package/theme/tableselection.css +0 -10
  505. /package/{src → dist}/tablecolumnresize/constants.d.ts +0 -0
package/dist/index.css CHANGED
@@ -2,748 +2,855 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /*
6
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
-
10
- /* Ensure that table header text is aligned to the start by default. See https://github.com/ckeditor/ckeditor5/issues/19454. */
11
-
12
5
  .ck-content .table th {
13
- text-align: start;
14
- }
15
-
16
- /* Text alignment of the table header should match the editor settings and override the native browser styling,
17
- when content is available outside the editor. See https://github.com/ckeditor/ckeditor5/issues/6638. */
6
+ text-align: start;
7
+ }
18
8
 
19
9
  .ck-content[dir="rtl"] .table th {
20
- text-align: right;
21
- }
10
+ text-align: right;
11
+ }
22
12
 
23
13
  .ck-content[dir="ltr"] .table th {
24
- text-align: left;
25
- }
14
+ text-align: left;
15
+ }
26
16
 
27
17
  .ck-content figure.table:not(.layout-table) {
28
- display: table;
29
- }
18
+ display: table;
19
+ }
30
20
 
31
21
  .ck-content figure.table:not(.layout-table) > table {
32
- width: 100%;
33
- height: 100%;
34
- }
22
+ width: 100%;
23
+ height: 100%;
24
+ }
35
25
 
36
26
  .ck-content .table:not(.layout-table) {
37
- /* Give the table widget some air and center it horizontally */
38
- /* The first value should be equal to --ck-spacing-large variable if used in the editor context
39
- to avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */
40
- margin: 0.9em auto;
41
- }
42
-
43
- .ck-content table.table:not(.layout-table),
44
- .ck-content figure.table:not(.layout-table) > table {
45
- /* The table cells should have slight borders */
46
- border-collapse: collapse;
47
- border-spacing: 0;
48
-
49
- /* The outer border of the table should be slightly darker than the inner lines.
50
- Also see https://github.com/ckeditor/ckeditor5-table/issues/50. */
51
- border: 1px double hsl(0, 0%, 70%);
52
- }
53
-
54
- /* The linter is disabled here because linter is confused when resolving the `table.table:not(.layout-table)`
55
- and `figure.table:not(.layout-table) > table` selectors combined with below selectors.
56
- There is no need to split it into two large structures with same code just to make linter happy. */
57
-
58
- /* stylelint-disable no-descending-specificity */
59
-
60
- .ck-content table.table:not(.layout-table) > thead > tr > th, .ck-content figure.table:not(.layout-table) > table > thead > tr > th, .ck-content table.table:not(.layout-table) > tbody > tr > th, .ck-content figure.table:not(.layout-table) > table > tbody > tr > th {
61
- font-weight: bold;
62
- background: hsla(0, 0%, 0%, 5%);
63
- }
64
-
65
- .ck-content table.table:not(.layout-table) > thead > tr > td,
66
- .ck-content figure.table:not(.layout-table) > table > thead > tr > td,
67
- .ck-content table.table:not(.layout-table) > tbody > tr > td,
68
- .ck-content figure.table:not(.layout-table) > table > tbody > tr > td,
69
- .ck-content table.table:not(.layout-table) > thead > tr > th,
70
- .ck-content figure.table:not(.layout-table) > table > thead > tr > th,
71
- .ck-content table.table:not(.layout-table) > tbody > tr > th,
72
- .ck-content figure.table:not(.layout-table) > table > tbody > tr > th {
73
-
74
- min-width: 2em;
75
- padding: 0.4em;
76
-
77
- /* The border is inherited from .ck-editor__nested-editable styles, so theoretically it's not necessary here.
78
- However, the border is a content style, so it should use .ck-content (so it works outside the editor).
79
- Hence, the duplication. See https://github.com/ckeditor/ckeditor5/issues/6314 */
80
- border: 1px solid hsl(0, 0%, 75%);
81
- /* Opinionated table content styling: prevents content from shifting
82
- * when Enter is pressed in the first cell.
83
- * See: https://github.com/ckeditor/ckeditor5/pull/18801
84
- */
85
- }
86
-
87
- .ck-content table.table:not(.layout-table) > thead > tr > td > p:first-of-type, .ck-content figure.table:not(.layout-table) > table > thead > tr > td > p:first-of-type, .ck-content table.table:not(.layout-table) > tbody > tr > td > p:first-of-type, .ck-content figure.table:not(.layout-table) > table > tbody > tr > td > p:first-of-type, .ck-content table.table:not(.layout-table) > thead > tr > th > p:first-of-type, .ck-content figure.table:not(.layout-table) > table > thead > tr > th > p:first-of-type, .ck-content table.table:not(.layout-table) > tbody > tr > th > p:first-of-type, .ck-content figure.table:not(.layout-table) > table > tbody > tr > th > p:first-of-type {
88
- margin-top: 0;
89
- }
90
-
91
- /* Mirrors the rule above for the last paragraph to keep the
92
- * experience consistent with the first paragraph.
93
- *
94
- * Together, these rules prevent margins from appearing when a
95
- * bogus paragraph becomes a real paragraph after it receives line
96
- * height, text alignment, or other block style.
97
- *
98
- * See: https://github.com/ckeditor/ckeditor5/pull/18801
99
- */
100
-
101
- .ck-content table.table:not(.layout-table) > thead > tr > td > p:last-of-type, .ck-content figure.table:not(.layout-table) > table > thead > tr > td > p:last-of-type, .ck-content table.table:not(.layout-table) > tbody > tr > td > p:last-of-type, .ck-content figure.table:not(.layout-table) > table > tbody > tr > td > p:last-of-type, .ck-content table.table:not(.layout-table) > thead > tr > th > p:last-of-type, .ck-content figure.table:not(.layout-table) > table > thead > tr > th > p:last-of-type, .ck-content table.table:not(.layout-table) > tbody > tr > th > p:last-of-type, .ck-content figure.table:not(.layout-table) > table > tbody > tr > th > p:last-of-type {
102
- margin-bottom: 0;
103
- }
27
+ margin: .9em auto;
28
+ }
29
+
30
+ .ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table {
31
+ border-collapse: collapse;
32
+ border-spacing: 0;
33
+ border: 1px double #b3b3b3;
34
+ }
35
+
36
+ :is(:is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > thead, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tfoot, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tbody) > tr > th {
37
+ background: #0000000d;
38
+ font-weight: bold;
39
+ }
40
+
41
+ :is(:is(:is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > thead, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tfoot, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tbody) > tr > td, :is(:is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > thead, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tfoot, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tbody) > tr > th) > p:first-of-type {
42
+ margin-top: 0;
43
+ }
44
+
45
+ :is(:is(:is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > thead, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tfoot, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tbody) > tr > td, :is(:is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > thead, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tfoot, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tbody) > tr > th) > p:last-of-type {
46
+ margin-bottom: 0;
47
+ }
48
+
49
+ :is(:is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > thead, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tfoot, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tbody) > tr > td, :is(:is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > thead, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tfoot, :is(.ck-content table.table:not(.layout-table), .ck-content figure.table:not(.layout-table) > table) > tbody) > tr > th {
50
+ border: 1px solid #bfbfbf;
51
+ min-width: 2em;
52
+ padding: .4em;
53
+ }
104
54
 
105
55
  @media print {
106
- /**
107
- * Sometimes Chrome incorrectly calculates the height of the last table row and some
108
- * of the content overlaps the paragraph that is placed directly after the table. It affects
109
- * the column split mode pagination calculation which causes mismatch between the print mode and
110
- * the preview mode.
111
- *
112
- * This issue happens only if:
113
- *
114
- * * The table is inside a figure element.
115
- * * The table has `display: table` style set.
116
- * * The block element is placed directly after the table.
117
- */
118
- .ck-content figure.table:not(.layout-table) {
119
- width: fit-content;
120
- height: fit-content;
121
- }
122
-
123
- /**
124
- * Expanding the table to the full height of the parent container is necessary because tables
125
- * are rendered inside <figure> elements, which is kinda buggy in table height calculation.
126
- * While setting `height: 100%` fixes the issue in the editing mode described here:
127
- * https://github.com/ckeditor/ckeditor5/issues/6186
128
- *
129
- * it's causing another issue with the table height in the print preview mode here:
130
- * https://github.com/ckeditor/ckeditor5/issues/16856
131
- *
132
- * For now, resetting the height to `initial` in the print mode works as a workaround.
133
- */
134
- .ck-content figure.table:not(.layout-table) > table {
135
- height: initial;
136
- }
56
+ .ck-content figure.table:not(.layout-table) {
57
+ width: fit-content;
58
+ height: fit-content;
59
+ }
60
+
61
+ .ck-content figure.table:not(.layout-table) > table {
62
+ height: initial;
63
+ }
137
64
  }
138
65
 
139
66
  .ck-editor__editable .ck-table-bogus-paragraph {
140
- /*
141
- * Use display:inline-block to force Chrome/Safari to limit text mutations to this element.
142
- * See https://github.com/ckeditor/ckeditor5/issues/6062.
143
- */
144
- display: inline-block;
67
+ width: 100%;
68
+ display: inline-block;
69
+ }
145
70
 
146
- /*
147
- * Inline HTML elements nested in the span should always be dimensioned in relation to the whole cell width.
148
- * See https://github.com/ckeditor/ckeditor5/issues/9117.
149
- */
150
- width: 100%;
71
+ :root {
72
+ --ck-color-table-focused-cell-background: #9ec9fa4d;
73
+ --ck-table-content-default-border-color: #d4d4d4;
74
+ --ck-table-border-none-helper-line-color: #d4d4d4;
75
+ --ck-table-border-none-helper-line-style: dashed;
76
+ --ck-table-border-none-helper-line-width: 1px;
151
77
  }
152
78
 
153
- /*
154
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
155
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
156
- */
79
+ .ck-widget.table table[style*="border:none"], .ck-widget.table table[style*="border-style:none"], .ck-widget.table table[style*="border:0"], .ck-widget.table table[style*="border-width:0"] {
80
+ outline: var(--ck-table-content-default-border-color) 1px dashed;
81
+ }
157
82
 
158
- .ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row {
159
- flex-wrap: wrap;
160
- }
83
+ :is(.ck-widget.table td, .ck-widget.table th).ck-editor__nested-editable {
84
+ outline: unset;
85
+ }
86
+
87
+ :is(.ck-widget.table td, .ck-widget.table th).ck-editor__nested-editable:not(.ck-editor__editable_selected).ck-editor__nested-editable_focused, :is(.ck-widget.table td, .ck-widget.table th).ck-editor__nested-editable:not(.ck-editor__editable_selected):focus {
88
+ background: var(--ck-color-table-focused-cell-background);
89
+ outline: 1px solid var(--ck-color-focus-border);
90
+ outline-offset: -1px;
91
+ }
92
+
93
+ :where(.ck.ck-editor__editable.ck-table-show-hidden-borders .ck-widget.table) {
94
+ --ck-table-border-none-helper-line: var(--ck-table-border-none-helper-line-width)
95
+ var(--ck-table-border-none-helper-line-style)
96
+ var(--ck-table-border-none-helper-line-color);
97
+ }
98
+
99
+ :where(.ck.ck-editor__editable.ck-table-show-hidden-borders .ck-widget.table) :where(td, th):where([style*="border:none"], [style*="border:0"], [style*="border-style:none"], [style*="border-width:0"]) {
100
+ border: var(--ck-table-border-none-helper-line) !important;
101
+ }
102
+
103
+ :where(.ck.ck-editor__editable.ck-table-show-hidden-borders .ck-widget.table) :where(table, td, th):where([style*="border-top-style:none"], [style*="border-top-width:0"]) {
104
+ border-top: var(--ck-table-border-none-helper-line) !important;
105
+ }
106
+
107
+ :where(.ck.ck-editor__editable.ck-table-show-hidden-borders .ck-widget.table) :where(table, td, th):where([style*="border-right-style:none"], [style*="border-right-width:0"]) {
108
+ border-right: var(--ck-table-border-none-helper-line) !important;
109
+ }
110
+
111
+ :where(.ck.ck-editor__editable.ck-table-show-hidden-borders .ck-widget.table) :where(table, td, th):where([style*="border-bottom-style:none"], [style*="border-bottom-width:0"]) {
112
+ border-bottom: var(--ck-table-border-none-helper-line) !important;
113
+ }
114
+
115
+ :where(.ck.ck-editor__editable.ck-table-show-hidden-borders .ck-widget.table) :where(table, td, th):where([style*="border-left-style:none"], [style*="border-left-width:0"]) {
116
+ border-left: var(--ck-table-border-none-helper-line) !important;
117
+ }
118
+
119
+ .ck.ck-table-cell-properties-form {
120
+ width: 320px;
121
+ }
122
+
123
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__padding-row {
124
+ align-self: flex-end;
125
+ width: 25%;
126
+ padding: 0;
127
+ }
128
+
129
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar {
130
+ margin-top: var(--ck-spacing-standard);
131
+ background: none;
132
+ }
133
+
134
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar.ck-table-cell-properties-form__horizontal-alignment-toolbar {
135
+ --ck-table-form-dimensions-input-width: calc(var(--ck-table-form-default-input-width) * 2 + var(--ck-spacing-large));
136
+ width: var(--ck-table-form-dimensions-input-width);
137
+ max-width: var(--ck-table-form-dimensions-input-width);
138
+ min-width: var(--ck-table-form-dimensions-input-width);
139
+ padding: 0;
140
+ }
141
+
142
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar.ck-table-cell-properties-form__vertical-alignment-toolbar {
143
+ flex-grow: 1;
144
+ }
161
145
 
162
146
  .ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:first-of-type {
163
- /* 4 buttons out of 7 (h-alignment + v-alignment) = 0.57 */
164
- flex-grow: 0.57;
165
- }
147
+ flex-grow: .57;
148
+ }
166
149
 
167
150
  .ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:last-of-type {
168
- /* 3 buttons out of 7 (h-alignment + v-alignment) = 0.43 */
169
- flex-grow: 0.43;
170
- }
151
+ flex-grow: .43;
152
+ }
171
153
 
172
154
  .ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar .ck-button {
173
- flex-grow: 1;
174
- }
155
+ flex-grow: 1;
156
+ }
175
157
 
176
- /*
177
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
178
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
179
- */
158
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row {
159
+ flex-wrap: wrap;
160
+ }
180
161
 
181
- .ck-editor__editable.ck-editor__editable_inline > .ck-widget.ck-widget_with-selection-handle.layout-table:first-child {
182
- margin-top: var(--ck-spacing-large);
183
- }
162
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-form__border-row .ck-labeled-field-view > .ck-label {
163
+ font-size: var(--ck-font-size-tiny);
164
+ text-align: center;
165
+ }
184
166
 
185
- /*
186
- * This value should match with the default margins of the block elements (like .media, .image or .table)
187
- * to avoid a content jumping when the fake selection container shows up (See https://github.com/ckeditor/ckeditor5/issues/9825).
188
- */
167
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-style, .ck.ck-table-cell-properties-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-width {
168
+ width: 80px;
169
+ min-width: 80px;
170
+ max-width: 80px;
171
+ }
189
172
 
190
- .ck-editor__editable.ck-editor__editable_inline > .ck-widget.ck-widget_with-selection-handle.layout-table:last-child,
191
-
192
- .ck-editor__editable.ck-editor__editable_inline > .ck-widget.ck-widget_with-selection-handle.layout-table:nth-last-child(2):has( + .ck-fake-selection-container) {
193
- margin-bottom: var(--ck-spacing-large);
194
- }
173
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-form__dimensions-row {
174
+ --ck-table-form-dimensions-input-width: calc(var(--ck-table-form-default-input-width) * 2 + var(--ck-spacing-large));
175
+ width: var(--ck-table-form-dimensions-input-width);
176
+ max-width: var(--ck-table-form-dimensions-input-width);
177
+ min-width: var(--ck-table-form-dimensions-input-width);
178
+ padding: 0;
179
+ }
195
180
 
196
- .ck-editor__editable .table.layout-table {
197
- display: table;
198
- margin: 0;
181
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__width, .ck.ck-table-cell-properties-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__height {
182
+ width: var(--ck-table-form-default-input-width);
183
+ min-width: var(--ck-table-form-default-input-width);
184
+ max-width: var(--ck-table-form-default-input-width);
185
+ margin: 0;
186
+ }
199
187
 
200
- /* Widget type around overrides. */
201
- }
188
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator {
189
+ width: 0;
190
+ height: var(--ck-ui-component-min-height);
191
+ line-height: var(--ck-ui-component-min-height);
192
+ margin: 0 var(--ck-spacing-small);
193
+ align-self: flex-end;
194
+ display: inline-block;
195
+ position: relative;
196
+ left: -.5ch;
197
+ overflow: visible;
198
+ }
202
199
 
203
- .ck-editor__editable .table.layout-table.ck-widget:hover {
204
- /* To prevent the widget outline from being cut off at the bottom
205
- when the next cell or table has a background color, for example. */
206
- z-index: var(--ck-z-default);
207
- }
200
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-form__row.ck-table-form__action-row > .ck.ck-button {
201
+ flex-grow: initial;
202
+ }
208
203
 
209
- .ck-editor__editable .table.layout-table.ck-widget:hover > .ck-widget__selection-handle {
210
- opacity: 0.75;
211
- visibility: visible;
212
- }
204
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-form__row.ck-table-form__action-row > .ck.ck-button .ck-button__label {
205
+ color: currentColor;
206
+ }
213
207
 
214
- .ck-editor__editable .table.layout-table.ck-widget:hover > .ck-widget__selection-handle:hover {
215
- opacity: 1;
216
- }
208
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-form__cell-type-row {
209
+ --ck-table-form-dimensions-input-width: calc(var(--ck-table-form-default-input-width) * 2 + var(--ck-spacing-large));
210
+ width: var(--ck-table-form-dimensions-input-width);
211
+ max-width: var(--ck-table-form-dimensions-input-width);
212
+ min-width: var(--ck-table-form-dimensions-input-width);
213
+ padding: 0;
214
+ }
217
215
 
218
- /* Because of setting the opacity to 0.75 to the selection handle for the layout table,
219
- it overrides the similar selector in widget (specificity is higher),
220
- thats why we must override it here also. */
216
+ :root {
217
+ --ck-table-layout-widget-type-around-button-size: 16px;
218
+ --ck-table-layout-widget-type-around-icon-width: 10px;
219
+ --ck-table-layout-widget-type-around-icon-height: 8px;
220
+ --ck-table-layout-widget-handler-icon-size: 10px;
221
+ --ck-table-layout-default-border-color: #d4d4d4;
222
+ }
221
223
 
222
- .ck-editor__editable .table.layout-table.ck-widget:has( .ck-widget.table:hover ) > .ck-widget__selection-handle {
223
- opacity: 0;
224
- visibility: hidden;
225
- }
224
+ .ck-content table.table.layout-table, .ck-content figure.table.layout-table {
225
+ margin-top: 0;
226
+ margin-bottom: 0;
227
+ }
226
228
 
227
- .ck-editor__editable .table.layout-table.ck-widget.ck-widget_selected {
228
- /* To prevent the widget outline from being cut off at the bottom
229
- when the next cell or table has a background color, for example. */
230
- z-index: var(--ck-z-default);
231
- }
232
-
233
- .ck-content table.table.layout-table,
234
- .ck-content figure.table.layout-table {
235
- /* Do not reserve space above and below the layout table. */
236
- margin-top: 0;
237
- margin-bottom: 0;
238
- }
239
-
240
- .ck-content table.table.layout-table,
241
- .ck-content figure.table.layout-table > table {
242
- border-spacing: 0;
243
- }
244
-
245
- /*
246
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
247
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
248
- */
229
+ .ck-content table.table.layout-table, .ck-content figure.table.layout-table > table {
230
+ border-spacing: 0;
231
+ }
249
232
 
250
- .ck.ck-form__row.ck-table-form__action-row .ck-button-save,
251
- .ck.ck-form__row.ck-table-form__action-row .ck-button-cancel {
252
- justify-content: center;
253
- }
233
+ .ck-editor__editable .table.layout-table > table {
234
+ border-collapse: revert;
235
+ width: 100%;
236
+ height: 100%;
237
+ }
254
238
 
255
- /*
256
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
257
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
258
- */
239
+ .ck-editor__editable .table.layout-table > table:not([style*="border:"], [style*="border-top"], [style*="border-bottom"], [style*="border-left"], [style*="border-right"], [style*="border-width"], [style*="border-style"], [style*="border-color"]) {
240
+ border-width: 0;
241
+ border-color: #0000;
242
+ outline: none;
243
+ }
259
244
 
260
- .ck.ck-table-form .ck-form__row.ck-table-form__border-row,
261
- .ck.ck-table-form .ck-form__row.ck-table-form__background-row,
262
- .ck.ck-table-form .ck-form__row.ck-table-form__cell-type-row {
263
- flex-wrap: wrap;
264
- }
245
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td {
246
+ box-shadow: revert;
247
+ padding: revert;
248
+ text-indent: 1px;
249
+ border-color: var(--ck-table-layout-default-border-color);
250
+ border-style: dashed;
251
+ min-width: 2em;
252
+ }
265
253
 
266
- .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row,
267
- .ck.ck-table-form .ck-form__row.ck-table-form__cell-type-row {
268
- flex-wrap: wrap;
269
- align-items: center;
270
- }
254
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td[style^="width:"], .ck-editor__editable .table.layout-table > table > tbody > tr > td[style*=" width:"], .ck-editor__editable .table.layout-table > table > tbody > tr > td[style*=";width:"] {
255
+ min-width: auto;
256
+ }
271
257
 
272
- .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view, .ck.ck-table-form .ck-form__row.ck-table-form__cell-type-row .ck-labeled-field-view {
273
- display: flex;
274
- flex-direction: column-reverse;
275
- align-items: center;
276
- }
258
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td:focus {
259
+ background-color: #0000;
260
+ }
277
261
 
278
- .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view .ck.ck-dropdown, .ck.ck-table-form .ck-form__row.ck-table-form__cell-type-row .ck-labeled-field-view .ck.ck-dropdown {
279
- flex-grow: 0;
280
- }
262
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td:not([style*="border:"], [style*="border-top"], [style*="border-bottom"], [style*="border-left"], [style*="border-right"], [style*="border-width"], [style*="border-style"], [style*="border-color"]) {
263
+ outline: var(--ck-table-layout-default-border-color) 1px dashed;
264
+ outline-offset: -1px;
265
+ border-width: 0;
266
+ border-color: #0000;
267
+ }
281
268
 
282
- .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator, .ck.ck-table-form .ck-form__row.ck-table-form__cell-type-row .ck-table-form__dimension-operator {
283
- flex-grow: 0;
284
- }
269
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td:not([style*="border:"], [style*="border-top"], [style*="border-bottom"], [style*="border-left"], [style*="border-right"], [style*="border-width"], [style*="border-style"], [style*="border-color"]):focus {
270
+ outline: var(--ck-color-focus-border) 1px solid;
271
+ }
285
272
 
286
- /* Ignore labels that work as fieldset legends */
273
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td > .ck-table-bogus-paragraph {
274
+ text-indent: 0;
275
+ width: calc(100% - 1px);
276
+ }
287
277
 
288
- /* Fallback for table dimension operator */
278
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around {
279
+ --ck-widget-type-around-button-size: var(--ck-table-layout-widget-type-around-button-size);
280
+ }
289
281
 
290
- .ck.ck-table-form .ck-form__row > *:not(.ck-label, .ck-table-form__dimension-operator) {
291
- flex-grow: 1;
292
- }
282
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_before, .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_after {
283
+ z-index: 2;
284
+ transform: translateY(0);
285
+ }
293
286
 
294
- .ck.ck-table-form .ck.ck-labeled-field-view {
295
- /* Allow absolute positioning of the status (error) balloons. */
296
- position: relative;
297
- }
287
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_before {
288
+ margin-left: var(--ck-table-layout-widget-type-around-button-size);
289
+ border-radius: 0 0 100px 100px;
290
+ left: min(10%, 30px);
291
+ }
298
292
 
299
- .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status {
300
- position: absolute;
301
- left: 50%;
302
- bottom: calc( -1 * var(--ck-table-properties-error-arrow-size) );
303
- transform: translate(-50%,100%);
304
-
305
- /* Make sure the balloon status stays on top of other form elements. */
306
- z-index: 1;
307
-
308
- /* The arrow pointing towards the field. */
309
- }
310
-
311
- .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status::after {
312
- content: "";
313
- position: absolute;
314
- top: calc( -1 * var(--ck-table-properties-error-arrow-size) );
315
- left: 50%;
316
- transform: translateX( -50% );
317
- }
318
-
319
- /*
320
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
321
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
322
- */
293
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_before:after {
294
+ border-radius: 0 0 100px 100px;
295
+ }
323
296
 
324
- .ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row {
325
- flex-wrap: wrap;
326
- flex-basis: 0;
327
- align-content: baseline;
328
- }
297
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_after {
298
+ border-radius: 100px 100px 0 0;
299
+ }
329
300
 
330
- .ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items {
331
- flex-wrap: nowrap;
332
- }
301
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_after:after {
302
+ border-radius: 100px 100px 0 0;
303
+ }
333
304
 
334
- /*
335
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
336
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
337
- */
305
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button svg {
306
+ width: var(--ck-table-layout-widget-type-around-icon-width);
307
+ height: var(--ck-table-layout-widget-type-around-icon-height);
308
+ }
338
309
 
339
- /*
340
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
341
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
342
- */
310
+ .ck-editor__editable .table.layout-table.ck-widget.ck-widget_with-selection-handle > .ck-widget__selection-handle {
311
+ --ck-widget-handler-icon-size: var(--ck-table-layout-widget-handler-icon-size);
312
+ transform: translateY(calc(0px - var(--ck-widget-outline-thickness)));
313
+ z-index: 3;
314
+ }
343
315
 
344
- :root {
345
- --ck-content-color-table-caption-background: hsl(0, 0%, 97%);
346
- --ck-content-color-table-caption-text: hsl(0, 0%, 20%);
347
- --ck-color-table-caption-highlighted-background: hsl(52deg 100% 50%);
348
- }
349
-
350
- /* Content styles */
351
- .ck-content .table > figcaption,
352
- .ck-content figure.table > table > caption {
353
- display: table-caption;
354
- caption-side: top;
355
- word-break: normal;
356
- overflow-wrap: anywhere;
357
- text-align: center;
358
- color: var(--ck-content-color-table-caption-text);
359
- background-color: var(--ck-content-color-table-caption-background);
360
- padding: .6em;
361
- font-size: .75em;
362
- outline-offset: -1px;
363
-
364
- /* Improve placeholder rendering in high-constrast mode (https://github.com/ckeditor/ckeditor5/issues/14907). */
316
+ .ck-editor__editable .table.layout-table.ck-widget.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
317
+ top: 0;
365
318
  }
366
- @media (forced-colors: active) {
367
- .ck-content .table > figcaption, .ck-content figure.table > table > caption {
368
- background-color: unset;
369
- color: unset;
370
- }
371
- }
372
319
 
373
- /* Editing styles */
374
- @media (forced-colors: none) {
375
- .ck.ck-editor__editable .table > figcaption.table__caption_highlighted, .ck.ck-editor__editable figure.table > table > caption.table__caption_highlighted {
376
- animation: ck-table-caption-highlight .6s ease-out;
377
- }
378
- }
379
- .ck.ck-editor__editable .table > figcaption.ck-placeholder::before, .ck.ck-editor__editable figure.table > table > caption.ck-placeholder::before {
380
- padding-left: inherit;
381
- padding-right: inherit;
382
-
383
- /*
384
- * Make sure the table caption placeholder doesn't overflow the placeholder area.
385
- * See https://github.com/ckeditor/ckeditor5/issues/9162.
386
- */
387
- white-space: nowrap;
388
- overflow: hidden;
389
- text-overflow: ellipsis;
390
- }
320
+ .ck-editor__editable .table.layout-table.ck-widget.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
321
+ bottom: 0;
322
+ }
391
323
 
392
- @keyframes ck-table-caption-highlight {
393
- 0% {
394
- background-color: var(--ck-color-table-caption-highlighted-background);
395
- }
324
+ .ck-editor__editable .table.layout-table.ck-widget:hover {
325
+ z-index: var(--ck-z-default);
326
+ }
396
327
 
397
- 100% {
398
- background-color: var(--ck-content-color-table-caption-background);
399
- }
328
+ .ck-editor__editable .table.layout-table.ck-widget:hover > .ck-widget__selection-handle {
329
+ opacity: .75;
330
+ visibility: visible;
400
331
  }
401
332
 
402
- /*
403
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
404
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
405
- */
333
+ .ck-editor__editable .table.layout-table.ck-widget:hover > .ck-widget__selection-handle:hover {
334
+ opacity: 1;
335
+ }
336
+
337
+ .ck-editor__editable .table.layout-table.ck-widget:has(.ck-widget.table:hover) > .ck-widget__selection-handle {
338
+ opacity: 0;
339
+ visibility: hidden;
340
+ }
341
+
342
+ .ck-editor__editable .table.layout-table.ck-widget.ck-widget_selected {
343
+ z-index: var(--ck-z-default);
344
+ }
345
+
346
+ .ck-editor__editable .table.layout-table {
347
+ margin: 0;
348
+ display: table;
349
+ }
350
+
351
+ .ck-editor__editable.ck-editor__editable_inline > .ck-widget.ck-widget_with-selection-handle.layout-table:first-child {
352
+ margin-top: var(--ck-spacing-large);
353
+ }
354
+
355
+ .ck-editor__editable.ck-editor__editable_inline > .ck-widget.ck-widget_with-selection-handle.layout-table:last-child, .ck-editor__editable.ck-editor__editable_inline > .ck-widget.ck-widget_with-selection-handle.layout-table:nth-last-child(2):has( + .ck-fake-selection-container) {
356
+ margin-bottom: var(--ck-spacing-large);
357
+ }
358
+
359
+ .ck.ck-form__row > :not(.ck-label) + * {
360
+ margin-inline-start: var(--ck-spacing-large);
361
+ }
362
+
363
+ .ck.ck-form__row > .ck-label {
364
+ width: 100%;
365
+ min-width: 100%;
366
+ }
367
+
368
+ .ck.ck-form__row.ck-table-form__action-row {
369
+ margin-top: var(--ck-spacing-large);
370
+ justify-content: flex-end;
371
+ }
372
+
373
+ .ck.ck-form__row.ck-table-form__action-row .ck-button-save, .ck.ck-form__row.ck-table-form__action-row .ck-button-cancel {
374
+ justify-content: center;
375
+ }
406
376
 
407
377
  :root {
408
- --ck-color-table-column-resizer-hover: var(--ck-color-base-active);
409
- --ck-table-column-resizer-width: 7px;
378
+ --ck-table-properties-error-arrow-size: 6px;
379
+ --ck-table-properties-min-error-width: 150px;
380
+ }
410
381
 
411
- /* The offset used for absolute positioning of the resizer element, so that it is placed exactly above the cell border.
412
- The value is: minus half the width of the resizer decreased additionaly by the half the width of the border (0.5px). */
413
- --ck-table-column-resizer-position-offset: calc(var(--ck-table-column-resizer-width) * -0.5 - 0.5px);
382
+ .ck.ck-table-form {
383
+ --ck-table-form-default-input-width: 80px;
414
384
  }
415
385
 
416
- .ck-content .table .ck-table-resized {
417
- table-layout: fixed;
386
+ .ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-labeled-field-view > .ck-label {
387
+ font-size: var(--ck-font-size-tiny);
388
+ text-align: center;
418
389
  }
419
390
 
420
- .ck-content .table td,
421
- .ck-content .table th {
422
- /* To prevent text overflowing beyond its cell when columns are resized by resize handler
423
- (https://github.com/ckeditor/ckeditor5/pull/14379#issuecomment-1589460978). */
424
- overflow-wrap: break-word;
391
+ .ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-style, .ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-width {
392
+ width: var(--ck-table-form-default-input-width);
393
+ min-width: var(--ck-table-form-default-input-width);
394
+ max-width: var(--ck-table-form-default-input-width);
425
395
  }
426
396
 
427
- .ck.ck-editor__editable .table td,
428
- .ck.ck-editor__editable .table th {
429
- /* The resizer element is placed inside each cell, so it must be positioned relatively to the cell. */
430
- position: relative;
397
+ .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row {
398
+ --ck-table-form-dimensions-input-width: calc(var(--ck-table-form-default-input-width) * 2 + var(--ck-spacing-large));
399
+ width: var(--ck-table-form-dimensions-input-width);
400
+ max-width: var(--ck-table-form-dimensions-input-width);
401
+ min-width: var(--ck-table-form-dimensions-input-width);
402
+ padding: 0;
431
403
  }
432
404
 
433
- .ck.ck-editor__editable .table .ck-table-column-resizer {
434
- position: absolute;
435
- top: 0;
436
- bottom: 0;
437
- right: var(--ck-table-column-resizer-position-offset);
438
- width: var(--ck-table-column-resizer-width);
439
- cursor: col-resize;
440
- user-select: none;
441
- z-index: var(--ck-z-default);
405
+ .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__width, .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__height {
406
+ width: var(--ck-table-form-default-input-width);
407
+ min-width: var(--ck-table-form-default-input-width);
408
+ max-width: var(--ck-table-form-default-input-width);
409
+ margin: 0;
442
410
  }
443
411
 
444
- .ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer {
445
- display: none;
412
+ .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator {
413
+ width: 0;
414
+ height: var(--ck-ui-component-min-height);
415
+ line-height: var(--ck-ui-component-min-height);
416
+ margin: 0 var(--ck-spacing-small);
417
+ align-self: flex-end;
418
+ display: inline-block;
419
+ position: relative;
420
+ left: -.5ch;
421
+ overflow: visible;
446
422
  }
447
423
 
448
- /* The resizer elements, which are extended to an extremely high height, break the drag & drop feature in Chrome. To make it work again,
449
- all resizers must be hidden while the table is dragged. */
450
- .ck.ck-editor__editable .table[draggable] .ck-table-column-resizer {
451
- display: none;
424
+ .ck.ck-table-form .ck-form__row.ck-table-form__border-row, .ck.ck-table-form .ck-form__row.ck-table-form__background-row, .ck.ck-table-form .ck-form__row.ck-table-form__cell-type-row {
425
+ flex-wrap: wrap;
452
426
  }
453
427
 
454
- .ck.ck-editor__editable .table .ck-table-column-resizer:hover,
455
- .ck.ck-editor__editable .table .ck-table-column-resizer__active {
456
- background-color: var(--ck-color-table-column-resizer-hover);
457
- opacity: 0.25;
428
+ .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row, .ck.ck-table-form .ck-form__row.ck-table-form__cell-type-row {
429
+ flex-wrap: wrap;
430
+ align-items: center;
458
431
  }
459
432
 
460
- .ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer {
461
- left: var(--ck-table-column-resizer-position-offset);
462
- right: unset;
433
+ :is(.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row, .ck.ck-table-form .ck-form__row.ck-table-form__cell-type-row) .ck-labeled-field-view {
434
+ flex-direction: column-reverse;
435
+ align-items: center;
436
+ display: flex;
463
437
  }
464
438
 
465
- /*
466
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
467
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
468
- */
439
+ :is(.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row, .ck.ck-table-form .ck-form__row.ck-table-form__cell-type-row) .ck-labeled-field-view .ck.ck-dropdown {
440
+ flex-grow: 0;
441
+ }
469
442
 
470
- :root {
471
- --ck-content-table-style-spacing: 1.5em;
443
+ .ck.ck-table-form .ck-form__row:not(.ck-table-form__action-row) > :not(.ck-label, .ck-table-form__dimension-operator) {
444
+ flex-grow: 1;
445
+ }
446
+
447
+ .ck.ck-table-form .ck.ck-labeled-field-view {
448
+ padding-top: var(--ck-spacing-standard);
449
+ }
450
+
451
+ .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status {
452
+ border-radius: var(--ck-rounded-corners-radius);
453
+ background: var(--ck-color-base-error);
454
+ color: var(--ck-color-base-background);
455
+ padding: var(--ck-spacing-small) var(--ck-spacing-medium);
456
+ min-width: var(--ck-table-properties-min-error-width);
457
+ text-align: center;
458
+ left: 50%;
459
+ bottom: calc(-1 * var(--ck-table-properties-error-arrow-size));
460
+ animation: .15s both ck-table-form-labeled-view-status-appear;
461
+ position: absolute;
462
+ transform: translate(-50%, 100%);
463
+ }
464
+
465
+ .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after {
466
+ border-color: transparent transparent var(--ck-color-base-error) transparent;
467
+ border-width: 0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size);
468
+ content: "";
469
+ top: calc(-1 * var(--ck-table-properties-error-arrow-size));
470
+ border-style: solid;
471
+ position: absolute;
472
+ left: 50%;
473
+ transform: translateX(-50%);
474
+ }
475
+
476
+ @media (prefers-reduced-motion: reduce) {
477
+ .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status {
478
+ animation: none;
479
+ }
480
+ }
481
+
482
+ .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status {
483
+ z-index: 1;
484
+ }
485
+
486
+ .ck.ck-table-form .ck.ck-labeled-field-view .ck-input.ck-error:not(:focus) + .ck.ck-labeled-field-view__status {
487
+ display: none;
488
+ }
489
+
490
+ .ck.ck-table-form .ck.ck-labeled-field-view {
491
+ position: relative;
492
+ }
493
+
494
+ @keyframes ck-table-form-labeled-view-status-appear {
495
+ 0% {
496
+ opacity: 0;
497
+ }
498
+
499
+ 100% {
500
+ opacity: 1;
501
+ }
502
+ }
503
+
504
+ .ck.ck-table-properties-form {
505
+ width: 320px;
472
506
  }
473
507
 
474
508
  .ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row {
475
- flex-wrap: wrap;
476
- flex-basis: 0;
477
- align-content: baseline;
478
- }
509
+ flex-wrap: wrap;
510
+ flex-basis: 0;
511
+ align-content: baseline;
512
+ align-self: flex-end;
513
+ }
514
+
515
+ .ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar {
516
+ margin-top: var(--ck-spacing-standard);
517
+ background: none;
518
+ }
519
+
520
+ .ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items > * {
521
+ flex: 1;
522
+ }
479
523
 
480
524
  .ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items {
481
- flex-wrap: nowrap;
482
- }
525
+ flex-wrap: nowrap;
526
+ }
527
+
528
+ :root {
529
+ --ck-content-table-style-spacing: 1.5em;
530
+ }
483
531
 
484
532
  .ck-content .table.table-style-align-left {
485
- float: left;
486
- margin-right: var(--ck-content-table-style-spacing);
487
- }
533
+ float: left;
534
+ margin-right: var(--ck-content-table-style-spacing);
535
+ }
488
536
 
489
537
  .ck-content .table.table-style-align-right {
490
- float: right;
491
- margin-left: var(--ck-content-table-style-spacing);
492
- }
538
+ float: right;
539
+ margin-left: var(--ck-content-table-style-spacing);
540
+ }
493
541
 
494
542
  .ck-content .table.table-style-align-center {
495
- margin-left: auto;
496
- margin-right: auto;
497
- }
543
+ margin-left: auto;
544
+ margin-right: auto;
545
+ }
498
546
 
499
547
  .ck-content .table.table-style-block-align-left {
500
- margin-left: 0;
501
- margin-right: auto;
502
- }
548
+ margin-left: 0;
549
+ margin-right: auto;
550
+ }
503
551
 
504
552
  .ck-content .table.table-style-block-align-right {
505
- margin-left: auto;
506
- margin-right: 0;
507
- }
553
+ margin-left: auto;
554
+ margin-right: 0;
555
+ }
508
556
 
509
557
  .ck-editor__editable .table.layout-table.table-style-align-center {
510
- margin-left: auto;
511
- margin-right: auto;
512
- }
558
+ margin-left: auto;
559
+ margin-right: auto;
560
+ }
513
561
 
514
562
  .ck-editor__editable .table.layout-table.table-style-align-left {
515
- margin-right: var(--ck-content-table-style-spacing);
516
- }
563
+ margin-right: var(--ck-content-table-style-spacing);
564
+ }
517
565
 
518
566
  .ck-editor__editable .table.layout-table.table-style-align-right {
519
- margin-left: var(--ck-content-table-style-spacing);
520
- }
567
+ margin-left: var(--ck-content-table-style-spacing);
568
+ }
521
569
 
522
570
  .ck-editor__editable .table.layout-table.table-style-block-align-left {
523
- margin-left: 0;
524
- margin-right: auto;
525
- }
571
+ margin-left: 0;
572
+ margin-right: auto;
573
+ }
526
574
 
527
575
  .ck-editor__editable .table.layout-table.table-style-block-align-right {
528
- margin-left: auto;
529
- margin-right: 0;
530
- }
576
+ margin-left: auto;
577
+ margin-right: 0;
578
+ }
531
579
 
532
- /*
533
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
534
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
535
- */
580
+ :root {
581
+ --ck-content-color-table-caption-background: #f7f7f7;
582
+ --ck-content-color-table-caption-text: #333;
583
+ --ck-color-table-caption-highlighted-background: #fd0;
584
+ }
536
585
 
537
- /*
538
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
539
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
540
- */
541
- /*
542
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
543
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
544
- */
586
+ .ck-content .table > figcaption, .ck-content figure.table > table > caption {
587
+ caption-side: top;
588
+ word-break: normal;
589
+ overflow-wrap: anywhere;
590
+ text-align: center;
591
+ color: var(--ck-content-color-table-caption-text);
592
+ background-color: var(--ck-content-color-table-caption-background);
593
+ outline-offset: -1px;
594
+ padding: .6em;
595
+ font-size: .75em;
596
+ display: table-caption;
597
+ }
545
598
 
546
- :root {
547
- --ck-form-default-width: 340px;
599
+ @media (forced-colors: active) {
600
+ .ck-content .table > figcaption, .ck-content figure.table > table > caption {
601
+ background-color: unset;
602
+ color: unset;
603
+ }
604
+ }
605
+
606
+ @media (forced-colors: none) {
607
+ :is(.ck.ck-editor__editable .table > figcaption, .ck.ck-editor__editable figure.table > table > caption).table__caption_highlighted {
608
+ animation: .6s ease-out ck-table-caption-highlight;
609
+ }
548
610
  }
549
611
 
550
- .ck.ck-form {
551
- padding: 0 0 var(--ck-spacing-large);
612
+ :is(.ck.ck-editor__editable .table > figcaption, .ck.ck-editor__editable figure.table > table > caption).ck-placeholder:before {
613
+ padding-left: inherit;
614
+ padding-right: inherit;
615
+ white-space: nowrap;
616
+ text-overflow: ellipsis;
617
+ overflow: hidden;
552
618
  }
553
619
 
554
- .ck.ck-form.ck-form_default-width {
555
- width: var(--ck-form-default-width);
556
- }
620
+ @keyframes ck-table-caption-highlight {
621
+ 0% {
622
+ background-color: var(--ck-color-table-caption-highlighted-background);
623
+ }
557
624
 
558
- .ck.ck-form:focus {
559
- outline: none;
560
- }
625
+ 100% {
626
+ background-color: var(--ck-content-color-table-caption-background);
627
+ }
628
+ }
561
629
 
562
- .ck.ck-form .ck.ck-input-text,
563
- .ck.ck-form .ck.ck-input-number {
564
- min-width: 100%;
565
- width: 0;
566
- }
630
+ :root {
631
+ --ck-table-selected-cell-background: #9ecffa4d;
632
+ }
567
633
 
568
- .ck.ck-form .ck.ck-dropdown {
569
- min-width: 100%;
570
- }
634
+ .ck.ck-editor__editable .table table td.ck-editor__editable_selected, .ck.ck-editor__editable .table table th.ck-editor__editable_selected {
635
+ caret-color: #0000;
636
+ box-shadow: unset;
637
+ position: relative;
638
+ }
571
639
 
572
- .ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus) {
573
- border: 1px solid var(--ck-color-base-border);
574
- }
640
+ :is(.ck.ck-editor__editable .table table td.ck-editor__editable_selected, .ck.ck-editor__editable .table table th.ck-editor__editable_selected):after {
641
+ content: "";
642
+ pointer-events: none;
643
+ background-color: var(--ck-table-selected-cell-background);
644
+ position: absolute;
645
+ inset: 0;
646
+ }
575
647
 
576
- .ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label {
577
- width: 100%;
578
- }
648
+ :is(.ck.ck-editor__editable .table table td.ck-editor__editable_selected, .ck.ck-editor__editable .table table th.ck-editor__editable_selected) ::selection, :is(.ck.ck-editor__editable .table table td.ck-editor__editable_selected, .ck.ck-editor__editable .table table th.ck-editor__editable_selected):focus {
649
+ background-color: #0000;
650
+ }
579
651
 
580
- /* Default `ck-responsive-form` customization when it lies next to `ck-form` class */
652
+ :is(.ck.ck-editor__editable .table table td.ck-editor__editable_selected, .ck.ck-editor__editable .table table th.ck-editor__editable_selected) .ck-widget {
653
+ outline: unset;
654
+ }
581
655
 
582
- @media screen and (max-width: 600px) {
656
+ :is(.ck.ck-editor__editable .table table td.ck-editor__editable_selected, .ck.ck-editor__editable .table table th.ck-editor__editable_selected) .ck-widget > .ck-widget__selection-handle {
657
+ display: none;
658
+ }
659
+
660
+ :root {
661
+ --ck-color-table-column-resizer-hover: var(--ck-color-base-active);
662
+ --ck-table-column-resizer-width: 7px;
663
+ --ck-table-column-resizer-position-offset: calc(var(--ck-table-column-resizer-width) * -.5 - .5px);
664
+ }
583
665
 
584
- .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit {
585
- flex-direction: column;
586
- align-items: stretch;
587
- padding: 0;
588
- }
589
- }
666
+ .ck-content .table .ck-table-resized {
667
+ table-layout: fixed;
668
+ }
590
669
 
591
- @media screen and (max-width: 600px) {
670
+ .ck-content .table td, .ck-content .table th {
671
+ overflow-wrap: break-word;
672
+ }
592
673
 
593
- .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit > .ck {
594
- margin: var(--ck-spacing-large) var(--ck-spacing-large) 0;
595
- }
596
- }
674
+ .ck.ck-editor__editable .table td, .ck.ck-editor__editable .table th {
675
+ position: relative;
676
+ }
597
677
 
598
- @media screen and (max-width: 600px) {
678
+ .ck.ck-editor__editable .table .ck-table-column-resizer {
679
+ top: 0;
680
+ bottom: 0;
681
+ right: var(--ck-table-column-resizer-position-offset);
682
+ width: var(--ck-table-column-resizer-width);
683
+ cursor: col-resize;
684
+ user-select: none;
685
+ z-index: var(--ck-z-default);
686
+ position: absolute;
687
+ }
599
688
 
600
- .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit .ck-button_with-text {
601
- justify-content: center;
602
- }
603
- }
689
+ .ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer, .ck.ck-editor__editable .table[draggable] .ck-table-column-resizer {
690
+ display: none;
691
+ }
604
692
 
605
- @media screen and (max-width: 600px) {
693
+ .ck.ck-editor__editable .table .ck-table-column-resizer:hover, .ck.ck-editor__editable .table .ck-table-column-resizer__active {
694
+ background-color: var(--ck-color-table-column-resizer-hover);
695
+ opacity: .25;
696
+ }
606
697
 
607
- .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_large-bottom-padding {
608
- padding-bottom: var(--ck-spacing-large);
609
- }
610
- }
698
+ .ck.ck-editor__editable[dir="rtl"] .table .ck-table-column-resizer {
699
+ left: var(--ck-table-column-resizer-position-offset);
700
+ right: unset;
701
+ }
611
702
 
612
- [dir="ltr"] .ck.ck-form.ck-responsive-form > :not(:first-child) {
613
- margin-left: 0;
614
- }
703
+ [dir="ltr"] :is(.ck.ck-input-color > .ck.ck-input-text) {
704
+ border-top-right-radius: 0;
705
+ border-bottom-right-radius: 0;
706
+ }
615
707
 
616
- [dir="rtl"] .ck.ck-form.ck-responsive-form > :not(:last-child) {
617
- margin-left: 0;
618
- }
708
+ [dir="rtl"] :is(.ck.ck-input-color > .ck.ck-input-text) {
709
+ border-top-left-radius: 0;
710
+ border-bottom-left-radius: 0;
711
+ }
619
712
 
620
- /* End of `ck-responsive-form` customization */
713
+ .ck.ck-input-color > .ck.ck-input-text:focus {
714
+ z-index: 0;
715
+ }
621
716
 
622
- /*
623
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
624
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
625
- */
717
+ .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button {
718
+ padding: 0;
719
+ display: flex;
720
+ }
626
721
 
627
- .ck.ck-form__row.ck-table-form__action-row {
628
- justify-content: flex-end;
629
- }
722
+ [dir="ltr"] :is(.ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button) {
723
+ border-top-left-radius: 0;
724
+ border-bottom-left-radius: 0;
725
+ }
630
726
 
631
- .ck.ck-form__row.ck-table-form__action-row .ck-button-save,
632
- .ck.ck-form__row.ck-table-form__action-row .ck-button-cancel {
633
- justify-content: center;
634
- }
727
+ [dir="ltr"] :is(.ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button):not(:focus) {
728
+ border-left: 1px solid #0000;
729
+ }
635
730
 
636
- /*
637
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
638
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
639
- */
731
+ [dir="rtl"] :is(.ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button) {
732
+ border-top-right-radius: 0;
733
+ border-bottom-right-radius: 0;
734
+ }
640
735
 
641
- .ck.ck-table-form .ck-form__row.ck-table-form__border-row {
642
- flex-wrap: wrap;
643
- }
736
+ [dir="rtl"] :is(.ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button):not(:focus) {
737
+ border-right: 1px solid #0000;
738
+ }
644
739
 
645
- .ck.ck-table-form .ck-form__row.ck-table-form__background-row {
646
- flex-wrap: wrap;
647
- }
740
+ .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button.ck-disabled {
741
+ background: var(--ck-color-input-disabled-background);
742
+ }
648
743
 
649
- .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row {
650
- flex-wrap: wrap;
651
- align-items: center;
652
- }
744
+ .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button > .ck.ck-input-color__button__preview {
745
+ border-radius: var(--ck-rounded-corners-radius);
746
+ border: 1px solid var(--ck-color-input-border);
747
+ width: 20px;
748
+ height: 20px;
749
+ position: relative;
750
+ overflow: hidden;
751
+ }
653
752
 
654
- .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view {
655
- display: flex;
656
- flex-direction: column-reverse;
657
- align-items: center;
658
- }
753
+ .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button > .ck.ck-input-color__button__preview > .ck.ck-input-color__button__preview__no-color-indicator {
754
+ transform-origin: 50%;
755
+ background: red;
756
+ border-radius: 2px;
757
+ width: 8%;
758
+ height: 150%;
759
+ display: block;
760
+ position: absolute;
761
+ top: -30%;
762
+ left: 50%;
763
+ transform: rotate(45deg);
764
+ }
659
765
 
660
- .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view .ck.ck-dropdown {
661
- flex-grow: 0;
662
- }
766
+ .ck.ck-input-color .ck.ck-input-color__remove-color {
767
+ width: 100%;
768
+ padding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);
769
+ border-bottom-right-radius: 0;
770
+ border-bottom-left-radius: 0;
771
+ }
663
772
 
664
- /* Ignore labels that work as fieldset legends */
773
+ .ck.ck-input-color .ck.ck-input-color__remove-color:not(:focus) {
774
+ border-bottom: 1px solid var(--ck-color-input-border);
775
+ }
665
776
 
666
- /* Fallback for table dimension operator */
777
+ [dir="ltr"] :is(.ck.ck-input-color .ck.ck-input-color__remove-color) {
778
+ border-top-right-radius: 0;
779
+ }
667
780
 
668
- .ck.ck-table-form .ck-form__row:not(.ck-table-form__action-row) > *:not(.ck-label, .ck-table-form__dimension-operator) {
669
- flex-grow: 1;
670
- }
781
+ [dir="rtl"] :is(.ck.ck-input-color .ck.ck-input-color__remove-color) {
782
+ border-top-left-radius: 0;
783
+ }
671
784
 
672
- .ck.ck-table-form .ck.ck-labeled-field-view {
673
- /* Allow absolute positioning of the status (error) balloons. */
674
- position: relative;
675
- }
785
+ .ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon {
786
+ margin-right: var(--ck-spacing-standard);
787
+ }
676
788
 
677
- .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status {
678
- position: absolute;
679
- left: 50%;
680
- bottom: calc( -1 * var(--ck-table-properties-error-arrow-size) );
681
- transform: translate(-50%,100%);
682
-
683
- /* Make sure the balloon status stays on top of other form elements. */
684
- z-index: 1;
685
-
686
- /* The arrow pointing towards the field. */
687
- }
688
-
689
- .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status::after {
690
- content: "";
691
- position: absolute;
692
- top: calc( -1 * var(--ck-table-properties-error-arrow-size) );
693
- left: 50%;
694
- transform: translateX( -50% );
695
- }
696
-
697
- /*
698
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
699
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
700
- */
789
+ [dir="rtl"] :is(.ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon) {
790
+ margin-right: 0;
791
+ margin-left: var(--ck-spacing-standard);
792
+ }
701
793
 
702
794
  .ck.ck-input-color {
703
- width: 100%;
704
- display: flex;
705
- flex-direction: row-reverse;
795
+ flex-direction: row-reverse;
796
+ width: 100%;
797
+ display: flex;
706
798
  }
707
799
 
708
800
  .ck.ck-input-color > input.ck.ck-input-text {
709
- min-width: auto;
710
- flex-grow: 1;
711
- }
801
+ flex-grow: 1;
802
+ min-width: auto;
803
+ }
712
804
 
713
805
  .ck.ck-input-color > div.ck.ck-dropdown {
714
- min-width: auto;
715
-
716
- /* This dropdown has no arrow but a color preview instead. */
717
- }
806
+ min-width: auto;
807
+ }
718
808
 
719
809
  .ck.ck-input-color > div.ck.ck-dropdown > .ck-input-color__button .ck-dropdown__arrow {
720
- display: none;
721
- }
722
-
723
- .ck.ck-input-color .ck.ck-input-color__button {
724
- /* Resolving issue with misaligned buttons on Safari (see #10589) */
725
- display: flex;
726
- }
727
-
728
- .ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview {
729
- position: relative;
730
- overflow: hidden;
731
- }
732
-
733
- .ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview > .ck.ck-input-color__button__preview__no-color-indicator {
734
- position: absolute;
735
- display: block;
736
- }
737
-
738
- /*
739
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
740
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
741
- */
810
+ display: none;
811
+ }
812
+
813
+ :root {
814
+ --ck-insert-table-dropdown-padding: 10px;
815
+ --ck-insert-table-dropdown-box-height: 11px;
816
+ --ck-insert-table-dropdown-box-width: 12px;
817
+ --ck-insert-table-dropdown-box-margin: 1px;
818
+ }
742
819
 
743
820
  .ck .ck-insert-table-dropdown__grid {
744
- display: flex;
745
- flex-direction: row;
746
- flex-wrap: wrap;
821
+ width: calc(var(--ck-insert-table-dropdown-box-width) * 10 + var(--ck-insert-table-dropdown-box-margin) * 20 + var(--ck-insert-table-dropdown-padding) * 2);
822
+ padding: var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;
823
+ flex-flow: wrap;
824
+ display: flex;
825
+ }
826
+
827
+ .ck .ck-insert-table-dropdown__label, .ck[dir="rtl"] .ck-insert-table-dropdown__label {
828
+ text-align: center;
829
+ }
830
+
831
+ .ck .ck-insert-table-dropdown-grid-box {
832
+ min-width: var(--ck-insert-table-dropdown-box-width);
833
+ min-height: var(--ck-insert-table-dropdown-box-height);
834
+ margin: var(--ck-insert-table-dropdown-box-margin);
835
+ border: 1px solid var(--ck-color-base-border);
836
+ border-radius: 1px;
837
+ outline: none;
838
+ transition: none;
839
+ }
840
+
841
+ @media (prefers-reduced-motion: reduce) {
842
+ .ck .ck-insert-table-dropdown-grid-box {
843
+ transition: none;
844
+ }
845
+ }
846
+
847
+ .ck .ck-insert-table-dropdown-grid-box:focus {
848
+ box-shadow: none;
849
+ }
850
+
851
+ .ck .ck-insert-table-dropdown-grid-box.ck-on {
852
+ border-color: var(--ck-color-focus-border);
853
+ background: var(--ck-color-focus-outer-shadow);
747
854
  }
748
855
 
749
856
  /*# sourceMappingURL=index.css.map */