@ckeditor/ckeditor5-fullscreen 0.0.1 → 45.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/LICENSE.md +9 -5
- package/README.md +36 -3
- package/build/fullscreen.js +5 -0
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/be.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +11 -0
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +175 -0
- package/dist/index.css +209 -0
- package/dist/index.css.map +1 -0
- package/dist/index.js +710 -0
- package/dist/index.js.map +1 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +5 -0
- package/dist/translations/af.umd.js +11 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +5 -0
- package/dist/translations/ar.umd.js +11 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +5 -0
- package/dist/translations/ast.umd.js +11 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +5 -0
- package/dist/translations/az.umd.js +11 -0
- package/dist/translations/be.d.ts +8 -0
- package/dist/translations/be.js +5 -0
- package/dist/translations/be.umd.js +11 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +5 -0
- package/dist/translations/bg.umd.js +11 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +5 -0
- package/dist/translations/bn.umd.js +11 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +5 -0
- package/dist/translations/bs.umd.js +11 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +5 -0
- package/dist/translations/ca.umd.js +11 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +5 -0
- package/dist/translations/cs.umd.js +11 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +5 -0
- package/dist/translations/da.umd.js +11 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +5 -0
- package/dist/translations/de-ch.umd.js +11 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +5 -0
- package/dist/translations/de.umd.js +11 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +5 -0
- package/dist/translations/el.umd.js +11 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +5 -0
- package/dist/translations/en-au.umd.js +11 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +5 -0
- package/dist/translations/en-gb.umd.js +11 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +5 -0
- package/dist/translations/en.umd.js +11 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +5 -0
- package/dist/translations/eo.umd.js +11 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +5 -0
- package/dist/translations/es-co.umd.js +11 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +5 -0
- package/dist/translations/es.umd.js +11 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +5 -0
- package/dist/translations/et.umd.js +11 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +5 -0
- package/dist/translations/eu.umd.js +11 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +5 -0
- package/dist/translations/fa.umd.js +11 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +5 -0
- package/dist/translations/fi.umd.js +11 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +5 -0
- package/dist/translations/fr.umd.js +11 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +5 -0
- package/dist/translations/gl.umd.js +11 -0
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +5 -0
- package/dist/translations/gu.umd.js +11 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +5 -0
- package/dist/translations/he.umd.js +11 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +5 -0
- package/dist/translations/hi.umd.js +11 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +5 -0
- package/dist/translations/hr.umd.js +11 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +5 -0
- package/dist/translations/hu.umd.js +11 -0
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +5 -0
- package/dist/translations/hy.umd.js +11 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +5 -0
- package/dist/translations/id.umd.js +11 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +5 -0
- package/dist/translations/it.umd.js +11 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +5 -0
- package/dist/translations/ja.umd.js +11 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +5 -0
- package/dist/translations/jv.umd.js +11 -0
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +5 -0
- package/dist/translations/kk.umd.js +11 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +5 -0
- package/dist/translations/km.umd.js +11 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +5 -0
- package/dist/translations/kn.umd.js +11 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +5 -0
- package/dist/translations/ko.umd.js +11 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +5 -0
- package/dist/translations/ku.umd.js +11 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +5 -0
- package/dist/translations/lt.umd.js +11 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +5 -0
- package/dist/translations/lv.umd.js +11 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +5 -0
- package/dist/translations/ms.umd.js +11 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +5 -0
- package/dist/translations/nb.umd.js +11 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +5 -0
- package/dist/translations/ne.umd.js +11 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +5 -0
- package/dist/translations/nl.umd.js +11 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +5 -0
- package/dist/translations/no.umd.js +11 -0
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +5 -0
- package/dist/translations/oc.umd.js +11 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +5 -0
- package/dist/translations/pl.umd.js +11 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +5 -0
- package/dist/translations/pt-br.umd.js +11 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +5 -0
- package/dist/translations/pt.umd.js +11 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +5 -0
- package/dist/translations/ro.umd.js +11 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +5 -0
- package/dist/translations/ru.umd.js +11 -0
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +5 -0
- package/dist/translations/si.umd.js +11 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +5 -0
- package/dist/translations/sk.umd.js +11 -0
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +5 -0
- package/dist/translations/sl.umd.js +11 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +5 -0
- package/dist/translations/sq.umd.js +11 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +5 -0
- package/dist/translations/sr-latn.umd.js +11 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +5 -0
- package/dist/translations/sr.umd.js +11 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +5 -0
- package/dist/translations/sv.umd.js +11 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +5 -0
- package/dist/translations/th.umd.js +11 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +5 -0
- package/dist/translations/ti.umd.js +11 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +5 -0
- package/dist/translations/tk.umd.js +11 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +5 -0
- package/dist/translations/tr.umd.js +11 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +5 -0
- package/dist/translations/tt.umd.js +11 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +5 -0
- package/dist/translations/ug.umd.js +11 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +5 -0
- package/dist/translations/uk.umd.js +11 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +5 -0
- package/dist/translations/ur.umd.js +11 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +5 -0
- package/dist/translations/uz.umd.js +11 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +5 -0
- package/dist/translations/vi.umd.js +11 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +5 -0
- package/dist/translations/zh-cn.umd.js +11 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +5 -0
- package/dist/translations/zh.umd.js +11 -0
- package/lang/contexts.json +6 -0
- package/lang/translations/af.po +28 -0
- package/lang/translations/ar.po +28 -0
- package/lang/translations/ast.po +28 -0
- package/lang/translations/az.po +28 -0
- package/lang/translations/be.po +28 -0
- package/lang/translations/bg.po +28 -0
- package/lang/translations/bn.po +28 -0
- package/lang/translations/bs.po +28 -0
- package/lang/translations/ca.po +28 -0
- package/lang/translations/cs.po +28 -0
- package/lang/translations/da.po +28 -0
- package/lang/translations/de-ch.po +28 -0
- package/lang/translations/de.po +28 -0
- package/lang/translations/el.po +28 -0
- package/lang/translations/en-au.po +28 -0
- package/lang/translations/en-gb.po +28 -0
- package/lang/translations/en.po +28 -0
- package/lang/translations/eo.po +28 -0
- package/lang/translations/es-co.po +28 -0
- package/lang/translations/es.po +28 -0
- package/lang/translations/et.po +28 -0
- package/lang/translations/eu.po +28 -0
- package/lang/translations/fa.po +28 -0
- package/lang/translations/fi.po +28 -0
- package/lang/translations/fr.po +28 -0
- package/lang/translations/gl.po +28 -0
- package/lang/translations/gu.po +28 -0
- package/lang/translations/he.po +28 -0
- package/lang/translations/hi.po +28 -0
- package/lang/translations/hr.po +28 -0
- package/lang/translations/hu.po +28 -0
- package/lang/translations/hy.po +28 -0
- package/lang/translations/id.po +28 -0
- package/lang/translations/it.po +28 -0
- package/lang/translations/ja.po +28 -0
- package/lang/translations/jv.po +28 -0
- package/lang/translations/kk.po +28 -0
- package/lang/translations/km.po +28 -0
- package/lang/translations/kn.po +28 -0
- package/lang/translations/ko.po +28 -0
- package/lang/translations/ku.po +28 -0
- package/lang/translations/lt.po +28 -0
- package/lang/translations/lv.po +28 -0
- package/lang/translations/ms.po +28 -0
- package/lang/translations/nb.po +28 -0
- package/lang/translations/ne.po +28 -0
- package/lang/translations/nl.po +28 -0
- package/lang/translations/no.po +28 -0
- package/lang/translations/oc.po +28 -0
- package/lang/translations/pl.po +28 -0
- package/lang/translations/pt-br.po +28 -0
- package/lang/translations/pt.po +28 -0
- package/lang/translations/ro.po +28 -0
- package/lang/translations/ru.po +28 -0
- package/lang/translations/si.po +28 -0
- package/lang/translations/sk.po +28 -0
- package/lang/translations/sl.po +28 -0
- package/lang/translations/sq.po +28 -0
- package/lang/translations/sr-latn.po +28 -0
- package/lang/translations/sr.po +28 -0
- package/lang/translations/sv.po +28 -0
- package/lang/translations/th.po +28 -0
- package/lang/translations/ti.po +28 -0
- package/lang/translations/tk.po +28 -0
- package/lang/translations/tr.po +28 -0
- package/lang/translations/tt.po +28 -0
- package/lang/translations/ug.po +28 -0
- package/lang/translations/uk.po +28 -0
- package/lang/translations/ur.po +28 -0
- package/lang/translations/uz.po +28 -0
- package/lang/translations/vi.po +28 -0
- package/lang/translations/zh-cn.po +28 -0
- package/lang/translations/zh.po +28 -0
- package/package.json +61 -4
- package/src/augmentation.d.ts +21 -0
- package/src/augmentation.js +5 -0
- package/src/fullscreen.d.ts +27 -0
- package/src/fullscreen.js +33 -0
- package/src/fullscreencommand.d.ts +40 -0
- package/src/fullscreencommand.js +68 -0
- package/src/fullscreenconfig.d.ts +70 -0
- package/src/fullscreenconfig.js +5 -0
- package/src/fullscreenediting.d.ts +29 -0
- package/src/fullscreenediting.js +59 -0
- package/src/fullscreenui.d.ts +35 -0
- package/src/fullscreenui.js +76 -0
- package/src/handlers/abstracteditorhandler.d.ts +146 -0
- package/src/handlers/abstracteditorhandler.js +509 -0
- package/src/handlers/classiceditorhandler.d.ts +23 -0
- package/src/handlers/classiceditorhandler.js +54 -0
- package/src/handlers/decouplededitorhandler.d.ts +26 -0
- package/src/handlers/decouplededitorhandler.js +37 -0
- package/src/index.d.ts +13 -0
- package/src/index.js +11 -0
- package/theme/fullscreen.css +206 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: sv\n"
|
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: th\n"
|
|
11
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: ti\n"
|
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: tk\n"
|
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: tr\n"
|
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: tt\n"
|
|
11
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: ug\n"
|
|
11
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: uk\n"
|
|
11
|
+
"Plural-Forms: nplurals=3; plural=(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: ur\n"
|
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: uz\n"
|
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: vi\n"
|
|
11
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: zh_CN\n"
|
|
11
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: zh_TW\n"
|
|
11
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "Label for a toolbar button that enters the fullscreen when pressed"
|
|
15
|
+
msgid "Enter fullscreen mode"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
+
msgid "Leave fullscreen mode"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
+
msgid "Fullscreen mode"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
+
msgid "Toggle fullscreen mode"
|
|
28
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,14 +1,71 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-fullscreen",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "45.0.0-alpha.0",
|
|
4
|
+
"description": "Fullscreen mode feature for CKEditor 5.",
|
|
4
5
|
"keywords": [
|
|
5
6
|
"ckeditor",
|
|
6
7
|
"ckeditor5",
|
|
7
8
|
"ckeditor 5",
|
|
8
|
-
"ckeditor5-
|
|
9
|
+
"ckeditor5-feature",
|
|
10
|
+
"ckeditor5-plugin",
|
|
11
|
+
"ckeditor5-dll"
|
|
9
12
|
],
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "src/index.js",
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@ckeditor/ckeditor5-comments": "45.0.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-core": "45.0.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-document-outline": "45.0.0-alpha.0",
|
|
19
|
+
"@ckeditor/ckeditor5-editor-classic": "45.0.0-alpha.0",
|
|
20
|
+
"@ckeditor/ckeditor5-editor-decoupled": "45.0.0-alpha.0",
|
|
21
|
+
"@ckeditor/ckeditor5-icons": "45.0.0-alpha.0",
|
|
22
|
+
"@ckeditor/ckeditor5-pagination": "45.0.0-alpha.0",
|
|
23
|
+
"@ckeditor/ckeditor5-real-time-collaboration": "45.0.0-alpha.0",
|
|
24
|
+
"@ckeditor/ckeditor5-revision-history": "45.0.0-alpha.0",
|
|
25
|
+
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.0",
|
|
26
|
+
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.0",
|
|
27
|
+
"ckeditor5": "45.0.0-alpha.0"
|
|
28
|
+
},
|
|
10
29
|
"author": "CKSource (http://cksource.com/)",
|
|
11
|
-
"license": "
|
|
30
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
12
31
|
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
13
|
-
"bugs": "https://github.com/ckeditor/ckeditor5/issues"
|
|
32
|
+
"bugs": "https://github.com/ckeditor/ckeditor5/issues",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/ckeditor/ckeditor5.git",
|
|
36
|
+
"directory": "packages/ckeditor5-fullscreen"
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"dist",
|
|
40
|
+
"lang",
|
|
41
|
+
"src/**/*.js",
|
|
42
|
+
"src/**/*.d.ts",
|
|
43
|
+
"theme",
|
|
44
|
+
"build",
|
|
45
|
+
"ckeditor5-metadata.json",
|
|
46
|
+
"CHANGELOG.md"
|
|
47
|
+
],
|
|
48
|
+
"types": "src/index.d.ts",
|
|
49
|
+
"exports": {
|
|
50
|
+
".": {
|
|
51
|
+
"types": "./src/index.d.ts",
|
|
52
|
+
"import": "./src/index.js",
|
|
53
|
+
"default": "./src/index.js"
|
|
54
|
+
},
|
|
55
|
+
"./dist/*": {
|
|
56
|
+
"types": "./src/index.d.ts",
|
|
57
|
+
"import": "./dist/*",
|
|
58
|
+
"default": "./dist/*"
|
|
59
|
+
},
|
|
60
|
+
"./src/*": {
|
|
61
|
+
"types": "./src/*.d.ts",
|
|
62
|
+
"import": "./src/*",
|
|
63
|
+
"default": "./src/*"
|
|
64
|
+
},
|
|
65
|
+
"./build/*": "./build/*",
|
|
66
|
+
"./lang/*": "./lang/*",
|
|
67
|
+
"./theme/*": "./theme/*",
|
|
68
|
+
"./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
|
|
69
|
+
"./package.json": "./package.json"
|
|
70
|
+
}
|
|
14
71
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import type { Fullscreen, FullscreenEditing, FullscreenUI, FullscreenCommand, FullscreenConfig } from './index.js';
|
|
6
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
+
interface EditorConfig {
|
|
8
|
+
/**
|
|
9
|
+
* Configuration for the fullscreen mode feature.
|
|
10
|
+
*/
|
|
11
|
+
fullscreen?: FullscreenConfig;
|
|
12
|
+
}
|
|
13
|
+
interface PluginsMap {
|
|
14
|
+
[Fullscreen.pluginName]: Fullscreen;
|
|
15
|
+
[FullscreenEditing.pluginName]: FullscreenEditing;
|
|
16
|
+
[FullscreenUI.pluginName]: FullscreenUI;
|
|
17
|
+
}
|
|
18
|
+
interface CommandsMap {
|
|
19
|
+
toggleFullscreen: FullscreenCommand;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module fullscreen/fullscreen
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import FullscreenEditing from './fullscreenediting.js';
|
|
10
|
+
import FullscreenUI from './fullscreenui.js';
|
|
11
|
+
/**
|
|
12
|
+
* The fullscreen mode feature.
|
|
13
|
+
*/
|
|
14
|
+
export default class Fullscreen extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof FullscreenEditing, typeof FullscreenUI];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "Fullscreen";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isOfficialPlugin(): true;
|
|
27
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module fullscreen/fullscreen
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import FullscreenEditing from './fullscreenediting.js';
|
|
10
|
+
import FullscreenUI from './fullscreenui.js';
|
|
11
|
+
/**
|
|
12
|
+
* The fullscreen mode feature.
|
|
13
|
+
*/
|
|
14
|
+
export default class Fullscreen extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires() {
|
|
19
|
+
return [FullscreenEditing, FullscreenUI];
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @inheritDoc
|
|
23
|
+
*/
|
|
24
|
+
static get pluginName() {
|
|
25
|
+
return 'Fullscreen';
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get isOfficialPlugin() {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module fullscreen/fullscreencommand
|
|
7
|
+
*/
|
|
8
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
/**
|
|
10
|
+
* A command toggling the fullscreen mode.
|
|
11
|
+
*/
|
|
12
|
+
export default class FullscreenCommand extends Command {
|
|
13
|
+
/**
|
|
14
|
+
* Indicates whether the fullscreen mode is enabled.
|
|
15
|
+
*
|
|
16
|
+
* @observable
|
|
17
|
+
* @readonly
|
|
18
|
+
*/
|
|
19
|
+
value: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Specialized class handling the fullscreen mode toggling for a specific editor type.
|
|
22
|
+
*/
|
|
23
|
+
private _fullscreenHandler;
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
constructor(editor: Editor);
|
|
28
|
+
/**
|
|
29
|
+
* Toggles the fullscreen mode.
|
|
30
|
+
*/
|
|
31
|
+
execute(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Enables the fullscreen mode.
|
|
34
|
+
*/
|
|
35
|
+
private _enableFullscreenMode;
|
|
36
|
+
/**
|
|
37
|
+
* Disables the fullscreen mode.
|
|
38
|
+
*/
|
|
39
|
+
private _disableFullscreenMode;
|
|
40
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module fullscreen/fullscreencommand
|
|
7
|
+
*/
|
|
8
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ClassicEditor } from '@ckeditor/ckeditor5-editor-classic';
|
|
10
|
+
import { DecoupledEditor } from '@ckeditor/ckeditor5-editor-decoupled';
|
|
11
|
+
import AbstractEditorHandler from './handlers/abstracteditorhandler.js';
|
|
12
|
+
import ClassicEditorHandler from './handlers/classiceditorhandler.js';
|
|
13
|
+
import DecoupledEditorHandler from './handlers/decouplededitorhandler.js';
|
|
14
|
+
/**
|
|
15
|
+
* A command toggling the fullscreen mode.
|
|
16
|
+
*/
|
|
17
|
+
export default class FullscreenCommand extends Command {
|
|
18
|
+
/**
|
|
19
|
+
* Specialized class handling the fullscreen mode toggling for a specific editor type.
|
|
20
|
+
*/
|
|
21
|
+
_fullscreenHandler;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
constructor(editor) {
|
|
26
|
+
super(editor);
|
|
27
|
+
this.affectsData = false;
|
|
28
|
+
this.isEnabled = true;
|
|
29
|
+
this.value = false;
|
|
30
|
+
// Choose the appropriate handler based on the editor type.
|
|
31
|
+
// Currently only ClassicEditor and DecoupledEditor are supported. For other editor types, the abstract handler is used
|
|
32
|
+
// which will throw if user tries to enable the fullscreen mode.
|
|
33
|
+
if (editor instanceof ClassicEditor) {
|
|
34
|
+
this._fullscreenHandler = new ClassicEditorHandler(editor);
|
|
35
|
+
}
|
|
36
|
+
else if (editor instanceof DecoupledEditor) {
|
|
37
|
+
this._fullscreenHandler = new DecoupledEditorHandler(editor);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
this._fullscreenHandler = new AbstractEditorHandler(editor);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Toggles the fullscreen mode.
|
|
45
|
+
*/
|
|
46
|
+
execute() {
|
|
47
|
+
if (this.value) {
|
|
48
|
+
this._disableFullscreenMode();
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
this._enableFullscreenMode();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Enables the fullscreen mode.
|
|
56
|
+
*/
|
|
57
|
+
_enableFullscreenMode() {
|
|
58
|
+
this._fullscreenHandler.enable();
|
|
59
|
+
this.value = true;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Disables the fullscreen mode.
|
|
63
|
+
*/
|
|
64
|
+
_disableFullscreenMode() {
|
|
65
|
+
this._fullscreenHandler.disable();
|
|
66
|
+
this.value = false;
|
|
67
|
+
}
|
|
68
|
+
}
|