@ckeditor/ckeditor5-pagination 47.6.1 → 48.0.0-alpha.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/LICENSE.md +1 -1
- package/ckeditor5-metadata.json +4 -4
- package/dist/index-editor.css +103 -109
- package/dist/index.css +100 -247
- package/dist/index.js +2 -2
- package/{src → dist}/pagination.d.ts +2 -2
- package/{src → dist}/paginationediting.d.ts +1 -1
- package/{src → dist}/paginationlookup.d.ts +2 -2
- package/{src → dist}/paginationrenderer.d.ts +1 -1
- package/{src → dist}/paginationui.d.ts +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/{src → dist}/ui/linesrepository.d.ts +2 -2
- package/{src → dist}/ui/lineview.d.ts +1 -1
- package/{src → dist}/ui/pagenavigatorview.d.ts +2 -2
- package/{src → dist}/utils/common-translations.d.ts +1 -1
- package/package.json +18 -41
- package/build/pagination.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 -8
- package/lang/translations/af.po +0 -36
- package/lang/translations/ar.po +0 -36
- package/lang/translations/ast.po +0 -36
- package/lang/translations/az.po +0 -36
- package/lang/translations/be.po +0 -36
- package/lang/translations/bg.po +0 -36
- package/lang/translations/bn.po +0 -36
- package/lang/translations/bs.po +0 -36
- package/lang/translations/ca.po +0 -36
- package/lang/translations/cs.po +0 -36
- package/lang/translations/da.po +0 -36
- package/lang/translations/de-ch.po +0 -36
- package/lang/translations/de.po +0 -36
- package/lang/translations/el.po +0 -36
- package/lang/translations/en-au.po +0 -36
- package/lang/translations/en-gb.po +0 -36
- package/lang/translations/en.po +0 -36
- package/lang/translations/eo.po +0 -36
- package/lang/translations/es-co.po +0 -36
- package/lang/translations/es.po +0 -36
- package/lang/translations/et.po +0 -36
- package/lang/translations/eu.po +0 -36
- package/lang/translations/fa.po +0 -36
- package/lang/translations/fi.po +0 -36
- package/lang/translations/fr.po +0 -36
- package/lang/translations/gl.po +0 -36
- package/lang/translations/gu.po +0 -36
- package/lang/translations/he.po +0 -36
- package/lang/translations/hi.po +0 -36
- package/lang/translations/hr.po +0 -36
- package/lang/translations/hu.po +0 -36
- package/lang/translations/hy.po +0 -36
- package/lang/translations/id.po +0 -36
- package/lang/translations/it.po +0 -36
- package/lang/translations/ja.po +0 -36
- package/lang/translations/jv.po +0 -36
- package/lang/translations/kk.po +0 -36
- package/lang/translations/km.po +0 -36
- package/lang/translations/kn.po +0 -36
- package/lang/translations/ko.po +0 -36
- package/lang/translations/ku.po +0 -36
- package/lang/translations/lt.po +0 -36
- package/lang/translations/lv.po +0 -36
- package/lang/translations/ms.po +0 -36
- package/lang/translations/nb.po +0 -36
- package/lang/translations/ne.po +0 -36
- package/lang/translations/nl.po +0 -36
- package/lang/translations/no.po +0 -36
- package/lang/translations/oc.po +0 -36
- package/lang/translations/pl.po +0 -36
- package/lang/translations/pt-br.po +0 -36
- package/lang/translations/pt.po +0 -36
- package/lang/translations/ro.po +0 -36
- package/lang/translations/ru.po +0 -36
- package/lang/translations/si.po +0 -36
- package/lang/translations/sk.po +0 -36
- package/lang/translations/sl.po +0 -36
- package/lang/translations/sq.po +0 -36
- package/lang/translations/sr-latn.po +0 -36
- package/lang/translations/sr.po +0 -36
- package/lang/translations/sv.po +0 -36
- package/lang/translations/th.po +0 -36
- package/lang/translations/ti.po +0 -36
- package/lang/translations/tk.po +0 -36
- package/lang/translations/tr.po +0 -36
- package/lang/translations/tt.po +0 -36
- package/lang/translations/ug.po +0 -36
- package/lang/translations/uk.po +0 -36
- package/lang/translations/ur.po +0 -36
- package/lang/translations/uz.po +0 -36
- package/lang/translations/vi.po +0 -36
- package/lang/translations/zh-cn.po +0 -36
- package/lang/translations/zh.po +0 -36
- package/src/augmentation.js +0 -23
- package/src/index.js +0 -23
- package/src/legacyerrors.js +0 -23
- package/src/pagination.js +0 -23
- package/src/paginationediting.js +0 -23
- package/src/paginationlookup.js +0 -23
- package/src/paginationrenderer.js +0 -23
- package/src/paginationui.js +0 -23
- package/src/ui/linesrepository.js +0 -23
- package/src/ui/lineview.js +0 -24
- package/src/ui/pagenavigatorview.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/theme/line.css +0 -30
- package/theme/pagenavigator.css +0 -46
- package/theme/pagination.css +0 -177
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/legacyerrors.d.ts +0 -0
package/dist/index.css
CHANGED
|
@@ -2,291 +2,144 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, 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
|
-
/*
|
|
6
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
7
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
8
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
11
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
5
|
:root {
|
|
15
|
-
|
|
6
|
+
--ck-color-pagination-divider: #ababab;
|
|
16
7
|
}
|
|
17
8
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.ck.ck-pagination_enabled.ck-content .page-break::after {
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/*
|
|
27
|
-
* Reset all layout styles for content root as the pagination-view is responsible for page size and margins.
|
|
28
|
-
*/
|
|
9
|
+
.ck.ck-pagination_enabled.ck-content .page-break:after {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
29
12
|
|
|
30
13
|
.ck.ck-pagination_enabled.ck-pagination-view > .ck-content {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Hide all UI related elements.
|
|
46
|
-
*/
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
width: auto;
|
|
16
|
+
min-width: auto;
|
|
17
|
+
max-width: none;
|
|
18
|
+
height: auto;
|
|
19
|
+
min-height: auto;
|
|
20
|
+
max-height: none;
|
|
21
|
+
overflow: unset;
|
|
22
|
+
border: none;
|
|
23
|
+
margin: 0;
|
|
24
|
+
padding: 0;
|
|
25
|
+
}
|
|
47
26
|
|
|
48
|
-
.ck.ck-pagination_enabled.ck-pagination-view .ck-widget__type-around,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
.ck.ck-pagination_enabled.ck-pagination-view .ck-widget__resizer,
|
|
52
|
-
.ck.ck-pagination_enabled.ck-pagination-view .ck-table-column-resizer {
|
|
53
|
-
display: none;
|
|
54
|
-
}
|
|
27
|
+
.ck.ck-pagination_enabled.ck-pagination-view .ck-widget__type-around, .ck.ck-pagination_enabled.ck-pagination-view .ck-fake-selection-container, .ck.ck-pagination_enabled.ck-pagination-view .ck-widget__selection-handle, .ck.ck-pagination_enabled.ck-pagination-view .ck-widget__resizer, .ck.ck-pagination_enabled.ck-pagination-view .ck-table-column-resizer {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
55
30
|
|
|
56
31
|
.ck.ck-pagination_enabled.ck-pagination-view .ck-widget {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
/*
|
|
61
|
-
* Disable border for image/table caption (existing only in editing view).
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
.ck.ck-pagination_enabled.ck-pagination-view .ck-editor__nested-editable:not(td,th) {
|
|
65
|
-
border: 0;
|
|
66
|
-
}
|
|
32
|
+
outline: none;
|
|
33
|
+
}
|
|
67
34
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
* (especially those with soft line breaks), this may cause the last paragraph to be
|
|
72
|
-
* unexpectedly pushed to the next page.
|
|
73
|
-
*
|
|
74
|
-
* See more: https://github.com/ckeditor/ckeditor5-commercial/issues/7316
|
|
75
|
-
*/
|
|
35
|
+
.ck.ck-pagination_enabled.ck-pagination-view .ck-editor__nested-editable:not(td, th) {
|
|
36
|
+
border: 0;
|
|
37
|
+
}
|
|
76
38
|
|
|
77
39
|
.ck.ck-pagination_enabled.ck-pagination-view p:first-child {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
/*
|
|
82
|
-
* From time to time placing page-break directly after a block element with margin causes appending a new blank page in pagination mode.
|
|
83
|
-
* Removing margin-bottom from the block element fixes that issue and the margin is not being moved to the next blank page.
|
|
84
|
-
*
|
|
85
|
-
* Identical CSS rule is also present in the page break CSS files so keep them in sync to make sure that the issue is fixed both in the
|
|
86
|
-
* editor preview and in the printed content (used by the export document plugins).
|
|
87
|
-
*
|
|
88
|
-
* See more: https://github.com/ckeditor/ckeditor5-commercial/issues/6289.
|
|
89
|
-
*/
|
|
40
|
+
padding-top: 0;
|
|
41
|
+
}
|
|
90
42
|
|
|
91
|
-
.ck.ck-pagination_enabled.ck-pagination-view
|
|
92
|
-
|
|
93
|
-
|
|
43
|
+
.ck.ck-pagination_enabled.ck-pagination-view :has( + .page-break) {
|
|
44
|
+
margin-bottom: 0;
|
|
45
|
+
}
|
|
94
46
|
|
|
95
47
|
.ck.ck-pagination_enabled.ck-pagination-view .page-break {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.ck.ck-pagination_enabled.ck-pagination-view .page-break .page-break__label {
|
|
105
|
-
display: none;
|
|
106
|
-
}
|
|
48
|
+
break-after: column;
|
|
49
|
+
height: 0;
|
|
50
|
+
margin: 0;
|
|
51
|
+
padding: 0;
|
|
52
|
+
display: block;
|
|
53
|
+
}
|
|
107
54
|
|
|
108
|
-
.ck.ck-pagination_enabled.ck-pagination-view .page-break
|
|
109
|
-
|
|
110
|
-
|
|
55
|
+
.ck.ck-pagination_enabled.ck-pagination-view .page-break .page-break__label, .ck.ck-pagination_enabled.ck-pagination-view .page-break:after {
|
|
56
|
+
display: none;
|
|
57
|
+
}
|
|
111
58
|
|
|
112
59
|
.ck.ck-pagination_enabled.ck-pagination-view .table table {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
* Tables that have overflow set to hidden are incorrectly split between pages on the chrome. Reset the overflow to initial fixes this issue.
|
|
116
|
-
*
|
|
117
|
-
* See: https://github.com/ckeditor/ckeditor5/issues/14426.
|
|
118
|
-
*/
|
|
119
|
-
overflow: initial;
|
|
120
|
-
}
|
|
60
|
+
overflow: initial;
|
|
61
|
+
}
|
|
121
62
|
|
|
122
63
|
.ck.ck-pagination_enabled.ck-pagination-view blockquote {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
* Disable inner margins from merging with outside margins
|
|
127
|
-
*/
|
|
128
|
-
display: flow-root;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* The bookmark widget must not expand content next to it but still it has to be rendered so page-break before it can be recorded.
|
|
133
|
-
*/
|
|
64
|
+
overflow: initial;
|
|
65
|
+
display: flow-root;
|
|
66
|
+
}
|
|
134
67
|
|
|
135
68
|
.ck.ck-pagination_enabled.ck-pagination-view .ck-bookmark {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
/*
|
|
142
|
-
* Sometimes Chrome incorrectly calculates the height of the last table row and some
|
|
143
|
-
* of the content overlaps the paragraph that is placed directly after the table. It affects
|
|
144
|
-
* the column split mode pagination calculation which causes mismatch between the print mode and
|
|
145
|
-
* the preview mode.
|
|
146
|
-
*
|
|
147
|
-
* This issue happens only if:
|
|
148
|
-
*
|
|
149
|
-
* * The table is inside a figure element.
|
|
150
|
-
* * The table has `display: table` style set.
|
|
151
|
-
* * The block element is placed directly after the table.
|
|
152
|
-
*
|
|
153
|
-
* The print mode is not affected, the issue happens only in the column split mode.
|
|
154
|
-
*
|
|
155
|
-
* See:
|
|
156
|
-
* https://github.com/cksource/ckeditor5-commercial/issues/6707
|
|
157
|
-
* https://github.com/ckeditor/ckeditor5-commercial/issues/8184
|
|
158
|
-
* https://github.com/ckeditor/ckeditor5-commercial/issues/8203
|
|
159
|
-
* https://github.com/ckeditor/ckeditor5-commercial/issues/9067
|
|
160
|
-
* https://github.com/ckeditor/ckeditor5/issues/6186
|
|
161
|
-
*/
|
|
162
|
-
|
|
163
|
-
.ck.ck-pagination_enabled.ck-pagination-view figure.table:not(.layout-table):has(> figcaption) > table {
|
|
164
|
-
width: fit-content;
|
|
165
|
-
height: fit-content;
|
|
166
|
-
}
|
|
69
|
+
width: 0;
|
|
70
|
+
height: 0;
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
}
|
|
167
73
|
|
|
168
|
-
.ck.ck-pagination_enabled.ck-pagination-view figure.table:not(.layout-table):
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
74
|
+
.ck.ck-pagination_enabled.ck-pagination-view figure.table:not(.layout-table):has( > figcaption) > table {
|
|
75
|
+
width: fit-content;
|
|
76
|
+
height: fit-content;
|
|
77
|
+
}
|
|
172
78
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
79
|
+
.ck.ck-pagination_enabled.ck-pagination-view figure.table:not(.layout-table):not(:has( > figcaption)) {
|
|
80
|
+
width: fit-content;
|
|
81
|
+
display: block;
|
|
82
|
+
}
|
|
176
83
|
|
|
177
84
|
.ck.ck-pagination_enabled.ck-pagination-view .table-of-contents {
|
|
178
|
-
|
|
179
|
-
|
|
85
|
+
border: 0;
|
|
86
|
+
}
|
|
180
87
|
|
|
181
88
|
.ck.ck-pagination_enabled.ck-pagination-view .table-of-contents ol li {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
/*
|
|
186
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
187
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
188
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
189
|
-
*
|
|
190
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
191
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
192
|
-
*/
|
|
193
|
-
|
|
194
|
-
/*
|
|
195
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
196
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
197
|
-
*/
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* Implements rounded corner interface for .ck-rounded-corners class.
|
|
201
|
-
*
|
|
202
|
-
* @see $ck-border-radius
|
|
203
|
-
*/
|
|
204
|
-
/*
|
|
205
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
206
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
207
|
-
*/
|
|
208
|
-
/**
|
|
209
|
-
* A visual style of focused element's border.
|
|
210
|
-
*/
|
|
211
|
-
/*
|
|
212
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
213
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
214
|
-
*/
|
|
215
|
-
/**
|
|
216
|
-
* A helper to combine multiple shadows.
|
|
217
|
-
*/
|
|
218
|
-
/**
|
|
219
|
-
* Gives an element a drop shadow so it looks like a floating panel.
|
|
220
|
-
*/
|
|
221
|
-
/*
|
|
222
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
223
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
224
|
-
*/
|
|
225
|
-
/**
|
|
226
|
-
* A class which indicates that an element holding it is disabled.
|
|
227
|
-
*/
|
|
89
|
+
overflow: visible;
|
|
90
|
+
}
|
|
228
91
|
|
|
229
92
|
.ck.ck-page-navigator {
|
|
230
|
-
|
|
231
|
-
|
|
93
|
+
padding: 0 var(--ck-spacing-standard);
|
|
94
|
+
line-height: 1;
|
|
232
95
|
}
|
|
233
96
|
|
|
234
97
|
.ck.ck-page-navigator > .ck-input-number {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
/* Disable native increment/decrement buttons (FF). */
|
|
242
|
-
-moz-appearance: textfield;
|
|
98
|
+
width: var(--ck-ui-component-min-height);
|
|
99
|
+
min-width: var(--ck-ui-component-min-height);
|
|
100
|
+
text-align: center;
|
|
101
|
+
-moz-appearance: textfield;
|
|
102
|
+
background: none;
|
|
103
|
+
}
|
|
243
104
|
|
|
244
|
-
|
|
245
|
-
|
|
105
|
+
.ck.ck-page-navigator > .ck-input-number::-webkit-inner-spin-button {
|
|
106
|
+
-webkit-appearance: none;
|
|
107
|
+
margin: 0;
|
|
108
|
+
}
|
|
246
109
|
|
|
247
|
-
.ck.ck-page-navigator > .ck-input-number::-webkit-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
}
|
|
110
|
+
.ck.ck-page-navigator > .ck-input-number::-webkit-outer-spin-button {
|
|
111
|
+
-webkit-appearance: none;
|
|
112
|
+
margin: 0;
|
|
113
|
+
}
|
|
252
114
|
|
|
253
115
|
.ck.ck-page-navigator > .ck-input-number:not(:focus) {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
.ck.ck-page-navigator > span::before {
|
|
259
|
-
content: '/';
|
|
260
|
-
margin: 0 var(--ck-spacing-standard);
|
|
261
|
-
}
|
|
116
|
+
border: 1px solid #0000;
|
|
117
|
+
border-bottom: 1px solid var(--ck-color-base-border);
|
|
118
|
+
}
|
|
262
119
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
*
|
|
268
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
269
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
270
|
-
*/
|
|
120
|
+
.ck.ck-page-navigator > span:before {
|
|
121
|
+
content: "/";
|
|
122
|
+
margin: 0 var(--ck-spacing-standard);
|
|
123
|
+
}
|
|
271
124
|
|
|
272
125
|
.ck.ck-pagination-view-line {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
126
|
+
border-top: 1px dotted var(--ck-color-pagination-divider);
|
|
127
|
+
pointer-events: none;
|
|
128
|
+
height: 0;
|
|
129
|
+
position: absolute;
|
|
277
130
|
}
|
|
278
131
|
|
|
279
|
-
.ck.ck-pagination-view-line
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
132
|
+
.ck.ck-pagination-view-line:after {
|
|
133
|
+
content: attr(data-page-number);
|
|
134
|
+
color: var(--ck-color-base-background);
|
|
135
|
+
text-align: center;
|
|
136
|
+
min-width: 18px;
|
|
137
|
+
padding: var(--ck-spacing-tiny) var(--ck-spacing-medium);
|
|
138
|
+
background: #c4c4c4;
|
|
139
|
+
font-size: 10px;
|
|
140
|
+
display: inline-block;
|
|
141
|
+
position: absolute;
|
|
142
|
+
top: -1px;
|
|
143
|
+
right: -1px;
|
|
144
|
+
transform: translateX(100%);
|
|
145
|
+
}
|