@ckeditor/ckeditor5-fullscreen 45.0.0-alpha.9 → 45.1.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 (310) hide show
  1. package/build/fullscreen.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +2 -1
  75. package/dist/index.css +3 -2
  76. package/dist/index.css.map +1 -1
  77. package/dist/index.js +117 -27
  78. package/dist/index.js.map +1 -1
  79. package/dist/translations/af.js +1 -1
  80. package/dist/translations/af.umd.js +1 -1
  81. package/dist/translations/ar.js +1 -1
  82. package/dist/translations/ar.umd.js +1 -1
  83. package/dist/translations/ast.js +1 -1
  84. package/dist/translations/ast.umd.js +1 -1
  85. package/dist/translations/az.js +1 -1
  86. package/dist/translations/az.umd.js +1 -1
  87. package/dist/translations/be.js +1 -1
  88. package/dist/translations/be.umd.js +1 -1
  89. package/dist/translations/bg.js +1 -1
  90. package/dist/translations/bg.umd.js +1 -1
  91. package/dist/translations/bn.js +1 -1
  92. package/dist/translations/bn.umd.js +1 -1
  93. package/dist/translations/bs.js +1 -1
  94. package/dist/translations/bs.umd.js +1 -1
  95. package/dist/translations/ca.js +1 -1
  96. package/dist/translations/ca.umd.js +1 -1
  97. package/dist/translations/cs.js +1 -1
  98. package/dist/translations/cs.umd.js +1 -1
  99. package/dist/translations/da.js +1 -1
  100. package/dist/translations/da.umd.js +1 -1
  101. package/dist/translations/de-ch.js +1 -1
  102. package/dist/translations/de-ch.umd.js +1 -1
  103. package/dist/translations/de.js +1 -1
  104. package/dist/translations/de.umd.js +1 -1
  105. package/dist/translations/el.js +1 -1
  106. package/dist/translations/el.umd.js +1 -1
  107. package/dist/translations/en-au.js +1 -1
  108. package/dist/translations/en-au.umd.js +1 -1
  109. package/dist/translations/en-gb.js +1 -1
  110. package/dist/translations/en-gb.umd.js +1 -1
  111. package/dist/translations/en.js +1 -1
  112. package/dist/translations/en.umd.js +1 -1
  113. package/dist/translations/eo.js +1 -1
  114. package/dist/translations/eo.umd.js +1 -1
  115. package/dist/translations/es-co.js +1 -1
  116. package/dist/translations/es-co.umd.js +1 -1
  117. package/dist/translations/es.js +1 -1
  118. package/dist/translations/es.umd.js +1 -1
  119. package/dist/translations/et.js +1 -1
  120. package/dist/translations/et.umd.js +1 -1
  121. package/dist/translations/eu.js +1 -1
  122. package/dist/translations/eu.umd.js +1 -1
  123. package/dist/translations/fa.js +1 -1
  124. package/dist/translations/fa.umd.js +1 -1
  125. package/dist/translations/fi.js +1 -1
  126. package/dist/translations/fi.umd.js +1 -1
  127. package/dist/translations/fr.js +1 -1
  128. package/dist/translations/fr.umd.js +1 -1
  129. package/dist/translations/gl.js +1 -1
  130. package/dist/translations/gl.umd.js +1 -1
  131. package/dist/translations/gu.js +1 -1
  132. package/dist/translations/gu.umd.js +1 -1
  133. package/dist/translations/he.js +1 -1
  134. package/dist/translations/he.umd.js +1 -1
  135. package/dist/translations/hi.js +1 -1
  136. package/dist/translations/hi.umd.js +1 -1
  137. package/dist/translations/hr.js +1 -1
  138. package/dist/translations/hr.umd.js +1 -1
  139. package/dist/translations/hu.js +1 -1
  140. package/dist/translations/hu.umd.js +1 -1
  141. package/dist/translations/hy.js +1 -1
  142. package/dist/translations/hy.umd.js +1 -1
  143. package/dist/translations/id.js +1 -1
  144. package/dist/translations/id.umd.js +1 -1
  145. package/dist/translations/it.js +1 -1
  146. package/dist/translations/it.umd.js +1 -1
  147. package/dist/translations/ja.js +1 -1
  148. package/dist/translations/ja.umd.js +1 -1
  149. package/dist/translations/jv.js +1 -1
  150. package/dist/translations/jv.umd.js +1 -1
  151. package/dist/translations/kk.js +1 -1
  152. package/dist/translations/kk.umd.js +1 -1
  153. package/dist/translations/km.js +1 -1
  154. package/dist/translations/km.umd.js +1 -1
  155. package/dist/translations/kn.js +1 -1
  156. package/dist/translations/kn.umd.js +1 -1
  157. package/dist/translations/ko.js +1 -1
  158. package/dist/translations/ko.umd.js +1 -1
  159. package/dist/translations/ku.js +1 -1
  160. package/dist/translations/ku.umd.js +1 -1
  161. package/dist/translations/lt.js +1 -1
  162. package/dist/translations/lt.umd.js +1 -1
  163. package/dist/translations/lv.js +1 -1
  164. package/dist/translations/lv.umd.js +1 -1
  165. package/dist/translations/ms.js +1 -1
  166. package/dist/translations/ms.umd.js +1 -1
  167. package/dist/translations/nb.js +1 -1
  168. package/dist/translations/nb.umd.js +1 -1
  169. package/dist/translations/ne.js +1 -1
  170. package/dist/translations/ne.umd.js +1 -1
  171. package/dist/translations/nl.js +1 -1
  172. package/dist/translations/nl.umd.js +1 -1
  173. package/dist/translations/no.js +1 -1
  174. package/dist/translations/no.umd.js +1 -1
  175. package/dist/translations/oc.js +1 -1
  176. package/dist/translations/oc.umd.js +1 -1
  177. package/dist/translations/pl.js +1 -1
  178. package/dist/translations/pl.umd.js +1 -1
  179. package/dist/translations/pt-br.js +1 -1
  180. package/dist/translations/pt-br.umd.js +1 -1
  181. package/dist/translations/pt.js +1 -1
  182. package/dist/translations/pt.umd.js +1 -1
  183. package/dist/translations/ro.js +1 -1
  184. package/dist/translations/ro.umd.js +1 -1
  185. package/dist/translations/ru.js +1 -1
  186. package/dist/translations/ru.umd.js +1 -1
  187. package/dist/translations/si.js +1 -1
  188. package/dist/translations/si.umd.js +1 -1
  189. package/dist/translations/sk.js +1 -1
  190. package/dist/translations/sk.umd.js +1 -1
  191. package/dist/translations/sl.js +1 -1
  192. package/dist/translations/sl.umd.js +1 -1
  193. package/dist/translations/sq.js +1 -1
  194. package/dist/translations/sq.umd.js +1 -1
  195. package/dist/translations/sr-latn.js +1 -1
  196. package/dist/translations/sr-latn.umd.js +1 -1
  197. package/dist/translations/sr.js +1 -1
  198. package/dist/translations/sr.umd.js +1 -1
  199. package/dist/translations/sv.js +1 -1
  200. package/dist/translations/sv.umd.js +1 -1
  201. package/dist/translations/th.js +1 -1
  202. package/dist/translations/th.umd.js +1 -1
  203. package/dist/translations/ti.js +1 -1
  204. package/dist/translations/ti.umd.js +1 -1
  205. package/dist/translations/tk.js +1 -1
  206. package/dist/translations/tk.umd.js +1 -1
  207. package/dist/translations/tr.js +1 -1
  208. package/dist/translations/tr.umd.js +1 -1
  209. package/dist/translations/tt.js +1 -1
  210. package/dist/translations/tt.umd.js +1 -1
  211. package/dist/translations/ug.js +1 -1
  212. package/dist/translations/ug.umd.js +1 -1
  213. package/dist/translations/uk.js +1 -1
  214. package/dist/translations/uk.umd.js +1 -1
  215. package/dist/translations/ur.js +1 -1
  216. package/dist/translations/ur.umd.js +1 -1
  217. package/dist/translations/uz.js +1 -1
  218. package/dist/translations/uz.umd.js +1 -1
  219. package/dist/translations/vi.js +1 -1
  220. package/dist/translations/vi.umd.js +1 -1
  221. package/dist/translations/zh-cn.js +1 -1
  222. package/dist/translations/zh-cn.umd.js +1 -1
  223. package/dist/translations/zh.js +1 -1
  224. package/dist/translations/zh.umd.js +1 -1
  225. package/lang/contexts.json +3 -1
  226. package/lang/translations/af.po +8 -0
  227. package/lang/translations/ar.po +8 -0
  228. package/lang/translations/ast.po +8 -0
  229. package/lang/translations/az.po +8 -0
  230. package/lang/translations/be.po +8 -0
  231. package/lang/translations/bg.po +8 -0
  232. package/lang/translations/bn.po +8 -0
  233. package/lang/translations/bs.po +8 -0
  234. package/lang/translations/ca.po +8 -0
  235. package/lang/translations/cs.po +8 -0
  236. package/lang/translations/da.po +8 -0
  237. package/lang/translations/de-ch.po +8 -0
  238. package/lang/translations/de.po +8 -0
  239. package/lang/translations/el.po +8 -0
  240. package/lang/translations/en-au.po +8 -0
  241. package/lang/translations/en-gb.po +8 -0
  242. package/lang/translations/en.po +8 -0
  243. package/lang/translations/eo.po +8 -0
  244. package/lang/translations/es-co.po +8 -0
  245. package/lang/translations/es.po +8 -0
  246. package/lang/translations/et.po +8 -0
  247. package/lang/translations/eu.po +8 -0
  248. package/lang/translations/fa.po +8 -0
  249. package/lang/translations/fi.po +8 -0
  250. package/lang/translations/fr.po +8 -0
  251. package/lang/translations/gl.po +8 -0
  252. package/lang/translations/gu.po +8 -0
  253. package/lang/translations/he.po +8 -0
  254. package/lang/translations/hi.po +8 -0
  255. package/lang/translations/hr.po +8 -0
  256. package/lang/translations/hu.po +8 -0
  257. package/lang/translations/hy.po +8 -0
  258. package/lang/translations/id.po +8 -0
  259. package/lang/translations/it.po +8 -0
  260. package/lang/translations/ja.po +8 -0
  261. package/lang/translations/jv.po +8 -0
  262. package/lang/translations/kk.po +8 -0
  263. package/lang/translations/km.po +8 -0
  264. package/lang/translations/kn.po +8 -0
  265. package/lang/translations/ko.po +8 -0
  266. package/lang/translations/ku.po +8 -0
  267. package/lang/translations/lt.po +8 -0
  268. package/lang/translations/lv.po +8 -0
  269. package/lang/translations/ms.po +8 -0
  270. package/lang/translations/nb.po +8 -0
  271. package/lang/translations/ne.po +8 -0
  272. package/lang/translations/nl.po +8 -0
  273. package/lang/translations/no.po +8 -0
  274. package/lang/translations/oc.po +8 -0
  275. package/lang/translations/pl.po +8 -0
  276. package/lang/translations/pt-br.po +8 -0
  277. package/lang/translations/pt.po +8 -0
  278. package/lang/translations/ro.po +8 -0
  279. package/lang/translations/ru.po +8 -0
  280. package/lang/translations/si.po +8 -0
  281. package/lang/translations/sk.po +8 -0
  282. package/lang/translations/sl.po +8 -0
  283. package/lang/translations/sq.po +8 -0
  284. package/lang/translations/sr-latn.po +8 -0
  285. package/lang/translations/sr.po +8 -0
  286. package/lang/translations/sv.po +8 -0
  287. package/lang/translations/th.po +8 -0
  288. package/lang/translations/ti.po +8 -0
  289. package/lang/translations/tk.po +8 -0
  290. package/lang/translations/tr.po +8 -0
  291. package/lang/translations/tt.po +8 -0
  292. package/lang/translations/ug.po +8 -0
  293. package/lang/translations/uk.po +8 -0
  294. package/lang/translations/ur.po +8 -0
  295. package/lang/translations/uz.po +8 -0
  296. package/lang/translations/vi.po +8 -0
  297. package/lang/translations/zh-cn.po +8 -0
  298. package/lang/translations/zh.po +8 -0
  299. package/package.json +8 -13
  300. package/src/fullscreencommand.d.ts +15 -1
  301. package/src/fullscreencommand.js +35 -12
  302. package/src/handlers/abstracteditorhandler.d.ts +61 -5
  303. package/src/handlers/abstracteditorhandler.js +78 -13
  304. package/src/handlers/classiceditorhandler.d.ts +1 -1
  305. package/src/handlers/classiceditorhandler.js +1 -1
  306. package/src/handlers/decouplededitorhandler.d.ts +1 -1
  307. package/src/handlers/decouplededitorhandler.js +1 -1
  308. package/src/index.d.ts +1 -0
  309. package/src/index.js +1 -0
  310. package/theme/fullscreen.css +3 -2
@@ -1 +1 @@
1
- !function(e){const n=e.uz=e.uz||{};n.dictionary=Object.assign(n.dictionary||{},{"Enter fullscreen mode":"","Fullscreen mode":"","Leave fullscreen mode":"","Toggle fullscreen mode":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const n=e.uz=e.uz||{};n.dictionary=Object.assign(n.dictionary||{},{"Connected users":"","Document outline":"","Enter fullscreen mode":"","Fullscreen mode":"","Leave fullscreen mode":"","Toggle fullscreen mode":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(n){const e=n.vi=n.vi||{};e.dictionary=Object.assign(e.dictionary||{},{"Enter fullscreen mode":"Vào chế độ toàn màn hình","Fullscreen mode":"Chế độ toàn màn hình","Leave fullscreen mode":"Thoát chế độ toàn màn hình","Toggle fullscreen mode":"Chuyển đổi chế độ toàn màn hình"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(n){const e=n.vi=n.vi||{};e.dictionary=Object.assign(e.dictionary||{},{"Connected users":"","Document outline":"","Enter fullscreen mode":"Vào chế độ toàn màn hình","Fullscreen mode":"Chế độ toàn màn hình","Leave fullscreen mode":"Thoát chế độ toàn màn hình","Toggle fullscreen mode":"Chuyển đổi chế độ toàn màn hình"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(e){const n=e["zh-cn"]=e["zh-cn"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Enter fullscreen mode":"进入全屏模式","Fullscreen mode":"全屏模式","Leave fullscreen mode":"退出全屏模式","Toggle fullscreen mode":"切换全屏模式"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const n=e["zh-cn"]=e["zh-cn"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Connected users":"","Document outline":"","Enter fullscreen mode":"进入全屏模式","Fullscreen mode":"全屏模式","Leave fullscreen mode":"退出全屏模式","Toggle fullscreen mode":"切换全屏模式"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(e){const n=e.zh=e.zh||{};n.dictionary=Object.assign(n.dictionary||{},{"Enter fullscreen mode":"進入全螢幕模式","Fullscreen mode":"全螢幕模式","Leave fullscreen mode":"退出全螢幕模式","Toggle fullscreen mode":"切換全螢幕模式"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const n=e.zh=e.zh||{};n.dictionary=Object.assign(n.dictionary||{},{"Connected users":"","Document outline":"","Enter fullscreen mode":"進入全螢幕模式","Fullscreen mode":"全螢幕模式","Leave fullscreen mode":"退出全螢幕模式","Toggle fullscreen mode":"切換全螢幕模式"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -71,7 +71,6 @@ html.ck-fullscreen .page-break__label, body.ck-fullscreen .page-break__label{
71
71
 
72
72
  .ck-fullscreen__main-wrapper .ck-fullscreen__editable{
73
73
  margin-top:var(--ck-fullscreen-editor-top-margin);
74
- margin-bottom:56px;
75
74
  height:100%;
76
75
  margin-left:auto;
77
76
  }
@@ -85,8 +84,10 @@ html.ck-fullscreen .page-break__label, body.ck-fullscreen .page-break__label{
85
84
  .ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable){
86
85
  box-sizing:border-box;
87
86
  width:calc(210mm + 2px);
87
+ max-width:calc(210mm + 2px);
88
88
  min-height:297mm;
89
89
  height:fit-content;
90
+ margin:0;
90
91
  padding:20mm 12mm;
91
92
  border:1px var(--ck-color-base-border) solid;
92
93
  background:hsl(0, 0%, 100%);
package/dist/index.css CHANGED
@@ -103,7 +103,6 @@ Fullscreen layout:
103
103
 
104
104
  .ck-fullscreen__main-wrapper .ck-fullscreen__editable {
105
105
  margin-top: var(--ck-fullscreen-editor-top-margin);
106
- margin-bottom: 56px;
107
106
  height: 100%;
108
107
  margin-left: auto;
109
108
  }
@@ -116,9 +115,11 @@ Fullscreen layout:
116
115
 
117
116
  .ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {
118
117
  box-sizing: border-box;
119
- width: calc(210mm + 2px);
118
+ width: calc(210mm + 2px); /* Make sure the border is taken into account. */
119
+ max-width: calc(210mm + 2px); /* Make sure the border is taken into account. */
120
120
  min-height: 297mm;
121
121
  height: fit-content;
122
+ margin: 0; /* Reset margins that may be present on editable. We add them in other places. */
122
123
  padding: 20mm 12mm;
123
124
  border: 1px var(--ck-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,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2025, 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/* Increase z-index of everything to make sure nothing sticks in front of the editor.\nDisable scrollbars that can be present due to the rest of the website content. */\nhtml.ck-fullscreen,\nbody.ck-fullscreen {\n\t--ck-z-fullscreen: 10000;\n\n\toverflow: hidden;\n\n\t--ck-z-default: calc(var(--ck-z-fullscreen) + 1);\n\t--ck-z-panel: calc(var(--ck-z-default) + 999);\n\t--ck-z-dialog: 100000;\n\n\t/* CKBox wrappers have z-index of 9999, let's bump them over the dialog's to ensure visibility like outside fullscreen mode. */\n\t& .ckbox-reset:not(#n)>.ckbox--dialog {\n\t\t--ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);\n\t}\n\n\t& .ckbox:not(#n) .ckbox-img-editor {\n\t\t--ckbox-z-index-preview: calc(var(--ck-z-dialog) + 1);\n\t}\n\n\t& .ck-pagination-view-line {\n\t\tz-index: calc(var(--ck-z-fullscreen) + 1);\n\t}\n\n\t& .page-break__label {\n\t\t/* Needs to be higher than for .ck-pagination-view-line to be displayed on top of the line. */\n\t\tz-index: calc(var(--ck-z-fullscreen) + 2);\n\t}\n}\n\n/*\nFullscreen layout:\n\n<div class=\"ck ck-fullscreen__main-wrapper\">\n\t<div class=\"ck ck-fullscreen__top-wrapper ck-reset_all\">\n\t\t<div class=\"ck ck-fullscreen__menu-bar\" data-ck-fullscreen=\"menu-bar\"></div>\n\t\t<div class=\"ck ck-fullscreen__toolbar\" data-ck-fullscreen=\"toolbar\"></div>\n\t</div>\n\t<div class=\"ck ck-fullscreen__editable-wrapper\">\n\t\t<div class=\"ck ck-fullscreen__sidebar ck-fullscreen__left-sidebar\" data-ck-fullscreen=\"left-sidebar\"></div>\n\t\t<div class=\"ck ck-fullscreen__editable\" data-ck-fullscreen=\"editable\"></div>\n\t\t<div class=\"ck ck-fullscreen__sidebar ck-fullscreen__right-sidebar\" data-ck-fullscreen=\"right-sidebar\"></div>\n\t</div>\n\t<div class=\"ck ck-fullscreen__bottom-wrapper\">\n\t\t<div class=\"ck ck-fullscreen__body-wrapper\" data-ck-fullscreen=\"body-wrapper\"></div>\n\t</div>\n</div>\n*/\n\n.ck.ck-fullscreen__main-wrapper {\n\t/* `position: fixed` prevents the overscroll on macos that would happen with `position: absolute`. */\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: var(--ck-z-fullscreen);\n\tbackground: var(--ck-color-base-foreground);\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t& .ck.ck-revision-history-ui__changes-navigation {\n\t\tmargin-top: 0px;\n\t\tmargin-bottom: 0px;\n\t}\n}\n\n/* If the fullscreen container is not directly in the body, we need to make sure it's positioned absolutely. */\n:not(body> .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper {\n\tposition: absolute;\n}\n\n.ck-fullscreen__menu-bar .ck.ck-menu-bar {\n\tborder: none;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper {\n\t--ck-fullscreen-editor-top-margin: 28px;\n\t--ck-fullscreen-editor-bottom-margin: 28px;\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\toverflow: auto;\n\tmax-height: 100%;\n}\n\n.ck-fullscreen__sidebar {\n\twidth: 300px;\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\tmargin-left: 10px;\n\tflex-shrink: 0;\n}\n\n.ck-fullscreen__sidebar[data-ck-fullscreen=\"right-sidebar\"] {\n\tmargin-right: auto;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable {\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\tmargin-bottom: 56px;\n\theight: 100%;\n\tmargin-left: auto;\n\n\t&::after {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\theight: var(--ck-fullscreen-editor-bottom-margin);\n\t}\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\tbox-sizing: border-box;\n\twidth: calc(210mm + 2px);\n\tmin-height: 297mm;\n\theight: fit-content;\n\tpadding: 20mm 12mm;\n\tborder: 1px var(--ck-color-base-border) solid;\n\tbackground: hsl(0, 0%, 100%);\n\tbox-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.078);\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck-source-editing-area {\n\twidth: calc(210mm + 2px);\n}\n\n.ck-fullscreen__left-sidebar {\n\tfont-family: Helvetica, Arial, sans-serif;\n\t--ck-user-avatar-size: 28px;\n\tposition: sticky;\n\talign-self: flex-start;\n\ttop: 0;\n\theight: 100%;\n\tbackground-color: transparent;\n\tmargin-top: 0px;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-direction: column;\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed {\n\t--ck-user-avatar-size: 32px;\n}\n\n.ck-fullscreen__left-sidebar> :first-child {\n\tpadding-top: var(--ck-fullscreen-editor-top-margin);\n}\n\n.ck-fullscreen__left-sidebar .ck-user {\n\tfont-size: 0.85em;\n}\n\n.ck-fullscreen__left-sidebar .ck-presence-list__users-counter__text {\n\tfont-size: 0.85em;\n}\n\n.ck-fullscreen__left-sidebar-item {\n\tpadding: var(--ck-spacing-medium);\n\tmargin-bottom: var(--ck-spacing-medium);\n}\n\n.ck-fullscreen__left-sidebar-item:last-child {\n\tmargin-bottom: 0;\n}\n\n.ck-fullscreen__left-sidebar-header {\n\t--ck-fullscreen-presence-list-header-font-size: 0.875em;\n\tfont-size: var(--ck-fullscreen-presence-list-header-font-size);\n\tfont-weight: bold;\n\tcolor: var(--ck-document-outline-item-default-color);\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n}\n\n.ck-fullscreen__left-sidebar--sticky {\n\tposition: sticky;\n\ttop: 0;\n\n\t&> :first-child {\n\t\tpadding-top: 0;\n\t}\n}\n\n.ck-fullscreen__presence-list {\n\tmargin-top: var(--ck-spacing-medium);\n}\n\n.ck-fullscreen__left-sidebar-item--no-margin {\n\tmargin: 0;\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-document-outline {\n\tpadding-top: 0;\n\tpadding-left: 0;\n\tpadding-right: 0;\n}\n\n.ck-fullscreen__document-outline-wrapper {\n\tpadding-top: 0;\n\toverflow-y: auto;\n}\n","/*\n * Copyright (c) 2003-2025, 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/* Increase z-index of everything to make sure nothing sticks in front of the editor.\nDisable scrollbars that can be present due to the rest of the website content. */\nhtml.ck-fullscreen,\nbody.ck-fullscreen {\n\t--ck-z-fullscreen: 10000;\n\n\toverflow: hidden;\n\n\t--ck-z-default: calc(var(--ck-z-fullscreen) + 1);\n\t--ck-z-panel: calc(var(--ck-z-default) + 999);\n\t--ck-z-dialog: 100000;\n\n\t/* CKBox wrappers have z-index of 9999, let's bump them over the dialog's to ensure visibility like outside fullscreen mode. */\n}\nhtml.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog, body.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog {\n\t\t--ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);\n\t}\nhtml.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor, body.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor {\n\t\t--ckbox-z-index-preview: calc(var(--ck-z-dialog) + 1);\n\t}\nhtml.ck-fullscreen .ck-pagination-view-line, body.ck-fullscreen .ck-pagination-view-line {\n\t\tz-index: calc(var(--ck-z-fullscreen) + 1);\n\t}\nhtml.ck-fullscreen .page-break__label, body.ck-fullscreen .page-break__label {\n\t\t/* Needs to be higher than for .ck-pagination-view-line to be displayed on top of the line. */\n\t\tz-index: calc(var(--ck-z-fullscreen) + 2);\n\t}\n\n/*\nFullscreen layout:\n\n<div class=\"ck ck-fullscreen__main-wrapper\">\n\t<div class=\"ck ck-fullscreen__top-wrapper ck-reset_all\">\n\t\t<div class=\"ck ck-fullscreen__menu-bar\" data-ck-fullscreen=\"menu-bar\"></div>\n\t\t<div class=\"ck ck-fullscreen__toolbar\" data-ck-fullscreen=\"toolbar\"></div>\n\t</div>\n\t<div class=\"ck ck-fullscreen__editable-wrapper\">\n\t\t<div class=\"ck ck-fullscreen__sidebar ck-fullscreen__left-sidebar\" data-ck-fullscreen=\"left-sidebar\"></div>\n\t\t<div class=\"ck ck-fullscreen__editable\" data-ck-fullscreen=\"editable\"></div>\n\t\t<div class=\"ck ck-fullscreen__sidebar ck-fullscreen__right-sidebar\" data-ck-fullscreen=\"right-sidebar\"></div>\n\t</div>\n\t<div class=\"ck ck-fullscreen__bottom-wrapper\">\n\t\t<div class=\"ck ck-fullscreen__body-wrapper\" data-ck-fullscreen=\"body-wrapper\"></div>\n\t</div>\n</div>\n*/\n\n.ck.ck-fullscreen__main-wrapper {\n\t/* `position: fixed` prevents the overscroll on macos that would happen with `position: absolute`. */\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: var(--ck-z-fullscreen);\n\tbackground: var(--ck-color-base-foreground);\n\tdisplay: flex;\n\tflex-direction: column;\n}\n\n.ck.ck-fullscreen__main-wrapper .ck.ck-revision-history-ui__changes-navigation {\n\t\tmargin-top: 0px;\n\t\tmargin-bottom: 0px;\n\t}\n\n/* If the fullscreen container is not directly in the body, we need to make sure it's positioned absolutely. */\n:not(body> .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper {\n\tposition: absolute;\n}\n\n.ck-fullscreen__menu-bar .ck.ck-menu-bar {\n\tborder: none;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper {\n\t--ck-fullscreen-editor-top-margin: 28px;\n\t--ck-fullscreen-editor-bottom-margin: 28px;\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\toverflow: auto;\n\tmax-height: 100%;\n}\n\n.ck-fullscreen__sidebar {\n\twidth: 300px;\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\tmargin-left: 10px;\n\tflex-shrink: 0;\n}\n\n.ck-fullscreen__sidebar[data-ck-fullscreen=\"right-sidebar\"] {\n\tmargin-right: auto;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable {\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\tmargin-bottom: 56px;\n\theight: 100%;\n\tmargin-left: auto;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable::after {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\theight: var(--ck-fullscreen-editor-bottom-margin);\n\t}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\tbox-sizing: border-box;\n\twidth: calc(210mm + 2px);\n\tmin-height: 297mm;\n\theight: fit-content;\n\tpadding: 20mm 12mm;\n\tborder: 1px var(--ck-color-base-border) solid;\n\tbackground: hsl(0, 0%, 100%);\n\tbox-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.078);\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck-source-editing-area {\n\twidth: calc(210mm + 2px);\n}\n\n.ck-fullscreen__left-sidebar {\n\tfont-family: Helvetica, Arial, sans-serif;\n\t--ck-user-avatar-size: 28px;\n\tposition: sticky;\n\talign-self: flex-start;\n\ttop: 0;\n\theight: 100%;\n\tbackground-color: transparent;\n\tmargin-top: 0px;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-direction: column;\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed {\n\t--ck-user-avatar-size: 32px;\n}\n\n.ck-fullscreen__left-sidebar> :first-child {\n\tpadding-top: var(--ck-fullscreen-editor-top-margin);\n}\n\n.ck-fullscreen__left-sidebar .ck-user {\n\tfont-size: 0.85em;\n}\n\n.ck-fullscreen__left-sidebar .ck-presence-list__users-counter__text {\n\tfont-size: 0.85em;\n}\n\n.ck-fullscreen__left-sidebar-item {\n\tpadding: var(--ck-spacing-medium);\n\tmargin-bottom: var(--ck-spacing-medium);\n}\n\n.ck-fullscreen__left-sidebar-item:last-child {\n\tmargin-bottom: 0;\n}\n\n.ck-fullscreen__left-sidebar-header {\n\t--ck-fullscreen-presence-list-header-font-size: 0.875em;\n\tfont-size: var(--ck-fullscreen-presence-list-header-font-size);\n\tfont-weight: bold;\n\tcolor: var(--ck-document-outline-item-default-color);\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n}\n\n.ck-fullscreen__left-sidebar--sticky {\n\tposition: sticky;\n\ttop: 0;\n}\n\n.ck-fullscreen__left-sidebar--sticky> :first-child {\n\t\tpadding-top: 0;\n\t}\n\n.ck-fullscreen__presence-list {\n\tmargin-top: var(--ck-spacing-medium);\n}\n\n.ck-fullscreen__left-sidebar-item--no-margin {\n\tmargin: 0;\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-document-outline {\n\tpadding-top: 0;\n\tpadding-left: 0;\n\tpadding-right: 0;\n}\n\n.ck-fullscreen__document-outline-wrapper {\n\tpadding-top: 0;\n\toverflow-y: auto;\n}\n\n/*# sourceMappingURL=index.css.map */"]}
1
+ {"version":3,"sources":["../theme/fullscreen.css","index.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CA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ACFA,CDGC,OAAA,CAAA,GAAA,CAAA,CAAA,CAAc;ACFf,CDGC,QAAA,CAAA,CAAA,CAAA,CAAA,IAAgB;AACjB;;ACDA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2025, 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/* Increase z-index of everything to make sure nothing sticks in front of the editor.\nDisable scrollbars that can be present due to the rest of the website content. */\nhtml.ck-fullscreen,\nbody.ck-fullscreen {\n\t--ck-z-fullscreen: 10000;\n\n\toverflow: hidden;\n\n\t--ck-z-default: calc(var(--ck-z-fullscreen) + 1);\n\t--ck-z-panel: calc(var(--ck-z-default) + 999);\n\t--ck-z-dialog: 100000;\n\n\t/* CKBox wrappers have z-index of 9999, let's bump them over the dialog's to ensure visibility like outside fullscreen mode. */\n\t& .ckbox-reset:not(#n)>.ckbox--dialog {\n\t\t--ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);\n\t}\n\n\t& .ckbox:not(#n) .ckbox-img-editor {\n\t\t--ckbox-z-index-preview: calc(var(--ck-z-dialog) + 1);\n\t}\n\n\t& .ck-pagination-view-line {\n\t\tz-index: calc(var(--ck-z-fullscreen) + 1);\n\t}\n\n\t& .page-break__label {\n\t\t/* Needs to be higher than for .ck-pagination-view-line to be displayed on top of the line. */\n\t\tz-index: calc(var(--ck-z-fullscreen) + 2);\n\t}\n}\n\n/*\nFullscreen layout:\n\n<div class=\"ck ck-fullscreen__main-wrapper\">\n\t<div class=\"ck ck-fullscreen__top-wrapper ck-reset_all\">\n\t\t<div class=\"ck ck-fullscreen__menu-bar\" data-ck-fullscreen=\"menu-bar\"></div>\n\t\t<div class=\"ck ck-fullscreen__toolbar\" data-ck-fullscreen=\"toolbar\"></div>\n\t</div>\n\t<div class=\"ck ck-fullscreen__editable-wrapper\">\n\t\t<div class=\"ck ck-fullscreen__sidebar ck-fullscreen__left-sidebar\" data-ck-fullscreen=\"left-sidebar\"></div>\n\t\t<div class=\"ck ck-fullscreen__editable\" data-ck-fullscreen=\"editable\"></div>\n\t\t<div class=\"ck ck-fullscreen__sidebar ck-fullscreen__right-sidebar\" data-ck-fullscreen=\"right-sidebar\"></div>\n\t</div>\n\t<div class=\"ck ck-fullscreen__bottom-wrapper\">\n\t\t<div class=\"ck ck-fullscreen__body-wrapper\" data-ck-fullscreen=\"body-wrapper\"></div>\n\t</div>\n</div>\n*/\n\n.ck.ck-fullscreen__main-wrapper {\n\t/* `position: fixed` prevents the overscroll on macos that would happen with `position: absolute`. */\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: var(--ck-z-fullscreen);\n\tbackground: var(--ck-color-base-foreground);\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t& .ck.ck-revision-history-ui__changes-navigation {\n\t\tmargin-top: 0px;\n\t\tmargin-bottom: 0px;\n\t}\n}\n\n/* If the fullscreen container is not directly in the body, we need to make sure it's positioned absolutely. */\n:not(body> .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper {\n\tposition: absolute;\n}\n\n.ck-fullscreen__menu-bar .ck.ck-menu-bar {\n\tborder: none;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper {\n\t--ck-fullscreen-editor-top-margin: 28px;\n\t--ck-fullscreen-editor-bottom-margin: 28px;\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\toverflow: auto;\n\tmax-height: 100%;\n}\n\n.ck-fullscreen__sidebar {\n\twidth: 300px;\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\tmargin-left: 10px;\n\tflex-shrink: 0;\n}\n\n.ck-fullscreen__sidebar[data-ck-fullscreen=\"right-sidebar\"] {\n\tmargin-right: auto;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable {\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\theight: 100%;\n\tmargin-left: auto;\n\n\t&::after {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\theight: var(--ck-fullscreen-editor-bottom-margin);\n\t}\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\tbox-sizing: border-box;\n\twidth: calc(210mm + 2px); /* Make sure the border is taken into account. */\n\tmax-width: calc(210mm + 2px); /* Make sure the border is taken into account. */\n\tmin-height: 297mm;\n\theight: fit-content;\n\tmargin: 0; /* Reset margins that may be present on editable. We add them in other places. */\n\tpadding: 20mm 12mm;\n\tborder: 1px var(--ck-color-base-border) solid;\n\tbackground: hsl(0, 0%, 100%);\n\tbox-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.078);\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck-source-editing-area {\n\twidth: calc(210mm + 2px);\n}\n\n.ck-fullscreen__left-sidebar {\n\tfont-family: Helvetica, Arial, sans-serif;\n\t--ck-user-avatar-size: 28px;\n\tposition: sticky;\n\talign-self: flex-start;\n\ttop: 0;\n\theight: 100%;\n\tbackground-color: transparent;\n\tmargin-top: 0px;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-direction: column;\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed {\n\t--ck-user-avatar-size: 32px;\n}\n\n.ck-fullscreen__left-sidebar> :first-child {\n\tpadding-top: var(--ck-fullscreen-editor-top-margin);\n}\n\n.ck-fullscreen__left-sidebar .ck-user {\n\tfont-size: 0.85em;\n}\n\n.ck-fullscreen__left-sidebar .ck-presence-list__users-counter__text {\n\tfont-size: 0.85em;\n}\n\n.ck-fullscreen__left-sidebar-item {\n\tpadding: var(--ck-spacing-medium);\n\tmargin-bottom: var(--ck-spacing-medium);\n}\n\n.ck-fullscreen__left-sidebar-item:last-child {\n\tmargin-bottom: 0;\n}\n\n.ck-fullscreen__left-sidebar-header {\n\t--ck-fullscreen-presence-list-header-font-size: 0.875em;\n\tfont-size: var(--ck-fullscreen-presence-list-header-font-size);\n\tfont-weight: bold;\n\tcolor: var(--ck-document-outline-item-default-color);\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n}\n\n.ck-fullscreen__left-sidebar--sticky {\n\tposition: sticky;\n\ttop: 0;\n\n\t&> :first-child {\n\t\tpadding-top: 0;\n\t}\n}\n\n.ck-fullscreen__presence-list {\n\tmargin-top: var(--ck-spacing-medium);\n}\n\n.ck-fullscreen__left-sidebar-item--no-margin {\n\tmargin: 0;\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-document-outline {\n\tpadding-top: 0;\n\tpadding-left: 0;\n\tpadding-right: 0;\n}\n\n.ck-fullscreen__document-outline-wrapper {\n\tpadding-top: 0;\n\toverflow-y: auto;\n}\n","/*\n * Copyright (c) 2003-2025, 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/* Increase z-index of everything to make sure nothing sticks in front of the editor.\nDisable scrollbars that can be present due to the rest of the website content. */\nhtml.ck-fullscreen,\nbody.ck-fullscreen {\n\t--ck-z-fullscreen: 10000;\n\n\toverflow: hidden;\n\n\t--ck-z-default: calc(var(--ck-z-fullscreen) + 1);\n\t--ck-z-panel: calc(var(--ck-z-default) + 999);\n\t--ck-z-dialog: 100000;\n\n\t/* CKBox wrappers have z-index of 9999, let's bump them over the dialog's to ensure visibility like outside fullscreen mode. */\n}\nhtml.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog, body.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog {\n\t\t--ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);\n\t}\nhtml.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor, body.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor {\n\t\t--ckbox-z-index-preview: calc(var(--ck-z-dialog) + 1);\n\t}\nhtml.ck-fullscreen .ck-pagination-view-line, body.ck-fullscreen .ck-pagination-view-line {\n\t\tz-index: calc(var(--ck-z-fullscreen) + 1);\n\t}\nhtml.ck-fullscreen .page-break__label, body.ck-fullscreen .page-break__label {\n\t\t/* Needs to be higher than for .ck-pagination-view-line to be displayed on top of the line. */\n\t\tz-index: calc(var(--ck-z-fullscreen) + 2);\n\t}\n\n/*\nFullscreen layout:\n\n<div class=\"ck ck-fullscreen__main-wrapper\">\n\t<div class=\"ck ck-fullscreen__top-wrapper ck-reset_all\">\n\t\t<div class=\"ck ck-fullscreen__menu-bar\" data-ck-fullscreen=\"menu-bar\"></div>\n\t\t<div class=\"ck ck-fullscreen__toolbar\" data-ck-fullscreen=\"toolbar\"></div>\n\t</div>\n\t<div class=\"ck ck-fullscreen__editable-wrapper\">\n\t\t<div class=\"ck ck-fullscreen__sidebar ck-fullscreen__left-sidebar\" data-ck-fullscreen=\"left-sidebar\"></div>\n\t\t<div class=\"ck ck-fullscreen__editable\" data-ck-fullscreen=\"editable\"></div>\n\t\t<div class=\"ck ck-fullscreen__sidebar ck-fullscreen__right-sidebar\" data-ck-fullscreen=\"right-sidebar\"></div>\n\t</div>\n\t<div class=\"ck ck-fullscreen__bottom-wrapper\">\n\t\t<div class=\"ck ck-fullscreen__body-wrapper\" data-ck-fullscreen=\"body-wrapper\"></div>\n\t</div>\n</div>\n*/\n\n.ck.ck-fullscreen__main-wrapper {\n\t/* `position: fixed` prevents the overscroll on macos that would happen with `position: absolute`. */\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: var(--ck-z-fullscreen);\n\tbackground: var(--ck-color-base-foreground);\n\tdisplay: flex;\n\tflex-direction: column;\n}\n\n.ck.ck-fullscreen__main-wrapper .ck.ck-revision-history-ui__changes-navigation {\n\t\tmargin-top: 0px;\n\t\tmargin-bottom: 0px;\n\t}\n\n/* If the fullscreen container is not directly in the body, we need to make sure it's positioned absolutely. */\n:not(body> .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper {\n\tposition: absolute;\n}\n\n.ck-fullscreen__menu-bar .ck.ck-menu-bar {\n\tborder: none;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper {\n\t--ck-fullscreen-editor-top-margin: 28px;\n\t--ck-fullscreen-editor-bottom-margin: 28px;\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\toverflow: auto;\n\tmax-height: 100%;\n}\n\n.ck-fullscreen__sidebar {\n\twidth: 300px;\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\tmargin-left: 10px;\n\tflex-shrink: 0;\n}\n\n.ck-fullscreen__sidebar[data-ck-fullscreen=\"right-sidebar\"] {\n\tmargin-right: auto;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable {\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\theight: 100%;\n\tmargin-left: auto;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable::after {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\theight: var(--ck-fullscreen-editor-bottom-margin);\n\t}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\tbox-sizing: border-box;\n\twidth: calc(210mm + 2px); /* Make sure the border is taken into account. */\n\tmax-width: calc(210mm + 2px); /* Make sure the border is taken into account. */\n\tmin-height: 297mm;\n\theight: fit-content;\n\tmargin: 0; /* Reset margins that may be present on editable. We add them in other places. */\n\tpadding: 20mm 12mm;\n\tborder: 1px var(--ck-color-base-border) solid;\n\tbackground: hsl(0, 0%, 100%);\n\tbox-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.078);\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck-source-editing-area {\n\twidth: calc(210mm + 2px);\n}\n\n.ck-fullscreen__left-sidebar {\n\tfont-family: Helvetica, Arial, sans-serif;\n\t--ck-user-avatar-size: 28px;\n\tposition: sticky;\n\talign-self: flex-start;\n\ttop: 0;\n\theight: 100%;\n\tbackground-color: transparent;\n\tmargin-top: 0px;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-direction: column;\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed {\n\t--ck-user-avatar-size: 32px;\n}\n\n.ck-fullscreen__left-sidebar> :first-child {\n\tpadding-top: var(--ck-fullscreen-editor-top-margin);\n}\n\n.ck-fullscreen__left-sidebar .ck-user {\n\tfont-size: 0.85em;\n}\n\n.ck-fullscreen__left-sidebar .ck-presence-list__users-counter__text {\n\tfont-size: 0.85em;\n}\n\n.ck-fullscreen__left-sidebar-item {\n\tpadding: var(--ck-spacing-medium);\n\tmargin-bottom: var(--ck-spacing-medium);\n}\n\n.ck-fullscreen__left-sidebar-item:last-child {\n\tmargin-bottom: 0;\n}\n\n.ck-fullscreen__left-sidebar-header {\n\t--ck-fullscreen-presence-list-header-font-size: 0.875em;\n\tfont-size: var(--ck-fullscreen-presence-list-header-font-size);\n\tfont-weight: bold;\n\tcolor: var(--ck-document-outline-item-default-color);\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n}\n\n.ck-fullscreen__left-sidebar--sticky {\n\tposition: sticky;\n\ttop: 0;\n}\n\n.ck-fullscreen__left-sidebar--sticky> :first-child {\n\t\tpadding-top: 0;\n\t}\n\n.ck-fullscreen__presence-list {\n\tmargin-top: var(--ck-spacing-medium);\n}\n\n.ck-fullscreen__left-sidebar-item--no-margin {\n\tmargin: 0;\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-document-outline {\n\tpadding-top: 0;\n\tpadding-left: 0;\n\tpadding-right: 0;\n}\n\n.ck-fullscreen__document-outline-wrapper {\n\tpadding-top: 0;\n\toverflow-y: auto;\n}\n\n/*# sourceMappingURL=index.css.map */"]}
package/dist/index.js CHANGED
@@ -4,14 +4,69 @@
4
4
  */
5
5
  import { Command, Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';
6
6
  import { global, createElement, Rect, env } from '@ckeditor/ckeditor5-utils/dist/index.js';
7
- import { ClassicEditor } from '@ckeditor/ckeditor5-editor-classic/dist/index.js';
8
- import { DecoupledEditor } from '@ckeditor/ckeditor5-editor-decoupled/dist/index.js';
9
7
  import { BodyCollection, DialogViewPosition, MenuBarView, ButtonView, MenuBarMenuListItemButtonView } from '@ckeditor/ckeditor5-ui/dist/index.js';
10
8
  import { IconFullscreenLeave, IconFullscreenEnter } from '@ckeditor/ckeditor5-icons/dist/index.js';
11
9
 
12
10
  const DIALOG_OFFSET = 28;
13
11
  /**
14
- * The abstract editor type handler. It should be extended by the particular editor type handler.
12
+ * The abstract editor type handler.
13
+ *
14
+ * This class defines some actions and behaviors that are applied when fullscreen mode is toggled, and which are common
15
+ * regardless of the editor type. Then, specific classes like `ClassicEditorHandler` or `DecoupledEditorHandler`
16
+ * extend this class with actions specific for these editor types.
17
+ *
18
+ * Extend this class to provide fullscreen mode handling for unsupported editor types,
19
+ * or if you wish to heavily customize the default behavior.
20
+ *
21
+ * The only method that is necessary to provide when extending this class is {@link #defaultOnEnter}. However, make sure to
22
+ * familiarize yourself with the below full list of actions taken by `AbstractEditorHandler` to understand what is covered by default,
23
+ * and what should be provided by you.
24
+ *
25
+ * When entering the fullscreen mode, the {@link #enable} method is called. It creates the properly styled container
26
+ * and handles the editor features that need it, in the following order:
27
+ *
28
+ * 1. Saves the scroll positions of all ancestors of the editable element to restore them after leaving the fullscreen mode.
29
+ * 2. Executes the {@link #defaultOnEnter} method to move the proper editor UI elements to the fullscreen mode.
30
+ * **If you extend the abstract handler, you should override this method** to move the elements that are specific to your editor type, like:
31
+ * editable, toolbar, menu bar.
32
+ * Use {@link #moveToFullscreen} method for this purpose to ensure they are automatically cleaned up after leaving the fullscreen mode.
33
+ * 3. Adds proper classes to the `<body>` and `<html>` elements to block page scrolling, adjust `z-index` etc.
34
+ * 4. Changes the position of some dialogs to utilize the empty space on the right side of the editable element.
35
+ *
36
+ * Steps 5-11 are only executed if the corresponding features are used.
37
+ *
38
+ * 5. If presence list is used, moves it to the fullscreen mode container.
39
+ * 6. If document outline is used, moves it to the fullscreen mode.
40
+ * 7. If pagination is used, adjusts it's configuration for the changed view.
41
+ * 8. If annotations are used, moves them to the fullscreen mode.
42
+ * 9. If revision history is used, overrides the callbacks to show the revision viewer in the fullscreen mode.
43
+ * 10. If source editing and document outline are both used, hides the document outline header.
44
+ * 11. If custom container is used, hides all other elements in it to ensure they don't create an empty unscrollable space.
45
+ *
46
+ * Then finally:
47
+ *
48
+ * 12. Executes the configured {@link module:fullscreen/fullscreenconfig~FullscreenConfig#onEnterCallback
49
+ * `config.fullscreen.onEnterCallback`} function.
50
+ * By default, it returns the fullscreen mode container element so it can be further customized.
51
+ *
52
+ * When leaving the fullscreen mode, the {@link #disable} method is called. It does the following:
53
+ *
54
+ * 1. Execute the configured {@link module:fullscreen/fullscreenconfig~FullscreenConfig#onLeaveCallback
55
+ * `config.fullscreen.onLeaveCallback`} function.
56
+ * 2. Remove the classes added to the `<body>` and `<html>` elements.
57
+ * 3. If document outline is used, restore its default container.
58
+ * 4. If annotations are used, restore their original state (UI, filters etc).
59
+ * 5. If revision history is used, restore the original callbacks.
60
+ * 6. If source editing and document outline are both used, restore the document outline header.
61
+ * 7. Restore all moved elements to their original place.
62
+ * 8. Destroy the fullscreen mode container.
63
+ * 9. If the editor has a toolbar, switch its behavior to the one configured in the
64
+ * {@link module:ui/toolbar/toolbarview~ToolbarOptions#shouldGroupWhenFull} property.
65
+ * 10. Restore the scroll positions of all ancestors of the editable element.
66
+ * 11. If pagination is used, restore its default configuration.
67
+ * 12. Restore default dialogs positions.
68
+ *
69
+ * This class is exported to allow for custom extensions.
15
70
  */ class AbstractEditorHandler {
16
71
  /**
17
72
  * Maps placeholder names to placeholder elements and moved elements.
@@ -99,7 +154,7 @@ const DIALOG_OFFSET = 28;
99
154
  this._wrapper = createElement(this._document, 'div', {
100
155
  class: 'ck ck-fullscreen__main-wrapper'
101
156
  });
102
- // For now, the container is generated in a very straightforward way. If necessary, it may be rewritten using our UI lib.
157
+ // For now, the container is generated in a very straightforward way. If necessary, it may be rewritten using editor's UI lib.
103
158
  this._wrapper.innerHTML = `
104
159
  <div class="ck ck-fullscreen__top-wrapper ck-reset_all">
105
160
  <div class="ck ck-fullscreen__menu-bar" data-ck-fullscreen="menu-bar"></div>
@@ -126,7 +181,7 @@ const DIALOG_OFFSET = 28;
126
181
  * Enables the fullscreen mode. It executes the editor-specific enable handler and then the configured callback.
127
182
  */ enable() {
128
183
  this._saveAncestorsScrollPositions(this._editor.ui.getEditableElement());
129
- this._defaultOnEnter();
184
+ this.defaultOnEnter();
130
185
  // Block scroll if the fullscreen container is the body element. Otherwise the document has to stay scrollable.
131
186
  if (this._editor.config.get('fullscreen.container') === this._document.body) {
132
187
  this._document.body.classList.add('ck-fullscreen');
@@ -208,15 +263,25 @@ const DIALOG_OFFSET = 28;
208
263
  for (const placeholderName of this._placeholderMap.keys()){
209
264
  this.restoreMovedElementLocation(placeholderName);
210
265
  }
211
- this._editor.ui.view.toolbar.switchBehavior(this._editor.config.get('toolbar.shouldNotGroupWhenFull') === true ? 'static' : 'dynamic');
212
- if (this._placeholderMap.size === 0) {
213
- this._destroyContainer();
266
+ // Container is also destroyed in the `restoreMovedElementLocation()` method, but we need to do it here
267
+ // to ensure that the container is destroyed even if no elements were moved.
268
+ this._destroyContainer();
269
+ if (this._editor.ui.view.toolbar) {
270
+ this._editor.ui.view.toolbar.switchBehavior(this._editor.config.get('toolbar.shouldNotGroupWhenFull') === true ? 'static' : 'dynamic');
214
271
  }
215
272
  // Restore scroll positions of all ancestors. It may include the closest editable wrapper causing the editor to change
216
273
  // the visible content, which is not what we want. Thus, after executing the command, we use
217
274
  // `editor.editing.view.scrollToTheSelection()` to scroll the editor viewport to the current selection.
275
+ // Using `behavior: 'instant'` is necessary to force scroll if some of the containers has `scroll-behavior: smooth` set (otherwise
276
+ // the scroll won't happen).
218
277
  for (const [ancestor, value] of this._savedAncestorsScrollPositions){
219
- ancestor.scrollTo(value.scrollLeft, value.scrollTop);
278
+ // `ScrollBehavior` has incorrect type definition in currently used TS version (5.0.4). Fix should be present since 5.1.0:
279
+ // https://github.com/Microsoft/TypeScript/issues/28755. Hence we need a type assertion here.
280
+ ancestor.scrollTo({
281
+ left: value.scrollLeft,
282
+ top: value.scrollTop,
283
+ behavior: 'instant'
284
+ });
220
285
  }
221
286
  this._savedAncestorsScrollPositions.clear();
222
287
  // Pagination has to be restored after leaving fullscreen mode to ensure proper rendering.
@@ -249,7 +314,7 @@ const DIALOG_OFFSET = 28;
249
314
  *
250
315
  * Returns the fullscreen mode container element so it can be further customized via
251
316
  * `fullscreen.onEnterCallback` configuration property.
252
- */ _defaultOnEnter() {
317
+ */ defaultOnEnter() {
253
318
  return this.getWrapper();
254
319
  }
255
320
  /**
@@ -270,13 +335,15 @@ const DIALOG_OFFSET = 28;
270
335
  * Checks if the PresenceListUI plugin is available and moves its elements to fullscreen mode.
271
336
  */ // Code coverage is provided in the commercial package repository as integration unit tests.
272
337
  /* istanbul ignore next -- @preserve */ _generatePresenceListContainer() {
338
+ const t = this._editor.t;
273
339
  const presenceListElement = createElement(document, 'div', {
274
340
  class: 'ck ck-fullscreen__left-sidebar-item'
275
341
  });
276
342
  presenceListElement.innerHTML = `
277
- <div class="ck ck-fullscreen__left-sidebar-header">Connected users</div>
343
+ <div class="ck ck-fullscreen__left-sidebar-header"></div>
278
344
  <div class="ck ck-fullscreen__presence-list" data-ck-fullscreen="presence-list"></div>
279
345
  `;
346
+ presenceListElement.firstElementChild.innerText = t('Connected users');
280
347
  document.querySelector('[data-ck-fullscreen="left-sidebar-sticky"]').appendChild(presenceListElement);
281
348
  const presenceListUI = this._editor.plugins.get('PresenceListUI');
282
349
  this.moveToFullscreen(presenceListUI.view.element, 'presence-list');
@@ -285,14 +352,14 @@ const DIALOG_OFFSET = 28;
285
352
  * Checks if the DocumentOutlineUI plugin is available and moves its elements to fullscreen mode.
286
353
  */ // Code coverage is provided in the commercial package repository as integration unit tests.
287
354
  /* istanbul ignore next -- @preserve */ _generateDocumentOutlineContainer() {
355
+ const t = this._editor.t;
288
356
  const documentOutlineHeaderElement = createElement(document, 'div', {
289
357
  class: 'ck-fullscreen__left-sidebar-item ck-fullscreen__left-sidebar-item--no-margin'
290
358
  });
291
359
  documentOutlineHeaderElement.innerHTML = `
292
- <div class="ck ck-fullscreen__left-sidebar-header ck-fullscreen__document-outline-header">
293
- Document outline
294
- </div>
360
+ <div class="ck ck-fullscreen__left-sidebar-header ck-fullscreen__document-outline-header"></div>
295
361
  `;
362
+ documentOutlineHeaderElement.firstElementChild.innerText = t('Document outline');
296
363
  const documentOutlineBodyWrapper = createElement(document, 'div', {
297
364
  class: 'ck ck-fullscreen__left-sidebar-item ck-fullscreen__document-outline-wrapper'
298
365
  });
@@ -511,7 +578,7 @@ const DIALOG_OFFSET = 28;
511
578
  }
512
579
  /**
513
580
  * A function that moves the editor UI elements to the fullscreen mode.
514
- */ _defaultOnEnter() {
581
+ */ defaultOnEnter() {
515
582
  const editorUI = this._editor.ui;
516
583
  const editorUIView = editorUI.view;
517
584
  // Code coverage is provided in the commercial package repository as integration unit tests.
@@ -558,7 +625,7 @@ const DIALOG_OFFSET = 28;
558
625
  }
559
626
  /**
560
627
  * A function that moves the editor UI elements to the fullscreen mode.
561
- */ _defaultOnEnter() {
628
+ */ defaultOnEnter() {
562
629
  // Code coverage is provided in the commercial package repository as integration unit tests.
563
630
  /* istanbul ignore next -- @preserve */ if (this._editor.plugins.has('Pagination') && this._editor.plugins.get('Pagination').isEnabled) {
564
631
  this.moveToFullscreen(this._editor.ui.getEditableElement().parentElement.querySelector('.ck-pagination-view'), 'pagination-view');
@@ -578,7 +645,20 @@ const DIALOG_OFFSET = 28;
578
645
  */ class FullscreenCommand extends Command {
579
646
  /**
580
647
  * Specialized class handling the fullscreen mode toggling for a specific editor type.
581
- */ _fullscreenHandler;
648
+ *
649
+ * If you want to add support for a new editor type (for now, only Classic and Decoupled editors are handled),
650
+ * create a custom handler that extends `AbstractEditorHandler` and replace `fullscreenHandler` with it after editor initialization:
651
+ *
652
+ * ```ts
653
+ * // See the details of how to implement a custom handler in the `AbstractEditorHandler` class API docs.
654
+ * class CustomEditorHandler extends AbstractEditorHandler {}
655
+ *
656
+ * CustomEditorClass.create( document.querySelector( '#editor' ), {} )
657
+ * .then( ( editor ) => {
658
+ * editor.commands.get( 'toggleFullscreen' ).fullscreenHandler = new CustomEditorHandler( editor );
659
+ * } );
660
+ * ```
661
+ */ fullscreenHandler;
582
662
  /**
583
663
  * @inheritDoc
584
664
  */ constructor(editor){
@@ -587,14 +667,14 @@ const DIALOG_OFFSET = 28;
587
667
  this.isEnabled = true;
588
668
  this.value = false;
589
669
  // Choose the appropriate handler based on the editor type.
590
- // Currently only ClassicEditor and DecoupledEditor are supported. For other editor types, the abstract handler is used
591
- // which will throw if user tries to enable the fullscreen mode.
592
- if (editor instanceof ClassicEditor) {
593
- this._fullscreenHandler = new ClassicEditorHandler(editor);
594
- } else if (editor instanceof DecoupledEditor) {
595
- this._fullscreenHandler = new DecoupledEditorHandler(editor);
670
+ // Currently only `ClassicEditor` and `DecoupledEditor` are supported. For other editor types, you should create a custom handler
671
+ // that extends `AbstractEditorHandler` and replace `fullscreenHandler` with it.
672
+ if (isClassicEditor(editor)) {
673
+ this.fullscreenHandler = new ClassicEditorHandler(editor);
674
+ } else if (isDecoupledEditor(editor)) {
675
+ this.fullscreenHandler = new DecoupledEditorHandler(editor);
596
676
  } else {
597
- this._fullscreenHandler = new AbstractEditorHandler(editor);
677
+ this.fullscreenHandler = new AbstractEditorHandler(editor);
598
678
  }
599
679
  }
600
680
  /**
@@ -609,16 +689,26 @@ const DIALOG_OFFSET = 28;
609
689
  /**
610
690
  * Enables the fullscreen mode.
611
691
  */ _enableFullscreenMode() {
612
- this._fullscreenHandler.enable();
692
+ this.fullscreenHandler.enable();
613
693
  this.value = true;
614
694
  }
615
695
  /**
616
696
  * Disables the fullscreen mode.
617
697
  */ _disableFullscreenMode() {
618
- this._fullscreenHandler.disable();
698
+ this.fullscreenHandler.disable();
619
699
  this.value = false;
620
700
  }
621
701
  }
702
+ /**
703
+ * Classic editor typeguard.
704
+ */ function isClassicEditor(editor) {
705
+ return editor.constructor.editorName === 'ClassicEditor';
706
+ }
707
+ /**
708
+ * Decoupled editor typeguard.
709
+ */ function isDecoupledEditor(editor) {
710
+ return editor.constructor.editorName === 'DecoupledEditor';
711
+ }
622
712
 
623
713
  /**
624
714
  * A plugin that registers the fullscreen mode command.
@@ -766,5 +856,5 @@ const COMMAND_NAME = 'toggleFullscreen';
766
856
  }
767
857
  }
768
858
 
769
- export { Fullscreen, FullscreenEditing, FullscreenUI };
859
+ export { AbstractEditorHandler, Fullscreen, FullscreenEditing, FullscreenUI };
770
860
  //# sourceMappingURL=index.js.map