@ckeditor/ckeditor5-table 0.0.0-nightly-next-20251222.0 → 0.0.0-nightly-20251223.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/build/table.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/ckeditor5-metadata.json +2 -11
- package/dist/index-content.css +30 -30
- package/dist/index-editor.css +170 -104
- package/dist/index.css +237 -147
- package/dist/index.css.map +1 -1
- package/dist/index.js +2399 -307
- package/dist/index.js.map +1 -1
- package/lang/contexts.json +4 -0
- package/package.json +9 -9
- package/src/augmentation.d.ts +15 -0
- package/src/converters/downcast.js +12 -3
- package/src/index.d.ts +4 -0
- package/src/index.js +5 -0
- package/src/tablecellproperties/tablecellpropertiesediting.js +4 -2
- package/src/tablecellproperties/tablecellpropertiesui.js +10 -30
- package/src/tablecellproperties/tablecellpropertiesuiexperimental.d.ts +128 -0
- package/src/tablecellproperties/tablecellpropertiesuiexperimental.js +408 -0
- package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +0 -35
- package/src/tablecellproperties/ui/tablecellpropertiesview.js +23 -137
- package/src/tablecellproperties/ui/tablecellpropertiesviewexperimental.d.ts +266 -0
- package/src/tablecellproperties/ui/tablecellpropertiesviewexperimental.js +744 -0
- package/src/tableconfig.d.ts +4 -4
- package/src/tableproperties/tablepropertiesediting.js +147 -14
- package/src/tableproperties/tablepropertiesuiexperimental.d.ts +136 -0
- package/src/tableproperties/tablepropertiesuiexperimental.js +375 -0
- package/src/tableproperties/ui/tablepropertiesview.d.ts +0 -8
- package/src/tableproperties/ui/tablepropertiesview.js +37 -59
- package/src/tableproperties/ui/tablepropertiesviewexperimental.d.ts +216 -0
- package/src/tableproperties/ui/tablepropertiesviewexperimental.js +544 -0
- package/src/utils/common.js +3 -2
- package/src/utils/ui/table-propertiesexperimental.d.ts +215 -0
- package/src/utils/ui/table-propertiesexperimental.js +391 -0
- package/theme/formrow-experimental.css +15 -0
- package/theme/formrow.css +0 -2
- package/theme/tablecellproperties-experimental.css +4 -0
- package/theme/tableform-experimental.css +61 -0
- package/theme/tableform.css +5 -1
- package/theme/tableproperties-experimental.css +78 -0
- package/theme/tableproperties.css +0 -60
package/theme/tableform.css
CHANGED
|
@@ -25,11 +25,15 @@
|
|
|
25
25
|
flex-grow: 0;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
+
|
|
29
|
+
& .ck-table-form__dimension-operator {
|
|
30
|
+
flex-grow: 0;
|
|
31
|
+
}
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
/* Ignore labels that work as fieldset legends */
|
|
31
35
|
/* Fallback for table dimension operator */
|
|
32
|
-
|
|
36
|
+
& > *:not(.ck-label, .ck-table-form__dimension-operator) {
|
|
33
37
|
flex-grow: 1;
|
|
34
38
|
}
|
|
35
39
|
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, 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
|
+
}
|
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
:root {
|
|
7
|
-
--ck-content-table-style-spacing: 1.5em;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
6
|
.ck.ck-table-properties-form {
|
|
11
7
|
& .ck-form__row {
|
|
12
8
|
&.ck-table-properties-form__alignment-row {
|
|
@@ -20,59 +16,3 @@
|
|
|
20
16
|
}
|
|
21
17
|
}
|
|
22
18
|
}
|
|
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
|
-
}
|