@ckeditor/ckeditor5-ckbox 34.2.0 → 35.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/build/ckbox.js +1 -1
- package/build/translations/ar.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.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.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.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/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/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.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/nl.js +1 -0
- package/build/translations/no.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/sk.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/tr.js +1 -0
- package/build/translations/uk.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/lang/translations/ar.po +25 -0
- package/lang/translations/az.po +25 -0
- package/lang/translations/bg.po +25 -0
- package/lang/translations/bn.po +25 -0
- package/lang/translations/ca.po +25 -0
- package/lang/translations/cs.po +25 -0
- package/lang/translations/da.po +25 -0
- package/lang/translations/de.po +25 -0
- package/lang/translations/el.po +25 -0
- package/lang/translations/en-au.po +25 -0
- package/lang/translations/es.po +25 -0
- package/lang/translations/et.po +25 -0
- package/lang/translations/fi.po +25 -0
- package/lang/translations/fr.po +25 -0
- package/lang/translations/gl.po +25 -0
- package/lang/translations/he.po +25 -0
- package/lang/translations/hi.po +25 -0
- package/lang/translations/hr.po +25 -0
- package/lang/translations/hu.po +25 -0
- package/lang/translations/id.po +25 -0
- package/lang/translations/it.po +25 -0
- package/lang/translations/ja.po +25 -0
- package/lang/translations/ko.po +25 -0
- package/lang/translations/lt.po +25 -0
- package/lang/translations/lv.po +25 -0
- package/lang/translations/ms.po +25 -0
- package/lang/translations/nl.po +25 -0
- package/lang/translations/no.po +25 -0
- package/lang/translations/pl.po +25 -0
- package/lang/translations/pt-br.po +25 -0
- package/lang/translations/pt.po +25 -0
- package/lang/translations/ro.po +25 -0
- package/lang/translations/ru.po +25 -0
- package/lang/translations/sk.po +25 -0
- package/lang/translations/sr.po +25 -0
- package/lang/translations/sv.po +25 -0
- package/lang/translations/th.po +25 -0
- package/lang/translations/tr.po +25 -0
- package/lang/translations/uk.po +25 -0
- package/lang/translations/vi.po +25 -0
- package/lang/translations/zh-cn.po +25 -0
- package/lang/translations/zh.po +25 -0
- package/package.json +17 -16
- package/src/ckboxediting.js +1 -1
- package/src/utils.js +1 -1
@@ -0,0 +1,25 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
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
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Turkish (https://www.transifex.com/ckeditor/teams/11143/tr/)\n"
|
16
|
+
"Language: tr\n"
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
18
|
+
|
19
|
+
msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
|
20
|
+
msgid "Open file manager"
|
21
|
+
msgstr "Dosya yöneticisini aç"
|
22
|
+
|
23
|
+
msgctxt "A message is displayed when CKEditor 5 cannot associate an image with any of the categories defined in CKBox while uploading an asset."
|
24
|
+
msgid "Cannot determine a category for the uploaded file."
|
25
|
+
msgstr "Yüklenen dosya için bir kategori belirlenemiyor."
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
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
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Ukrainian (https://www.transifex.com/ckeditor/teams/11143/uk/)\n"
|
16
|
+
"Language: uk\n"
|
17
|
+
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
|
18
|
+
|
19
|
+
msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
|
20
|
+
msgid "Open file manager"
|
21
|
+
msgstr "Відкрити менеджер файлів"
|
22
|
+
|
23
|
+
msgctxt "A message is displayed when CKEditor 5 cannot associate an image with any of the categories defined in CKBox while uploading an asset."
|
24
|
+
msgid "Cannot determine a category for the uploaded file."
|
25
|
+
msgstr "Не вдається визначити категорію для завантаженого файлу."
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
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
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Vietnamese (https://www.transifex.com/ckeditor/teams/11143/vi/)\n"
|
16
|
+
"Language: vi\n"
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
|
+
|
19
|
+
msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
|
20
|
+
msgid "Open file manager"
|
21
|
+
msgstr "Mở trình quản lý tệp"
|
22
|
+
|
23
|
+
msgctxt "A message is displayed when CKEditor 5 cannot associate an image with any of the categories defined in CKBox while uploading an asset."
|
24
|
+
msgid "Cannot determine a category for the uploaded file."
|
25
|
+
msgstr "Không thể xác định danh mục cho tệp được tải lên."
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
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
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Chinese (China) (https://www.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
|
16
|
+
"Language: zh_CN\n"
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
|
+
|
19
|
+
msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
|
20
|
+
msgid "Open file manager"
|
21
|
+
msgstr "打开文件管理器"
|
22
|
+
|
23
|
+
msgctxt "A message is displayed when CKEditor 5 cannot associate an image with any of the categories defined in CKBox while uploading an asset."
|
24
|
+
msgid "Cannot determine a category for the uploaded file."
|
25
|
+
msgstr "无法确定上传文件的类别。"
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
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
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Chinese (Taiwan) (https://www.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
|
16
|
+
"Language: zh_TW\n"
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
|
+
|
19
|
+
msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
|
20
|
+
msgid "Open file manager"
|
21
|
+
msgstr "開啟檔案管理程式"
|
22
|
+
|
23
|
+
msgctxt "A message is displayed when CKEditor 5 cannot associate an image with any of the categories defined in CKBox while uploading an asset."
|
24
|
+
msgid "Cannot determine a category for the uploaded file."
|
25
|
+
msgstr "無法確定上傳檔案的分類。"
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-ckbox",
|
3
|
-
"version": "
|
3
|
+
"version": "35.0.0",
|
4
4
|
"description": "CKBox integration for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -12,23 +12,23 @@
|
|
12
12
|
],
|
13
13
|
"main": "src/index.js",
|
14
14
|
"dependencies": {
|
15
|
-
"ckeditor5": "^
|
15
|
+
"ckeditor5": "^35.0.0"
|
16
16
|
},
|
17
17
|
"devDependencies": {
|
18
|
-
"@ckeditor/ckeditor5-basic-styles": "^
|
19
|
-
"@ckeditor/ckeditor5-core": "^
|
20
|
-
"@ckeditor/ckeditor5-clipboard": "^
|
21
|
-
"@ckeditor/ckeditor5-cloud-services": "^
|
18
|
+
"@ckeditor/ckeditor5-basic-styles": "^35.0.0",
|
19
|
+
"@ckeditor/ckeditor5-core": "^35.0.0",
|
20
|
+
"@ckeditor/ckeditor5-clipboard": "^35.0.0",
|
21
|
+
"@ckeditor/ckeditor5-cloud-services": "^35.0.0",
|
22
22
|
"@ckeditor/ckeditor5-dev-utils": "^30.1.0",
|
23
|
-
"@ckeditor/ckeditor5-editor-classic": "^
|
24
|
-
"@ckeditor/ckeditor5-engine": "^
|
25
|
-
"@ckeditor/ckeditor5-image": "^
|
26
|
-
"@ckeditor/ckeditor5-link": "^
|
27
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
28
|
-
"@ckeditor/ckeditor5-theme-lark": "^
|
29
|
-
"@ckeditor/ckeditor5-ui": "^
|
30
|
-
"@ckeditor/ckeditor5-upload": "^
|
31
|
-
"@ckeditor/ckeditor5-utils": "^
|
23
|
+
"@ckeditor/ckeditor5-editor-classic": "^35.0.0",
|
24
|
+
"@ckeditor/ckeditor5-engine": "^35.0.0",
|
25
|
+
"@ckeditor/ckeditor5-image": "^35.0.0",
|
26
|
+
"@ckeditor/ckeditor5-link": "^35.0.0",
|
27
|
+
"@ckeditor/ckeditor5-paragraph": "^35.0.0",
|
28
|
+
"@ckeditor/ckeditor5-theme-lark": "^35.0.0",
|
29
|
+
"@ckeditor/ckeditor5-ui": "^35.0.0",
|
30
|
+
"@ckeditor/ckeditor5-upload": "^35.0.0",
|
31
|
+
"@ckeditor/ckeditor5-utils": "^35.0.0",
|
32
32
|
"webpack": "^5.58.1",
|
33
33
|
"webpack-cli": "^4.9.0"
|
34
34
|
},
|
@@ -50,7 +50,8 @@
|
|
50
50
|
"src",
|
51
51
|
"theme",
|
52
52
|
"build",
|
53
|
-
"ckeditor5-metadata.json"
|
53
|
+
"ckeditor5-metadata.json",
|
54
|
+
"CHANGELOG.md"
|
54
55
|
],
|
55
56
|
"scripts": {
|
56
57
|
"dll:build": "webpack"
|
package/src/ckboxediting.js
CHANGED
@@ -34,7 +34,7 @@ export default class CKBoxEditing extends Plugin {
|
|
34
34
|
* @inheritDoc
|
35
35
|
*/
|
36
36
|
static get requires() {
|
37
|
-
return [ '
|
37
|
+
return [ 'CloudServices', 'LinkEditing', 'PictureEditing', CKBoxUploadAdapter ];
|
38
38
|
}
|
39
39
|
|
40
40
|
/**
|
package/src/utils.js
CHANGED
@@ -69,7 +69,7 @@ export function getEnvironmentId( token ) {
|
|
69
69
|
return payload.aud;
|
70
70
|
}
|
71
71
|
|
72
|
-
// Calculates the image breakpoints for provided image width in the following way:
|
72
|
+
// Calculates the image breakpoints for the provided image width in the following way:
|
73
73
|
//
|
74
74
|
// 1) The breakpoint threshold (the breakpoint step in the calculations) should be equal to 10% of the image width, but not less than 80
|
75
75
|
// pixels.
|