@ckeditor/ckeditor5-page-break 48.8.1-alpha.4 → 49.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 (161) hide show
  1. package/dist/augmentation.d.ts +13 -13
  2. package/dist/index-content.css +39 -37
  3. package/dist/index-content.css.map +1 -0
  4. package/dist/index-editor.css +3 -0
  5. package/dist/index-editor.css.map +1 -0
  6. package/dist/index.css +9 -9
  7. package/dist/index.css.map +1 -1
  8. package/dist/index.d.ts +12 -10
  9. package/dist/index.js +246 -236
  10. package/dist/index.js.map +1 -1
  11. package/dist/pagebreak.d.ts +27 -27
  12. package/dist/pagebreakcommand.d.ts +24 -24
  13. package/dist/pagebreakediting.d.ts +29 -30
  14. package/dist/pagebreakui.d.ts +24 -24
  15. package/dist/translations/af.js +1 -1
  16. package/dist/translations/af.umd.js +5 -3
  17. package/dist/translations/ar.js +1 -1
  18. package/dist/translations/ar.umd.js +5 -3
  19. package/dist/translations/ast.js +1 -1
  20. package/dist/translations/ast.umd.js +5 -3
  21. package/dist/translations/az.js +1 -1
  22. package/dist/translations/az.umd.js +5 -3
  23. package/dist/translations/be.js +1 -1
  24. package/dist/translations/be.umd.js +5 -3
  25. package/dist/translations/bg.js +1 -1
  26. package/dist/translations/bg.umd.js +5 -3
  27. package/dist/translations/bn.js +1 -1
  28. package/dist/translations/bn.umd.js +5 -3
  29. package/dist/translations/bs.js +1 -1
  30. package/dist/translations/bs.umd.js +5 -3
  31. package/dist/translations/ca.js +1 -1
  32. package/dist/translations/ca.umd.js +5 -3
  33. package/dist/translations/cs.js +1 -1
  34. package/dist/translations/cs.umd.js +5 -3
  35. package/dist/translations/da.js +1 -1
  36. package/dist/translations/da.umd.js +5 -3
  37. package/dist/translations/de-ch.js +1 -1
  38. package/dist/translations/de-ch.umd.js +5 -3
  39. package/dist/translations/de.js +1 -1
  40. package/dist/translations/de.umd.js +5 -3
  41. package/dist/translations/el.js +1 -1
  42. package/dist/translations/el.umd.js +5 -3
  43. package/dist/translations/en-au.js +1 -1
  44. package/dist/translations/en-au.umd.js +5 -3
  45. package/dist/translations/en-gb.js +1 -1
  46. package/dist/translations/en-gb.umd.js +5 -3
  47. package/dist/translations/en.js +1 -1
  48. package/dist/translations/en.umd.js +5 -3
  49. package/dist/translations/eo.js +1 -1
  50. package/dist/translations/eo.umd.js +5 -3
  51. package/dist/translations/es-co.js +1 -1
  52. package/dist/translations/es-co.umd.js +5 -3
  53. package/dist/translations/es.js +1 -1
  54. package/dist/translations/es.umd.js +5 -3
  55. package/dist/translations/et.js +1 -1
  56. package/dist/translations/et.umd.js +5 -3
  57. package/dist/translations/eu.js +1 -1
  58. package/dist/translations/eu.umd.js +5 -3
  59. package/dist/translations/fa.js +1 -1
  60. package/dist/translations/fa.umd.js +5 -3
  61. package/dist/translations/fi.js +1 -1
  62. package/dist/translations/fi.umd.js +5 -3
  63. package/dist/translations/fr.js +1 -1
  64. package/dist/translations/fr.umd.js +5 -3
  65. package/dist/translations/gl.js +1 -1
  66. package/dist/translations/gl.umd.js +5 -3
  67. package/dist/translations/gu.js +1 -1
  68. package/dist/translations/gu.umd.js +5 -3
  69. package/dist/translations/he.js +1 -1
  70. package/dist/translations/he.umd.js +5 -3
  71. package/dist/translations/hi.js +1 -1
  72. package/dist/translations/hi.umd.js +5 -3
  73. package/dist/translations/hr.js +1 -1
  74. package/dist/translations/hr.umd.js +5 -3
  75. package/dist/translations/hu.js +1 -1
  76. package/dist/translations/hu.umd.js +5 -3
  77. package/dist/translations/hy.js +1 -1
  78. package/dist/translations/hy.umd.js +5 -3
  79. package/dist/translations/id.js +1 -1
  80. package/dist/translations/id.umd.js +5 -3
  81. package/dist/translations/it.js +1 -1
  82. package/dist/translations/it.umd.js +5 -3
  83. package/dist/translations/ja.js +1 -1
  84. package/dist/translations/ja.umd.js +5 -3
  85. package/dist/translations/jv.js +1 -1
  86. package/dist/translations/jv.umd.js +5 -3
  87. package/dist/translations/kk.js +1 -1
  88. package/dist/translations/kk.umd.js +5 -3
  89. package/dist/translations/km.js +1 -1
  90. package/dist/translations/km.umd.js +5 -3
  91. package/dist/translations/kn.js +1 -1
  92. package/dist/translations/kn.umd.js +5 -3
  93. package/dist/translations/ko.js +1 -1
  94. package/dist/translations/ko.umd.js +5 -3
  95. package/dist/translations/ku.js +1 -1
  96. package/dist/translations/ku.umd.js +5 -3
  97. package/dist/translations/lt.js +1 -1
  98. package/dist/translations/lt.umd.js +5 -3
  99. package/dist/translations/lv.js +1 -1
  100. package/dist/translations/lv.umd.js +5 -3
  101. package/dist/translations/ms.js +1 -1
  102. package/dist/translations/ms.umd.js +5 -3
  103. package/dist/translations/nb.js +1 -1
  104. package/dist/translations/nb.umd.js +5 -3
  105. package/dist/translations/ne.js +1 -1
  106. package/dist/translations/ne.umd.js +5 -3
  107. package/dist/translations/nl.js +1 -1
  108. package/dist/translations/nl.umd.js +5 -3
  109. package/dist/translations/no.js +1 -1
  110. package/dist/translations/no.umd.js +5 -3
  111. package/dist/translations/oc.js +1 -1
  112. package/dist/translations/oc.umd.js +5 -3
  113. package/dist/translations/pl.js +1 -1
  114. package/dist/translations/pl.umd.js +5 -3
  115. package/dist/translations/pt-br.js +1 -1
  116. package/dist/translations/pt-br.umd.js +5 -3
  117. package/dist/translations/pt.js +1 -1
  118. package/dist/translations/pt.umd.js +5 -3
  119. package/dist/translations/ro.js +1 -1
  120. package/dist/translations/ro.umd.js +5 -3
  121. package/dist/translations/ru.js +1 -1
  122. package/dist/translations/ru.umd.js +5 -3
  123. package/dist/translations/si.js +1 -1
  124. package/dist/translations/si.umd.js +5 -3
  125. package/dist/translations/sk.js +1 -1
  126. package/dist/translations/sk.umd.js +5 -3
  127. package/dist/translations/sl.js +1 -1
  128. package/dist/translations/sl.umd.js +5 -3
  129. package/dist/translations/sq.js +1 -1
  130. package/dist/translations/sq.umd.js +5 -3
  131. package/dist/translations/sr-latn.js +1 -1
  132. package/dist/translations/sr-latn.umd.js +5 -3
  133. package/dist/translations/sr.js +1 -1
  134. package/dist/translations/sr.umd.js +5 -3
  135. package/dist/translations/sv.js +1 -1
  136. package/dist/translations/sv.umd.js +5 -3
  137. package/dist/translations/th.js +1 -1
  138. package/dist/translations/th.umd.js +5 -3
  139. package/dist/translations/ti.js +1 -1
  140. package/dist/translations/ti.umd.js +5 -3
  141. package/dist/translations/tk.js +1 -1
  142. package/dist/translations/tk.umd.js +5 -3
  143. package/dist/translations/tr.js +1 -1
  144. package/dist/translations/tr.umd.js +5 -3
  145. package/dist/translations/tt.js +1 -1
  146. package/dist/translations/tt.umd.js +5 -3
  147. package/dist/translations/ug.js +1 -1
  148. package/dist/translations/ug.umd.js +5 -3
  149. package/dist/translations/uk.js +1 -1
  150. package/dist/translations/uk.umd.js +5 -3
  151. package/dist/translations/ur.js +1 -1
  152. package/dist/translations/ur.umd.js +5 -3
  153. package/dist/translations/uz.js +1 -1
  154. package/dist/translations/uz.umd.js +5 -3
  155. package/dist/translations/vi.js +1 -1
  156. package/dist/translations/vi.umd.js +5 -3
  157. package/dist/translations/zh-cn.js +1 -1
  158. package/dist/translations/zh-cn.umd.js +5 -3
  159. package/dist/translations/zh.js +1 -1
  160. package/dist/translations/zh.umd.js +5 -3
  161. package/package.json +7 -7
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, 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
- import type { PageBreak, PageBreakEditing, PageBreakUI, PageBreakCommand } from './index.js';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface PluginsMap {
8
- [PageBreak.pluginName]: PageBreak;
9
- [PageBreakEditing.pluginName]: PageBreakEditing;
10
- [PageBreakUI.pluginName]: PageBreakUI;
11
- }
12
- interface CommandsMap {
13
- pageBreak: PageBreakCommand;
14
- }
2
+ * @license Copyright (c) 2003-2026, 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
+ import type { PageBreak, PageBreakEditing, PageBreakUI, PageBreakCommand } from "./index.js";
6
+ declare module "@ckeditor/ckeditor5-core" {
7
+ interface PluginsMap {
8
+ [PageBreak.pluginName]: PageBreak;
9
+ [PageBreakEditing.pluginName]: PageBreakEditing;
10
+ [PageBreakUI.pluginName]: PageBreakUI;
11
+ }
12
+ interface CommandsMap {
13
+ pageBreak: PageBreakCommand;
14
+ }
15
15
  }
@@ -2,49 +2,51 @@
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
- .ck-content .page-break{
6
- clear:both;
7
- justify-content:center;
8
- align-items:center;
9
- padding:5px 0;
10
- display:flex;
11
- position:relative;
12
- }
5
+ .ck-content .page-break {
6
+ clear: both;
7
+ justify-content: center;
8
+ align-items: center;
9
+ padding: 5px 0;
10
+ display: flex;
11
+ position: relative;
13
12
 
14
- .ck-content .page-break:after{
15
- content:"";
16
- border-bottom:2px dashed #c4c4c4;
17
- width:100%;
18
- position:absolute;
13
+ &:after {
14
+ content: "";
15
+ border-bottom: 2px dashed #c4c4c4;
16
+ width: 100%;
17
+ position: absolute;
18
+ }
19
19
  }
20
20
 
21
- .ck-content .page-break__label{
22
- z-index:1;
23
- text-transform:uppercase;
24
- color:#333;
25
- -webkit-user-select:none;
26
- user-select:none;
27
- background:#fff;
28
- border:1px solid #c4c4c4;
29
- border-radius:2px;
30
- padding:.3em .6em;
31
- font-size:.75em;
32
- font-weight:bold;
33
- display:block;
34
- position:relative;
35
- box-shadow:2px 2px 1px #00000026;
21
+ .ck-content .page-break__label {
22
+ z-index: 1;
23
+ text-transform: uppercase;
24
+ color: #333;
25
+ -webkit-user-select: none;
26
+ user-select: none;
27
+ background: #fff;
28
+ border: 1px solid #c4c4c4;
29
+ border-radius: 2px;
30
+ padding: .3em .6em;
31
+ font-size: .75em;
32
+ font-weight: bold;
33
+ display: block;
34
+ position: relative;
35
+ box-shadow: 2px 2px 1px #00000026;
36
36
  }
37
37
 
38
- @media print{
39
- .ck-content .page-break{
40
- padding:0;
41
- }
38
+ @media print {
39
+ .ck-content .page-break {
40
+ padding: 0;
42
41
 
43
- .ck-content .page-break:after{
44
- display:none;
42
+ &:after {
43
+ display: none;
44
+ }
45
45
  }
46
46
 
47
- .ck-content :has( + .page-break){
48
- margin-bottom:0;
47
+ .ck-content :has( + .page-break) {
48
+ margin-bottom: 0;
49
49
  }
50
- }
50
+ }
51
+
52
+ /*# sourceMappingURL=index-content.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../theme/index-content.css","index-content.css"],"names":[],"mappings":";;;;AAMA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA;ACLA,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI;AACb,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM;AACzB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM;AACrB,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC;AAChB,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI;AACf,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;;AAEpB,CAAC,CDMA,CAAA,CAAA,KAAA,CAAA;ACLD,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AACf,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM;AACrC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;AACf,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;AACtB,CAAC,CAAC;AACF;;ADQA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,YAAA,CAAA;AC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A,CAAA,CAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA,CAAA;ACdD,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;AACpB,CAAC,CAAC;AACF;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-content.css.map","sourcesContent":["/*\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* content-layer: pending color palette */\n.ck-content .page-break {\n\tposition: relative;\n\tclear: both;\n\tpadding: 5px 0;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\n\t&::after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tborder-bottom: 2px dashed hsl(0, 0%, 77%);\n\t\twidth: 100%;\n\t}\n}\n\n.ck-content .page-break__label {\n\tposition: relative;\n\tz-index: 1;\n\tpadding: .3em .6em;\n\tdisplay: block;\n\ttext-transform: uppercase;\n\tborder: 1px solid hsl(0, 0%, 77%);\n\tborder-radius: 2px;\n\tfont-size: 0.75em;\n\tfont-weight: bold;\n\tcolor: hsl(0, 0%, 20%);\n\tbackground: hsl(0, 0%, 100%);\n\tbox-shadow: 2px 2px 1px hsla(0, 0%, 0%, 0.15);\n\n\t/* Disable the possibility to select the label text by the user. */\n\t-webkit-user-select: none;\n\tuser-select: none;\n}\n\n/* Do not show the page break element inside the print preview window. */\n@media print {\n\t.ck-content .page-break {\n\t\tpadding: 0;\n\n\t\t&::after {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t/*\n\t * From time to time placing page-break directly after a block element with margin causes appending a new blank page in pagination mode.\n\t * Removing margin-bottom from the block element fixes that issue and the margin is not being moved to the next blank page.\n\t *\n\t * Keep this in sync with the pagination plugins.\n\t */\n\t.ck-content *:has(+ .page-break) {\n\t\tmargin-bottom: 0;\n\t}\n}\n",".ck-content .page-break {\n clear: both;\n justify-content: center;\n align-items: center;\n padding: 5px 0;\n display: flex;\n position: relative;\n\n &:after {\n content: \"\";\n border-bottom: 2px dashed #c4c4c4;\n width: 100%;\n position: absolute;\n }\n}\n\n.ck-content .page-break__label {\n z-index: 1;\n text-transform: uppercase;\n color: #333;\n -webkit-user-select: none;\n user-select: none;\n background: #fff;\n border: 1px solid #c4c4c4;\n border-radius: 2px;\n padding: .3em .6em;\n font-size: .75em;\n font-weight: bold;\n display: block;\n position: relative;\n box-shadow: 2px 2px 1px #00000026;\n}\n\n@media print {\n .ck-content .page-break {\n padding: 0;\n\n &:after {\n display: none;\n }\n }\n\n .ck-content :has( + .page-break) {\n margin-bottom: 0;\n }\n}\n\n/*# sourceMappingURL=index-content.css.map */"]}
@@ -2,3 +2,6 @@
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
+
7
+ /*# sourceMappingURL=index-editor.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["index-editor.css"],"names":[],"mappings":";;;;;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-editor.css.map","sourcesContent":["\n\n/*# sourceMappingURL=index-editor.css.map */"]}
package/dist/index.css CHANGED
@@ -9,13 +9,13 @@
9
9
  padding: 5px 0;
10
10
  display: flex;
11
11
  position: relative;
12
- }
13
12
 
14
- .ck-content .page-break:after {
15
- content: "";
16
- border-bottom: 2px dashed #c4c4c4;
17
- width: 100%;
18
- position: absolute;
13
+ &:after {
14
+ content: "";
15
+ border-bottom: 2px dashed #c4c4c4;
16
+ width: 100%;
17
+ position: absolute;
18
+ }
19
19
  }
20
20
 
21
21
  .ck-content .page-break__label {
@@ -38,10 +38,10 @@
38
38
  @media print {
39
39
  .ck-content .page-break {
40
40
  padding: 0;
41
- }
42
41
 
43
- .ck-content .page-break:after {
44
- display: none;
42
+ &:after {
43
+ display: none;
44
+ }
45
45
  }
46
46
 
47
47
  .ck-content :has( + .page-break) {
@@ -1 +1 @@
1
- {"version":3,"sources":["../theme/pagebreak.css","index.css"],"names":[],"mappings":";;;;AAKA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA;ACJA,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI;AACb,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM;AACzB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM;AACrB,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC;AAChB,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI;AACf,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;AACpB;;ADMC,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA,KAAA,CAAA;ACHD,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AACb,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM;AACnC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;AACb,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;AACpB;;ADOA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,YAAA,CAAA;ACJA,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;AACZ,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3B,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG;AACb,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI;AAC3B,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAA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 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n.ck-content .page-break {\n\tposition: relative;\n\tclear: both;\n\tpadding: 5px 0;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\n\t&::after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tborder-bottom: 2px dashed hsl(0, 0%, 77%);\n\t\twidth: 100%;\n\t}\n}\n\n.ck-content .page-break__label {\n\tposition: relative;\n\tz-index: 1;\n\tpadding: .3em .6em;\n\tdisplay: block;\n\ttext-transform: uppercase;\n\tborder: 1px solid hsl(0, 0%, 77%);\n\tborder-radius: 2px;\n\tfont-size: 0.75em;\n\tfont-weight: bold;\n\tcolor: hsl(0, 0%, 20%);\n\tbackground: hsl(0, 0%, 100%);\n\tbox-shadow: 2px 2px 1px hsla(0, 0%, 0%, 0.15);\n\n\t/* Disable the possibility to select the label text by the user. */\n\t-webkit-user-select: none;\n\tuser-select: none;\n}\n\n/* Do not show the page break element inside the print preview window. */\n@media print {\n\t.ck-content .page-break {\n\t\tpadding: 0;\n\n\t\t&::after {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t/*\n\t * From time to time placing page-break directly after a block element with margin causes appending a new blank page in pagination mode.\n\t * Removing margin-bottom from the block element fixes that issue and the margin is not being moved to the next blank page.\n\t *\n\t * Keep this in sync with the pagination plugins.\n\t */\n\t.ck-content *:has(+ .page-break) {\n\t\tmargin-bottom: 0;\n\t}\n}\n",".ck-content .page-break {\n clear: both;\n justify-content: center;\n align-items: center;\n padding: 5px 0;\n display: flex;\n position: relative;\n}\n\n.ck-content .page-break:after {\n content: \"\";\n border-bottom: 2px dashed #c4c4c4;\n width: 100%;\n position: absolute;\n}\n\n.ck-content .page-break__label {\n z-index: 1;\n text-transform: uppercase;\n color: #333;\n -webkit-user-select: none;\n user-select: none;\n background: #fff;\n border: 1px solid #c4c4c4;\n border-radius: 2px;\n padding: .3em .6em;\n font-size: .75em;\n font-weight: bold;\n display: block;\n position: relative;\n box-shadow: 2px 2px 1px #00000026;\n}\n\n@media print {\n .ck-content .page-break {\n padding: 0;\n }\n\n .ck-content .page-break:after {\n display: none;\n }\n\n .ck-content :has( + .page-break) {\n margin-bottom: 0;\n }\n}\n\n/*# sourceMappingURL=index.css.map */"]}
1
+ {"version":3,"sources":["../theme/index-content.css","index.css"],"names":[],"mappings":";;;;AAMA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA;ACLA,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI;AACb,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM;AACzB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM;AACrB,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC;AAChB,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI;AACf,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;;AAEpB,CAAC,CDMA,CAAA,CAAA,KAAA,CAAA;ACLD,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AACf,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM;AACrC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;AACf,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;AACtB,CAAC,CAAC;AACF;;ADQA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,YAAA,CAAA;ACLA,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;AACZ,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3B,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG;AACb,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CA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AAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* content-layer: pending color palette */\n.ck-content .page-break {\n\tposition: relative;\n\tclear: both;\n\tpadding: 5px 0;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\n\t&::after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tborder-bottom: 2px dashed hsl(0, 0%, 77%);\n\t\twidth: 100%;\n\t}\n}\n\n.ck-content .page-break__label {\n\tposition: relative;\n\tz-index: 1;\n\tpadding: .3em .6em;\n\tdisplay: block;\n\ttext-transform: uppercase;\n\tborder: 1px solid hsl(0, 0%, 77%);\n\tborder-radius: 2px;\n\tfont-size: 0.75em;\n\tfont-weight: bold;\n\tcolor: hsl(0, 0%, 20%);\n\tbackground: hsl(0, 0%, 100%);\n\tbox-shadow: 2px 2px 1px hsla(0, 0%, 0%, 0.15);\n\n\t/* Disable the possibility to select the label text by the user. */\n\t-webkit-user-select: none;\n\tuser-select: none;\n}\n\n/* Do not show the page break element inside the print preview window. */\n@media print {\n\t.ck-content .page-break {\n\t\tpadding: 0;\n\n\t\t&::after {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t/*\n\t * From time to time placing page-break directly after a block element with margin causes appending a new blank page in pagination mode.\n\t * Removing margin-bottom from the block element fixes that issue and the margin is not being moved to the next blank page.\n\t *\n\t * Keep this in sync with the pagination plugins.\n\t */\n\t.ck-content *:has(+ .page-break) {\n\t\tmargin-bottom: 0;\n\t}\n}\n",".ck-content .page-break {\n clear: both;\n justify-content: center;\n align-items: center;\n padding: 5px 0;\n display: flex;\n position: relative;\n\n &:after {\n content: \"\";\n border-bottom: 2px dashed #c4c4c4;\n width: 100%;\n position: absolute;\n }\n}\n\n.ck-content .page-break__label {\n z-index: 1;\n text-transform: uppercase;\n color: #333;\n -webkit-user-select: none;\n user-select: none;\n background: #fff;\n border: 1px solid #c4c4c4;\n border-radius: 2px;\n padding: .3em .6em;\n font-size: .75em;\n font-weight: bold;\n display: block;\n position: relative;\n box-shadow: 2px 2px 1px #00000026;\n}\n\n@media print {\n .ck-content .page-break {\n padding: 0;\n\n &:after {\n display: none;\n }\n }\n\n .ck-content :has( + .page-break) {\n margin-bottom: 0;\n }\n}\n\n/*# sourceMappingURL=index.css.map */"]}
package/dist/index.d.ts CHANGED
@@ -1,12 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, 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
5
  /**
6
- * @module page-break
7
- */
8
- export { PageBreak } from './pagebreak.js';
9
- export { PageBreakEditing } from './pagebreakediting.js';
10
- export { PageBreakUI } from './pagebreakui.js';
11
- export { PageBreakCommand } from './pagebreakcommand.js';
12
- import './augmentation.js';
6
+ * @module page-break
7
+ */
8
+ export { PageBreak } from "./pagebreak.js";
9
+ export { PageBreakEditing } from "./pagebreakediting.js";
10
+ export { PageBreakUI } from "./pagebreakui.js";
11
+ export { PageBreakCommand } from "./pagebreakcommand.js";
12
+ import "../theme/index-editor.css";
13
+ import "../theme/index-content.css";
14
+ import "./augmentation.js";