@ckeditor/ckeditor5-table 0.0.0-nightly-20251125.0 → 0.0.0-nightly-20251126.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 +1 -1
- package/dist/index-content.css +30 -1
- package/dist/index-editor.css +181 -88
- package/dist/index.css +300 -158
- package/dist/index.css.map +1 -1
- package/dist/index.js +12442 -9941
- package/dist/index.js.map +1 -1
- package/lang/contexts.json +6 -0
- package/package.json +9 -9
- package/src/augmentation.d.ts +7 -0
- package/src/converters/downcast.d.ts +26 -1
- package/src/converters/downcast.js +129 -3
- package/src/converters/tableproperties.d.ts +43 -1
- package/src/converters/tableproperties.js +186 -0
- package/src/converters/upcasttable.js +2 -11
- package/src/index.d.ts +5 -1
- package/src/index.js +5 -0
- package/src/plaintableoutput.js +0 -91
- package/src/tablecellproperties/tablecellpropertiesuiexperimental.d.ts +128 -0
- package/src/tablecellproperties/tablecellpropertiesuiexperimental.js +386 -0
- package/src/tablecellproperties/ui/tablecellpropertiesviewexperimental.d.ts +237 -0
- package/src/tablecellproperties/ui/tablecellpropertiesviewexperimental.js +633 -0
- package/src/tableconfig.d.ts +187 -10
- package/src/tableediting.d.ts +5 -0
- package/src/tableediting.js +28 -1
- package/src/tableproperties/tablepropertiesediting.js +250 -5
- package/src/tableproperties/tablepropertiesuiexperimental.d.ts +136 -0
- package/src/tableproperties/tablepropertiesuiexperimental.js +375 -0
- package/src/tableproperties/ui/tablepropertiesviewexperimental.d.ts +216 -0
- package/src/tableproperties/ui/tablepropertiesviewexperimental.js +544 -0
- package/src/utils/structure.d.ts +5 -1
- package/src/utils/structure.js +10 -0
- 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/tableform-experimental.css +61 -0
- package/theme/tableproperties-experimental.css +78 -0
|
@@ -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
|
+
}
|