@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.
Files changed (326) hide show
  1. package/LICENSE.md +1 -1
  2. package/ckeditor5-metadata.json +4 -4
  3. package/dist/index-editor.css +103 -109
  4. package/dist/index.css +100 -247
  5. package/dist/index.js +2 -2
  6. package/{src → dist}/pagination.d.ts +2 -2
  7. package/{src → dist}/paginationediting.d.ts +1 -1
  8. package/{src → dist}/paginationlookup.d.ts +2 -2
  9. package/{src → dist}/paginationrenderer.d.ts +1 -1
  10. package/{src → dist}/paginationui.d.ts +1 -1
  11. package/dist/translations/af.js +1 -1
  12. package/dist/translations/af.umd.js +1 -1
  13. package/dist/translations/ar.js +1 -1
  14. package/dist/translations/ar.umd.js +1 -1
  15. package/dist/translations/ast.js +1 -1
  16. package/dist/translations/ast.umd.js +1 -1
  17. package/dist/translations/az.js +1 -1
  18. package/dist/translations/az.umd.js +1 -1
  19. package/dist/translations/be.js +1 -1
  20. package/dist/translations/be.umd.js +1 -1
  21. package/dist/translations/bg.js +1 -1
  22. package/dist/translations/bg.umd.js +1 -1
  23. package/dist/translations/bn.js +1 -1
  24. package/dist/translations/bn.umd.js +1 -1
  25. package/dist/translations/bs.js +1 -1
  26. package/dist/translations/bs.umd.js +1 -1
  27. package/dist/translations/ca.js +1 -1
  28. package/dist/translations/ca.umd.js +1 -1
  29. package/dist/translations/cs.js +1 -1
  30. package/dist/translations/cs.umd.js +1 -1
  31. package/dist/translations/da.js +1 -1
  32. package/dist/translations/da.umd.js +1 -1
  33. package/dist/translations/de-ch.js +1 -1
  34. package/dist/translations/de-ch.umd.js +1 -1
  35. package/dist/translations/de.js +1 -1
  36. package/dist/translations/de.umd.js +1 -1
  37. package/dist/translations/el.js +1 -1
  38. package/dist/translations/el.umd.js +1 -1
  39. package/dist/translations/en-au.js +1 -1
  40. package/dist/translations/en-au.umd.js +1 -1
  41. package/dist/translations/en-gb.js +1 -1
  42. package/dist/translations/en-gb.umd.js +1 -1
  43. package/dist/translations/en.js +1 -1
  44. package/dist/translations/en.umd.js +1 -1
  45. package/dist/translations/eo.js +1 -1
  46. package/dist/translations/eo.umd.js +1 -1
  47. package/dist/translations/es-co.js +1 -1
  48. package/dist/translations/es-co.umd.js +1 -1
  49. package/dist/translations/es.js +1 -1
  50. package/dist/translations/es.umd.js +1 -1
  51. package/dist/translations/et.js +1 -1
  52. package/dist/translations/et.umd.js +1 -1
  53. package/dist/translations/eu.js +1 -1
  54. package/dist/translations/eu.umd.js +1 -1
  55. package/dist/translations/fa.js +1 -1
  56. package/dist/translations/fa.umd.js +1 -1
  57. package/dist/translations/fi.js +1 -1
  58. package/dist/translations/fi.umd.js +1 -1
  59. package/dist/translations/fr.js +1 -1
  60. package/dist/translations/fr.umd.js +1 -1
  61. package/dist/translations/gl.js +1 -1
  62. package/dist/translations/gl.umd.js +1 -1
  63. package/dist/translations/gu.js +1 -1
  64. package/dist/translations/gu.umd.js +1 -1
  65. package/dist/translations/he.js +1 -1
  66. package/dist/translations/he.umd.js +1 -1
  67. package/dist/translations/hi.js +1 -1
  68. package/dist/translations/hi.umd.js +1 -1
  69. package/dist/translations/hr.js +1 -1
  70. package/dist/translations/hr.umd.js +1 -1
  71. package/dist/translations/hu.js +1 -1
  72. package/dist/translations/hu.umd.js +1 -1
  73. package/dist/translations/hy.js +1 -1
  74. package/dist/translations/hy.umd.js +1 -1
  75. package/dist/translations/id.js +1 -1
  76. package/dist/translations/id.umd.js +1 -1
  77. package/dist/translations/it.js +1 -1
  78. package/dist/translations/it.umd.js +1 -1
  79. package/dist/translations/ja.js +1 -1
  80. package/dist/translations/ja.umd.js +1 -1
  81. package/dist/translations/jv.js +1 -1
  82. package/dist/translations/jv.umd.js +1 -1
  83. package/dist/translations/kk.js +1 -1
  84. package/dist/translations/kk.umd.js +1 -1
  85. package/dist/translations/km.js +1 -1
  86. package/dist/translations/km.umd.js +1 -1
  87. package/dist/translations/kn.js +1 -1
  88. package/dist/translations/kn.umd.js +1 -1
  89. package/dist/translations/ko.js +1 -1
  90. package/dist/translations/ko.umd.js +1 -1
  91. package/dist/translations/ku.js +1 -1
  92. package/dist/translations/ku.umd.js +1 -1
  93. package/dist/translations/lt.js +1 -1
  94. package/dist/translations/lt.umd.js +1 -1
  95. package/dist/translations/lv.js +1 -1
  96. package/dist/translations/lv.umd.js +1 -1
  97. package/dist/translations/ms.js +1 -1
  98. package/dist/translations/ms.umd.js +1 -1
  99. package/dist/translations/nb.js +1 -1
  100. package/dist/translations/nb.umd.js +1 -1
  101. package/dist/translations/ne.js +1 -1
  102. package/dist/translations/ne.umd.js +1 -1
  103. package/dist/translations/nl.js +1 -1
  104. package/dist/translations/nl.umd.js +1 -1
  105. package/dist/translations/no.js +1 -1
  106. package/dist/translations/no.umd.js +1 -1
  107. package/dist/translations/oc.js +1 -1
  108. package/dist/translations/oc.umd.js +1 -1
  109. package/dist/translations/pl.js +1 -1
  110. package/dist/translations/pl.umd.js +1 -1
  111. package/dist/translations/pt-br.js +1 -1
  112. package/dist/translations/pt-br.umd.js +1 -1
  113. package/dist/translations/pt.js +1 -1
  114. package/dist/translations/pt.umd.js +1 -1
  115. package/dist/translations/ro.js +1 -1
  116. package/dist/translations/ro.umd.js +1 -1
  117. package/dist/translations/ru.js +1 -1
  118. package/dist/translations/ru.umd.js +1 -1
  119. package/dist/translations/si.js +1 -1
  120. package/dist/translations/si.umd.js +1 -1
  121. package/dist/translations/sk.js +1 -1
  122. package/dist/translations/sk.umd.js +1 -1
  123. package/dist/translations/sl.js +1 -1
  124. package/dist/translations/sl.umd.js +1 -1
  125. package/dist/translations/sq.js +1 -1
  126. package/dist/translations/sq.umd.js +1 -1
  127. package/dist/translations/sr-latn.js +1 -1
  128. package/dist/translations/sr-latn.umd.js +1 -1
  129. package/dist/translations/sr.js +1 -1
  130. package/dist/translations/sr.umd.js +1 -1
  131. package/dist/translations/sv.js +1 -1
  132. package/dist/translations/sv.umd.js +1 -1
  133. package/dist/translations/th.js +1 -1
  134. package/dist/translations/th.umd.js +1 -1
  135. package/dist/translations/ti.js +1 -1
  136. package/dist/translations/ti.umd.js +1 -1
  137. package/dist/translations/tk.js +1 -1
  138. package/dist/translations/tk.umd.js +1 -1
  139. package/dist/translations/tr.js +1 -1
  140. package/dist/translations/tr.umd.js +1 -1
  141. package/dist/translations/tt.js +1 -1
  142. package/dist/translations/tt.umd.js +1 -1
  143. package/dist/translations/ug.js +1 -1
  144. package/dist/translations/ug.umd.js +1 -1
  145. package/dist/translations/uk.js +1 -1
  146. package/dist/translations/uk.umd.js +1 -1
  147. package/dist/translations/ur.js +1 -1
  148. package/dist/translations/ur.umd.js +1 -1
  149. package/dist/translations/uz.js +1 -1
  150. package/dist/translations/uz.umd.js +1 -1
  151. package/dist/translations/vi.js +1 -1
  152. package/dist/translations/vi.umd.js +1 -1
  153. package/dist/translations/zh-cn.js +1 -1
  154. package/dist/translations/zh-cn.umd.js +1 -1
  155. package/dist/translations/zh.js +1 -1
  156. package/dist/translations/zh.umd.js +1 -1
  157. package/{src → dist}/ui/linesrepository.d.ts +2 -2
  158. package/{src → dist}/ui/lineview.d.ts +1 -1
  159. package/{src → dist}/ui/pagenavigatorview.d.ts +2 -2
  160. package/{src → dist}/utils/common-translations.d.ts +1 -1
  161. package/package.json +18 -41
  162. package/build/pagination.js +0 -5
  163. package/build/translations/af.js +0 -1
  164. package/build/translations/ar.js +0 -1
  165. package/build/translations/ast.js +0 -1
  166. package/build/translations/az.js +0 -1
  167. package/build/translations/be.js +0 -1
  168. package/build/translations/bg.js +0 -1
  169. package/build/translations/bn.js +0 -1
  170. package/build/translations/bs.js +0 -1
  171. package/build/translations/ca.js +0 -1
  172. package/build/translations/cs.js +0 -1
  173. package/build/translations/da.js +0 -1
  174. package/build/translations/de-ch.js +0 -1
  175. package/build/translations/de.js +0 -1
  176. package/build/translations/el.js +0 -1
  177. package/build/translations/en-au.js +0 -1
  178. package/build/translations/en-gb.js +0 -1
  179. package/build/translations/eo.js +0 -1
  180. package/build/translations/es-co.js +0 -1
  181. package/build/translations/es.js +0 -1
  182. package/build/translations/et.js +0 -1
  183. package/build/translations/eu.js +0 -1
  184. package/build/translations/fa.js +0 -1
  185. package/build/translations/fi.js +0 -1
  186. package/build/translations/fr.js +0 -1
  187. package/build/translations/gl.js +0 -1
  188. package/build/translations/gu.js +0 -1
  189. package/build/translations/he.js +0 -1
  190. package/build/translations/hi.js +0 -1
  191. package/build/translations/hr.js +0 -1
  192. package/build/translations/hu.js +0 -1
  193. package/build/translations/hy.js +0 -1
  194. package/build/translations/id.js +0 -1
  195. package/build/translations/it.js +0 -1
  196. package/build/translations/ja.js +0 -1
  197. package/build/translations/jv.js +0 -1
  198. package/build/translations/kk.js +0 -1
  199. package/build/translations/km.js +0 -1
  200. package/build/translations/kn.js +0 -1
  201. package/build/translations/ko.js +0 -1
  202. package/build/translations/ku.js +0 -1
  203. package/build/translations/lt.js +0 -1
  204. package/build/translations/lv.js +0 -1
  205. package/build/translations/ms.js +0 -1
  206. package/build/translations/nb.js +0 -1
  207. package/build/translations/ne.js +0 -1
  208. package/build/translations/nl.js +0 -1
  209. package/build/translations/no.js +0 -1
  210. package/build/translations/oc.js +0 -1
  211. package/build/translations/pl.js +0 -1
  212. package/build/translations/pt-br.js +0 -1
  213. package/build/translations/pt.js +0 -1
  214. package/build/translations/ro.js +0 -1
  215. package/build/translations/ru.js +0 -1
  216. package/build/translations/si.js +0 -1
  217. package/build/translations/sk.js +0 -1
  218. package/build/translations/sl.js +0 -1
  219. package/build/translations/sq.js +0 -1
  220. package/build/translations/sr-latn.js +0 -1
  221. package/build/translations/sr.js +0 -1
  222. package/build/translations/sv.js +0 -1
  223. package/build/translations/th.js +0 -1
  224. package/build/translations/ti.js +0 -1
  225. package/build/translations/tk.js +0 -1
  226. package/build/translations/tr.js +0 -1
  227. package/build/translations/tt.js +0 -1
  228. package/build/translations/ug.js +0 -1
  229. package/build/translations/uk.js +0 -1
  230. package/build/translations/ur.js +0 -1
  231. package/build/translations/uz.js +0 -1
  232. package/build/translations/vi.js +0 -1
  233. package/build/translations/zh-cn.js +0 -1
  234. package/build/translations/zh.js +0 -1
  235. package/lang/contexts.json +0 -8
  236. package/lang/translations/af.po +0 -36
  237. package/lang/translations/ar.po +0 -36
  238. package/lang/translations/ast.po +0 -36
  239. package/lang/translations/az.po +0 -36
  240. package/lang/translations/be.po +0 -36
  241. package/lang/translations/bg.po +0 -36
  242. package/lang/translations/bn.po +0 -36
  243. package/lang/translations/bs.po +0 -36
  244. package/lang/translations/ca.po +0 -36
  245. package/lang/translations/cs.po +0 -36
  246. package/lang/translations/da.po +0 -36
  247. package/lang/translations/de-ch.po +0 -36
  248. package/lang/translations/de.po +0 -36
  249. package/lang/translations/el.po +0 -36
  250. package/lang/translations/en-au.po +0 -36
  251. package/lang/translations/en-gb.po +0 -36
  252. package/lang/translations/en.po +0 -36
  253. package/lang/translations/eo.po +0 -36
  254. package/lang/translations/es-co.po +0 -36
  255. package/lang/translations/es.po +0 -36
  256. package/lang/translations/et.po +0 -36
  257. package/lang/translations/eu.po +0 -36
  258. package/lang/translations/fa.po +0 -36
  259. package/lang/translations/fi.po +0 -36
  260. package/lang/translations/fr.po +0 -36
  261. package/lang/translations/gl.po +0 -36
  262. package/lang/translations/gu.po +0 -36
  263. package/lang/translations/he.po +0 -36
  264. package/lang/translations/hi.po +0 -36
  265. package/lang/translations/hr.po +0 -36
  266. package/lang/translations/hu.po +0 -36
  267. package/lang/translations/hy.po +0 -36
  268. package/lang/translations/id.po +0 -36
  269. package/lang/translations/it.po +0 -36
  270. package/lang/translations/ja.po +0 -36
  271. package/lang/translations/jv.po +0 -36
  272. package/lang/translations/kk.po +0 -36
  273. package/lang/translations/km.po +0 -36
  274. package/lang/translations/kn.po +0 -36
  275. package/lang/translations/ko.po +0 -36
  276. package/lang/translations/ku.po +0 -36
  277. package/lang/translations/lt.po +0 -36
  278. package/lang/translations/lv.po +0 -36
  279. package/lang/translations/ms.po +0 -36
  280. package/lang/translations/nb.po +0 -36
  281. package/lang/translations/ne.po +0 -36
  282. package/lang/translations/nl.po +0 -36
  283. package/lang/translations/no.po +0 -36
  284. package/lang/translations/oc.po +0 -36
  285. package/lang/translations/pl.po +0 -36
  286. package/lang/translations/pt-br.po +0 -36
  287. package/lang/translations/pt.po +0 -36
  288. package/lang/translations/ro.po +0 -36
  289. package/lang/translations/ru.po +0 -36
  290. package/lang/translations/si.po +0 -36
  291. package/lang/translations/sk.po +0 -36
  292. package/lang/translations/sl.po +0 -36
  293. package/lang/translations/sq.po +0 -36
  294. package/lang/translations/sr-latn.po +0 -36
  295. package/lang/translations/sr.po +0 -36
  296. package/lang/translations/sv.po +0 -36
  297. package/lang/translations/th.po +0 -36
  298. package/lang/translations/ti.po +0 -36
  299. package/lang/translations/tk.po +0 -36
  300. package/lang/translations/tr.po +0 -36
  301. package/lang/translations/tt.po +0 -36
  302. package/lang/translations/ug.po +0 -36
  303. package/lang/translations/uk.po +0 -36
  304. package/lang/translations/ur.po +0 -36
  305. package/lang/translations/uz.po +0 -36
  306. package/lang/translations/vi.po +0 -36
  307. package/lang/translations/zh-cn.po +0 -36
  308. package/lang/translations/zh.po +0 -36
  309. package/src/augmentation.js +0 -23
  310. package/src/index.js +0 -23
  311. package/src/legacyerrors.js +0 -23
  312. package/src/pagination.js +0 -23
  313. package/src/paginationediting.js +0 -23
  314. package/src/paginationlookup.js +0 -23
  315. package/src/paginationrenderer.js +0 -23
  316. package/src/paginationui.js +0 -23
  317. package/src/ui/linesrepository.js +0 -23
  318. package/src/ui/lineview.js +0 -24
  319. package/src/ui/pagenavigatorview.js +0 -23
  320. package/src/utils/common-translations.js +0 -23
  321. package/theme/line.css +0 -30
  322. package/theme/pagenavigator.css +0 -46
  323. package/theme/pagination.css +0 -177
  324. /package/{src → dist}/augmentation.d.ts +0 -0
  325. /package/{src → dist}/index.d.ts +0 -0
  326. /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
- --ck-color-pagination-divider: hsl(0, 0%, 67%);
6
+ --ck-color-pagination-divider: #ababab;
16
7
  }
17
8
 
18
- /*
19
- * Content styles.
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
- padding: 0;
32
- margin: 0;
33
- width: auto;
34
- height: auto;
35
- min-width: auto;
36
- min-height: auto;
37
- max-width: none;
38
- max-height: none;
39
- border: none;
40
- box-sizing: border-box;
41
- overflow: unset;
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
- .ck.ck-pagination_enabled.ck-pagination-view .ck-fake-selection-container,
50
- .ck.ck-pagination_enabled.ck-pagination-view .ck-widget__selection-handle,
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
- outline: none;
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
- * Chrome ignores padding-top on the first paragraph at the beginning of the page,
70
- * causing incorrect page calculations. In documents consisting solely of paragraphs
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
- padding-top: 0;
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 *:has(+ .page-break) {
92
- margin-bottom: 0;
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
- padding: 0;
97
- margin: 0;
98
- break-after: column;
99
- display: block;
100
- height: 0;
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::after {
109
- display: none;
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
- overflow: initial;
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
- width: 0;
137
- height: 0;
138
- overflow: hidden;
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):not(:has(> figcaption)) {
169
- display: block;
170
- width: fit-content;
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
- * Make ToC page fragmentable.
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
- border: 0;
179
- }
85
+ border: 0;
86
+ }
180
87
 
181
88
  .ck.ck-pagination_enabled.ck-pagination-view .table-of-contents ol li {
182
- overflow: visible;
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
- padding: 0 var(--ck-spacing-standard);
231
- line-height: 1;
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
- width: var(--ck-ui-component-min-height);
236
- min-width: var(--ck-ui-component-min-height);
237
-
238
- background: transparent;
239
- text-align: center;
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
- /* Disable native increment/decrement buttons (Webkit). */
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-inner-spin-button,
248
- .ck.ck-page-navigator > .ck-input-number::-webkit-outer-spin-button {
249
- -webkit-appearance: none;
250
- margin: 0;
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
- border: 1px solid transparent;
255
- border-bottom: 1px solid var(--ck-color-base-border);
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
- * What you're currently looking at is the source code of a legally protected, proprietary software.
265
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
266
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
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
- position: absolute;
274
- height: 0;
275
- border-top: 1px dotted var(--ck-color-pagination-divider);
276
- pointer-events: none;
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::after {
280
- content: attr(data-page-number);
281
- font-size: 10px;
282
- background: hsl(0, 0%, 77%);
283
- color: var(--ck-color-base-background);
284
- display: inline-block;
285
- position: absolute;
286
- right: -1px;
287
- transform: translateX(100%);
288
- min-width: 18px;
289
- text-align: center;
290
- top: -1px;
291
- padding: var(--ck-spacing-tiny) var(--ck-spacing-medium);
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
+ }