@ckeditor/ckeditor5-fullscreen 47.6.1-alpha.1 → 48.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ckeditor5-metadata.json +2 -2
- package/{src → dist}/fullscreen.d.ts +1 -1
- package/{src → dist}/fullscreencommand.d.ts +2 -2
- package/{src → dist}/fullscreenediting.d.ts +1 -1
- package/{src → dist}/fullscreenui.d.ts +1 -1
- package/{src → dist}/handlers/abstracteditorhandler.d.ts +2 -2
- package/dist/index-editor.css +153 -154
- package/dist/index.css +150 -191
- package/dist/index.css.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +24 -48
- package/build/fullscreen.js +0 -5
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -11
- package/lang/translations/af.po +0 -48
- package/lang/translations/ar.po +0 -48
- package/lang/translations/ast.po +0 -48
- package/lang/translations/az.po +0 -48
- package/lang/translations/be.po +0 -48
- package/lang/translations/bg.po +0 -48
- package/lang/translations/bn.po +0 -48
- package/lang/translations/bs.po +0 -48
- package/lang/translations/ca.po +0 -48
- package/lang/translations/cs.po +0 -48
- package/lang/translations/da.po +0 -48
- package/lang/translations/de-ch.po +0 -48
- package/lang/translations/de.po +0 -48
- package/lang/translations/el.po +0 -48
- package/lang/translations/en-au.po +0 -48
- package/lang/translations/en-gb.po +0 -48
- package/lang/translations/en.po +0 -48
- package/lang/translations/eo.po +0 -48
- package/lang/translations/es-co.po +0 -48
- package/lang/translations/es.po +0 -48
- package/lang/translations/et.po +0 -48
- package/lang/translations/eu.po +0 -48
- package/lang/translations/fa.po +0 -48
- package/lang/translations/fi.po +0 -48
- package/lang/translations/fr.po +0 -48
- package/lang/translations/gl.po +0 -48
- package/lang/translations/gu.po +0 -48
- package/lang/translations/he.po +0 -48
- package/lang/translations/hi.po +0 -48
- package/lang/translations/hr.po +0 -48
- package/lang/translations/hu.po +0 -48
- package/lang/translations/hy.po +0 -48
- package/lang/translations/id.po +0 -48
- package/lang/translations/it.po +0 -48
- package/lang/translations/ja.po +0 -48
- package/lang/translations/jv.po +0 -48
- package/lang/translations/kk.po +0 -48
- package/lang/translations/km.po +0 -48
- package/lang/translations/kn.po +0 -48
- package/lang/translations/ko.po +0 -48
- package/lang/translations/ku.po +0 -48
- package/lang/translations/lt.po +0 -48
- package/lang/translations/lv.po +0 -48
- package/lang/translations/ms.po +0 -48
- package/lang/translations/nb.po +0 -48
- package/lang/translations/ne.po +0 -48
- package/lang/translations/nl.po +0 -48
- package/lang/translations/no.po +0 -48
- package/lang/translations/oc.po +0 -48
- package/lang/translations/pl.po +0 -48
- package/lang/translations/pt-br.po +0 -48
- package/lang/translations/pt.po +0 -48
- package/lang/translations/ro.po +0 -48
- package/lang/translations/ru.po +0 -48
- package/lang/translations/si.po +0 -48
- package/lang/translations/sk.po +0 -48
- package/lang/translations/sl.po +0 -48
- package/lang/translations/sq.po +0 -48
- package/lang/translations/sr-latn.po +0 -48
- package/lang/translations/sr.po +0 -48
- package/lang/translations/sv.po +0 -48
- package/lang/translations/th.po +0 -48
- package/lang/translations/ti.po +0 -48
- package/lang/translations/tk.po +0 -48
- package/lang/translations/tr.po +0 -48
- package/lang/translations/tt.po +0 -48
- package/lang/translations/ug.po +0 -48
- package/lang/translations/uk.po +0 -48
- package/lang/translations/ur.po +0 -48
- package/lang/translations/uz.po +0 -48
- package/lang/translations/vi.po +0 -48
- package/lang/translations/zh-cn.po +0 -48
- package/lang/translations/zh.po +0 -48
- package/src/augmentation.js +0 -5
- package/src/fullscreen.js +0 -33
- package/src/fullscreencommand.js +0 -92
- package/src/fullscreenconfig.js +0 -5
- package/src/fullscreenediting.js +0 -69
- package/src/fullscreenui.js +0 -85
- package/src/handlers/abstracteditorhandler.js +0 -904
- package/src/handlers/classiceditorhandler.js +0 -60
- package/src/handlers/decouplededitorhandler.js +0 -38
- package/src/index.js +0 -15
- package/theme/fullscreen.css +0 -283
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/fullscreenconfig.d.ts +0 -0
- /package/{src → dist}/handlers/classiceditorhandler.d.ts +0 -0
- /package/{src → dist}/handlers/decouplededitorhandler.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
package/lang/translations/ug.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, 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 ""
|
|
29
|
-
|
|
30
|
-
msgctxt "Label for a sidebar header that contains a document outline"
|
|
31
|
-
msgid "Document outline"
|
|
32
|
-
msgstr ""
|
|
33
|
-
|
|
34
|
-
msgctxt "Label for a sidebar header that contains a list of connected users"
|
|
35
|
-
msgid "Connected users"
|
|
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/lang/translations/uk.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, 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 "Увімкнути повноекранний режим"
|
|
29
|
-
|
|
30
|
-
msgctxt "Label for a sidebar header that contains a document outline"
|
|
31
|
-
msgid "Document outline"
|
|
32
|
-
msgstr "Структура документа"
|
|
33
|
-
|
|
34
|
-
msgctxt "Label for a sidebar header that contains a list of connected users"
|
|
35
|
-
msgid "Connected users"
|
|
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/lang/translations/ur.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, 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 ""
|
|
29
|
-
|
|
30
|
-
msgctxt "Label for a sidebar header that contains a document outline"
|
|
31
|
-
msgid "Document outline"
|
|
32
|
-
msgstr ""
|
|
33
|
-
|
|
34
|
-
msgctxt "Label for a sidebar header that contains a list of connected users"
|
|
35
|
-
msgid "Connected users"
|
|
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/lang/translations/uz.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, 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 ""
|
|
29
|
-
|
|
30
|
-
msgctxt "Label for a sidebar header that contains a document outline"
|
|
31
|
-
msgid "Document outline"
|
|
32
|
-
msgstr ""
|
|
33
|
-
|
|
34
|
-
msgctxt "Label for a sidebar header that contains a list of connected users"
|
|
35
|
-
msgid "Connected users"
|
|
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/lang/translations/vi.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, 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 "Vào chế độ toàn màn hình"
|
|
17
|
-
|
|
18
|
-
msgctxt "Label for a toolbar button that leaves the fullscreen when pressed"
|
|
19
|
-
msgid "Leave fullscreen mode"
|
|
20
|
-
msgstr "Thoát chế độ toàn màn hình"
|
|
21
|
-
|
|
22
|
-
msgctxt "Label for a menu bar button that toggles fullscreen mode"
|
|
23
|
-
msgid "Fullscreen mode"
|
|
24
|
-
msgstr "Chế độ toàn màn hình"
|
|
25
|
-
|
|
26
|
-
msgctxt "Keystroke description for assistive technologies: keystroke for toggling a fullscreen mode."
|
|
27
|
-
msgid "Toggle fullscreen mode"
|
|
28
|
-
msgstr "Chuyển đổi chế độ toàn màn hình"
|
|
29
|
-
|
|
30
|
-
msgctxt "Label for a sidebar header that contains a document outline"
|
|
31
|
-
msgid "Document outline"
|
|
32
|
-
msgstr "Bố cục tài liệu"
|
|
33
|
-
|
|
34
|
-
msgctxt "Label for a sidebar header that contains a list of connected users"
|
|
35
|
-
msgid "Connected users"
|
|
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 "Hiển thị thanh bên trái"
|
|
41
|
-
|
|
42
|
-
msgctxt "Tooltip for a button that hides the left sidebar"
|
|
43
|
-
msgid "Hide left sidebar"
|
|
44
|
-
msgstr "Ẩn thanh bên trái"
|
|
45
|
-
|
|
46
|
-
msgctxt "Label for a button that toggles the left sidebar"
|
|
47
|
-
msgid "Toggle sidebar"
|
|
48
|
-
msgstr "Bật/tắt thanh bên"
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, 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 "切换全屏模式"
|
|
29
|
-
|
|
30
|
-
msgctxt "Label for a sidebar header that contains a document outline"
|
|
31
|
-
msgid "Document outline"
|
|
32
|
-
msgstr "文档大纲"
|
|
33
|
-
|
|
34
|
-
msgctxt "Label for a sidebar header that contains a list of connected users"
|
|
35
|
-
msgid "Connected users"
|
|
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/lang/translations/zh.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, 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 "切換全螢幕模式"
|
|
29
|
-
|
|
30
|
-
msgctxt "Label for a sidebar header that contains a document outline"
|
|
31
|
-
msgid "Document outline"
|
|
32
|
-
msgstr "文件大綱"
|
|
33
|
-
|
|
34
|
-
msgctxt "Label for a sidebar header that contains a list of connected users"
|
|
35
|
-
msgid "Connected users"
|
|
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/src/augmentation.js
DELETED
package/src/fullscreen.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
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 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
|
-
}
|
package/src/fullscreencommand.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module fullscreen/fullscreencommand
|
|
7
|
-
*/
|
|
8
|
-
import { Command } from 'ckeditor5/src/core.js';
|
|
9
|
-
import { FullscreenAbstractEditorHandler } from './handlers/abstracteditorhandler.js';
|
|
10
|
-
import { FullscreenClassicEditorHandler } from './handlers/classiceditorhandler.js';
|
|
11
|
-
import { FullscreenDecoupledEditorHandler } from './handlers/decouplededitorhandler.js';
|
|
12
|
-
/**
|
|
13
|
-
* A command toggling the fullscreen mode.
|
|
14
|
-
*/
|
|
15
|
-
export class FullscreenCommand extends Command {
|
|
16
|
-
/**
|
|
17
|
-
* Specialized class handling the fullscreen mode toggling for a specific editor type.
|
|
18
|
-
*
|
|
19
|
-
* If you want to add support for a new editor type (for now, only Classic and Decoupled editors are handled),
|
|
20
|
-
* create a custom handler that extends `FullscreenAbstractEditorHandler` and replace `fullscreenHandler` with it after
|
|
21
|
-
* editor initialization:
|
|
22
|
-
*
|
|
23
|
-
* ```ts
|
|
24
|
-
* // See the details of how to implement a custom handler in the `FullscreenAbstractEditorHandler` class API docs.
|
|
25
|
-
* class CustomEditorHandler extends FullscreenAbstractEditorHandler {}
|
|
26
|
-
*
|
|
27
|
-
* CustomEditorClass.create( document.querySelector( '#editor' ), {} )
|
|
28
|
-
* .then( ( editor ) => {
|
|
29
|
-
* editor.commands.get( 'toggleFullscreen' ).fullscreenHandler = new CustomEditorHandler( editor );
|
|
30
|
-
* } );
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
fullscreenHandler;
|
|
34
|
-
/**
|
|
35
|
-
* @inheritDoc
|
|
36
|
-
*/
|
|
37
|
-
constructor(editor) {
|
|
38
|
-
super(editor);
|
|
39
|
-
this.affectsData = false;
|
|
40
|
-
this.isEnabled = true;
|
|
41
|
-
this.value = false;
|
|
42
|
-
// Choose the appropriate handler based on the editor type.
|
|
43
|
-
// Currently only `ClassicEditor` and `DecoupledEditor` are supported. For other editor types, you should create a custom handler
|
|
44
|
-
// that extends `FullscreenAbstractEditorHandler` and replace `fullscreenHandler` with it.
|
|
45
|
-
if (isClassicEditor(editor)) {
|
|
46
|
-
this.fullscreenHandler = new FullscreenClassicEditorHandler(editor);
|
|
47
|
-
}
|
|
48
|
-
else if (isDecoupledEditor(editor)) {
|
|
49
|
-
this.fullscreenHandler = new FullscreenDecoupledEditorHandler(editor);
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
this.fullscreenHandler = new FullscreenAbstractEditorHandler(editor);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Toggles the fullscreen mode.
|
|
57
|
-
*/
|
|
58
|
-
execute() {
|
|
59
|
-
if (this.value) {
|
|
60
|
-
this._disableFullscreenMode();
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
this._enableFullscreenMode();
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Enables the fullscreen mode.
|
|
68
|
-
*/
|
|
69
|
-
_enableFullscreenMode() {
|
|
70
|
-
this.fullscreenHandler.enable();
|
|
71
|
-
this.value = true;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Disables the fullscreen mode.
|
|
75
|
-
*/
|
|
76
|
-
_disableFullscreenMode() {
|
|
77
|
-
this.fullscreenHandler.disable();
|
|
78
|
-
this.value = false;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Classic editor typeguard.
|
|
83
|
-
*/
|
|
84
|
-
function isClassicEditor(editor) {
|
|
85
|
-
return editor.constructor.editorName === 'ClassicEditor';
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Decoupled editor typeguard.
|
|
89
|
-
*/
|
|
90
|
-
function isDecoupledEditor(editor) {
|
|
91
|
-
return editor.constructor.editorName === 'DecoupledEditor';
|
|
92
|
-
}
|
package/src/fullscreenconfig.js
DELETED
package/src/fullscreenediting.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module fullscreen/fullscreenediting
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
-
import { env } from 'ckeditor5/src/utils.js';
|
|
10
|
-
import { FullscreenCommand } from './fullscreencommand.js';
|
|
11
|
-
/**
|
|
12
|
-
* A plugin that registers the fullscreen mode command.
|
|
13
|
-
*/
|
|
14
|
-
export class FullscreenEditing extends Plugin {
|
|
15
|
-
/**
|
|
16
|
-
* @inheritDoc
|
|
17
|
-
*/
|
|
18
|
-
static get pluginName() {
|
|
19
|
-
return 'FullscreenEditing';
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @inheritDoc
|
|
23
|
-
*/
|
|
24
|
-
static get isOfficialPlugin() {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @inheritDoc
|
|
29
|
-
*/
|
|
30
|
-
constructor(editor) {
|
|
31
|
-
super(editor);
|
|
32
|
-
editor.config.define('fullscreen.menuBar.isVisible', true);
|
|
33
|
-
// By default, toolbar should behave the same way in fullscreen mode as in normal mode.
|
|
34
|
-
// This means that the toolbar buttons should be grouped when the toolbar is full.
|
|
35
|
-
editor.config.define('fullscreen.toolbar.shouldNotGroupWhenFull', editor.config.get('toolbar.shouldNotGroupWhenFull') === true);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @inheritDoc
|
|
39
|
-
*/
|
|
40
|
-
init() {
|
|
41
|
-
this.editor.commands.add('toggleFullscreen', new FullscreenCommand(this.editor));
|
|
42
|
-
const t = this.editor.locale.t;
|
|
43
|
-
// Set the Ctrl+Shift+F keystroke.
|
|
44
|
-
this.editor.keystrokes.set('Ctrl+Shift+F', (evt, cancel) => {
|
|
45
|
-
this.editor.execute('toggleFullscreen');
|
|
46
|
-
// On non-Chromium browsers, the editor view and toolbar are not blurred properly after moving the editable,
|
|
47
|
-
// even though the `document.activeElement` is changed. Hence we need to blur them manually.
|
|
48
|
-
// Fixes https://github.com/ckeditor/ckeditor5/issues/18250 and https://github.com/ckeditor/ckeditor5/issues/18247.
|
|
49
|
-
if (!env.isBlink) {
|
|
50
|
-
this.editor.editing.view.document.isFocused = false;
|
|
51
|
-
this.editor.ui.view.toolbar.focusTracker.focusedElement = null;
|
|
52
|
-
}
|
|
53
|
-
// The order of scroll and focus is not important here.
|
|
54
|
-
this.editor.editing.view.scrollToTheSelection();
|
|
55
|
-
this.editor.editing.view.focus();
|
|
56
|
-
cancel();
|
|
57
|
-
});
|
|
58
|
-
// Add the information about the keystroke to the accessibility database.
|
|
59
|
-
this.editor.accessibility.addKeystrokeInfos({
|
|
60
|
-
keystrokes: [
|
|
61
|
-
{
|
|
62
|
-
label: t('Toggle fullscreen mode'),
|
|
63
|
-
keystroke: 'CTRL+SHIFT+F'
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
categoryId: 'navigation'
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
}
|
package/src/fullscreenui.js
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module fullscreen/fullscreenui
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
-
import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js';
|
|
10
|
-
import { IconFullscreenEnter, IconFullscreenLeave } from 'ckeditor5/src/icons.js';
|
|
11
|
-
import { env } from 'ckeditor5/src/utils.js';
|
|
12
|
-
import { FullscreenEditing } from './fullscreenediting.js';
|
|
13
|
-
import '../theme/fullscreen.css';
|
|
14
|
-
const COMMAND_NAME = 'toggleFullscreen';
|
|
15
|
-
/**
|
|
16
|
-
* A plugin registering the fullscreen mode buttons.
|
|
17
|
-
*/
|
|
18
|
-
export class FullscreenUI extends Plugin {
|
|
19
|
-
/**
|
|
20
|
-
* @inheritDoc
|
|
21
|
-
*/
|
|
22
|
-
static get requires() {
|
|
23
|
-
return [FullscreenEditing];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @inheritDoc
|
|
27
|
-
*/
|
|
28
|
-
static get pluginName() {
|
|
29
|
-
return 'FullscreenUI';
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @inheritDoc
|
|
33
|
-
*/
|
|
34
|
-
static get isOfficialPlugin() {
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @inheritDoc
|
|
39
|
-
*/
|
|
40
|
-
init() {
|
|
41
|
-
const editor = this.editor;
|
|
42
|
-
editor.ui.componentFactory.add('fullscreen', () => this._createButton(ButtonView));
|
|
43
|
-
editor.ui.componentFactory.add('menuBar:fullscreen', () => this._createButton(MenuBarMenuListItemButtonView));
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Creates a button that toggles the fullscreen mode.
|
|
47
|
-
*/
|
|
48
|
-
_createButton(ButtonClass) {
|
|
49
|
-
const editor = this.editor;
|
|
50
|
-
const t = editor.t;
|
|
51
|
-
const command = editor.commands.get(COMMAND_NAME);
|
|
52
|
-
const view = new ButtonClass(editor.locale);
|
|
53
|
-
view.set({
|
|
54
|
-
isToggleable: true
|
|
55
|
-
});
|
|
56
|
-
view.bind('isEnabled').to(command, 'isEnabled');
|
|
57
|
-
view.bind('isOn').to(command, 'value');
|
|
58
|
-
if ((view instanceof MenuBarMenuListItemButtonView)) {
|
|
59
|
-
view.set({
|
|
60
|
-
role: 'menuitemcheckbox',
|
|
61
|
-
label: t('Fullscreen mode')
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
view.bind('icon').to(command, 'value', value => value ? IconFullscreenLeave : IconFullscreenEnter);
|
|
66
|
-
view.bind('label').to(command, 'value', value => value ? t('Leave fullscreen mode') : t('Enter fullscreen mode'));
|
|
67
|
-
view.set({
|
|
68
|
-
tooltip: true
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
this.listenTo(view, 'execute', () => {
|
|
72
|
-
editor.execute(COMMAND_NAME);
|
|
73
|
-
// On non-Chromium browsers, toolbar is not blurred properly after moving the editable,
|
|
74
|
-
// even though the `document.activeElement` is changed. Hence we need to blur the view manually.
|
|
75
|
-
// Fixes https://github.com/ckeditor/ckeditor5/issues/18250 and https://github.com/ckeditor/ckeditor5/issues/18247.
|
|
76
|
-
if (!env.isBlink) {
|
|
77
|
-
this.editor.ui.view.toolbar.focusTracker.focusedElement = null;
|
|
78
|
-
}
|
|
79
|
-
// The order of scroll and focus is not important here.
|
|
80
|
-
editor.editing.view.scrollToTheSelection();
|
|
81
|
-
editor.editing.view.focus();
|
|
82
|
-
});
|
|
83
|
-
return view;
|
|
84
|
-
}
|
|
85
|
-
}
|