@ckeditor/ckeditor5-table 45.2.0 → 45.2.1-alpha.1
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 +7 -3
- package/dist/index.css +30 -14
- package/dist/index.css.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/theme/table.css +31 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-table",
|
|
3
|
-
"version": "45.2.
|
|
3
|
+
"version": "45.2.1-alpha.1",
|
|
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": "45.2.
|
|
17
|
-
"@ckeditor/ckeditor5-clipboard": "45.2.
|
|
18
|
-
"@ckeditor/ckeditor5-core": "45.2.
|
|
19
|
-
"@ckeditor/ckeditor5-engine": "45.2.
|
|
20
|
-
"@ckeditor/ckeditor5-icons": "45.2.
|
|
21
|
-
"@ckeditor/ckeditor5-ui": "45.2.
|
|
22
|
-
"@ckeditor/ckeditor5-utils": "45.2.
|
|
23
|
-
"@ckeditor/ckeditor5-widget": "45.2.
|
|
16
|
+
"ckeditor5": "45.2.1-alpha.1",
|
|
17
|
+
"@ckeditor/ckeditor5-clipboard": "45.2.1-alpha.1",
|
|
18
|
+
"@ckeditor/ckeditor5-core": "45.2.1-alpha.1",
|
|
19
|
+
"@ckeditor/ckeditor5-engine": "45.2.1-alpha.1",
|
|
20
|
+
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.1",
|
|
21
|
+
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.1",
|
|
22
|
+
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.1",
|
|
23
|
+
"@ckeditor/ckeditor5-widget": "45.2.1-alpha.1",
|
|
24
24
|
"es-toolkit": "1.32.0"
|
|
25
25
|
},
|
|
26
26
|
"author": "CKSource (http://cksource.com/)",
|
package/theme/table.css
CHANGED
|
@@ -68,20 +68,38 @@
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
/**
|
|
72
|
-
* Expanding the table to the full height of the parent container is necessary because tables
|
|
73
|
-
* are rendered inside <figure> elements, which is kinda buggy in table height calculation.
|
|
74
|
-
* While setting `height: 100%` fixes the issue in the editing mode described here:
|
|
75
|
-
* https://github.com/ckeditor/ckeditor5/issues/6186
|
|
76
|
-
*
|
|
77
|
-
* it's causing another issue with the table height in the print preview mode here:
|
|
78
|
-
* https://github.com/ckeditor/ckeditor5/issues/16856
|
|
79
|
-
*
|
|
80
|
-
* For now, resetting the height to `initial` in the print mode works as a workaround.
|
|
81
|
-
*/
|
|
82
71
|
@media print {
|
|
83
|
-
.ck-content figure.table
|
|
84
|
-
|
|
72
|
+
.ck-content figure.table {
|
|
73
|
+
/**
|
|
74
|
+
* Sometimes Chrome incorrectly calculates the height of the last table row and some
|
|
75
|
+
* of the content overlaps the paragraph that is placed directly after the table. It affects
|
|
76
|
+
* the column split mode pagination calculation which causes mismatch between the print mode and
|
|
77
|
+
* the preview mode.
|
|
78
|
+
*
|
|
79
|
+
* This issue happens only if:
|
|
80
|
+
*
|
|
81
|
+
* * The table is inside a figure element.
|
|
82
|
+
* * The table has `display: table` style set.
|
|
83
|
+
* * The block element is placed directly after the table.
|
|
84
|
+
*/
|
|
85
|
+
&:not(.layout-table):has(> table) {
|
|
86
|
+
display: block;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Expanding the table to the full height of the parent container is necessary because tables
|
|
91
|
+
* are rendered inside <figure> elements, which is kinda buggy in table height calculation.
|
|
92
|
+
* While setting `height: 100%` fixes the issue in the editing mode described here:
|
|
93
|
+
* https://github.com/ckeditor/ckeditor5/issues/6186
|
|
94
|
+
*
|
|
95
|
+
* it's causing another issue with the table height in the print preview mode here:
|
|
96
|
+
* https://github.com/ckeditor/ckeditor5/issues/16856
|
|
97
|
+
*
|
|
98
|
+
* For now, resetting the height to `initial` in the print mode works as a workaround.
|
|
99
|
+
*/
|
|
100
|
+
&:not(.layout-table) > table {
|
|
101
|
+
height: initial;
|
|
102
|
+
}
|
|
85
103
|
}
|
|
86
104
|
}
|
|
87
105
|
|