@ckeditor/ckeditor5-table 0.0.0-nightly-20250407.0 → 0.0.0-nightly-20250408.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 (321) hide show
  1. package/build/table.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/ckeditor5-metadata.json +2 -2
  75. package/dist/index-content.css +0 -4
  76. package/dist/index-editor.css +9 -3
  77. package/dist/index.css +13 -11
  78. package/dist/index.css.map +1 -1
  79. package/dist/index.js +278 -50
  80. package/dist/index.js.map +1 -1
  81. package/dist/translations/af.js +1 -1
  82. package/dist/translations/af.umd.js +1 -1
  83. package/dist/translations/ar.js +1 -1
  84. package/dist/translations/ar.umd.js +1 -1
  85. package/dist/translations/ast.js +1 -1
  86. package/dist/translations/ast.umd.js +1 -1
  87. package/dist/translations/az.js +1 -1
  88. package/dist/translations/az.umd.js +1 -1
  89. package/dist/translations/be.js +1 -1
  90. package/dist/translations/be.umd.js +1 -1
  91. package/dist/translations/bg.js +1 -1
  92. package/dist/translations/bg.umd.js +1 -1
  93. package/dist/translations/bn.js +1 -1
  94. package/dist/translations/bn.umd.js +1 -1
  95. package/dist/translations/bs.js +1 -1
  96. package/dist/translations/bs.umd.js +1 -1
  97. package/dist/translations/ca.js +1 -1
  98. package/dist/translations/ca.umd.js +1 -1
  99. package/dist/translations/cs.js +1 -1
  100. package/dist/translations/cs.umd.js +1 -1
  101. package/dist/translations/da.js +1 -1
  102. package/dist/translations/da.umd.js +1 -1
  103. package/dist/translations/de-ch.js +1 -1
  104. package/dist/translations/de-ch.umd.js +1 -1
  105. package/dist/translations/de.js +1 -1
  106. package/dist/translations/de.umd.js +1 -1
  107. package/dist/translations/el.js +1 -1
  108. package/dist/translations/el.umd.js +1 -1
  109. package/dist/translations/en-au.js +1 -1
  110. package/dist/translations/en-au.umd.js +1 -1
  111. package/dist/translations/en-gb.js +1 -1
  112. package/dist/translations/en-gb.umd.js +1 -1
  113. package/dist/translations/en.js +1 -1
  114. package/dist/translations/en.umd.js +1 -1
  115. package/dist/translations/eo.js +1 -1
  116. package/dist/translations/eo.umd.js +1 -1
  117. package/dist/translations/es-co.js +1 -1
  118. package/dist/translations/es-co.umd.js +1 -1
  119. package/dist/translations/es.js +1 -1
  120. package/dist/translations/es.umd.js +1 -1
  121. package/dist/translations/et.js +1 -1
  122. package/dist/translations/et.umd.js +1 -1
  123. package/dist/translations/eu.js +1 -1
  124. package/dist/translations/eu.umd.js +1 -1
  125. package/dist/translations/fa.js +1 -1
  126. package/dist/translations/fa.umd.js +1 -1
  127. package/dist/translations/fi.js +1 -1
  128. package/dist/translations/fi.umd.js +1 -1
  129. package/dist/translations/fr.js +1 -1
  130. package/dist/translations/fr.umd.js +1 -1
  131. package/dist/translations/gl.js +1 -1
  132. package/dist/translations/gl.umd.js +1 -1
  133. package/dist/translations/gu.js +1 -1
  134. package/dist/translations/gu.umd.js +1 -1
  135. package/dist/translations/he.js +1 -1
  136. package/dist/translations/he.umd.js +1 -1
  137. package/dist/translations/hi.js +1 -1
  138. package/dist/translations/hi.umd.js +1 -1
  139. package/dist/translations/hr.js +1 -1
  140. package/dist/translations/hr.umd.js +1 -1
  141. package/dist/translations/hu.js +1 -1
  142. package/dist/translations/hu.umd.js +1 -1
  143. package/dist/translations/hy.js +1 -1
  144. package/dist/translations/hy.umd.js +1 -1
  145. package/dist/translations/id.js +1 -1
  146. package/dist/translations/id.umd.js +1 -1
  147. package/dist/translations/it.js +1 -1
  148. package/dist/translations/it.umd.js +1 -1
  149. package/dist/translations/ja.js +1 -1
  150. package/dist/translations/ja.umd.js +1 -1
  151. package/dist/translations/jv.js +1 -1
  152. package/dist/translations/jv.umd.js +1 -1
  153. package/dist/translations/kk.js +1 -1
  154. package/dist/translations/kk.umd.js +1 -1
  155. package/dist/translations/km.js +1 -1
  156. package/dist/translations/km.umd.js +1 -1
  157. package/dist/translations/kn.js +1 -1
  158. package/dist/translations/kn.umd.js +1 -1
  159. package/dist/translations/ko.js +1 -1
  160. package/dist/translations/ko.umd.js +1 -1
  161. package/dist/translations/ku.js +1 -1
  162. package/dist/translations/ku.umd.js +1 -1
  163. package/dist/translations/lt.js +1 -1
  164. package/dist/translations/lt.umd.js +1 -1
  165. package/dist/translations/lv.js +1 -1
  166. package/dist/translations/lv.umd.js +1 -1
  167. package/dist/translations/ms.js +1 -1
  168. package/dist/translations/ms.umd.js +1 -1
  169. package/dist/translations/nb.js +1 -1
  170. package/dist/translations/nb.umd.js +1 -1
  171. package/dist/translations/ne.js +1 -1
  172. package/dist/translations/ne.umd.js +1 -1
  173. package/dist/translations/nl.js +1 -1
  174. package/dist/translations/nl.umd.js +1 -1
  175. package/dist/translations/no.js +1 -1
  176. package/dist/translations/no.umd.js +1 -1
  177. package/dist/translations/oc.js +1 -1
  178. package/dist/translations/oc.umd.js +1 -1
  179. package/dist/translations/pl.js +1 -1
  180. package/dist/translations/pl.umd.js +1 -1
  181. package/dist/translations/pt-br.js +1 -1
  182. package/dist/translations/pt-br.umd.js +1 -1
  183. package/dist/translations/pt.js +1 -1
  184. package/dist/translations/pt.umd.js +1 -1
  185. package/dist/translations/ro.js +1 -1
  186. package/dist/translations/ro.umd.js +1 -1
  187. package/dist/translations/ru.js +1 -1
  188. package/dist/translations/ru.umd.js +1 -1
  189. package/dist/translations/si.js +1 -1
  190. package/dist/translations/si.umd.js +1 -1
  191. package/dist/translations/sk.js +1 -1
  192. package/dist/translations/sk.umd.js +1 -1
  193. package/dist/translations/sl.js +1 -1
  194. package/dist/translations/sl.umd.js +1 -1
  195. package/dist/translations/sq.js +1 -1
  196. package/dist/translations/sq.umd.js +1 -1
  197. package/dist/translations/sr-latn.js +1 -1
  198. package/dist/translations/sr-latn.umd.js +1 -1
  199. package/dist/translations/sr.js +1 -1
  200. package/dist/translations/sr.umd.js +1 -1
  201. package/dist/translations/sv.js +1 -1
  202. package/dist/translations/sv.umd.js +1 -1
  203. package/dist/translations/th.js +1 -1
  204. package/dist/translations/th.umd.js +1 -1
  205. package/dist/translations/ti.js +1 -1
  206. package/dist/translations/ti.umd.js +1 -1
  207. package/dist/translations/tk.js +1 -1
  208. package/dist/translations/tk.umd.js +1 -1
  209. package/dist/translations/tr.js +1 -1
  210. package/dist/translations/tr.umd.js +1 -1
  211. package/dist/translations/tt.js +1 -1
  212. package/dist/translations/tt.umd.js +1 -1
  213. package/dist/translations/ug.js +1 -1
  214. package/dist/translations/ug.umd.js +1 -1
  215. package/dist/translations/uk.js +1 -1
  216. package/dist/translations/uk.umd.js +1 -1
  217. package/dist/translations/ur.js +1 -1
  218. package/dist/translations/ur.umd.js +1 -1
  219. package/dist/translations/uz.js +1 -1
  220. package/dist/translations/uz.umd.js +1 -1
  221. package/dist/translations/vi.js +1 -1
  222. package/dist/translations/vi.umd.js +1 -1
  223. package/dist/translations/zh-cn.js +1 -1
  224. package/dist/translations/zh-cn.umd.js +1 -1
  225. package/dist/translations/zh.js +1 -1
  226. package/dist/translations/zh.umd.js +1 -1
  227. package/lang/translations/af.po +28 -0
  228. package/lang/translations/ar.po +28 -0
  229. package/lang/translations/ast.po +28 -0
  230. package/lang/translations/az.po +28 -0
  231. package/lang/translations/be.po +28 -0
  232. package/lang/translations/bg.po +28 -0
  233. package/lang/translations/bn.po +28 -0
  234. package/lang/translations/bs.po +28 -0
  235. package/lang/translations/ca.po +28 -0
  236. package/lang/translations/cs.po +28 -0
  237. package/lang/translations/da.po +28 -0
  238. package/lang/translations/de-ch.po +28 -0
  239. package/lang/translations/de.po +28 -0
  240. package/lang/translations/el.po +28 -0
  241. package/lang/translations/en-au.po +28 -0
  242. package/lang/translations/en-gb.po +28 -0
  243. package/lang/translations/en.po +28 -0
  244. package/lang/translations/eo.po +28 -0
  245. package/lang/translations/es-co.po +28 -0
  246. package/lang/translations/es.po +28 -0
  247. package/lang/translations/et.po +28 -0
  248. package/lang/translations/eu.po +28 -0
  249. package/lang/translations/fa.po +28 -0
  250. package/lang/translations/fi.po +28 -0
  251. package/lang/translations/fr.po +28 -0
  252. package/lang/translations/gl.po +28 -0
  253. package/lang/translations/gu.po +28 -0
  254. package/lang/translations/he.po +28 -0
  255. package/lang/translations/hi.po +28 -0
  256. package/lang/translations/hr.po +28 -0
  257. package/lang/translations/hu.po +28 -0
  258. package/lang/translations/hy.po +28 -0
  259. package/lang/translations/id.po +28 -0
  260. package/lang/translations/it.po +28 -0
  261. package/lang/translations/ja.po +28 -0
  262. package/lang/translations/jv.po +28 -0
  263. package/lang/translations/kk.po +28 -0
  264. package/lang/translations/km.po +28 -0
  265. package/lang/translations/kn.po +28 -0
  266. package/lang/translations/ko.po +28 -0
  267. package/lang/translations/ku.po +28 -0
  268. package/lang/translations/lt.po +28 -0
  269. package/lang/translations/lv.po +28 -0
  270. package/lang/translations/ms.po +28 -0
  271. package/lang/translations/nb.po +28 -0
  272. package/lang/translations/ne.po +28 -0
  273. package/lang/translations/nl.po +28 -0
  274. package/lang/translations/no.po +28 -0
  275. package/lang/translations/oc.po +28 -0
  276. package/lang/translations/pl.po +28 -0
  277. package/lang/translations/pt-br.po +28 -0
  278. package/lang/translations/pt.po +28 -0
  279. package/lang/translations/ro.po +28 -0
  280. package/lang/translations/ru.po +28 -0
  281. package/lang/translations/si.po +28 -0
  282. package/lang/translations/sk.po +28 -0
  283. package/lang/translations/sl.po +28 -0
  284. package/lang/translations/sq.po +28 -0
  285. package/lang/translations/sr-latn.po +28 -0
  286. package/lang/translations/sr.po +28 -0
  287. package/lang/translations/sv.po +28 -0
  288. package/lang/translations/th.po +28 -0
  289. package/lang/translations/ti.po +28 -0
  290. package/lang/translations/tk.po +28 -0
  291. package/lang/translations/tr.po +28 -0
  292. package/lang/translations/tt.po +28 -0
  293. package/lang/translations/ug.po +28 -0
  294. package/lang/translations/uk.po +28 -0
  295. package/lang/translations/ur.po +28 -0
  296. package/lang/translations/uz.po +28 -0
  297. package/lang/translations/vi.po +28 -0
  298. package/lang/translations/zh-cn.po +28 -0
  299. package/lang/translations/zh.po +28 -0
  300. package/package.json +9 -9
  301. package/src/converters/tableproperties.d.ts +5 -1
  302. package/src/converters/tableproperties.js +27 -5
  303. package/src/tablecellproperties/commands/tablecellpropertycommand.d.ts +11 -1
  304. package/src/tablecellproperties/commands/tablecellpropertycommand.js +32 -2
  305. package/src/tablecellproperties/tablecellpropertiesediting.js +13 -9
  306. package/src/tablecellproperties/tablecellpropertiesui.d.ts +13 -1
  307. package/src/tablecellproperties/tablecellpropertiesui.js +36 -9
  308. package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +28 -0
  309. package/src/tablecolumnresize/tablecolumnresizeediting.js +81 -2
  310. package/src/tablelayout.d.ts +1 -1
  311. package/src/tablelayout.js +1 -1
  312. package/src/tableproperties/commands/tablepropertycommand.d.ts +11 -1
  313. package/src/tableproperties/commands/tablepropertycommand.js +15 -1
  314. package/src/tableproperties/tablepropertiesediting.js +53 -12
  315. package/src/tableproperties/tablepropertiesui.d.ts +13 -1
  316. package/src/tableproperties/tablepropertiesui.js +30 -8
  317. package/src/tableproperties/ui/tablepropertiesview.d.ts +2 -2
  318. package/src/utils/table-properties.d.ts +3 -3
  319. package/src/utils/ui/table-properties.js +7 -1
  320. package/theme/tablecolumnresize.css +0 -10
  321. package/theme/tablelayout.css +13 -1
@@ -266,3 +266,31 @@ msgstr "Kretanje kroz tabelu"
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr "Tabela"
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr "Umetnite raspored tabele"
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr "Raspored tabele"
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr "Tabela rasporeda"
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr "Tabela sadržaja"
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr "Izaberite tip tabele"
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr "Tip tabele"
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr "Opcije tipa tabele"
@@ -266,3 +266,31 @@ msgstr "Navigera i tabellen"
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr "Tabell"
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr "Infoga tabellayout"
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr "Tabellayout"
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr "Layouttabell"
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr "Innehållstabell"
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr "Välj tabelltyp"
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr "Tabelltyp"
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr "Alternativ för tabelltyp"
@@ -266,3 +266,31 @@ msgstr "นำทางผ่านตาราง"
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr "ตาราง"
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr "แทรกรูปแบบตาราง"
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr "รูปแบบตาราง"
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr "ตารางเค้าโครง"
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr "ตารางเนื้อหา"
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr "เลือกประเภทตาราง"
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr "ประเภทตาราง"
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr "ตัวเลือกประเภทตาราง"
@@ -266,3 +266,31 @@ msgstr ""
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr ""
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr ""
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr ""
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr ""
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr ""
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr ""
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr ""
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr ""
@@ -266,3 +266,31 @@ msgstr ""
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr ""
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr ""
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr ""
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr ""
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr ""
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr ""
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr ""
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr ""
@@ -266,3 +266,31 @@ msgstr "Tabloda gezin"
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr "Tablo"
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr "Tablo düzeni ekle"
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr "Tablo düzeni"
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr "Düzen tablosu"
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr "İçerik tablosu"
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr "Tablo türünü seç"
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr "Tablo türü"
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr "Tablo türü seçenekleri"
@@ -266,3 +266,31 @@ msgstr ""
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr ""
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr ""
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr ""
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr ""
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr ""
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr ""
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr ""
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr ""
@@ -266,3 +266,31 @@ msgstr ""
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr ""
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr ""
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr ""
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr ""
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr ""
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr ""
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr ""
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr ""
@@ -266,3 +266,31 @@ msgstr "Навігація по таблиці"
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr "Таблиця"
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr "Вставити формат таблиці"
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr "Формат таблиці"
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr "Формат таблиці"
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr "Вміст таблиці"
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr "Вибрати тип таблиці"
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr "Тип таблиці"
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr "Опції типу таблиці"
@@ -266,3 +266,31 @@ msgstr ""
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr ""
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr ""
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr ""
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr ""
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr ""
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr ""
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr ""
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr ""
@@ -266,3 +266,31 @@ msgstr ""
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr ""
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr ""
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr ""
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr ""
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr ""
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr ""
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr ""
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr ""
@@ -266,3 +266,31 @@ msgstr "Điều hướng qua bảng"
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr "Bảng"
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr "Chèn bố cục bảng"
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr "Bố cục bảng"
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr "Bảng bố cục"
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr "Bảng nội dung"
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr "Chọn loại bảng"
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr "Loại bảng"
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr "Tùy chọn loại bảng"
@@ -266,3 +266,31 @@ msgstr "在表格中进行导览"
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr "表格"
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr "插入表格布局"
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr "表格布局"
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr "布局表格"
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr "内容表格"
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr "选择表格类型"
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr "表格类型"
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr "表格类型选项"
@@ -266,3 +266,31 @@ msgstr "在表格中移動"
266
266
  msgctxt "The accessible label of the menu bar button that displays a user interface to insert a table into editor content."
267
267
  msgid "Table"
268
268
  msgstr "表格"
269
+
270
+ msgctxt "Label for the insert table layout toolbar button."
271
+ msgid "Insert table layout"
272
+ msgstr "插入表格版面配置"
273
+
274
+ msgctxt "The accessible label used in the table layout insert UI element."
275
+ msgid "Table layout"
276
+ msgstr "表格版面配置"
277
+
278
+ msgctxt "The accessible label of the layout table type dropdown button."
279
+ msgid "Layout table"
280
+ msgstr "版面配置表格"
281
+
282
+ msgctxt "The accessible label of the content table type dropdown button."
283
+ msgid "Content table"
284
+ msgstr "內容表格"
285
+
286
+ msgctxt "The accessible label of the table balloon button that displays a user interface to choose table type."
287
+ msgid "Choose table type"
288
+ msgstr "選擇表格類型"
289
+
290
+ msgctxt "The accessible label of the table type toolbar button."
291
+ msgid "Table type"
292
+ msgstr "表格類型"
293
+
294
+ msgctxt "The accessible label of dropdown list that displays a user interface to choose table type."
295
+ msgid "Table type options"
296
+ msgstr "表格類型選項"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-table",
3
- "version": "0.0.0-nightly-20250407.0",
3
+ "version": "0.0.0-nightly-20250408.0",
4
4
  "description": "Table feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,14 +13,14 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "ckeditor5": "0.0.0-nightly-20250407.0",
17
- "@ckeditor/ckeditor5-clipboard": "0.0.0-nightly-20250407.0",
18
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250407.0",
19
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250407.0",
20
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250407.0",
21
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250407.0",
22
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250407.0",
23
- "@ckeditor/ckeditor5-widget": "0.0.0-nightly-20250407.0",
16
+ "ckeditor5": "0.0.0-nightly-20250408.0",
17
+ "@ckeditor/ckeditor5-clipboard": "0.0.0-nightly-20250408.0",
18
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250408.0",
19
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250408.0",
20
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250408.0",
21
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250408.0",
22
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250408.0",
23
+ "@ckeditor/ckeditor5-widget": "0.0.0-nightly-20250408.0",
24
24
  "es-toolkit": "1.32.0"
25
25
  },
26
26
  "author": "CKSource (http://cksource.com/)",
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module table/converters/tableproperties
7
7
  */
8
- import type { Conversion, ViewElement } from 'ckeditor5/src/engine.js';
8
+ import type { Conversion, UpcastConversionData, ViewElement } from 'ckeditor5/src/engine.js';
9
9
  /**
10
10
  * Conversion helper for upcasting attributes using normalized styles.
11
11
  *
@@ -52,3 +52,7 @@ export declare function downcastTableAttribute(conversion: Conversion, options:
52
52
  modelAttribute: string;
53
53
  styleName: string;
54
54
  }): void;
55
+ /**
56
+ * Returns the default value for table or table cell property adjusted for layout tables.
57
+ */
58
+ export declare function getDefaultValueAdjusted(defaultValue: string, layoutTableDefault: string, data: UpcastConversionData<ViewElement>): string;
@@ -2,6 +2,7 @@
2
2
  * @license Copyright (c) 2003-2025, 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
+ import { first } from 'ckeditor5/src/utils.js';
5
6
  /**
6
7
  * Conversion helper for upcasting attributes using normalized styles.
7
8
  *
@@ -22,13 +23,14 @@ export function upcastStyleToAttribute(conversion, options) {
22
23
  },
23
24
  model: {
24
25
  key: modelAttribute,
25
- value: (viewElement) => {
26
+ value: (viewElement, conversionApi, data) => {
26
27
  if (!shouldUpcast(viewElement)) {
27
28
  return;
28
29
  }
30
+ const localDefaultValue = getDefaultValueAdjusted(defaultValue, '', data);
29
31
  const normalized = viewElement.getNormalizedStyle(styleName);
30
32
  const value = reduceBoxSides ? reduceBoxSidesValue(normalized) : normalized;
31
- if (defaultValue !== value) {
33
+ if (localDefaultValue !== value) {
32
34
  return value;
33
35
  }
34
36
  }
@@ -77,6 +79,15 @@ export function upcastBorderStyles(conversion, viewElementName, modelAttributes,
77
79
  return;
78
80
  }
79
81
  const modelElement = [...data.modelRange.getItems({ shallow: true })].pop();
82
+ const tableElement = modelElement.findAncestor('table', { includeSelf: true });
83
+ let localDefaultBorder = defaultBorder;
84
+ if (tableElement && tableElement.getAttribute('tableType') == 'layout') {
85
+ localDefaultBorder = {
86
+ style: 'none',
87
+ color: '',
88
+ width: ''
89
+ };
90
+ }
80
91
  conversionApi.consumable.consume(data.viewItem, matcherPattern);
81
92
  const normalizedBorder = {
82
93
  style: data.viewItem.getNormalizedStyle('border-style'),
@@ -88,13 +99,13 @@ export function upcastBorderStyles(conversion, viewElementName, modelAttributes,
88
99
  color: reduceBoxSidesValue(normalizedBorder.color),
89
100
  width: reduceBoxSidesValue(normalizedBorder.width)
90
101
  };
91
- if (reducedBorder.style !== defaultBorder.style) {
102
+ if (reducedBorder.style !== localDefaultBorder.style) {
92
103
  conversionApi.writer.setAttribute(modelAttributes.style, reducedBorder.style, modelElement);
93
104
  }
94
- if (reducedBorder.color !== defaultBorder.color) {
105
+ if (reducedBorder.color !== localDefaultBorder.color) {
95
106
  conversionApi.writer.setAttribute(modelAttributes.color, reducedBorder.color, modelElement);
96
107
  }
97
- if (reducedBorder.width !== defaultBorder.width) {
108
+ if (reducedBorder.width !== localDefaultBorder.width) {
98
109
  conversionApi.writer.setAttribute(modelAttributes.width, reducedBorder.width, modelElement);
99
110
  }
100
111
  }));
@@ -137,6 +148,17 @@ export function downcastTableAttribute(conversion, options) {
137
148
  }
138
149
  }));
139
150
  }
151
+ /**
152
+ * Returns the default value for table or table cell property adjusted for layout tables.
153
+ */
154
+ export function getDefaultValueAdjusted(defaultValue, layoutTableDefault, data) {
155
+ const modelElement = data.modelRange && first(data.modelRange.getItems({ shallow: true }));
156
+ const tableElement = modelElement && modelElement.is('element') && modelElement.findAncestor('table', { includeSelf: true });
157
+ if (tableElement && tableElement.getAttribute('tableType') === 'layout') {
158
+ return layoutTableDefault;
159
+ }
160
+ return defaultValue;
161
+ }
140
162
  /**
141
163
  * Reduces the full top, right, bottom, left object to a single string if all sides are equal.
142
164
  * Returns original style otherwise.
@@ -19,8 +19,18 @@ export default class TableCellPropertyCommand extends Command {
19
19
  readonly attributeName: string;
20
20
  /**
21
21
  * The default value for the attribute.
22
+ *
23
+ * @readonly
24
+ */
25
+ protected _defaultValue: string | undefined;
26
+ /**
27
+ * The default value for the attribute for the content table.
28
+ */
29
+ private readonly _defaultContentTableValue;
30
+ /**
31
+ * The default value for the attribute for the layout table.
22
32
  */
23
- protected readonly _defaultValue: string;
33
+ private readonly _defaultLayoutTableValue;
24
34
  /**
25
35
  * Creates a new `TableCellPropertyCommand` instance.
26
36
  *
@@ -6,6 +6,7 @@
6
6
  * @module table/tablecellproperties/commands/tablecellpropertycommand
7
7
  */
8
8
  import { Command } from 'ckeditor5/src/core.js';
9
+ import { getSelectionAffectedTable } from '../../utils/common.js';
9
10
  /**
10
11
  * The table cell attribute command.
11
12
  *
@@ -18,8 +19,18 @@ export default class TableCellPropertyCommand extends Command {
18
19
  attributeName;
19
20
  /**
20
21
  * The default value for the attribute.
22
+ *
23
+ * @readonly
21
24
  */
22
25
  _defaultValue;
26
+ /**
27
+ * The default value for the attribute for the content table.
28
+ */
29
+ _defaultContentTableValue;
30
+ /**
31
+ * The default value for the attribute for the layout table.
32
+ */
33
+ _defaultLayoutTableValue;
23
34
  /**
24
35
  * Creates a new `TableCellPropertyCommand` instance.
25
36
  *
@@ -30,15 +41,34 @@ export default class TableCellPropertyCommand extends Command {
30
41
  constructor(editor, attributeName, defaultValue) {
31
42
  super(editor);
32
43
  this.attributeName = attributeName;
33
- this._defaultValue = defaultValue;
44
+ this._defaultContentTableValue = defaultValue;
45
+ // Hardcoded defaults for layout table.
46
+ switch (attributeName) {
47
+ case 'tableCellBorderStyle':
48
+ this._defaultLayoutTableValue = 'none';
49
+ break;
50
+ case 'tableCellHorizontalAlignment':
51
+ this._defaultLayoutTableValue = 'left';
52
+ break;
53
+ case 'tableCellVerticalAlignment':
54
+ this._defaultLayoutTableValue = 'middle';
55
+ break;
56
+ default:
57
+ this._defaultLayoutTableValue = undefined;
58
+ }
34
59
  }
35
60
  /**
36
61
  * @inheritDoc
37
62
  */
38
63
  refresh() {
39
64
  const editor = this.editor;
65
+ const selection = editor.model.document.selection;
40
66
  const tableUtils = this.editor.plugins.get('TableUtils');
41
- const selectedTableCells = tableUtils.getSelectionAffectedTableCells(editor.model.document.selection);
67
+ const selectedTableCells = tableUtils.getSelectionAffectedTableCells(selection);
68
+ const table = getSelectionAffectedTable(selection);
69
+ this._defaultValue = !table || table.getAttribute('tableType') !== 'layout' ?
70
+ this._defaultContentTableValue :
71
+ this._defaultLayoutTableValue;
42
72
  this.isEnabled = !!selectedTableCells.length;
43
73
  this.value = this._getSingleValue(selectedTableCells);
44
74
  }