@ckeditor/ckeditor5-fullscreen 47.1.0-alpha.2 → 47.2.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 (303) hide show
  1. package/README.md +1 -1
  2. package/build/fullscreen.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/dist/index-editor.css +53 -6
  76. package/dist/index.css +54 -7
  77. package/dist/index.css.map +1 -1
  78. package/dist/index.js +277 -48
  79. package/dist/index.js.map +1 -1
  80. package/dist/translations/af.js +1 -1
  81. package/dist/translations/af.umd.js +1 -1
  82. package/dist/translations/ar.js +1 -1
  83. package/dist/translations/ar.umd.js +1 -1
  84. package/dist/translations/ast.js +1 -1
  85. package/dist/translations/ast.umd.js +1 -1
  86. package/dist/translations/az.js +1 -1
  87. package/dist/translations/az.umd.js +1 -1
  88. package/dist/translations/be.js +1 -1
  89. package/dist/translations/be.umd.js +1 -1
  90. package/dist/translations/bg.js +1 -1
  91. package/dist/translations/bg.umd.js +1 -1
  92. package/dist/translations/bn.js +1 -1
  93. package/dist/translations/bn.umd.js +1 -1
  94. package/dist/translations/bs.js +1 -1
  95. package/dist/translations/bs.umd.js +1 -1
  96. package/dist/translations/ca.js +1 -1
  97. package/dist/translations/ca.umd.js +1 -1
  98. package/dist/translations/cs.js +1 -1
  99. package/dist/translations/cs.umd.js +1 -1
  100. package/dist/translations/da.js +1 -1
  101. package/dist/translations/da.umd.js +1 -1
  102. package/dist/translations/de-ch.js +1 -1
  103. package/dist/translations/de-ch.umd.js +1 -1
  104. package/dist/translations/de.js +1 -1
  105. package/dist/translations/de.umd.js +1 -1
  106. package/dist/translations/el.js +1 -1
  107. package/dist/translations/el.umd.js +1 -1
  108. package/dist/translations/en-au.js +1 -1
  109. package/dist/translations/en-au.umd.js +1 -1
  110. package/dist/translations/en-gb.js +1 -1
  111. package/dist/translations/en-gb.umd.js +1 -1
  112. package/dist/translations/en.js +1 -1
  113. package/dist/translations/en.umd.js +1 -1
  114. package/dist/translations/eo.js +1 -1
  115. package/dist/translations/eo.umd.js +1 -1
  116. package/dist/translations/es-co.js +1 -1
  117. package/dist/translations/es-co.umd.js +1 -1
  118. package/dist/translations/es.js +1 -1
  119. package/dist/translations/es.umd.js +1 -1
  120. package/dist/translations/et.js +1 -1
  121. package/dist/translations/et.umd.js +1 -1
  122. package/dist/translations/eu.js +1 -1
  123. package/dist/translations/eu.umd.js +1 -1
  124. package/dist/translations/fa.js +1 -1
  125. package/dist/translations/fa.umd.js +1 -1
  126. package/dist/translations/fi.js +1 -1
  127. package/dist/translations/fi.umd.js +1 -1
  128. package/dist/translations/fr.js +1 -1
  129. package/dist/translations/fr.umd.js +1 -1
  130. package/dist/translations/gl.js +1 -1
  131. package/dist/translations/gl.umd.js +1 -1
  132. package/dist/translations/gu.js +1 -1
  133. package/dist/translations/gu.umd.js +1 -1
  134. package/dist/translations/he.js +1 -1
  135. package/dist/translations/he.umd.js +1 -1
  136. package/dist/translations/hi.js +1 -1
  137. package/dist/translations/hi.umd.js +1 -1
  138. package/dist/translations/hr.js +1 -1
  139. package/dist/translations/hr.umd.js +1 -1
  140. package/dist/translations/hu.js +1 -1
  141. package/dist/translations/hu.umd.js +1 -1
  142. package/dist/translations/hy.js +1 -1
  143. package/dist/translations/hy.umd.js +1 -1
  144. package/dist/translations/id.js +1 -1
  145. package/dist/translations/id.umd.js +1 -1
  146. package/dist/translations/it.js +1 -1
  147. package/dist/translations/it.umd.js +1 -1
  148. package/dist/translations/ja.js +1 -1
  149. package/dist/translations/ja.umd.js +1 -1
  150. package/dist/translations/jv.js +1 -1
  151. package/dist/translations/jv.umd.js +1 -1
  152. package/dist/translations/kk.js +1 -1
  153. package/dist/translations/kk.umd.js +1 -1
  154. package/dist/translations/km.js +1 -1
  155. package/dist/translations/km.umd.js +1 -1
  156. package/dist/translations/kn.js +1 -1
  157. package/dist/translations/kn.umd.js +1 -1
  158. package/dist/translations/ko.js +1 -1
  159. package/dist/translations/ko.umd.js +1 -1
  160. package/dist/translations/ku.js +1 -1
  161. package/dist/translations/ku.umd.js +1 -1
  162. package/dist/translations/lt.js +1 -1
  163. package/dist/translations/lt.umd.js +1 -1
  164. package/dist/translations/lv.js +1 -1
  165. package/dist/translations/lv.umd.js +1 -1
  166. package/dist/translations/ms.js +1 -1
  167. package/dist/translations/ms.umd.js +1 -1
  168. package/dist/translations/nb.js +1 -1
  169. package/dist/translations/nb.umd.js +1 -1
  170. package/dist/translations/ne.js +1 -1
  171. package/dist/translations/ne.umd.js +1 -1
  172. package/dist/translations/nl.js +1 -1
  173. package/dist/translations/nl.umd.js +1 -1
  174. package/dist/translations/no.js +1 -1
  175. package/dist/translations/no.umd.js +1 -1
  176. package/dist/translations/oc.js +1 -1
  177. package/dist/translations/oc.umd.js +1 -1
  178. package/dist/translations/pl.js +1 -1
  179. package/dist/translations/pl.umd.js +1 -1
  180. package/dist/translations/pt-br.js +1 -1
  181. package/dist/translations/pt-br.umd.js +1 -1
  182. package/dist/translations/pt.js +1 -1
  183. package/dist/translations/pt.umd.js +1 -1
  184. package/dist/translations/ro.js +1 -1
  185. package/dist/translations/ro.umd.js +1 -1
  186. package/dist/translations/ru.js +1 -1
  187. package/dist/translations/ru.umd.js +1 -1
  188. package/dist/translations/si.js +1 -1
  189. package/dist/translations/si.umd.js +1 -1
  190. package/dist/translations/sk.js +1 -1
  191. package/dist/translations/sk.umd.js +1 -1
  192. package/dist/translations/sl.js +1 -1
  193. package/dist/translations/sl.umd.js +1 -1
  194. package/dist/translations/sq.js +1 -1
  195. package/dist/translations/sq.umd.js +1 -1
  196. package/dist/translations/sr-latn.js +1 -1
  197. package/dist/translations/sr-latn.umd.js +1 -1
  198. package/dist/translations/sr.js +1 -1
  199. package/dist/translations/sr.umd.js +1 -1
  200. package/dist/translations/sv.js +1 -1
  201. package/dist/translations/sv.umd.js +1 -1
  202. package/dist/translations/th.js +1 -1
  203. package/dist/translations/th.umd.js +1 -1
  204. package/dist/translations/ti.js +1 -1
  205. package/dist/translations/ti.umd.js +1 -1
  206. package/dist/translations/tk.js +1 -1
  207. package/dist/translations/tk.umd.js +1 -1
  208. package/dist/translations/tr.js +1 -1
  209. package/dist/translations/tr.umd.js +1 -1
  210. package/dist/translations/tt.js +1 -1
  211. package/dist/translations/tt.umd.js +1 -1
  212. package/dist/translations/ug.js +1 -1
  213. package/dist/translations/ug.umd.js +1 -1
  214. package/dist/translations/uk.js +1 -1
  215. package/dist/translations/uk.umd.js +1 -1
  216. package/dist/translations/ur.js +1 -1
  217. package/dist/translations/ur.umd.js +1 -1
  218. package/dist/translations/uz.js +1 -1
  219. package/dist/translations/uz.umd.js +1 -1
  220. package/dist/translations/vi.js +1 -1
  221. package/dist/translations/vi.umd.js +1 -1
  222. package/dist/translations/zh-cn.js +1 -1
  223. package/dist/translations/zh-cn.umd.js +1 -1
  224. package/dist/translations/zh.js +1 -1
  225. package/dist/translations/zh.umd.js +1 -1
  226. package/lang/contexts.json +4 -1
  227. package/lang/translations/af.po +12 -0
  228. package/lang/translations/ar.po +12 -0
  229. package/lang/translations/ast.po +12 -0
  230. package/lang/translations/az.po +12 -0
  231. package/lang/translations/be.po +12 -0
  232. package/lang/translations/bg.po +12 -0
  233. package/lang/translations/bn.po +12 -0
  234. package/lang/translations/bs.po +12 -0
  235. package/lang/translations/ca.po +12 -0
  236. package/lang/translations/cs.po +12 -0
  237. package/lang/translations/da.po +12 -0
  238. package/lang/translations/de-ch.po +12 -0
  239. package/lang/translations/de.po +12 -0
  240. package/lang/translations/el.po +12 -0
  241. package/lang/translations/en-au.po +12 -0
  242. package/lang/translations/en-gb.po +12 -0
  243. package/lang/translations/en.po +12 -0
  244. package/lang/translations/eo.po +12 -0
  245. package/lang/translations/es-co.po +12 -0
  246. package/lang/translations/es.po +12 -0
  247. package/lang/translations/et.po +12 -0
  248. package/lang/translations/eu.po +12 -0
  249. package/lang/translations/fa.po +12 -0
  250. package/lang/translations/fi.po +12 -0
  251. package/lang/translations/fr.po +12 -0
  252. package/lang/translations/gl.po +12 -0
  253. package/lang/translations/gu.po +12 -0
  254. package/lang/translations/he.po +12 -0
  255. package/lang/translations/hi.po +12 -0
  256. package/lang/translations/hr.po +12 -0
  257. package/lang/translations/hu.po +12 -0
  258. package/lang/translations/hy.po +12 -0
  259. package/lang/translations/id.po +12 -0
  260. package/lang/translations/it.po +12 -0
  261. package/lang/translations/ja.po +12 -0
  262. package/lang/translations/jv.po +12 -0
  263. package/lang/translations/kk.po +12 -0
  264. package/lang/translations/km.po +12 -0
  265. package/lang/translations/kn.po +12 -0
  266. package/lang/translations/ko.po +12 -0
  267. package/lang/translations/ku.po +12 -0
  268. package/lang/translations/lt.po +12 -0
  269. package/lang/translations/lv.po +12 -0
  270. package/lang/translations/ms.po +12 -0
  271. package/lang/translations/nb.po +12 -0
  272. package/lang/translations/ne.po +12 -0
  273. package/lang/translations/nl.po +12 -0
  274. package/lang/translations/no.po +12 -0
  275. package/lang/translations/oc.po +12 -0
  276. package/lang/translations/pl.po +12 -0
  277. package/lang/translations/pt-br.po +12 -0
  278. package/lang/translations/pt.po +12 -0
  279. package/lang/translations/ro.po +12 -0
  280. package/lang/translations/ru.po +12 -0
  281. package/lang/translations/si.po +12 -0
  282. package/lang/translations/sk.po +12 -0
  283. package/lang/translations/sl.po +12 -0
  284. package/lang/translations/sq.po +12 -0
  285. package/lang/translations/sr-latn.po +12 -0
  286. package/lang/translations/sr.po +12 -0
  287. package/lang/translations/sv.po +12 -0
  288. package/lang/translations/th.po +12 -0
  289. package/lang/translations/ti.po +12 -0
  290. package/lang/translations/tk.po +12 -0
  291. package/lang/translations/tr.po +12 -0
  292. package/lang/translations/tt.po +12 -0
  293. package/lang/translations/ug.po +12 -0
  294. package/lang/translations/uk.po +12 -0
  295. package/lang/translations/ur.po +12 -0
  296. package/lang/translations/uz.po +12 -0
  297. package/lang/translations/vi.po +12 -0
  298. package/lang/translations/zh-cn.po +12 -0
  299. package/lang/translations/zh.po +12 -0
  300. package/package.json +8 -8
  301. package/src/handlers/abstracteditorhandler.d.ts +92 -17
  302. package/src/handlers/abstracteditorhandler.js +303 -49
  303. package/theme/fullscreen.css +54 -7
@@ -34,3 +34,15 @@ msgstr "Schița documentului"
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr "Utilizatori conectați"
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr "Состав документа"
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr "Подключенные пользователи"
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr ""
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr ""
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr "Náčrt dokumentu"
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr "Pripojení používatelia"
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr ""
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr ""
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr ""
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr ""
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr ""
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr ""
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr "Struktura dokumenta"
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr "Povezani korisnici"
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr "Dokumentöversikt"
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr "Anslutna användare"
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr "โครงร่างของเอกสาร"
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr "ผู้ใช้ที่เชื่อมต่ออยู่"
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr ""
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr ""
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr ""
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr ""
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr "Belge ana hatları"
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr "Bağlı kullanıcılar"
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr ""
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr ""
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr ""
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr ""
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr "Структура документа"
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr "Підключені користувачі"
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr ""
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr ""
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr ""
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr ""
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr "Bố cục tài liệu"
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr "Những người dùng đã kết nối"
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr "文档大纲"
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr "已连接用户"
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
@@ -34,3 +34,15 @@ msgstr "文件大綱"
34
34
  msgctxt "Label for a sidebar header that contains a list of connected users"
35
35
  msgid "Connected users"
36
36
  msgstr "已連線使用者"
37
+
38
+ msgctxt "Tooltip for a button that shows the left sidebar"
39
+ msgid "Show left sidebar"
40
+ msgstr ""
41
+
42
+ msgctxt "Tooltip for a button that hides the left sidebar"
43
+ msgid "Hide left sidebar"
44
+ msgstr ""
45
+
46
+ msgctxt "Label for a button that toggles the left sidebar"
47
+ msgid "Toggle sidebar"
48
+ msgstr ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-fullscreen",
3
- "version": "47.1.0-alpha.2",
3
+ "version": "47.2.0-alpha.0",
4
4
  "description": "Fullscreen mode feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,13 +13,13 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-core": "47.1.0-alpha.2",
17
- "@ckeditor/ckeditor5-editor-classic": "47.1.0-alpha.2",
18
- "@ckeditor/ckeditor5-editor-decoupled": "47.1.0-alpha.2",
19
- "@ckeditor/ckeditor5-icons": "47.1.0-alpha.2",
20
- "@ckeditor/ckeditor5-ui": "47.1.0-alpha.2",
21
- "@ckeditor/ckeditor5-utils": "47.1.0-alpha.2",
22
- "ckeditor5": "47.1.0-alpha.2"
16
+ "@ckeditor/ckeditor5-core": "47.2.0-alpha.0",
17
+ "@ckeditor/ckeditor5-editor-classic": "47.2.0-alpha.0",
18
+ "@ckeditor/ckeditor5-editor-decoupled": "47.2.0-alpha.0",
19
+ "@ckeditor/ckeditor5-icons": "47.2.0-alpha.0",
20
+ "@ckeditor/ckeditor5-ui": "47.2.0-alpha.0",
21
+ "@ckeditor/ckeditor5-utils": "47.2.0-alpha.0",
22
+ "ckeditor5": "47.2.0-alpha.0"
23
23
  },
24
24
  "author": "CKSource (http://cksource.com/)",
25
25
  "license": "SEE LICENSE IN LICENSE.md",
@@ -27,21 +27,24 @@ import type { ElementApi, Editor, EditorConfig } from 'ckeditor5/src/core.js';
27
27
  * editable, toolbar, menu bar.
28
28
  * Use {@link #moveToFullscreen} method for this purpose to ensure they are automatically cleaned up after leaving the fullscreen mode.
29
29
  * 3. Adds proper classes to the `<body>` and `<html>` elements to block page scrolling, adjust `z-index` etc.
30
- * 4. Changes the position of some dialogs to utilize the empty space on the right side of the editable element.
31
30
  *
32
- * Steps 5-11 are only executed if the corresponding features are used.
31
+ * Steps 4-12 are only executed if the corresponding features are used.
33
32
  *
34
- * 5. If presence list is used, moves it to the fullscreen mode container.
35
- * 6. If document outline is used, moves it to the fullscreen mode.
36
- * 7. If pagination is used, adjusts it's configuration for the changed view.
37
- * 8. If annotations are used, moves them to the fullscreen mode.
38
- * 9. If revision history is used, overrides the callbacks to show the revision viewer in the fullscreen mode.
39
- * 10. If source editing and document outline are both used, hides the document outline header.
40
- * 11. If custom container is used, hides all other elements in it to ensure they don't create an empty unscrollable space.
33
+ * 4. If presence list is used, moves it to the fullscreen mode container.
34
+ * 5. If document outline is used, moves it to the fullscreen mode.
35
+ * 6. If pagination is used, adjusts it's configuration for the changed view.
36
+ * 7. If annotations are used, moves them to the fullscreen mode.
37
+ * 8. If revision history is used, overrides the callbacks to show the revision viewer in the fullscreen mode.
38
+ * 9. If AI Tabs is used, moves it to the fullscreen mode.
39
+ * 10. If source editing and document outline are both used, registers a callback hiding the document outline header in source editing mode.
40
+ * 11. Changes the position of some dialogs to utilize the empty space on the right side of the editable element.
41
+ * 12. If custom container is used, hides all other elements in it to ensure they don't create an empty unscrollable space.
41
42
  *
42
43
  * Then finally:
43
44
  *
44
- * 12. Executes the configured {@link module:fullscreen/fullscreenconfig~FullscreenConfig#onEnterCallback
45
+ * 13. Adjusts the visibility of the left and right sidebars based on the available space.
46
+ * 14. Sets up a resize observer to adjust the visibility of the left and right sidebars dynamically.
47
+ * 15. Executes the configured {@link module:fullscreen/fullscreenconfig~FullscreenConfig#onEnterCallback
45
48
  * `config.fullscreen.onEnterCallback`} function.
46
49
  * By default, it returns the fullscreen mode container element so it can be further customized.
47
50
  *
@@ -53,14 +56,15 @@ import type { ElementApi, Editor, EditorConfig } from 'ckeditor5/src/core.js';
53
56
  * 3. If document outline is used, restore its default container.
54
57
  * 4. If annotations are used, restore their original state (UI, filters etc).
55
58
  * 5. If revision history is used, restore the original callbacks.
56
- * 6. If source editing and document outline are both used, restore the document outline header.
57
- * 7. Restore all moved elements to their original place.
58
- * 8. Destroy the fullscreen mode container.
59
- * 9. If the editor has a toolbar, switch its behavior to the one configured in the
59
+ * 7. If AI Tabs is used, restore it to the original state.
60
+ * 8. If source editing and document outline are both used, restore the document outline header.
61
+ * 9. Restore all moved elements to their original place.
62
+ * 10. Destroy the fullscreen mode container.
63
+ * 11. If the editor has a toolbar, switch its behavior to the one configured in the
60
64
  * {@link module:ui/toolbar/toolbarview~ToolbarOptions#shouldGroupWhenFull} property.
61
- * 10. Restore the scroll positions of all ancestors of the editable element.
62
- * 11. If pagination is used, restore its default configuration.
63
- * 12. Restore default dialogs positions.
65
+ * 12. Restore the scroll positions of all ancestors of the editable element.
66
+ * 13. If pagination is used, restore its default configuration.
67
+ * 14. Restore default dialogs positions.
64
68
  *
65
69
  * This class is exported to allow for custom extensions.
66
70
  */
@@ -86,6 +90,32 @@ export declare class FullscreenAbstractEditorHandler {
86
90
  * If we don't move pagination lines to the fullscreen container, they won't be visible.
87
91
  */
88
92
  private _paginationBodyCollection;
93
+ /**
94
+ * Whether the left sidebar collapse button is created.
95
+ */
96
+ private _hasLeftCollapseButton;
97
+ /**
98
+ * The button that toggles the visibility of the left sidebar.
99
+ */
100
+ private _collapseLeftSidebarButton;
101
+ /**
102
+ * The resize observer that is used to adjust the visibility of the left and right sidebars dynamically.
103
+ */
104
+ private _resizeObserver;
105
+ /**
106
+ * The width of the expanded left and right sidebars in the fullscreen mode. Necessary for logic checking if they should be visible.
107
+ */
108
+ private _sidebarsWidths;
109
+ /**
110
+ * Whether the left sidebar should be kept hidden even if there is enough space for it. It's set to `true` when user
111
+ * collapses the left sidebar with a button. Behavior is reset when exiting the fullscreen mode.
112
+ */
113
+ private _keepLeftSidebarHidden;
114
+ /**
115
+ * Temporary flag used to ignore the first automatic layout adjustment logic when user collapses the left sidebar with a button.
116
+ * It is then immediately set back to `false`.
117
+ */
118
+ private _forceShowLeftSidebar;
89
119
  /**
90
120
  * A callback that hides the document outline header when the source editing mode is enabled.
91
121
  * Document outline element itself is hidden by source editing plugin.
@@ -113,6 +143,10 @@ export declare class FullscreenAbstractEditorHandler {
113
143
  * An editor instance. It should be set by the particular editor type handler.
114
144
  */
115
145
  protected _editor: Editor & Partial<ElementApi>;
146
+ /**
147
+ * A map of AI Tabs data that were set before entering the fullscreen mode.
148
+ */
149
+ private _aiTabsData;
116
150
  /**
117
151
  * @inheritDoc
118
152
  */
@@ -164,6 +198,7 @@ export declare class FullscreenAbstractEditorHandler {
164
198
  * Restores the default value of documentOutlineContainer, which is modified in fullscreen mode.
165
199
  */
166
200
  private _restoreDocumentOutlineDefaultContainer;
201
+ private _generateCollapseButton;
167
202
  /**
168
203
  * Stores the current state of the annotations UIs to restore it when leaving fullscreen mode and switches the UI to the wide sidebar.
169
204
  */
@@ -207,4 +242,44 @@ export declare class FullscreenAbstractEditorHandler {
207
242
  * Saves the scroll positions of all ancestors of the given element.
208
243
  */
209
244
  private _saveAncestorsScrollPositions;
245
+ /**
246
+ * Stores the current state of the AI Tabs and moves it to the fullscreen mode.
247
+ */
248
+ private _handleAITabsTransfer;
249
+ /**
250
+ * Checks the transition event to see if it's changing the width of the AI tabs and if so, adjusts the visible fullscreen mode elements.
251
+ */
252
+ private _handleAISidebarTransitions;
253
+ /**
254
+ * Restores the state of the AI Tabs to the original values.
255
+ */
256
+ private _restoreAITabs;
257
+ /**
258
+ * Adjusts the visibility of the left and right sidebars based on the available space.
259
+ */
260
+ private _adjustVisibleElements;
261
+ /**
262
+ * Switches the annotations UI to the requested one.
263
+ */
264
+ private _switchAnnotationsUI;
265
+ /**
266
+ * Sets up a resize observer to adjust the visibility of the left and right sidebars dynamically.
267
+ */
268
+ private _setupResizeObserver;
269
+ /**
270
+ * Hides the left sidebar. Works only if there is anything to hide.
271
+ */
272
+ private _hideLeftSidebar;
273
+ /**
274
+ * Shows the left sidebar. Works only if there is anything to show.
275
+ */
276
+ private _showLeftSidebar;
277
+ /**
278
+ * Hides the right sidebar. Works only if there is anything to hide.
279
+ */
280
+ private _hideRightSidebar;
281
+ /**
282
+ * Shows the right sidebar. Works only if there is anything to show.
283
+ */
284
+ private _showRightSidebar;
210
285
  }