@ckeditor/ckeditor5-ckbox 40.0.0 → 40.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. package/LICENSE.md +6 -2
  2. package/build/ckbox.js +2 -2
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/az.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/ca.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de.js +1 -1
  11. package/build/translations/el.js +1 -1
  12. package/build/translations/en-au.js +1 -1
  13. package/build/translations/es-co.js +1 -1
  14. package/build/translations/es.js +1 -1
  15. package/build/translations/et.js +1 -1
  16. package/build/translations/fa.js +1 -1
  17. package/build/translations/fi.js +1 -1
  18. package/build/translations/fr.js +1 -1
  19. package/build/translations/gl.js +1 -1
  20. package/build/translations/he.js +1 -1
  21. package/build/translations/hi.js +1 -1
  22. package/build/translations/hr.js +1 -1
  23. package/build/translations/hu.js +1 -1
  24. package/build/translations/id.js +1 -1
  25. package/build/translations/it.js +1 -1
  26. package/build/translations/ja.js +1 -1
  27. package/build/translations/ko.js +1 -1
  28. package/build/translations/lt.js +1 -1
  29. package/build/translations/lv.js +1 -1
  30. package/build/translations/ms.js +1 -1
  31. package/build/translations/nl.js +1 -1
  32. package/build/translations/no.js +1 -1
  33. package/build/translations/pl.js +1 -1
  34. package/build/translations/pt-br.js +1 -1
  35. package/build/translations/pt.js +1 -1
  36. package/build/translations/ro.js +1 -1
  37. package/build/translations/ru.js +1 -1
  38. package/build/translations/sk.js +1 -1
  39. package/build/translations/sq.js +1 -1
  40. package/build/translations/sr-latn.js +1 -1
  41. package/build/translations/sr.js +1 -1
  42. package/build/translations/sv.js +1 -1
  43. package/build/translations/th.js +1 -1
  44. package/build/translations/tr.js +1 -1
  45. package/build/translations/ug.js +1 -1
  46. package/build/translations/uk.js +1 -1
  47. package/build/translations/ur.js +1 -1
  48. package/build/translations/uz.js +1 -1
  49. package/build/translations/vi.js +1 -1
  50. package/build/translations/zh-cn.js +1 -1
  51. package/build/translations/zh.js +1 -1
  52. package/ckeditor5-metadata.json +17 -0
  53. package/lang/contexts.json +6 -2
  54. package/lang/translations/ar.po +18 -2
  55. package/lang/translations/az.po +18 -2
  56. package/lang/translations/bg.po +18 -2
  57. package/lang/translations/bn.po +18 -2
  58. package/lang/translations/ca.po +18 -2
  59. package/lang/translations/cs.po +18 -2
  60. package/lang/translations/da.po +18 -2
  61. package/lang/translations/de.po +18 -2
  62. package/lang/translations/el.po +18 -2
  63. package/lang/translations/en-au.po +18 -2
  64. package/lang/translations/en.po +18 -2
  65. package/lang/translations/es-co.po +18 -2
  66. package/lang/translations/es.po +18 -2
  67. package/lang/translations/et.po +18 -2
  68. package/lang/translations/fa.po +18 -2
  69. package/lang/translations/fi.po +18 -2
  70. package/lang/translations/fr.po +18 -2
  71. package/lang/translations/gl.po +18 -2
  72. package/lang/translations/he.po +18 -2
  73. package/lang/translations/hi.po +18 -2
  74. package/lang/translations/hr.po +18 -2
  75. package/lang/translations/hu.po +18 -2
  76. package/lang/translations/id.po +18 -2
  77. package/lang/translations/it.po +18 -2
  78. package/lang/translations/ja.po +18 -2
  79. package/lang/translations/ko.po +18 -2
  80. package/lang/translations/lt.po +18 -2
  81. package/lang/translations/lv.po +18 -2
  82. package/lang/translations/ms.po +18 -2
  83. package/lang/translations/nl.po +18 -2
  84. package/lang/translations/no.po +18 -2
  85. package/lang/translations/pl.po +18 -2
  86. package/lang/translations/pt-br.po +18 -2
  87. package/lang/translations/pt.po +18 -2
  88. package/lang/translations/ro.po +18 -2
  89. package/lang/translations/ru.po +18 -2
  90. package/lang/translations/sk.po +18 -2
  91. package/lang/translations/sq.po +18 -2
  92. package/lang/translations/sr-latn.po +18 -2
  93. package/lang/translations/sr.po +18 -2
  94. package/lang/translations/sv.po +18 -2
  95. package/lang/translations/th.po +18 -2
  96. package/lang/translations/tr.po +18 -2
  97. package/lang/translations/ug.po +18 -2
  98. package/lang/translations/uk.po +18 -2
  99. package/lang/translations/ur.po +18 -2
  100. package/lang/translations/uz.po +18 -2
  101. package/lang/translations/vi.po +18 -2
  102. package/lang/translations/zh-cn.po +18 -2
  103. package/lang/translations/zh.po +18 -2
  104. package/package.json +4 -2
  105. package/src/augmentation.d.ts +32 -22
  106. package/src/augmentation.js +5 -5
  107. package/src/ckbox.d.ts +33 -33
  108. package/src/ckbox.js +37 -37
  109. package/src/ckboxcommand.d.ts +114 -110
  110. package/src/ckboxcommand.js +332 -302
  111. package/src/ckboxconfig.d.ts +325 -283
  112. package/src/ckboxconfig.js +5 -5
  113. package/src/ckboxediting.d.ts +45 -52
  114. package/src/ckboxediting.js +321 -362
  115. package/src/ckboximageedit/ckboximageeditcommand.d.ts +97 -0
  116. package/src/ckboximageedit/ckboximageeditcommand.js +298 -0
  117. package/src/ckboximageedit/ckboximageeditediting.d.ts +28 -0
  118. package/src/ckboximageedit/ckboximageeditediting.js +36 -0
  119. package/src/ckboximageedit/ckboximageeditui.d.ts +24 -0
  120. package/src/ckboximageedit/ckboximageeditui.js +48 -0
  121. package/src/ckboximageedit/utils.d.ts +10 -0
  122. package/src/ckboximageedit/utils.js +48 -0
  123. package/src/ckboximageedit.d.ts +24 -0
  124. package/src/ckboximageedit.js +28 -0
  125. package/src/ckboxui.d.ts +21 -21
  126. package/src/ckboxui.js +74 -47
  127. package/src/ckboxuploadadapter.d.ts +33 -38
  128. package/src/ckboxuploadadapter.js +130 -275
  129. package/src/ckboxutils.d.ts +50 -0
  130. package/src/ckboxutils.js +183 -0
  131. package/src/index.d.ts +17 -13
  132. package/src/index.js +14 -11
  133. package/src/utils.d.ts +63 -28
  134. package/src/utils.js +175 -49
  135. package/theme/ckboximageedit.css +53 -0
  136. package/theme/icons/ckbox-image-edit.svg +1 -0
  137. package/build/ckbox.js.map +0 -1
@@ -17,7 +17,7 @@ msgstr ""
17
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"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "Otvori upravljač datotekama"
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "Nije moguće odrediti kategoriju za otpremljenu datoteku."
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
+ msgstr "Nije moguće pristupiti podrazumevanom radnom prostoru."
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr ""
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr ""
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr ""
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
30
46
  msgstr ""
@@ -17,7 +17,7 @@ msgstr ""
17
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"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "Oтвори управљач датотекама."
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "Није могуће одредити категорију за отпремлјену датотеку."
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
30
  msgstr "Nije moguće pristupiti podrazumevanom radnom prostoru."
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr "Uredi sliku"
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr "Obrađivanje uređene slike."
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr "Server nije uspeo da obradi sliku."
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
46
+ msgstr "Određivanje kategorije uređene slike nije uspelo."
@@ -17,7 +17,7 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "Öppna filhanterare"
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "Kan inte avgöra kategorin på den uppladdade filen."
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
30
  msgstr "Kan inte komma åt standardarbetsytan."
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr "Redigera bild"
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr "Bearbetar den redigerade bilden."
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr "Servern kunde inte bearbeta bilden."
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
46
+ msgstr "Kunde inte fastställa den redigerade bildens kategori."
@@ -17,7 +17,7 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "เปิดเครื่องมือจัดการไฟล์"
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "ไม่สามารถกำหนดหมวดหมู่สำหรับไฟล์ที่อัปโหลด"
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
30
  msgstr "ไม่สามารถเข้าถึงพื้นที่ทำงานเริ่มต้น"
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr "แก้ไขภาพ"
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr "กำลังประมวลผลภาพที่แก้ไข"
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr "เซิร์ฟเวอร์ประมวลผลภาพไม่สำเร็จ"
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
46
+ msgstr "ระบุหมวดหมู่ของภาพที่แก้ไขไม่สำเร็จ"
@@ -17,7 +17,7 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "Dosya yöneticisini aç"
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "Yüklenen dosya için bir kategori belirlenemiyor."
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
30
  msgstr "Varsayılan çalışma alanına erişilemiyor."
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr "Görüntüyü düzenle"
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr "Düzenlenen görüntü işleniyor."
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr "Sunucu görüntüyü işlemede başarısız oldu."
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
46
+ msgstr "Düzenlenen görselin kategorisinin belirlenmesi başarısız oldu."
@@ -17,7 +17,7 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "ھۆججەت باشقۇرغۇچنى ئاچ"
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "يۈكلەيدىغان ھۆججەتنىڭ تۈرىنى جەزملىيەلمىدى."
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
+ msgstr "كۆڭۈلدىكى خىزمەت بوشلۇقىنى زىيارەت قىلالمايدۇ"
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr ""
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr ""
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr ""
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
30
46
  msgstr ""
@@ -17,7 +17,7 @@ msgstr ""
17
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
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "Відкрити менеджер файлів"
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "Не вдається визначити категорію для завантаженого файлу."
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
30
  msgstr "Немає доступу до робочого простору за замовчуванням."
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr "Редагувати зображення"
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr "Обробка відредагованого зображення."
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr "Серверу не вдалося обробити зображення."
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
46
+ msgstr "Не вдалося визначити категорію відредагованого зображення."
@@ -17,7 +17,7 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "فائل مینیجر کھولیں"
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "اپلوڈ کی گئی فائل کا ذمرے کا تعین نہیں ہو سکا"
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
30
  msgstr ""
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr ""
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr ""
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr ""
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
46
+ msgstr ""
@@ -17,7 +17,7 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "Fayl menejerini ochish"
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "Yuklangan fayl uchun toifani aniqlab bo‘lmadi."
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
30
  msgstr ""
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr ""
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr ""
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr ""
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
46
+ msgstr ""
@@ -17,7 +17,7 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "Mở trình quản lý tệp"
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "Không thể xác định danh mục cho tệp được tải lên."
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
30
  msgstr "Không thể truy cập vào không gian làm việc mặc định."
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr "Chỉnh sửa hình ảnh"
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr "Xử lý hình ảnh đã chỉnh sửa."
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr "Máy chủ không thể xử lý hình ảnh."
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
46
+ msgstr "Không thể xác định danh mục hình ảnh đã chỉnh sửa."
@@ -17,7 +17,7 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "打开文件管理器"
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "无法确定上传文件的类别。"
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
30
  msgstr "无法访问默认工作区"
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr "编辑图片"
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr "正在处理已编辑的图片。"
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr "服务器未能处理图片。"
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
46
+ msgstr "未能确定已编辑图片的类别。"
@@ -17,7 +17,7 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
 
20
- msgctxt "Toolbar button tooltip for opening a file browser that allows inserting an image or a file to the editor."
20
+ msgctxt "A toolbar button tooltip for opening the file browser that allows inserting an image or a file to the editor."
21
21
  msgid "Open file manager"
22
22
  msgstr "開啟檔案管理程式"
23
23
 
@@ -25,6 +25,22 @@ msgctxt "A message is displayed when CKEditor 5 cannot associate an image with a
25
25
  msgid "Cannot determine a category for the uploaded file."
26
26
  msgstr "無法確定上傳檔案的分類。"
27
27
 
28
- msgctxt "A message is displayed when the user is not authorised to access CKBox workspace configured as default one."
28
+ msgctxt "A message is displayed when the user is not authorised to access the CKBox workspace configured as default one."
29
29
  msgid "Cannot access default workspace."
30
30
  msgstr "無法存取預設工作區。"
31
+
32
+ msgctxt "Image toolbar button tooltip for opening a dialog to manipulate the image."
33
+ msgid "Edit image"
34
+ msgstr "編輯圖片"
35
+
36
+ msgctxt "A message stating that image editing is in progress."
37
+ msgid "Processing the edited image."
38
+ msgstr "正在處理已編輯的圖片。"
39
+
40
+ msgctxt "A message is displayed when the server fails to process an image or doesn't respond."
41
+ msgid "Server failed to process the image."
42
+ msgstr "伺服器無法處理該圖片。"
43
+
44
+ msgctxt "A message is displayed when category of the image user wants to edit can't be determined."
45
+ msgid "Failed to determine category of edited image."
46
+ msgstr "無法判斷已編輯圖片的類別。"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ckbox",
3
- "version": "40.0.0",
3
+ "version": "40.2.0",
4
4
  "description": "CKBox integration for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,7 +12,9 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "40.0.0"
15
+ "ckeditor5": "40.2.0",
16
+ "blurhash": "2.0.5",
17
+ "lodash-es": "4.17.21"
16
18
  },
17
19
  "author": "CKSource (http://cksource.com/)",
18
20
  "license": "GPL-2.0-or-later",
@@ -1,22 +1,32 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- import type { CKBox, CKBoxCommand, CKBoxConfig, CKBoxEditing } from './index';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface EditorConfig {
8
- /**
9
- * The configuration of the {@link module:ckbox/ckbox~CKBox CKBox feature}.
10
- *
11
- * Read more in {@link module:ckbox/ckboxconfig~CKBoxConfig}.
12
- */
13
- ckbox?: CKBoxConfig;
14
- }
15
- interface PluginsMap {
16
- [CKBox.pluginName]: CKBox;
17
- [CKBoxEditing.pluginName]: CKBoxEditing;
18
- }
19
- interface CommandsMap {
20
- ckbox: CKBoxCommand;
21
- }
22
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import type { CKBox, CKBoxCommand, CKBoxConfig, CKBoxEditing, CKBoxImageEdit, CKBoxImageEditEditing, CKBoxImageEditCommand, CKBoxImageEditUI } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface EditorConfig {
8
+ /**
9
+ * The configuration of the {@link module:ckbox/ckbox~CKBox CKBox feature}.
10
+ *
11
+ * Read more in {@link module:ckbox/ckboxconfig~CKBoxConfig}.
12
+ */
13
+ ckbox?: CKBoxConfig;
14
+ }
15
+ interface PluginsMap {
16
+ [CKBox.pluginName]: CKBox;
17
+ [CKBoxEditing.pluginName]: CKBoxEditing;
18
+ [CKBoxImageEdit.pluginName]: CKBoxImageEdit;
19
+ [CKBoxImageEditEditing.pluginName]: CKBoxImageEditEditing;
20
+ [CKBoxImageEditUI.pluginName]: CKBoxImageEditUI;
21
+ }
22
+ interface CommandsMap {
23
+ ckbox: CKBoxCommand;
24
+ ckboxImageEdit: CKBoxImageEditCommand;
25
+ }
26
+ }
27
+ declare global {
28
+ var CKBox: {
29
+ mount(wrapper: Element, options: Record<string, unknown>): void;
30
+ mountImageEditor(wrapper: Element, options: Record<string, unknown>): void;
31
+ };
32
+ }
@@ -1,5 +1,5 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export {};
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export {};
package/src/ckbox.d.ts CHANGED
@@ -1,33 +1,33 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module ckbox/ckbox
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import CKBoxUI from './ckboxui';
10
- import CKBoxEditing from './ckboxediting';
11
- /**
12
- * The CKBox feature, a bridge between the CKEditor 5 WYSIWYG editor and the CKBox file manager and uploader.
13
- *
14
- * This is a "glue" plugin which enables:
15
- *
16
- * * {@link module:ckbox/ckboxediting~CKBoxEditing},
17
- * * {@link module:ckbox/ckboxui~CKBoxUI},
18
- *
19
- * See the {@glink features/file-management/ckbox CKBox integration} guide to learn how to configure and use this feature.
20
- *
21
- * Check out the {@glink features/images/image-upload/image-upload Image upload} guide to learn about other ways to upload
22
- * images into CKEditor 5.
23
- */
24
- export default class CKBox extends Plugin {
25
- /**
26
- * @inheritDoc
27
- */
28
- static get pluginName(): "CKBox";
29
- /**
30
- * @inheritDoc
31
- */
32
- static get requires(): readonly [typeof CKBoxEditing, typeof CKBoxUI];
33
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module ckbox/ckbox
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import CKBoxUI from './ckboxui';
10
+ import CKBoxEditing from './ckboxediting';
11
+ /**
12
+ * The CKBox feature, a bridge between the CKEditor 5 WYSIWYG editor and the CKBox file manager and uploader.
13
+ *
14
+ * This is a "glue" plugin which enables:
15
+ *
16
+ * * {@link module:ckbox/ckboxediting~CKBoxEditing},
17
+ * * {@link module:ckbox/ckboxui~CKBoxUI},
18
+ *
19
+ * See the {@glink features/file-management/ckbox CKBox integration} guide to learn how to configure and use this feature.
20
+ *
21
+ * Check out the {@glink features/images/image-upload/image-upload Image upload} guide to learn about other ways to upload
22
+ * images into CKEditor 5.
23
+ */
24
+ export default class CKBox extends Plugin {
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get pluginName(): "CKBox";
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static get requires(): readonly [typeof CKBoxEditing, typeof CKBoxUI];
33
+ }
package/src/ckbox.js CHANGED
@@ -1,37 +1,37 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module ckbox/ckbox
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import CKBoxUI from './ckboxui';
10
- import CKBoxEditing from './ckboxediting';
11
- /**
12
- * The CKBox feature, a bridge between the CKEditor 5 WYSIWYG editor and the CKBox file manager and uploader.
13
- *
14
- * This is a "glue" plugin which enables:
15
- *
16
- * * {@link module:ckbox/ckboxediting~CKBoxEditing},
17
- * * {@link module:ckbox/ckboxui~CKBoxUI},
18
- *
19
- * See the {@glink features/file-management/ckbox CKBox integration} guide to learn how to configure and use this feature.
20
- *
21
- * Check out the {@glink features/images/image-upload/image-upload Image upload} guide to learn about other ways to upload
22
- * images into CKEditor 5.
23
- */
24
- export default class CKBox extends Plugin {
25
- /**
26
- * @inheritDoc
27
- */
28
- static get pluginName() {
29
- return 'CKBox';
30
- }
31
- /**
32
- * @inheritDoc
33
- */
34
- static get requires() {
35
- return [CKBoxEditing, CKBoxUI];
36
- }
37
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module ckbox/ckbox
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import CKBoxUI from './ckboxui';
10
+ import CKBoxEditing from './ckboxediting';
11
+ /**
12
+ * The CKBox feature, a bridge between the CKEditor 5 WYSIWYG editor and the CKBox file manager and uploader.
13
+ *
14
+ * This is a "glue" plugin which enables:
15
+ *
16
+ * * {@link module:ckbox/ckboxediting~CKBoxEditing},
17
+ * * {@link module:ckbox/ckboxui~CKBoxUI},
18
+ *
19
+ * See the {@glink features/file-management/ckbox CKBox integration} guide to learn how to configure and use this feature.
20
+ *
21
+ * Check out the {@glink features/images/image-upload/image-upload Image upload} guide to learn about other ways to upload
22
+ * images into CKEditor 5.
23
+ */
24
+ export default class CKBox extends Plugin {
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get pluginName() {
29
+ return 'CKBox';
30
+ }
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ static get requires() {
35
+ return [CKBoxEditing, CKBoxUI];
36
+ }
37
+ }