@ckeditor/ckeditor5-ui 43.2.0 → 43.3.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/dist/dialog/dialog.d.ts +16 -0
- package/dist/dialog/dialogview.d.ts +3 -1
- package/dist/editorui/accessibilityhelp/accessibilityhelp.d.ts +4 -0
- package/dist/index-editor.css +12 -15
- package/dist/index.css +14 -15
- package/dist/index.css.map +1 -1
- package/dist/index.js +101 -30
- package/dist/index.js.map +1 -1
- package/dist/notification/notification.d.ts +4 -0
- package/dist/panel/balloon/contextualballoon.d.ts +4 -0
- package/dist/toolbar/balloon/balloontoolbar.d.ts +4 -0
- package/dist/toolbar/block/blocktoolbar.d.ts +4 -0
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- 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/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- 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/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/lang/translations/af.po +3 -9
- package/lang/translations/ar.po +4 -10
- package/lang/translations/ast.po +3 -9
- package/lang/translations/az.po +3 -9
- package/lang/translations/bg.po +3 -9
- package/lang/translations/bn.po +3 -9
- package/lang/translations/bs.po +4 -10
- package/lang/translations/ca.po +3 -9
- package/lang/translations/cs.po +4 -10
- package/lang/translations/da.po +3 -9
- package/lang/translations/de-ch.po +3 -9
- package/lang/translations/de.po +3 -9
- package/lang/translations/el.po +3 -9
- package/lang/translations/en-au.po +3 -9
- package/lang/translations/en-gb.po +3 -9
- package/lang/translations/en.po +5 -11
- package/lang/translations/eo.po +3 -9
- package/lang/translations/es-co.po +4 -10
- package/lang/translations/es.po +4 -10
- package/lang/translations/et.po +3 -9
- package/lang/translations/eu.po +3 -9
- package/lang/translations/fa.po +4 -10
- package/lang/translations/fi.po +3 -9
- package/lang/translations/fr.po +4 -10
- package/lang/translations/gl.po +3 -9
- package/lang/translations/gu.po +208 -0
- package/lang/translations/he.po +4 -10
- package/lang/translations/hi.po +3 -9
- package/lang/translations/hr.po +4 -10
- package/lang/translations/hu.po +3 -9
- package/lang/translations/hy.po +208 -0
- package/lang/translations/id.po +3 -9
- package/lang/translations/it.po +4 -10
- package/lang/translations/ja.po +3 -9
- package/lang/translations/jv.po +4 -10
- package/lang/translations/kk.po +208 -0
- package/lang/translations/km.po +3 -9
- package/lang/translations/kn.po +4 -10
- package/lang/translations/ko.po +3 -9
- package/lang/translations/ku.po +3 -9
- package/lang/translations/lt.po +4 -10
- package/lang/translations/lv.po +4 -10
- package/lang/translations/ms.po +3 -9
- package/lang/translations/nb.po +3 -9
- package/lang/translations/ne.po +3 -9
- package/lang/translations/nl.po +3 -9
- package/lang/translations/no.po +3 -9
- package/lang/translations/oc.po +208 -0
- package/lang/translations/pl.po +4 -10
- package/lang/translations/pt-br.po +4 -10
- package/lang/translations/pt.po +4 -10
- package/lang/translations/ro.po +4 -10
- package/lang/translations/ru.po +4 -10
- package/lang/translations/si.po +208 -0
- package/lang/translations/sk.po +4 -10
- package/lang/translations/sl.po +4 -10
- package/lang/translations/sq.po +3 -9
- package/lang/translations/sr-latn.po +4 -10
- package/lang/translations/sr.po +4 -10
- package/lang/translations/sv.po +3 -9
- package/lang/translations/th.po +3 -9
- package/lang/translations/ti.po +3 -9
- package/lang/translations/tk.po +3 -9
- package/lang/translations/tr.po +3 -9
- package/lang/translations/tt.po +3 -9
- package/lang/translations/ug.po +4 -10
- package/lang/translations/uk.po +4 -10
- package/lang/translations/ur.po +3 -9
- package/lang/translations/uz.po +4 -10
- package/lang/translations/vi.po +3 -9
- package/lang/translations/zh-cn.po +3 -9
- package/lang/translations/zh.po +3 -9
- package/package.json +4 -4
- package/src/dialog/dialog.d.ts +16 -0
- package/src/dialog/dialog.js +31 -0
- package/src/dialog/dialogview.d.ts +3 -1
- package/src/dialog/dialogview.js +26 -17
- package/src/dropdown/menu/dropdownmenunestedmenuview.js +1 -0
- package/src/dropdown/utils.js +17 -2
- package/src/editorui/accessibilityhelp/accessibilityhelp.d.ts +4 -0
- package/src/editorui/accessibilityhelp/accessibilityhelp.js +6 -0
- package/src/editorui/editorui.js +2 -2
- package/src/notification/notification.d.ts +4 -0
- package/src/notification/notification.js +6 -0
- package/src/panel/balloon/contextualballoon.d.ts +4 -0
- package/src/panel/balloon/contextualballoon.js +6 -0
- package/src/toolbar/balloon/balloontoolbar.d.ts +4 -0
- package/src/toolbar/balloon/balloontoolbar.js +7 -1
- package/src/toolbar/block/blocktoolbar.d.ts +4 -0
- package/src/toolbar/block/blocktoolbar.js +6 -0
- package/src/toolbar/toolbarview.js +3 -3
- package/theme/components/dialog/dialog.css +5 -2
- package/theme/mixins/_dir.css +1 -1
package/lang/translations/sk.po
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
|
|
16
10
|
"Language: sk\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
11
|
+
"Plural-Forms: nplurals=3; plural=(n == 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2);\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
13
|
|
|
20
14
|
msgctxt "Title of the CKEditor5 editor."
|
package/lang/translations/sl.po
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Slovenian (https://app.transifex.com/ckeditor/teams/11143/sl/)\n"
|
|
16
10
|
"Language: sl\n"
|
|
17
|
-
"Plural-Forms: nplurals=4; plural=(n%100==1 ?
|
|
11
|
+
"Plural-Forms: nplurals=4; plural=(n % 100 == 1 ? 1 : n % 100 == 2 ? 2 : n % 100 == 3 || n % 100 == 4 ? 3 : 0);\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
13
|
|
|
20
14
|
msgctxt "Title of the CKEditor5 editor."
|
package/lang/translations/sq.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n"
|
|
16
10
|
"Language: sq\n"
|
|
17
11
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
|
|
16
10
|
"Language: sr@latin\n"
|
|
17
|
-
"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"
|
|
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"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
13
|
|
|
20
14
|
msgctxt "Title of the CKEditor5 editor."
|
package/lang/translations/sr.po
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
|
|
16
10
|
"Language: sr\n"
|
|
17
|
-
"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"
|
|
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"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
13
|
|
|
20
14
|
msgctxt "Title of the CKEditor5 editor."
|
package/lang/translations/sv.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
|
|
16
10
|
"Language: sv\n"
|
|
17
11
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
package/lang/translations/th.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
|
|
16
10
|
"Language: th\n"
|
|
17
11
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
package/lang/translations/ti.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Tigrinya (https://app.transifex.com/ckeditor/teams/11143/ti/)\n"
|
|
16
10
|
"Language: ti\n"
|
|
17
11
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
package/lang/translations/tk.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n"
|
|
16
10
|
"Language: tk\n"
|
|
17
11
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
package/lang/translations/tr.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
|
|
16
10
|
"Language: tr\n"
|
|
17
11
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
package/lang/translations/tt.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Tatar (https://app.transifex.com/ckeditor/teams/11143/tt/)\n"
|
|
16
10
|
"Language: tt\n"
|
|
17
11
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
package/lang/translations/ug.po
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
|
|
16
10
|
"Language: ug\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
11
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
13
|
|
|
20
14
|
msgctxt "Title of the CKEditor5 editor."
|
package/lang/translations/uk.po
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
|
|
16
10
|
"Language: uk\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
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"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
13
|
|
|
20
14
|
msgctxt "Title of the CKEditor5 editor."
|
package/lang/translations/ur.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n"
|
|
16
10
|
"Language: ur\n"
|
|
17
11
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
package/lang/translations/uz.po
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n"
|
|
16
10
|
"Language: uz\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
13
|
|
|
20
14
|
msgctxt "Title of the CKEditor5 editor."
|
package/lang/translations/vi.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
|
|
16
10
|
"Language: vi\n"
|
|
17
11
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
|
|
16
10
|
"Language: zh_CN\n"
|
|
17
11
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
package/lang/translations/zh.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
|
|
16
10
|
"Language: zh_TW\n"
|
|
17
11
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ui",
|
|
3
|
-
"version": "43.
|
|
3
|
+
"version": "43.3.0-alpha.0",
|
|
4
4
|
"description": "The UI framework and standard UI library of CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "43.
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "43.
|
|
17
|
-
"@ckeditor/ckeditor5-utils": "43.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "43.3.0-alpha.0",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "43.3.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-utils": "43.3.0-alpha.0",
|
|
18
18
|
"color-convert": "2.0.1",
|
|
19
19
|
"color-parse": "1.4.2",
|
|
20
20
|
"lodash-es": "4.17.21",
|
package/src/dialog/dialog.d.ts
CHANGED
|
@@ -47,10 +47,18 @@ export default class Dialog extends Plugin {
|
|
|
47
47
|
* @inheritDoc
|
|
48
48
|
*/
|
|
49
49
|
static get pluginName(): "Dialog";
|
|
50
|
+
/**
|
|
51
|
+
* @inheritDoc
|
|
52
|
+
*/
|
|
53
|
+
static get isOfficialPlugin(): true;
|
|
50
54
|
/**
|
|
51
55
|
* @inheritDoc
|
|
52
56
|
*/
|
|
53
57
|
constructor(editor: Editor);
|
|
58
|
+
/**
|
|
59
|
+
* @inheritDoc
|
|
60
|
+
*/
|
|
61
|
+
destroy(): void;
|
|
54
62
|
/**
|
|
55
63
|
* Initiates listeners for the `show` and `hide` events emitted by this plugin.
|
|
56
64
|
*
|
|
@@ -167,6 +175,14 @@ export default class Dialog extends Plugin {
|
|
|
167
175
|
* Destroys the {@link module:ui/dialog/dialogview~DialogView} and cleans up the stored dialog state.
|
|
168
176
|
*/
|
|
169
177
|
private _hide;
|
|
178
|
+
/**
|
|
179
|
+
* Makes the <body> unscrollable (e.g. when the modal shows up).
|
|
180
|
+
*/
|
|
181
|
+
private _lockBodyScroll;
|
|
182
|
+
/**
|
|
183
|
+
* Makes the <body> scrollable again (e.g. once the modal hides).
|
|
184
|
+
*/
|
|
185
|
+
private _unlockBodyScroll;
|
|
170
186
|
}
|
|
171
187
|
/**
|
|
172
188
|
* The definition that describes a dialog window and its content. Passed to the {@link module:ui/dialog/dialog~Dialog#show} method.
|
package/src/dialog/dialog.js
CHANGED
|
@@ -14,6 +14,12 @@ export default class Dialog extends Plugin {
|
|
|
14
14
|
static get pluginName() {
|
|
15
15
|
return 'Dialog';
|
|
16
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* @inheritDoc
|
|
19
|
+
*/
|
|
20
|
+
static get isOfficialPlugin() {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
17
23
|
/**
|
|
18
24
|
* @inheritDoc
|
|
19
25
|
*/
|
|
@@ -37,6 +43,13 @@ export default class Dialog extends Plugin {
|
|
|
37
43
|
}]
|
|
38
44
|
});
|
|
39
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* @inheritDoc
|
|
48
|
+
*/
|
|
49
|
+
destroy() {
|
|
50
|
+
super.destroy();
|
|
51
|
+
this._unlockBodyScroll();
|
|
52
|
+
}
|
|
40
53
|
/**
|
|
41
54
|
* Initiates listeners for the `show` and `hide` events emitted by this plugin.
|
|
42
55
|
*
|
|
@@ -215,6 +228,9 @@ export default class Dialog extends Plugin {
|
|
|
215
228
|
if (!position) {
|
|
216
229
|
position = isModal ? DialogViewPosition.SCREEN_CENTER : DialogViewPosition.EDITOR_CENTER;
|
|
217
230
|
}
|
|
231
|
+
if (isModal) {
|
|
232
|
+
this._lockBodyScroll();
|
|
233
|
+
}
|
|
218
234
|
view.set({
|
|
219
235
|
position,
|
|
220
236
|
_isVisible: true,
|
|
@@ -254,6 +270,9 @@ export default class Dialog extends Plugin {
|
|
|
254
270
|
}
|
|
255
271
|
const editor = this.editor;
|
|
256
272
|
const view = this.view;
|
|
273
|
+
if (view.isModal) {
|
|
274
|
+
this._unlockBodyScroll();
|
|
275
|
+
}
|
|
257
276
|
// Reset the content view to prevent its children from being destroyed in the standard
|
|
258
277
|
// View#destroy() (and collections) chain. If the content children were left in there,
|
|
259
278
|
// they would have to be re-created by the feature using the dialog every time the dialog
|
|
@@ -270,4 +289,16 @@ export default class Dialog extends Plugin {
|
|
|
270
289
|
this.isOpen = false;
|
|
271
290
|
Dialog._visibleDialogPlugin = null;
|
|
272
291
|
}
|
|
292
|
+
/**
|
|
293
|
+
* Makes the <body> unscrollable (e.g. when the modal shows up).
|
|
294
|
+
*/
|
|
295
|
+
_lockBodyScroll() {
|
|
296
|
+
document.documentElement.classList.add('ck-dialog-scroll-locked');
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Makes the <body> scrollable again (e.g. once the modal hides).
|
|
300
|
+
*/
|
|
301
|
+
_unlockBodyScroll() {
|
|
302
|
+
document.documentElement.classList.remove('ck-dialog-scroll-locked');
|
|
303
|
+
}
|
|
273
304
|
}
|
|
@@ -223,7 +223,9 @@ export default class DialogView extends /* #__PURE__ */ DialogView_base implemen
|
|
|
223
223
|
*/
|
|
224
224
|
private _getDialogRect;
|
|
225
225
|
/**
|
|
226
|
-
*
|
|
226
|
+
* Returns a viewport `Rect` shrunk by the viewport offset config from all sides.
|
|
227
|
+
*
|
|
228
|
+
* TODO: This is a duplicate from position.ts module. It should either be exported there or land somewhere in utils.
|
|
227
229
|
*/
|
|
228
230
|
private _getViewportRect;
|
|
229
231
|
/**
|
package/src/dialog/dialogview.js
CHANGED
|
@@ -104,6 +104,7 @@ class DialogView extends /* #__PURE__ */ DraggableViewMixin(View) {
|
|
|
104
104
|
class: [
|
|
105
105
|
'ck',
|
|
106
106
|
'ck-dialog',
|
|
107
|
+
bind.if('isModal', 'ck-dialog_modal'),
|
|
107
108
|
bind.to('className')
|
|
108
109
|
],
|
|
109
110
|
role: 'dialog',
|
|
@@ -167,7 +168,8 @@ class DialogView extends /* #__PURE__ */ DraggableViewMixin(View) {
|
|
|
167
168
|
* Returns the element that should be used as a drag handle.
|
|
168
169
|
*/
|
|
169
170
|
get dragHandleElement() {
|
|
170
|
-
|
|
171
|
+
// Modals should not be draggable.
|
|
172
|
+
if (this.headerView && !this.isModal) {
|
|
171
173
|
return this.headerView.element;
|
|
172
174
|
}
|
|
173
175
|
else {
|
|
@@ -385,10 +387,31 @@ class DialogView extends /* #__PURE__ */ DraggableViewMixin(View) {
|
|
|
385
387
|
return new Rect(this.element.firstElementChild);
|
|
386
388
|
}
|
|
387
389
|
/**
|
|
388
|
-
*
|
|
390
|
+
* Returns a viewport `Rect` shrunk by the viewport offset config from all sides.
|
|
391
|
+
*
|
|
392
|
+
* TODO: This is a duplicate from position.ts module. It should either be exported there or land somewhere in utils.
|
|
389
393
|
*/
|
|
390
394
|
_getViewportRect() {
|
|
391
|
-
|
|
395
|
+
const viewportRect = new Rect(global.window);
|
|
396
|
+
// Modals should not be restricted by the viewport offsets as they are always displayed on top of the page.
|
|
397
|
+
if (this.isModal) {
|
|
398
|
+
return viewportRect;
|
|
399
|
+
}
|
|
400
|
+
const viewportOffset = {
|
|
401
|
+
top: 0,
|
|
402
|
+
bottom: 0,
|
|
403
|
+
left: 0,
|
|
404
|
+
right: 0,
|
|
405
|
+
...this._getViewportOffset()
|
|
406
|
+
};
|
|
407
|
+
viewportRect.top += viewportOffset.top;
|
|
408
|
+
viewportRect.height -= viewportOffset.top;
|
|
409
|
+
viewportRect.bottom -= viewportOffset.bottom;
|
|
410
|
+
viewportRect.height -= viewportOffset.bottom;
|
|
411
|
+
viewportRect.left += viewportOffset.left;
|
|
412
|
+
viewportRect.right -= viewportOffset.right;
|
|
413
|
+
viewportRect.width -= viewportOffset.left + viewportOffset.right;
|
|
414
|
+
return viewportRect;
|
|
392
415
|
}
|
|
393
416
|
/**
|
|
394
417
|
* Collects all focusable elements inside the dialog parts
|
|
@@ -437,17 +460,3 @@ class DialogView extends /* #__PURE__ */ DraggableViewMixin(View) {
|
|
|
437
460
|
*/
|
|
438
461
|
DialogView.defaultOffset = 15;
|
|
439
462
|
export default DialogView;
|
|
440
|
-
// Returns a viewport `Rect` shrunk by the viewport offset config from all sides.
|
|
441
|
-
// TODO: This is a duplicate from position.ts module. It should either be exported there or land somewhere in utils.
|
|
442
|
-
function getConstrainedViewportRect(viewportOffset) {
|
|
443
|
-
viewportOffset = Object.assign({ top: 0, bottom: 0, left: 0, right: 0 }, viewportOffset);
|
|
444
|
-
const viewportRect = new Rect(global.window);
|
|
445
|
-
viewportRect.top += viewportOffset.top;
|
|
446
|
-
viewportRect.height -= viewportOffset.top;
|
|
447
|
-
viewportRect.bottom -= viewportOffset.bottom;
|
|
448
|
-
viewportRect.height -= viewportOffset.bottom;
|
|
449
|
-
viewportRect.left += viewportOffset.left;
|
|
450
|
-
viewportRect.right -= viewportOffset.right;
|
|
451
|
-
viewportRect.width -= viewportOffset.left + viewportOffset.right;
|
|
452
|
-
return viewportRect;
|
|
453
|
-
}
|