@ckeditor/ckeditor5-table 0.0.0-nightly-20260118.0 → 0.0.0-nightly-next-20260118.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.
- package/ckeditor5-metadata.json +16 -7
- package/{src → dist}/augmentation.d.ts +0 -15
- package/{src → dist}/commands/insertcolumncommand.d.ts +1 -1
- package/{src → dist}/commands/insertrowcommand.d.ts +1 -1
- package/{src → dist}/commands/inserttablecommand.d.ts +1 -1
- package/{src → dist}/commands/inserttablelayoutcommand.d.ts +1 -1
- package/{src → dist}/commands/mergecellcommand.d.ts +3 -3
- package/{src → dist}/commands/mergecellscommand.d.ts +1 -1
- package/{src → dist}/commands/removecolumncommand.d.ts +1 -1
- package/{src → dist}/commands/removerowcommand.d.ts +1 -1
- package/{src → dist}/commands/selectcolumncommand.d.ts +1 -1
- package/{src → dist}/commands/selectrowcommand.d.ts +1 -1
- package/{src → dist}/commands/setheadercolumncommand.d.ts +1 -1
- package/{src → dist}/commands/setheaderrowcommand.d.ts +1 -1
- package/{src → dist}/commands/splitcellcommand.d.ts +1 -1
- package/{src → dist}/converters/downcast.d.ts +2 -2
- package/{src → dist}/converters/table-caption-post-fixer.d.ts +1 -1
- package/{src → dist}/converters/table-cell-paragraph-post-fixer.d.ts +1 -1
- package/{src → dist}/converters/table-cell-refresh-handler.d.ts +1 -1
- package/{src → dist}/converters/table-headings-refresh-handler.d.ts +1 -1
- package/{src → dist}/converters/table-layout-post-fixer.d.ts +1 -1
- package/{src → dist}/converters/tableproperties.d.ts +2 -2
- package/{src → dist}/converters/upcasttable.d.ts +1 -1
- package/dist/index-content.css +30 -30
- package/dist/index-editor.css +104 -170
- package/dist/index.css +147 -237
- package/dist/index.css.map +1 -1
- package/{src → dist}/index.d.ts +2 -5
- package/dist/index.js +423 -2408
- package/dist/index.js.map +1 -1
- package/{src → dist}/plaintableoutput.d.ts +1 -1
- package/{src → dist}/table.d.ts +2 -2
- package/{src → dist}/tablecaption/tablecaptionediting.d.ts +2 -2
- package/{src → dist}/tablecaption/tablecaptionui.d.ts +1 -1
- package/{src → dist}/tablecaption/toggletablecaptioncommand.d.ts +1 -1
- package/{src → dist}/tablecaption/utils.d.ts +1 -1
- package/{src → dist}/tablecaption.d.ts +1 -1
- package/{src → dist}/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +1 -1
- package/{src → dist}/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +2 -2
- package/{src → dist}/tablecellproperties/commands/tablecellborderstylecommand.d.ts +2 -2
- package/{src → dist}/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +2 -2
- package/{src → dist}/tablecellproperties/commands/tablecellheightcommand.d.ts +1 -1
- package/{src → dist}/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +1 -1
- package/{src → dist}/tablecellproperties/commands/tablecellpaddingcommand.d.ts +2 -2
- package/{src → dist}/tablecellproperties/commands/tablecellpropertycommand.d.ts +2 -2
- package/{src → dist}/tablecellproperties/commands/tablecelltypecommand.d.ts +2 -6
- package/{src → dist}/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +1 -1
- package/{src → dist}/tablecellproperties/tablecellpropertiesediting.d.ts +1 -1
- package/{src → dist}/tablecellproperties/tablecellpropertiesui.d.ts +2 -2
- package/dist/tablecellproperties/tablecellpropertiesutils.d.ts +18 -0
- package/{src/tablecellproperties/ui/tablecellpropertiesviewexperimental.d.ts → dist/tablecellproperties/ui/tablecellpropertiesview.d.ts} +11 -12
- package/{src → dist}/tablecellproperties.d.ts +1 -1
- package/{src → dist}/tablecellwidth/commands/tablecellwidthcommand.d.ts +1 -1
- package/{src → dist}/tablecellwidth/tablecellwidthediting.d.ts +1 -1
- package/{src → dist}/tableclipboard.d.ts +3 -3
- package/{src → dist}/tablecolumnresize/converters.d.ts +1 -1
- package/{src → dist}/tablecolumnresize/tablecolumnresizeediting.d.ts +2 -2
- package/{src → dist}/tablecolumnresize/tablewidthscommand.d.ts +2 -2
- package/{src → dist}/tablecolumnresize/utils.d.ts +2 -2
- package/{src → dist}/tablecolumnresize.d.ts +1 -1
- package/{src → dist}/tableconfig.d.ts +26 -6
- package/{src → dist}/tableediting.d.ts +3 -3
- package/{src → dist}/tablekeyboard.d.ts +3 -3
- package/{src → dist}/tablelayout/commands/tabletypecommand.d.ts +1 -1
- package/{src → dist}/tablelayout/tablelayoutediting.d.ts +1 -1
- package/{src → dist}/tablelayout/tablelayoutui.d.ts +1 -1
- package/{src → dist}/tablelayout.d.ts +1 -1
- package/{src → dist}/tablemouse/mouseeventsobserver.d.ts +1 -1
- package/{src → dist}/tablemouse.d.ts +1 -1
- package/{src → dist}/tableproperties/commands/tablealignmentcommand.d.ts +1 -1
- package/{src → dist}/tableproperties/commands/tablebackgroundcolorcommand.d.ts +1 -1
- package/{src → dist}/tableproperties/commands/tablebordercolorcommand.d.ts +2 -2
- package/{src → dist}/tableproperties/commands/tableborderstylecommand.d.ts +2 -2
- package/{src → dist}/tableproperties/commands/tableborderwidthcommand.d.ts +2 -2
- package/{src → dist}/tableproperties/commands/tableheightcommand.d.ts +1 -1
- package/{src → dist}/tableproperties/commands/tablepropertycommand.d.ts +2 -2
- package/{src → dist}/tableproperties/commands/tablewidthcommand.d.ts +1 -1
- package/{src → dist}/tableproperties/tablepropertiesediting.d.ts +1 -1
- package/{src → dist}/tableproperties/tablepropertiesui.d.ts +2 -2
- package/{src → dist}/tableproperties/ui/tablepropertiesview.d.ts +10 -2
- package/{src → dist}/tableproperties.d.ts +1 -1
- package/{src → dist}/tableselection.d.ts +2 -2
- package/{src → dist}/tabletoolbar.d.ts +2 -2
- package/{src → dist}/tableui.d.ts +1 -1
- package/{src → dist}/tableutils.d.ts +2 -2
- package/{src → dist}/tablewalker.d.ts +1 -1
- package/{src → dist}/ui/colorinputview.d.ts +2 -2
- package/{src → dist}/ui/inserttableview.d.ts +2 -2
- package/{src → dist}/utils/common.d.ts +2 -2
- package/{src → dist}/utils/structure.d.ts +1 -1
- package/{src → dist}/utils/table-properties.d.ts +1 -1
- package/{src → dist}/utils/ui/contextualballoon.d.ts +2 -2
- package/{src → dist}/utils/ui/table-properties.d.ts +2 -2
- package/{src → dist}/utils/ui/widget.d.ts +1 -1
- package/package.json +26 -49
- package/build/table.js +0 -5
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -82
- package/lang/translations/af.po +0 -332
- package/lang/translations/ar.po +0 -332
- package/lang/translations/ast.po +0 -332
- package/lang/translations/az.po +0 -332
- package/lang/translations/be.po +0 -332
- package/lang/translations/bg.po +0 -332
- package/lang/translations/bn.po +0 -334
- package/lang/translations/bs.po +0 -332
- package/lang/translations/ca.po +0 -332
- package/lang/translations/cs.po +0 -332
- package/lang/translations/da.po +0 -332
- package/lang/translations/de-ch.po +0 -332
- package/lang/translations/de.po +0 -332
- package/lang/translations/el.po +0 -332
- package/lang/translations/en-au.po +0 -332
- package/lang/translations/en-gb.po +0 -332
- package/lang/translations/en.po +0 -332
- package/lang/translations/eo.po +0 -332
- package/lang/translations/es-co.po +0 -332
- package/lang/translations/es.po +0 -332
- package/lang/translations/et.po +0 -332
- package/lang/translations/eu.po +0 -332
- package/lang/translations/fa.po +0 -332
- package/lang/translations/fi.po +0 -332
- package/lang/translations/fr.po +0 -332
- package/lang/translations/gl.po +0 -332
- package/lang/translations/gu.po +0 -332
- package/lang/translations/he.po +0 -332
- package/lang/translations/hi.po +0 -332
- package/lang/translations/hr.po +0 -332
- package/lang/translations/hu.po +0 -332
- package/lang/translations/hy.po +0 -332
- package/lang/translations/id.po +0 -332
- package/lang/translations/it.po +0 -332
- package/lang/translations/ja.po +0 -332
- package/lang/translations/jv.po +0 -332
- package/lang/translations/kk.po +0 -332
- package/lang/translations/km.po +0 -332
- package/lang/translations/kn.po +0 -332
- package/lang/translations/ko.po +0 -332
- package/lang/translations/ku.po +0 -332
- package/lang/translations/lt.po +0 -332
- package/lang/translations/lv.po +0 -332
- package/lang/translations/ms.po +0 -332
- package/lang/translations/nb.po +0 -332
- package/lang/translations/ne.po +0 -332
- package/lang/translations/nl.po +0 -332
- package/lang/translations/no.po +0 -332
- package/lang/translations/oc.po +0 -332
- package/lang/translations/pl.po +0 -332
- package/lang/translations/pt-br.po +0 -332
- package/lang/translations/pt.po +0 -332
- package/lang/translations/ro.po +0 -332
- package/lang/translations/ru.po +0 -332
- package/lang/translations/si.po +0 -332
- package/lang/translations/sk.po +0 -332
- package/lang/translations/sl.po +0 -332
- package/lang/translations/sq.po +0 -332
- package/lang/translations/sr-latn.po +0 -332
- package/lang/translations/sr.po +0 -332
- package/lang/translations/sv.po +0 -332
- package/lang/translations/th.po +0 -332
- package/lang/translations/ti.po +0 -332
- package/lang/translations/tk.po +0 -332
- package/lang/translations/tr.po +0 -332
- package/lang/translations/tt.po +0 -332
- package/lang/translations/ug.po +0 -332
- package/lang/translations/uk.po +0 -332
- package/lang/translations/ur.po +0 -332
- package/lang/translations/uz.po +0 -332
- package/lang/translations/vi.po +0 -332
- package/lang/translations/zh-cn.po +0 -332
- package/lang/translations/zh.po +0 -332
- package/src/augmentation.js +0 -5
- package/src/commands/insertcolumncommand.js +0 -71
- package/src/commands/insertrowcommand.js +0 -70
- package/src/commands/inserttablecommand.js +0 -69
- package/src/commands/inserttablelayoutcommand.js +0 -65
- package/src/commands/mergecellcommand.js +0 -206
- package/src/commands/mergecellscommand.js +0 -94
- package/src/commands/removecolumncommand.js +0 -109
- package/src/commands/removerowcommand.js +0 -82
- package/src/commands/selectcolumncommand.js +0 -60
- package/src/commands/selectrowcommand.js +0 -56
- package/src/commands/setheadercolumncommand.js +0 -76
- package/src/commands/setheaderrowcommand.js +0 -83
- package/src/commands/splitcellcommand.js +0 -58
- package/src/converters/downcast.js +0 -298
- package/src/converters/table-caption-post-fixer.js +0 -55
- package/src/converters/table-cell-paragraph-post-fixer.js +0 -109
- package/src/converters/table-cell-refresh-handler.js +0 -47
- package/src/converters/table-headings-refresh-handler.js +0 -51
- package/src/converters/table-layout-post-fixer.js +0 -369
- package/src/converters/tableproperties.js +0 -444
- package/src/converters/upcasttable.js +0 -385
- package/src/index.js +0 -98
- package/src/plaintableoutput.js +0 -49
- package/src/table.js +0 -50
- package/src/tablecaption/tablecaptionediting.js +0 -136
- package/src/tablecaption/tablecaptionui.js +0 -64
- package/src/tablecaption/toggletablecaptioncommand.js +0 -105
- package/src/tablecaption/utils.js +0 -61
- package/src/tablecaption.js +0 -34
- package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +0 -30
- package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +0 -44
- package/src/tablecellproperties/commands/tablecellborderstylecommand.js +0 -44
- package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +0 -64
- package/src/tablecellproperties/commands/tablecellheightcommand.js +0 -51
- package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +0 -30
- package/src/tablecellproperties/commands/tablecellpaddingcommand.js +0 -64
- package/src/tablecellproperties/commands/tablecellpropertycommand.js +0 -138
- package/src/tablecellproperties/commands/tablecelltypecommand.js +0 -167
- package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +0 -38
- package/src/tablecellproperties/tablecellpropertiesediting.js +0 -412
- package/src/tablecellproperties/tablecellpropertiesui.js +0 -385
- package/src/tablecellproperties/tablecellpropertiesuiexperimental.d.ts +0 -128
- package/src/tablecellproperties/tablecellpropertiesuiexperimental.js +0 -408
- package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +0 -229
- package/src/tablecellproperties/ui/tablecellpropertiesview.js +0 -612
- package/src/tablecellproperties/ui/tablecellpropertiesviewexperimental.js +0 -744
- package/src/tablecellproperties.js +0 -40
- package/src/tablecellwidth/commands/tablecellwidthcommand.js +0 -51
- package/src/tablecellwidth/tablecellwidthediting.js +0 -53
- package/src/tableclipboard.js +0 -500
- package/src/tablecolumnresize/constants.js +0 -33
- package/src/tablecolumnresize/converters.js +0 -62
- package/src/tablecolumnresize/tablecolumnresizeediting.js +0 -729
- package/src/tablecolumnresize/tablewidthscommand.js +0 -61
- package/src/tablecolumnresize/utils.js +0 -370
- package/src/tablecolumnresize.js +0 -36
- package/src/tableconfig.js +0 -5
- package/src/tableediting.js +0 -246
- package/src/tablekeyboard.js +0 -273
- package/src/tablelayout/commands/tabletypecommand.js +0 -68
- package/src/tablelayout/tablelayoutediting.js +0 -295
- package/src/tablelayout/tablelayoutui.js +0 -196
- package/src/tablelayout.js +0 -37
- package/src/tablemouse/mouseeventsobserver.js +0 -34
- package/src/tablemouse.js +0 -178
- package/src/tableproperties/commands/tablealignmentcommand.js +0 -30
- package/src/tableproperties/commands/tablebackgroundcolorcommand.js +0 -30
- package/src/tableproperties/commands/tablebordercolorcommand.js +0 -44
- package/src/tableproperties/commands/tableborderstylecommand.js +0 -44
- package/src/tableproperties/commands/tableborderwidthcommand.js +0 -64
- package/src/tableproperties/commands/tableheightcommand.js +0 -54
- package/src/tableproperties/commands/tablepropertycommand.js +0 -103
- package/src/tableproperties/commands/tablewidthcommand.js +0 -54
- package/src/tableproperties/tablepropertiesediting.js +0 -546
- package/src/tableproperties/tablepropertiesui.js +0 -374
- package/src/tableproperties/tablepropertiesuiexperimental.d.ts +0 -136
- package/src/tableproperties/tablepropertiesuiexperimental.js +0 -375
- package/src/tableproperties/ui/tablepropertiesview.js +0 -520
- package/src/tableproperties/ui/tablepropertiesviewexperimental.d.ts +0 -216
- package/src/tableproperties/ui/tablepropertiesviewexperimental.js +0 -544
- package/src/tableproperties.js +0 -40
- package/src/tableselection.js +0 -323
- package/src/tabletoolbar.js +0 -63
- package/src/tableui.js +0 -335
- package/src/tableutils.js +0 -1282
- package/src/tablewalker.js +0 -489
- package/src/ui/colorinputview.js +0 -305
- package/src/ui/inserttableview.js +0 -192
- package/src/utils/common.js +0 -118
- package/src/utils/structure.js +0 -452
- package/src/utils/table-properties.js +0 -121
- package/src/utils/ui/contextualballoon.js +0 -111
- package/src/utils/ui/table-properties.js +0 -390
- package/src/utils/ui/table-propertiesexperimental.d.ts +0 -215
- package/src/utils/ui/table-propertiesexperimental.js +0 -391
- package/src/utils/ui/widget.js +0 -56
- package/theme/colorinput.css +0 -39
- package/theme/formrow-experimental.css +0 -15
- package/theme/formrow.css +0 -13
- package/theme/inserttable.css +0 -10
- package/theme/table.css +0 -144
- package/theme/tablecaption.css +0 -66
- package/theme/tablecellproperties-experimental.css +0 -4
- package/theme/tablecellproperties.css +0 -28
- package/theme/tablecolumnresize.css +0 -62
- package/theme/tableediting.css +0 -10
- package/theme/tableform-experimental.css +0 -61
- package/theme/tableform.css +0 -64
- package/theme/tablelayout.css +0 -74
- package/theme/tableproperties-experimental.css +0 -78
- package/theme/tableproperties.css +0 -18
- package/theme/tableselection.css +0 -10
- /package/{src → dist}/tablecolumnresize/constants.d.ts +0 -0
package/theme/tablecaption.css
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "@ckeditor/ckeditor5-ui/theme/mixins/_mediacolors.css";
|
|
7
|
-
|
|
8
|
-
:root {
|
|
9
|
-
--ck-content-color-table-caption-background: hsl(0, 0%, 97%);
|
|
10
|
-
--ck-content-color-table-caption-text: hsl(0, 0%, 20%);
|
|
11
|
-
--ck-color-table-caption-highlighted-background: hsl(52deg 100% 50%);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* Content styles */
|
|
15
|
-
.ck-content .table > figcaption,
|
|
16
|
-
.ck-content figure.table > table > caption {
|
|
17
|
-
display: table-caption;
|
|
18
|
-
caption-side: top;
|
|
19
|
-
word-break: normal;
|
|
20
|
-
overflow-wrap: anywhere;
|
|
21
|
-
text-align: center;
|
|
22
|
-
color: var(--ck-content-color-table-caption-text);
|
|
23
|
-
background-color: var(--ck-content-color-table-caption-background);
|
|
24
|
-
padding: .6em;
|
|
25
|
-
font-size: .75em;
|
|
26
|
-
outline-offset: -1px;
|
|
27
|
-
|
|
28
|
-
/* Improve placeholder rendering in high-constrast mode (https://github.com/ckeditor/ckeditor5/issues/14907). */
|
|
29
|
-
@mixin ck-media-forced-colors {
|
|
30
|
-
background-color: unset;
|
|
31
|
-
color: unset;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/* Editing styles */
|
|
36
|
-
.ck.ck-editor__editable .table > figcaption,
|
|
37
|
-
.ck.ck-editor__editable figure.table > table > caption {
|
|
38
|
-
@mixin ck-media-default-colors {
|
|
39
|
-
&.table__caption_highlighted {
|
|
40
|
-
animation: ck-table-caption-highlight .6s ease-out;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.ck-placeholder::before {
|
|
45
|
-
padding-left: inherit;
|
|
46
|
-
padding-right: inherit;
|
|
47
|
-
|
|
48
|
-
/*
|
|
49
|
-
* Make sure the table caption placeholder doesn't overflow the placeholder area.
|
|
50
|
-
* See https://github.com/ckeditor/ckeditor5/issues/9162.
|
|
51
|
-
*/
|
|
52
|
-
white-space: nowrap;
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
text-overflow: ellipsis;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@keyframes ck-table-caption-highlight {
|
|
59
|
-
0% {
|
|
60
|
-
background-color: var(--ck-color-table-caption-highlighted-background);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
100% {
|
|
64
|
-
background-color: var(--ck-content-color-table-caption-background);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.ck.ck-table-cell-properties-form {
|
|
7
|
-
& .ck-form__row {
|
|
8
|
-
&.ck-table-cell-properties-form__alignment-row {
|
|
9
|
-
flex-wrap: wrap;
|
|
10
|
-
|
|
11
|
-
& .ck.ck-toolbar {
|
|
12
|
-
&:first-of-type {
|
|
13
|
-
/* 4 buttons out of 7 (h-alignment + v-alignment) = 0.57 */
|
|
14
|
-
flex-grow: 0.57;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&:last-of-type {
|
|
18
|
-
/* 3 buttons out of 7 (h-alignment + v-alignment) = 0.43 */
|
|
19
|
-
flex-grow: 0.43;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
& .ck-button {
|
|
23
|
-
flex-grow: 1;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
:root {
|
|
7
|
-
--ck-color-table-column-resizer-hover: var(--ck-color-base-active);
|
|
8
|
-
--ck-table-column-resizer-width: 7px;
|
|
9
|
-
|
|
10
|
-
/* The offset used for absolute positioning of the resizer element, so that it is placed exactly above the cell border.
|
|
11
|
-
The value is: minus half the width of the resizer decreased additionaly by the half the width of the border (0.5px). */
|
|
12
|
-
--ck-table-column-resizer-position-offset: calc(var(--ck-table-column-resizer-width) * -0.5 - 0.5px);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ck-content .table .ck-table-resized {
|
|
16
|
-
table-layout: fixed;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ck-content .table td,
|
|
20
|
-
.ck-content .table th {
|
|
21
|
-
/* To prevent text overflowing beyond its cell when columns are resized by resize handler
|
|
22
|
-
(https://github.com/ckeditor/ckeditor5/pull/14379#issuecomment-1589460978). */
|
|
23
|
-
overflow-wrap: break-word;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.ck.ck-editor__editable .table td,
|
|
27
|
-
.ck.ck-editor__editable .table th {
|
|
28
|
-
/* The resizer element is placed inside each cell, so it must be positioned relatively to the cell. */
|
|
29
|
-
position: relative;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.ck.ck-editor__editable .table .ck-table-column-resizer {
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: 0;
|
|
35
|
-
bottom: 0;
|
|
36
|
-
right: var(--ck-table-column-resizer-position-offset);
|
|
37
|
-
width: var(--ck-table-column-resizer-width);
|
|
38
|
-
cursor: col-resize;
|
|
39
|
-
user-select: none;
|
|
40
|
-
z-index: var(--ck-z-default);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer {
|
|
44
|
-
display: none;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* The resizer elements, which are extended to an extremely high height, break the drag & drop feature in Chrome. To make it work again,
|
|
48
|
-
all resizers must be hidden while the table is dragged. */
|
|
49
|
-
.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer {
|
|
50
|
-
display: none;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.ck.ck-editor__editable .table .ck-table-column-resizer:hover,
|
|
54
|
-
.ck.ck-editor__editable .table .ck-table-column-resizer__active {
|
|
55
|
-
background-color: var(--ck-color-table-column-resizer-hover);
|
|
56
|
-
opacity: 0.25;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer {
|
|
60
|
-
left: var(--ck-table-column-resizer-position-offset);
|
|
61
|
-
right: unset;
|
|
62
|
-
}
|
package/theme/tableediting.css
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/*
|
|
7
|
-
* Note: This file should contain the wireframe styles only. But since there are no such styles,
|
|
8
|
-
* it acts as a message to the builder telling that it should look for the corresponding styles
|
|
9
|
-
* **in the theme** when compiling the editor.
|
|
10
|
-
*/
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.ck.ck-table-form {
|
|
7
|
-
& .ck-form__row {
|
|
8
|
-
&.ck-table-form__border-row {
|
|
9
|
-
flex-wrap: wrap;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&.ck-table-form__background-row {
|
|
13
|
-
flex-wrap: wrap;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&.ck-table-form__dimensions-row {
|
|
17
|
-
flex-wrap: wrap;
|
|
18
|
-
align-items: center;
|
|
19
|
-
|
|
20
|
-
& .ck-labeled-field-view {
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column-reverse;
|
|
23
|
-
align-items: center;
|
|
24
|
-
|
|
25
|
-
& .ck.ck-dropdown {
|
|
26
|
-
flex-grow: 0;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/* Ignore labels that work as fieldset legends */
|
|
32
|
-
/* Fallback for table dimension operator */
|
|
33
|
-
&:not(.ck-table-form__action-row) > *:not(.ck-label, .ck-table-form__dimension-operator) {
|
|
34
|
-
flex-grow: 1;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
& .ck.ck-labeled-field-view {
|
|
39
|
-
/* Allow absolute positioning of the status (error) balloons. */
|
|
40
|
-
position: relative;
|
|
41
|
-
|
|
42
|
-
& .ck.ck-labeled-field-view__status {
|
|
43
|
-
position: absolute;
|
|
44
|
-
left: 50%;
|
|
45
|
-
bottom: calc( -1 * var(--ck-table-properties-error-arrow-size) );
|
|
46
|
-
transform: translate(-50%,100%);
|
|
47
|
-
|
|
48
|
-
/* Make sure the balloon status stays on top of other form elements. */
|
|
49
|
-
z-index: 1;
|
|
50
|
-
|
|
51
|
-
/* The arrow pointing towards the field. */
|
|
52
|
-
&::after {
|
|
53
|
-
content: "";
|
|
54
|
-
position: absolute;
|
|
55
|
-
top: calc( -1 * var(--ck-table-properties-error-arrow-size) );
|
|
56
|
-
left: 50%;
|
|
57
|
-
transform: translateX( -50% );
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
package/theme/tableform.css
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.ck.ck-table-form {
|
|
7
|
-
& .ck-form__row {
|
|
8
|
-
&.ck-table-form__border-row,
|
|
9
|
-
&.ck-table-form__background-row,
|
|
10
|
-
&.ck-table-form__cell-type-row {
|
|
11
|
-
flex-wrap: wrap;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&.ck-table-form__dimensions-row,
|
|
15
|
-
&.ck-table-form__cell-type-row {
|
|
16
|
-
flex-wrap: wrap;
|
|
17
|
-
align-items: center;
|
|
18
|
-
|
|
19
|
-
& .ck-labeled-field-view {
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column-reverse;
|
|
22
|
-
align-items: center;
|
|
23
|
-
|
|
24
|
-
& .ck.ck-dropdown {
|
|
25
|
-
flex-grow: 0;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
& .ck-table-form__dimension-operator {
|
|
30
|
-
flex-grow: 0;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* Ignore labels that work as fieldset legends */
|
|
35
|
-
/* Fallback for table dimension operator */
|
|
36
|
-
& > *:not(.ck-label, .ck-table-form__dimension-operator) {
|
|
37
|
-
flex-grow: 1;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
& .ck.ck-labeled-field-view {
|
|
42
|
-
/* Allow absolute positioning of the status (error) balloons. */
|
|
43
|
-
position: relative;
|
|
44
|
-
|
|
45
|
-
& .ck.ck-labeled-field-view__status {
|
|
46
|
-
position: absolute;
|
|
47
|
-
left: 50%;
|
|
48
|
-
bottom: calc( -1 * var(--ck-table-properties-error-arrow-size) );
|
|
49
|
-
transform: translate(-50%,100%);
|
|
50
|
-
|
|
51
|
-
/* Make sure the balloon status stays on top of other form elements. */
|
|
52
|
-
z-index: 1;
|
|
53
|
-
|
|
54
|
-
/* The arrow pointing towards the field. */
|
|
55
|
-
&::after {
|
|
56
|
-
content: "";
|
|
57
|
-
position: absolute;
|
|
58
|
-
top: calc( -1 * var(--ck-table-properties-error-arrow-size) );
|
|
59
|
-
left: 50%;
|
|
60
|
-
transform: translateX( -50% );
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
package/theme/tablelayout.css
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.ck-editor__editable {
|
|
7
|
-
&.ck-editor__editable_inline {
|
|
8
|
-
& > .ck-widget.ck-widget_with-selection-handle.layout-table {
|
|
9
|
-
&:first-child {
|
|
10
|
-
margin-top: var(--ck-spacing-large);
|
|
11
|
-
}
|
|
12
|
-
/*
|
|
13
|
-
* This value should match with the default margins of the block elements (like .media, .image or .table)
|
|
14
|
-
* to avoid a content jumping when the fake selection container shows up (See https://github.com/ckeditor/ckeditor5/issues/9825).
|
|
15
|
-
*/
|
|
16
|
-
&:last-child,
|
|
17
|
-
/* Fallback for hidden fake selection div */
|
|
18
|
-
&:nth-last-child(2):has( + .ck-fake-selection-container) {
|
|
19
|
-
margin-bottom: var(--ck-spacing-large);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
& .table.layout-table {
|
|
25
|
-
display: table;
|
|
26
|
-
margin: 0;
|
|
27
|
-
|
|
28
|
-
/* Widget type around overrides. */
|
|
29
|
-
&.ck-widget {
|
|
30
|
-
&:hover {
|
|
31
|
-
/* To prevent the widget outline from being cut off at the bottom
|
|
32
|
-
when the next cell or table has a background color, for example. */
|
|
33
|
-
z-index: var(--ck-z-default);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:hover > .ck-widget__selection-handle {
|
|
37
|
-
opacity: 0.75;
|
|
38
|
-
visibility: visible;
|
|
39
|
-
|
|
40
|
-
&:hover {
|
|
41
|
-
opacity: 1;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/* Because of setting the opacity to 0.75 to the selection handle for the layout table,
|
|
46
|
-
it overrides the similar selector in widget (specificity is higher),
|
|
47
|
-
thats why we must override it here also. */
|
|
48
|
-
&:has( .ck-widget.table:hover ) > .ck-widget__selection-handle {
|
|
49
|
-
opacity: 0;
|
|
50
|
-
visibility: hidden;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.ck-widget_selected {
|
|
54
|
-
/* To prevent the widget outline from being cut off at the bottom
|
|
55
|
-
when the next cell or table has a background color, for example. */
|
|
56
|
-
z-index: var(--ck-z-default);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.ck-content {
|
|
63
|
-
& table.table.layout-table,
|
|
64
|
-
& figure.table.layout-table {
|
|
65
|
-
/* Do not reserve space above and below the layout table. */
|
|
66
|
-
margin-top: 0;
|
|
67
|
-
margin-bottom: 0;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
& table.table.layout-table,
|
|
71
|
-
& figure.table.layout-table > table {
|
|
72
|
-
border-spacing: 0;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
:root {
|
|
7
|
-
--ck-content-table-style-spacing: 1.5em;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ck.ck-table-properties-form {
|
|
11
|
-
& .ck-form__row {
|
|
12
|
-
&.ck-table-properties-form__alignment-row {
|
|
13
|
-
flex-wrap: wrap;
|
|
14
|
-
flex-basis: 0;
|
|
15
|
-
align-content: baseline;
|
|
16
|
-
|
|
17
|
-
& .ck.ck-toolbar .ck-toolbar__items {
|
|
18
|
-
flex-wrap: nowrap;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ck-content {
|
|
25
|
-
& .table {
|
|
26
|
-
&.table-style-align-left {
|
|
27
|
-
float: left;
|
|
28
|
-
margin-right: var(--ck-content-table-style-spacing);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.table-style-align-right {
|
|
32
|
-
float: right;
|
|
33
|
-
margin-left: var(--ck-content-table-style-spacing);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&.table-style-align-center {
|
|
37
|
-
margin-left: auto;
|
|
38
|
-
margin-right: auto;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&.table-style-block-align-left {
|
|
42
|
-
margin-left: 0;
|
|
43
|
-
margin-right: auto;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&.table-style-block-align-right {
|
|
47
|
-
margin-left: auto;
|
|
48
|
-
margin-right: 0;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.ck-editor__editable {
|
|
54
|
-
& .table.layout-table {
|
|
55
|
-
&.table-style-align-center {
|
|
56
|
-
margin-left: auto;
|
|
57
|
-
margin-right: auto;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&.table-style-align-left {
|
|
61
|
-
margin-right: var(--ck-content-table-style-spacing);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.table-style-align-right {
|
|
65
|
-
margin-left: var(--ck-content-table-style-spacing);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.table-style-block-align-left {
|
|
69
|
-
margin-left: 0;
|
|
70
|
-
margin-right: auto;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.table-style-block-align-right {
|
|
74
|
-
margin-left: auto;
|
|
75
|
-
margin-right: 0;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.ck.ck-table-properties-form {
|
|
7
|
-
& .ck-form__row {
|
|
8
|
-
&.ck-table-properties-form__alignment-row {
|
|
9
|
-
flex-wrap: wrap;
|
|
10
|
-
flex-basis: 0;
|
|
11
|
-
align-content: baseline;
|
|
12
|
-
|
|
13
|
-
& .ck.ck-toolbar .ck-toolbar__items {
|
|
14
|
-
flex-wrap: nowrap;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
package/theme/tableselection.css
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/*
|
|
7
|
-
* Note: This file should contain the wireframe styles only. But since there are no such styles,
|
|
8
|
-
* it acts as a message to the builder telling that it should look for the corresponding styles
|
|
9
|
-
* **in the theme** when compiling the editor.
|
|
10
|
-
*/
|
|
File without changes
|