@ckeditor/ckeditor5-image 41.4.2 → 42.0.0-alpha.1

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.
Files changed (294) hide show
  1. package/README.md +6 -0
  2. package/build/image.js +2 -2
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/bs.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de-ch.js +1 -1
  13. package/build/translations/de.js +1 -1
  14. package/build/translations/el.js +1 -1
  15. package/build/translations/en-au.js +1 -1
  16. package/build/translations/en-gb.js +1 -1
  17. package/build/translations/eo.js +1 -1
  18. package/build/translations/es.js +1 -1
  19. package/build/translations/et.js +1 -1
  20. package/build/translations/eu.js +1 -1
  21. package/build/translations/fa.js +1 -1
  22. package/build/translations/fi.js +1 -1
  23. package/build/translations/fr.js +1 -1
  24. package/build/translations/gl.js +1 -1
  25. package/build/translations/he.js +1 -1
  26. package/build/translations/hi.js +1 -1
  27. package/build/translations/hr.js +1 -1
  28. package/build/translations/hu.js +1 -1
  29. package/build/translations/id.js +1 -1
  30. package/build/translations/it.js +1 -1
  31. package/build/translations/ja.js +1 -1
  32. package/build/translations/jv.js +1 -1
  33. package/build/translations/km.js +1 -1
  34. package/build/translations/kn.js +1 -1
  35. package/build/translations/ko.js +1 -1
  36. package/build/translations/ku.js +1 -1
  37. package/build/translations/lt.js +1 -1
  38. package/build/translations/lv.js +1 -1
  39. package/build/translations/ms.js +1 -1
  40. package/build/translations/nb.js +1 -1
  41. package/build/translations/ne.js +1 -1
  42. package/build/translations/nl.js +1 -1
  43. package/build/translations/no.js +1 -1
  44. package/build/translations/pl.js +1 -1
  45. package/build/translations/pt-br.js +1 -1
  46. package/build/translations/pt.js +1 -1
  47. package/build/translations/ro.js +1 -1
  48. package/build/translations/ru.js +1 -1
  49. package/build/translations/si.js +1 -1
  50. package/build/translations/sk.js +1 -1
  51. package/build/translations/sq.js +1 -1
  52. package/build/translations/sr-latn.js +1 -1
  53. package/build/translations/sr.js +1 -1
  54. package/build/translations/sv.js +1 -1
  55. package/build/translations/th.js +1 -1
  56. package/build/translations/ti.js +1 -1
  57. package/build/translations/tk.js +1 -1
  58. package/build/translations/tr.js +1 -1
  59. package/build/translations/ug.js +1 -1
  60. package/build/translations/uk.js +1 -1
  61. package/build/translations/ur.js +1 -1
  62. package/build/translations/uz.js +1 -1
  63. package/build/translations/vi.js +1 -1
  64. package/build/translations/zh-cn.js +1 -1
  65. package/build/translations/zh.js +1 -1
  66. package/ckeditor5-metadata.json +19 -5
  67. package/dist/index-content.css +20 -12
  68. package/dist/index-editor.css +4 -0
  69. package/dist/index.css +50 -33
  70. package/dist/index.css.map +1 -1
  71. package/dist/index.js +1876 -1330
  72. package/dist/index.js.map +1 -1
  73. package/dist/translations/ar.js +1 -1
  74. package/dist/translations/ar.umd.js +1 -1
  75. package/dist/translations/ast.js +1 -1
  76. package/dist/translations/ast.umd.js +1 -1
  77. package/dist/translations/az.js +1 -1
  78. package/dist/translations/az.umd.js +1 -1
  79. package/dist/translations/bg.js +1 -1
  80. package/dist/translations/bg.umd.js +1 -1
  81. package/dist/translations/bn.js +1 -1
  82. package/dist/translations/bn.umd.js +1 -1
  83. package/dist/translations/bs.js +1 -1
  84. package/dist/translations/bs.umd.js +1 -1
  85. package/dist/translations/ca.js +1 -1
  86. package/dist/translations/ca.umd.js +1 -1
  87. package/dist/translations/cs.js +1 -1
  88. package/dist/translations/cs.umd.js +1 -1
  89. package/dist/translations/da.js +1 -1
  90. package/dist/translations/da.umd.js +1 -1
  91. package/dist/translations/de-ch.js +1 -1
  92. package/dist/translations/de-ch.umd.js +1 -1
  93. package/dist/translations/de.js +1 -1
  94. package/dist/translations/de.umd.js +1 -1
  95. package/dist/translations/el.js +1 -1
  96. package/dist/translations/el.umd.js +1 -1
  97. package/dist/translations/en-au.js +1 -1
  98. package/dist/translations/en-au.umd.js +1 -1
  99. package/dist/translations/en-gb.js +1 -1
  100. package/dist/translations/en-gb.umd.js +1 -1
  101. package/dist/translations/en.js +1 -1
  102. package/dist/translations/en.umd.js +1 -1
  103. package/dist/translations/eo.js +1 -1
  104. package/dist/translations/eo.umd.js +1 -1
  105. package/dist/translations/es.js +1 -1
  106. package/dist/translations/es.umd.js +1 -1
  107. package/dist/translations/et.js +1 -1
  108. package/dist/translations/et.umd.js +1 -1
  109. package/dist/translations/eu.js +1 -1
  110. package/dist/translations/eu.umd.js +1 -1
  111. package/dist/translations/fa.js +1 -1
  112. package/dist/translations/fa.umd.js +1 -1
  113. package/dist/translations/fi.js +1 -1
  114. package/dist/translations/fi.umd.js +1 -1
  115. package/dist/translations/fr.js +1 -1
  116. package/dist/translations/fr.umd.js +1 -1
  117. package/dist/translations/gl.js +1 -1
  118. package/dist/translations/gl.umd.js +1 -1
  119. package/dist/translations/he.js +1 -1
  120. package/dist/translations/he.umd.js +1 -1
  121. package/dist/translations/hi.js +1 -1
  122. package/dist/translations/hi.umd.js +1 -1
  123. package/dist/translations/hr.js +1 -1
  124. package/dist/translations/hr.umd.js +1 -1
  125. package/dist/translations/hu.js +1 -1
  126. package/dist/translations/hu.umd.js +1 -1
  127. package/dist/translations/id.js +1 -1
  128. package/dist/translations/id.umd.js +1 -1
  129. package/dist/translations/it.js +1 -1
  130. package/dist/translations/it.umd.js +1 -1
  131. package/dist/translations/ja.js +1 -1
  132. package/dist/translations/ja.umd.js +1 -1
  133. package/dist/translations/jv.js +1 -1
  134. package/dist/translations/jv.umd.js +1 -1
  135. package/dist/translations/km.js +1 -1
  136. package/dist/translations/km.umd.js +1 -1
  137. package/dist/translations/kn.js +1 -1
  138. package/dist/translations/kn.umd.js +1 -1
  139. package/dist/translations/ko.js +1 -1
  140. package/dist/translations/ko.umd.js +1 -1
  141. package/dist/translations/ku.js +1 -1
  142. package/dist/translations/ku.umd.js +1 -1
  143. package/dist/translations/lt.js +1 -1
  144. package/dist/translations/lt.umd.js +1 -1
  145. package/dist/translations/lv.js +1 -1
  146. package/dist/translations/lv.umd.js +1 -1
  147. package/dist/translations/ms.js +1 -1
  148. package/dist/translations/ms.umd.js +1 -1
  149. package/dist/translations/nb.js +1 -1
  150. package/dist/translations/nb.umd.js +1 -1
  151. package/dist/translations/ne.js +1 -1
  152. package/dist/translations/ne.umd.js +1 -1
  153. package/dist/translations/nl.js +1 -1
  154. package/dist/translations/nl.umd.js +1 -1
  155. package/dist/translations/no.js +1 -1
  156. package/dist/translations/no.umd.js +1 -1
  157. package/dist/translations/pl.js +1 -1
  158. package/dist/translations/pl.umd.js +1 -1
  159. package/dist/translations/pt-br.js +1 -1
  160. package/dist/translations/pt-br.umd.js +1 -1
  161. package/dist/translations/pt.js +1 -1
  162. package/dist/translations/pt.umd.js +1 -1
  163. package/dist/translations/ro.js +1 -1
  164. package/dist/translations/ro.umd.js +1 -1
  165. package/dist/translations/ru.js +1 -1
  166. package/dist/translations/ru.umd.js +1 -1
  167. package/dist/translations/si.js +1 -1
  168. package/dist/translations/si.umd.js +1 -1
  169. package/dist/translations/sk.js +1 -1
  170. package/dist/translations/sk.umd.js +1 -1
  171. package/dist/translations/sq.js +1 -1
  172. package/dist/translations/sq.umd.js +1 -1
  173. package/dist/translations/sr-latn.js +1 -1
  174. package/dist/translations/sr-latn.umd.js +1 -1
  175. package/dist/translations/sr.js +1 -1
  176. package/dist/translations/sr.umd.js +1 -1
  177. package/dist/translations/sv.js +1 -1
  178. package/dist/translations/sv.umd.js +1 -1
  179. package/dist/translations/th.js +1 -1
  180. package/dist/translations/th.umd.js +1 -1
  181. package/dist/translations/ti.js +1 -1
  182. package/dist/translations/ti.umd.js +1 -1
  183. package/dist/translations/tk.js +1 -1
  184. package/dist/translations/tk.umd.js +1 -1
  185. package/dist/translations/tr.js +1 -1
  186. package/dist/translations/tr.umd.js +1 -1
  187. package/dist/translations/ug.js +1 -1
  188. package/dist/translations/ug.umd.js +1 -1
  189. package/dist/translations/uk.js +1 -1
  190. package/dist/translations/uk.umd.js +1 -1
  191. package/dist/translations/ur.js +1 -1
  192. package/dist/translations/ur.umd.js +1 -1
  193. package/dist/translations/uz.js +1 -1
  194. package/dist/translations/uz.umd.js +1 -1
  195. package/dist/translations/vi.js +1 -1
  196. package/dist/translations/vi.umd.js +1 -1
  197. package/dist/translations/zh-cn.js +1 -1
  198. package/dist/translations/zh-cn.umd.js +1 -1
  199. package/dist/translations/zh.js +1 -1
  200. package/dist/translations/zh.umd.js +1 -1
  201. package/dist/types/imageinsert/imageinsertui.d.ts +10 -2
  202. package/dist/types/imageinsert/imageinsertviaurlui.d.ts +31 -9
  203. package/dist/types/imageinsert/ui/imageinserturlview.d.ts +6 -49
  204. package/dist/types/imageupload/imageuploadui.d.ts +18 -1
  205. package/lang/contexts.json +7 -4
  206. package/lang/translations/ar.po +21 -9
  207. package/lang/translations/ast.po +19 -7
  208. package/lang/translations/az.po +19 -7
  209. package/lang/translations/bg.po +21 -9
  210. package/lang/translations/bn.po +21 -9
  211. package/lang/translations/bs.po +21 -9
  212. package/lang/translations/ca.po +21 -9
  213. package/lang/translations/cs.po +21 -9
  214. package/lang/translations/da.po +21 -9
  215. package/lang/translations/de-ch.po +21 -9
  216. package/lang/translations/de.po +21 -9
  217. package/lang/translations/el.po +21 -9
  218. package/lang/translations/en-au.po +21 -9
  219. package/lang/translations/en-gb.po +19 -7
  220. package/lang/translations/en.po +21 -9
  221. package/lang/translations/eo.po +19 -7
  222. package/lang/translations/es.po +21 -9
  223. package/lang/translations/et.po +21 -9
  224. package/lang/translations/eu.po +19 -7
  225. package/lang/translations/fa.po +19 -7
  226. package/lang/translations/fi.po +21 -9
  227. package/lang/translations/fr.po +21 -9
  228. package/lang/translations/gl.po +21 -9
  229. package/lang/translations/he.po +21 -9
  230. package/lang/translations/hi.po +21 -9
  231. package/lang/translations/hr.po +21 -9
  232. package/lang/translations/hu.po +21 -9
  233. package/lang/translations/id.po +21 -9
  234. package/lang/translations/it.po +21 -9
  235. package/lang/translations/ja.po +21 -9
  236. package/lang/translations/jv.po +21 -9
  237. package/lang/translations/km.po +19 -7
  238. package/lang/translations/kn.po +19 -7
  239. package/lang/translations/ko.po +21 -9
  240. package/lang/translations/ku.po +19 -7
  241. package/lang/translations/lt.po +21 -9
  242. package/lang/translations/lv.po +21 -9
  243. package/lang/translations/ms.po +21 -9
  244. package/lang/translations/nb.po +19 -7
  245. package/lang/translations/ne.po +19 -7
  246. package/lang/translations/nl.po +21 -9
  247. package/lang/translations/no.po +21 -9
  248. package/lang/translations/pl.po +21 -9
  249. package/lang/translations/pt-br.po +21 -9
  250. package/lang/translations/pt.po +21 -9
  251. package/lang/translations/ro.po +21 -9
  252. package/lang/translations/ru.po +21 -9
  253. package/lang/translations/si.po +19 -7
  254. package/lang/translations/sk.po +21 -9
  255. package/lang/translations/sq.po +19 -7
  256. package/lang/translations/sr-latn.po +21 -9
  257. package/lang/translations/sr.po +21 -9
  258. package/lang/translations/sv.po +21 -9
  259. package/lang/translations/th.po +21 -9
  260. package/lang/translations/ti.po +20 -8
  261. package/lang/translations/tk.po +19 -7
  262. package/lang/translations/tr.po +21 -9
  263. package/lang/translations/ug.po +20 -8
  264. package/lang/translations/uk.po +21 -9
  265. package/lang/translations/ur.po +19 -7
  266. package/lang/translations/uz.po +21 -9
  267. package/lang/translations/vi.po +21 -9
  268. package/lang/translations/zh-cn.po +21 -9
  269. package/lang/translations/zh.po +21 -9
  270. package/package.json +3 -3
  271. package/src/image/imageinlineediting.js +4 -9
  272. package/src/imageinsert/imageinsertui.d.ts +10 -2
  273. package/src/imageinsert/imageinsertui.js +41 -4
  274. package/src/imageinsert/imageinsertviaurlui.d.ts +31 -9
  275. package/src/imageinsert/imageinsertviaurlui.js +111 -64
  276. package/src/imageinsert/ui/imageinsertformview.js +0 -17
  277. package/src/imageinsert/ui/imageinserturlview.d.ts +6 -49
  278. package/src/imageinsert/ui/imageinserturlview.js +6 -74
  279. package/src/imageresize/imageresizebuttons.js +2 -2
  280. package/src/imagestyle/utils.js +17 -18
  281. package/src/imageupload/imageuploadui.d.ts +18 -1
  282. package/src/imageupload/imageuploadui.js +59 -38
  283. package/theme/imageinsert.css +3 -0
  284. package/theme/imagestyle.css +47 -34
  285. package/build/translations/es-co.js +0 -1
  286. package/build/translations/tt.js +0 -1
  287. package/dist/translations/es-co.d.ts +0 -8
  288. package/dist/translations/es-co.js +0 -5
  289. package/dist/translations/es-co.umd.js +0 -11
  290. package/dist/translations/tt.d.ts +0 -8
  291. package/dist/translations/tt.js +0 -5
  292. package/dist/translations/tt.umd.js +0 -11
  293. package/lang/translations/es-co.po +0 -178
  294. package/lang/translations/tt.po +0 -178
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- export default {"ug":{"dictionary":{"image widget":"رەسىمچىك","Wrap text":"","Break text":"","In line":"","Side image":"يان رەسىم","Full size image":"ئەسلى چوڭلۇقتىكى رەسىم","Left aligned image":"سولغا توغۇرلانغان رەسىم","Centered image":"ئوتتۇردىكى رەسىم","Right aligned image":"ئوڭغا توغۇرلانغان رەسىم","Change image text alternative":"رەسىملىك تېكىست تاللىغۇچنى ئۆزگەرتىش","Text alternative":"تېكىست ئاملاشتۇرۇش","Enter image caption":"رەسىمنىڭ تېمىسىنى كىرگۈزۈڭ","Insert image":"رەسىم قىستۇرۇش","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","Replace image from computer":"","Upload failed":"چىقىرىش مەغلۇپ بولدى","Image toolbar":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Resize image (in %0)":"","Original":"","Custom image size":"","Custom":"","Image resize list":"","Insert":"قىستۇر","Update":"","Insert image via URL":"","Update image URL":"","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":""},getPluralForm(n){return (n != 1);}}}
5
+ export default {"ug":{"dictionary":{"image widget":"رەسىمچىك","Wrap text":"","Break text":"","In line":"","Side image":"يان رەسىم","Full size image":"ئەسلى چوڭلۇقتىكى رەسىم","Left aligned image":"سولغا توغۇرلانغان رەسىم","Centered image":"ئوتتۇردىكى رەسىم","Right aligned image":"ئوڭغا توغۇرلانغان رەسىم","Change image text alternative":"رەسىملىك تېكىست تاللىغۇچنى ئۆزگەرتىش","Text alternative":"تېكىست ئاملاشتۇرۇش","Enter image caption":"رەسىمنىڭ تېمىسىنى كىرگۈزۈڭ","Insert image":"رەسىم قىستۇرۇش","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","From computer":"","Replace image from computer":"","Upload failed":"چىقىرىش مەغلۇپ بولدى","Image toolbar":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Resize image (in %0)":"","Original":"","Custom image size":"","Custom":"","Image resize list":"","Insert image via URL":"","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":"","Image":""},getPluralForm(n){return (n != 1);}}}
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'ug' ]: { dictionary, getPluralForm } } = {"ug":{"dictionary":{"image widget":"رەسىمچىك","Wrap text":"","Break text":"","In line":"","Side image":"يان رەسىم","Full size image":"ئەسلى چوڭلۇقتىكى رەسىم","Left aligned image":"سولغا توغۇرلانغان رەسىم","Centered image":"ئوتتۇردىكى رەسىم","Right aligned image":"ئوڭغا توغۇرلانغان رەسىم","Change image text alternative":"رەسىملىك تېكىست تاللىغۇچنى ئۆزگەرتىش","Text alternative":"تېكىست ئاملاشتۇرۇش","Enter image caption":"رەسىمنىڭ تېمىسىنى كىرگۈزۈڭ","Insert image":"رەسىم قىستۇرۇش","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","Replace image from computer":"","Upload failed":"چىقىرىش مەغلۇپ بولدى","Image toolbar":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Resize image (in %0)":"","Original":"","Custom image size":"","Custom":"","Image resize list":"","Insert":"قىستۇر","Update":"","Insert image via URL":"","Update image URL":"","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":""},getPluralForm(n){return (n != 1);}}};
7
+ const { [ 'ug' ]: { dictionary, getPluralForm } } = {"ug":{"dictionary":{"image widget":"رەسىمچىك","Wrap text":"","Break text":"","In line":"","Side image":"يان رەسىم","Full size image":"ئەسلى چوڭلۇقتىكى رەسىم","Left aligned image":"سولغا توغۇرلانغان رەسىم","Centered image":"ئوتتۇردىكى رەسىم","Right aligned image":"ئوڭغا توغۇرلانغان رەسىم","Change image text alternative":"رەسىملىك تېكىست تاللىغۇچنى ئۆزگەرتىش","Text alternative":"تېكىست ئاملاشتۇرۇش","Enter image caption":"رەسىمنىڭ تېمىسىنى كىرگۈزۈڭ","Insert image":"رەسىم قىستۇرۇش","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","From computer":"","Replace image from computer":"","Upload failed":"چىقىرىش مەغلۇپ بولدى","Image toolbar":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Resize image (in %0)":"","Original":"","Custom image size":"","Custom":"","Image resize list":"","Insert image via URL":"","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":"","Image":""},getPluralForm(n){return (n != 1);}}};
8
8
  e[ 'ug' ] ||= { dictionary: {}, getPluralForm: null };
9
9
  e[ 'ug' ].dictionary = Object.assign( e[ 'ug' ].dictionary, dictionary );
10
10
  e[ 'ug' ].getPluralForm = getPluralForm;
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- export default {"uk":{"dictionary":{"image widget":"Віджет зображення","Wrap text":"Обернути текст","Break text":"Розірвати тексту","In line":"В тексті","Side image":"Бокове зображення","Full size image":"Повний розмір зображення","Left aligned image":"Зображення ліворуч","Centered image":"Зображення по центру","Right aligned image":"Зображення праворуч","Change image text alternative":"Змінити текстову альтернативу зображення","Text alternative":"Текстова альтернатива","Enter image caption":"Введіть підпис зображення","Insert image":"Вставити зображення","Replace image":"Замінити зображення","Upload from computer":"Завантажити з комп'ютера","Replace from computer":"Замінити з комп'ютера","Upload image from computer":"Завантажити зображення з комп'ютера","Image from computer":"Зображення з комп'ютера","Replace image from computer":"Замінити зображення з комп'ютера","Upload failed":"Завантаження не вдалось","Image toolbar":"Панелі інструментів зображення","Resize image":"Розтягнути зображення","Resize image to %0":"Розтягнути зображення до %0","Resize image to the original size":"Розтягнути зображення до оригінального розміру","Resize image (in %0)":"Змінити розмір зображення (у %0)","Original":"Оригінал","Custom image size":"Власний розмір зображення","Custom":"Власний","Image resize list":"Перелік розмірів","Insert":"Вставити","Update":"Оновити","Insert image via URL":"Вставити зображення через посилання","Update image URL":"Оновити посилання на зображення","Caption for the image":"Підпис до зображення","Caption for image: %0":"Підпис до зображення: %0","The value must not be empty.":"Значення не може бути порожнім.","The value should be a plain number.":"Значення має виражатись простим числом.","Uploading image":"Зображення завантажується","Image upload complete":"Завантаження зображення завершено","Error during image upload":"Під час завантаження зображення сталася помилка"},getPluralForm(n){return (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);}}}
5
+ export default {"uk":{"dictionary":{"image widget":"Віджет зображення","Wrap text":"Обернути текст","Break text":"Розірвати тексту","In line":"В тексті","Side image":"Бокове зображення","Full size image":"Повний розмір зображення","Left aligned image":"Зображення ліворуч","Centered image":"Зображення по центру","Right aligned image":"Зображення праворуч","Change image text alternative":"Змінити текстову альтернативу зображення","Text alternative":"Текстова альтернатива","Enter image caption":"Введіть підпис зображення","Insert image":"Вставити зображення","Replace image":"Замінити зображення","Upload from computer":"Завантажити з комп'ютера","Replace from computer":"Замінити з комп'ютера","Upload image from computer":"Завантажити зображення з комп'ютера","Image from computer":"Зображення з комп'ютера","From computer":"","Replace image from computer":"Замінити зображення з комп'ютера","Upload failed":"Завантаження не вдалось","Image toolbar":"Панелі інструментів зображення","Resize image":"Розтягнути зображення","Resize image to %0":"Розтягнути зображення до %0","Resize image to the original size":"Розтягнути зображення до оригінального розміру","Resize image (in %0)":"Змінити розмір зображення (у %0)","Original":"Оригінал","Custom image size":"Власний розмір зображення","Custom":"Власний","Image resize list":"Перелік розмірів","Insert image via URL":"Вставити зображення через посилання","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"Оновити посилання на зображення","Caption for the image":"Підпис до зображення","Caption for image: %0":"Підпис до зображення: %0","The value must not be empty.":"Значення не може бути порожнім.","The value should be a plain number.":"Значення має виражатись простим числом.","Uploading image":"Зображення завантажується","Image upload complete":"Завантаження зображення завершено","Error during image upload":"Під час завантаження зображення сталася помилка","Image":""},getPluralForm(n){return (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);}}}
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'uk' ]: { dictionary, getPluralForm } } = {"uk":{"dictionary":{"image widget":"Віджет зображення","Wrap text":"Обернути текст","Break text":"Розірвати тексту","In line":"В тексті","Side image":"Бокове зображення","Full size image":"Повний розмір зображення","Left aligned image":"Зображення ліворуч","Centered image":"Зображення по центру","Right aligned image":"Зображення праворуч","Change image text alternative":"Змінити текстову альтернативу зображення","Text alternative":"Текстова альтернатива","Enter image caption":"Введіть підпис зображення","Insert image":"Вставити зображення","Replace image":"Замінити зображення","Upload from computer":"Завантажити з комп'ютера","Replace from computer":"Замінити з комп'ютера","Upload image from computer":"Завантажити зображення з комп'ютера","Image from computer":"Зображення з комп'ютера","Replace image from computer":"Замінити зображення з комп'ютера","Upload failed":"Завантаження не вдалось","Image toolbar":"Панелі інструментів зображення","Resize image":"Розтягнути зображення","Resize image to %0":"Розтягнути зображення до %0","Resize image to the original size":"Розтягнути зображення до оригінального розміру","Resize image (in %0)":"Змінити розмір зображення (у %0)","Original":"Оригінал","Custom image size":"Власний розмір зображення","Custom":"Власний","Image resize list":"Перелік розмірів","Insert":"Вставити","Update":"Оновити","Insert image via URL":"Вставити зображення через посилання","Update image URL":"Оновити посилання на зображення","Caption for the image":"Підпис до зображення","Caption for image: %0":"Підпис до зображення: %0","The value must not be empty.":"Значення не може бути порожнім.","The value should be a plain number.":"Значення має виражатись простим числом.","Uploading image":"Зображення завантажується","Image upload complete":"Завантаження зображення завершено","Error during image upload":"Під час завантаження зображення сталася помилка"},getPluralForm(n){return (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);}}};
7
+ const { [ 'uk' ]: { dictionary, getPluralForm } } = {"uk":{"dictionary":{"image widget":"Віджет зображення","Wrap text":"Обернути текст","Break text":"Розірвати тексту","In line":"В тексті","Side image":"Бокове зображення","Full size image":"Повний розмір зображення","Left aligned image":"Зображення ліворуч","Centered image":"Зображення по центру","Right aligned image":"Зображення праворуч","Change image text alternative":"Змінити текстову альтернативу зображення","Text alternative":"Текстова альтернатива","Enter image caption":"Введіть підпис зображення","Insert image":"Вставити зображення","Replace image":"Замінити зображення","Upload from computer":"Завантажити з комп'ютера","Replace from computer":"Замінити з комп'ютера","Upload image from computer":"Завантажити зображення з комп'ютера","Image from computer":"Зображення з комп'ютера","From computer":"","Replace image from computer":"Замінити зображення з комп'ютера","Upload failed":"Завантаження не вдалось","Image toolbar":"Панелі інструментів зображення","Resize image":"Розтягнути зображення","Resize image to %0":"Розтягнути зображення до %0","Resize image to the original size":"Розтягнути зображення до оригінального розміру","Resize image (in %0)":"Змінити розмір зображення (у %0)","Original":"Оригінал","Custom image size":"Власний розмір зображення","Custom":"Власний","Image resize list":"Перелік розмірів","Insert image via URL":"Вставити зображення через посилання","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"Оновити посилання на зображення","Caption for the image":"Підпис до зображення","Caption for image: %0":"Підпис до зображення: %0","The value must not be empty.":"Значення не може бути порожнім.","The value should be a plain number.":"Значення має виражатись простим числом.","Uploading image":"Зображення завантажується","Image upload complete":"Завантаження зображення завершено","Error during image upload":"Під час завантаження зображення сталася помилка","Image":""},getPluralForm(n){return (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);}}};
8
8
  e[ 'uk' ] ||= { dictionary: {}, getPluralForm: null };
9
9
  e[ 'uk' ].dictionary = Object.assign( e[ 'uk' ].dictionary, dictionary );
10
10
  e[ 'uk' ].getPluralForm = getPluralForm;
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- export default {"ur":{"dictionary":{"image widget":"آلۂ عکس","Wrap text":"ملفوف متن","Break text":"متن تقسیم کریں","In line":"","Side image":"عکس بہ پہلو","Full size image":"مکمل پہمائش کا عکس","Left aligned image":"","Centered image":"","Right aligned image":"","Change image text alternative":"","Text alternative":"","Enter image caption":"","Insert image":"","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","Replace image from computer":"","Upload failed":"","Image toolbar":"آلہ جات برائے عکس","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Resize image (in %0)":"","Original":"","Custom image size":"","Custom":"","Image resize list":"","Insert":"","Update":"","Insert image via URL":"","Update image URL":"","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":""},getPluralForm(n){return (n != 1);}}}
5
+ export default {"ur":{"dictionary":{"image widget":"آلۂ عکس","Wrap text":"ملفوف متن","Break text":"متن تقسیم کریں","In line":"","Side image":"عکس بہ پہلو","Full size image":"مکمل پہمائش کا عکس","Left aligned image":"","Centered image":"","Right aligned image":"","Change image text alternative":"","Text alternative":"","Enter image caption":"","Insert image":"","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","From computer":"","Replace image from computer":"","Upload failed":"","Image toolbar":"آلہ جات برائے عکس","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Resize image (in %0)":"","Original":"","Custom image size":"","Custom":"","Image resize list":"","Insert image via URL":"","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":"","Image":""},getPluralForm(n){return (n != 1);}}}
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'ur' ]: { dictionary, getPluralForm } } = {"ur":{"dictionary":{"image widget":"آلۂ عکس","Wrap text":"ملفوف متن","Break text":"متن تقسیم کریں","In line":"","Side image":"عکس بہ پہلو","Full size image":"مکمل پہمائش کا عکس","Left aligned image":"","Centered image":"","Right aligned image":"","Change image text alternative":"","Text alternative":"","Enter image caption":"","Insert image":"","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","Replace image from computer":"","Upload failed":"","Image toolbar":"آلہ جات برائے عکس","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Resize image (in %0)":"","Original":"","Custom image size":"","Custom":"","Image resize list":"","Insert":"","Update":"","Insert image via URL":"","Update image URL":"","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":""},getPluralForm(n){return (n != 1);}}};
7
+ const { [ 'ur' ]: { dictionary, getPluralForm } } = {"ur":{"dictionary":{"image widget":"آلۂ عکس","Wrap text":"ملفوف متن","Break text":"متن تقسیم کریں","In line":"","Side image":"عکس بہ پہلو","Full size image":"مکمل پہمائش کا عکس","Left aligned image":"","Centered image":"","Right aligned image":"","Change image text alternative":"","Text alternative":"","Enter image caption":"","Insert image":"","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","From computer":"","Replace image from computer":"","Upload failed":"","Image toolbar":"آلہ جات برائے عکس","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Resize image (in %0)":"","Original":"","Custom image size":"","Custom":"","Image resize list":"","Insert image via URL":"","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":"","Image":""},getPluralForm(n){return (n != 1);}}};
8
8
  e[ 'ur' ] ||= { dictionary: {}, getPluralForm: null };
9
9
  e[ 'ur' ].dictionary = Object.assign( e[ 'ur' ].dictionary, dictionary );
10
10
  e[ 'ur' ].getPluralForm = getPluralForm;
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- export default {"uz":{"dictionary":{"image widget":"Tasvirlar vidjeti","Wrap text":"","Break text":"","In line":"","Side image":"Yon tasvir","Full size image":"Asl rasm hajmi","Left aligned image":"Chapga tekislash","Centered image":"Markazga tekislash","Right aligned image":"O'ngga tekislash","Change image text alternative":"Muqobil matnni tahrirlash","Text alternative":"Muqobil matn","Enter image caption":"Rasm sarlavhasi","Insert image":"Rasm kiritish","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","Replace image from computer":"","Upload failed":"Yuklab olinmadi","Image toolbar":"Rasm asboblari paneli","Resize image":"Rasm hajmini o'zgartirish","Resize image to %0":"Rasm hajmini %0 ga o‘zgartirish","Resize image to the original size":"Rasmning o'lchamini asl o'lchamiga o'zgartiring","Resize image (in %0)":"","Original":"Asl","Custom image size":"","Custom":"","Image resize list":"Hajmlar ro'yxati","Insert":"Kiritish","Update":"O'zgartirish","Insert image via URL":"Rasmni URL orqali kiritish","Update image URL":"Rasm URL manzilini o'zgartirish","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":""},getPluralForm(n){return 0;}}}
5
+ export default {"uz":{"dictionary":{"image widget":"Tasvirlar vidjeti","Wrap text":"","Break text":"","In line":"","Side image":"Yon tasvir","Full size image":"Asl rasm hajmi","Left aligned image":"Chapga tekislash","Centered image":"Markazga tekislash","Right aligned image":"O'ngga tekislash","Change image text alternative":"Muqobil matnni tahrirlash","Text alternative":"Muqobil matn","Enter image caption":"Rasm sarlavhasi","Insert image":"Rasm kiritish","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","From computer":"","Replace image from computer":"","Upload failed":"Yuklab olinmadi","Image toolbar":"Rasm asboblari paneli","Resize image":"Rasm hajmini o'zgartirish","Resize image to %0":"Rasm hajmini %0 ga o‘zgartirish","Resize image to the original size":"Rasmning o'lchamini asl o'lchamiga o'zgartiring","Resize image (in %0)":"","Original":"Asl","Custom image size":"","Custom":"","Image resize list":"Hajmlar ro'yxati","Insert image via URL":"Rasmni URL orqali kiritish","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"Rasm URL manzilini o'zgartirish","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":"","Image":""},getPluralForm(n){return 0;}}}
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'uz' ]: { dictionary, getPluralForm } } = {"uz":{"dictionary":{"image widget":"Tasvirlar vidjeti","Wrap text":"","Break text":"","In line":"","Side image":"Yon tasvir","Full size image":"Asl rasm hajmi","Left aligned image":"Chapga tekislash","Centered image":"Markazga tekislash","Right aligned image":"O'ngga tekislash","Change image text alternative":"Muqobil matnni tahrirlash","Text alternative":"Muqobil matn","Enter image caption":"Rasm sarlavhasi","Insert image":"Rasm kiritish","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","Replace image from computer":"","Upload failed":"Yuklab olinmadi","Image toolbar":"Rasm asboblari paneli","Resize image":"Rasm hajmini o'zgartirish","Resize image to %0":"Rasm hajmini %0 ga o‘zgartirish","Resize image to the original size":"Rasmning o'lchamini asl o'lchamiga o'zgartiring","Resize image (in %0)":"","Original":"Asl","Custom image size":"","Custom":"","Image resize list":"Hajmlar ro'yxati","Insert":"Kiritish","Update":"O'zgartirish","Insert image via URL":"Rasmni URL orqali kiritish","Update image URL":"Rasm URL manzilini o'zgartirish","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":""},getPluralForm(n){return 0;}}};
7
+ const { [ 'uz' ]: { dictionary, getPluralForm } } = {"uz":{"dictionary":{"image widget":"Tasvirlar vidjeti","Wrap text":"","Break text":"","In line":"","Side image":"Yon tasvir","Full size image":"Asl rasm hajmi","Left aligned image":"Chapga tekislash","Centered image":"Markazga tekislash","Right aligned image":"O'ngga tekislash","Change image text alternative":"Muqobil matnni tahrirlash","Text alternative":"Muqobil matn","Enter image caption":"Rasm sarlavhasi","Insert image":"Rasm kiritish","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","From computer":"","Replace image from computer":"","Upload failed":"Yuklab olinmadi","Image toolbar":"Rasm asboblari paneli","Resize image":"Rasm hajmini o'zgartirish","Resize image to %0":"Rasm hajmini %0 ga o‘zgartirish","Resize image to the original size":"Rasmning o'lchamini asl o'lchamiga o'zgartiring","Resize image (in %0)":"","Original":"Asl","Custom image size":"","Custom":"","Image resize list":"Hajmlar ro'yxati","Insert image via URL":"Rasmni URL orqali kiritish","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"Rasm URL manzilini o'zgartirish","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":"","Image":""},getPluralForm(n){return 0;}}};
8
8
  e[ 'uz' ] ||= { dictionary: {}, getPluralForm: null };
9
9
  e[ 'uz' ].dictionary = Object.assign( e[ 'uz' ].dictionary, dictionary );
10
10
  e[ 'uz' ].getPluralForm = getPluralForm;
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- export default {"vi":{"dictionary":{"image widget":"tiện ích ảnh","Wrap text":"Bọc văn bản","Break text":"Ngắt văn bản","In line":"Nội dòng","Side image":"Ảnh một bên","Full size image":"Ảnh đầy đủ","Left aligned image":"Ảnh canh trái","Centered image":"Ảnh canh giữa","Right aligned image":"Ảnh canh phải","Change image text alternative":"Đổi chữ alt của ảnh","Text alternative":"Chữ alt","Enter image caption":"Nhập mô tả ảnh","Insert image":"Chèn ảnh","Replace image":"Thay thế hình ảnh","Upload from computer":"Tải lên từ máy tính","Replace from computer":"Thay thế từ máy tính","Upload image from computer":"Tải hình ảnh lên từ máy tính","Image from computer":"Hình ảnh từ máy tính","Replace image from computer":"Thay thế hình ảnh từ máy tính","Upload failed":"Tải thất bại","Image toolbar":"Thanh công cụ hình ảnh","Resize image":"Chỉnh kích cỡ ảnh","Resize image to %0":"Chỉnh kích cỡ ảnh về %0","Resize image to the original size":"Chỉnh về ảnh kích cỡ nguyên gốc","Resize image (in %0)":"Đặt lại kích thước hình ảnh (bằng %0)","Original":"Nguyên bản","Custom image size":"Tùy chỉnh kích thước hình ảnh","Custom":"Tùy chỉnh","Image resize list":"Danh sách ảnh đã chỉnh kích thước","Insert":"Chèn","Update":"Cập nhật","Insert image via URL":"Chèn ảnh từ URL","Update image URL":"Cập nhật ảnh từ URL","Caption for the image":"Chú thích cho hình ảnh","Caption for image: %0":"Chú thích cho hình ảnh: %0","The value must not be empty.":"Không được để trống giá trị này.","The value should be a plain number.":"Giá trị này phải là một số thường.","Uploading image":"Đang tải hình ảnh lên","Image upload complete":"Hoàn tất quá trình tải hình ảnh lên","Error during image upload":"Xảy ra lỗi trong quá trình tải hình ảnh lên"},getPluralForm(n){return 0;}}}
5
+ export default {"vi":{"dictionary":{"image widget":"tiện ích ảnh","Wrap text":"Bọc văn bản","Break text":"Ngắt văn bản","In line":"Nội dòng","Side image":"Ảnh một bên","Full size image":"Ảnh đầy đủ","Left aligned image":"Ảnh canh trái","Centered image":"Ảnh canh giữa","Right aligned image":"Ảnh canh phải","Change image text alternative":"Đổi chữ alt của ảnh","Text alternative":"Chữ alt","Enter image caption":"Nhập mô tả ảnh","Insert image":"Chèn ảnh","Replace image":"Thay thế hình ảnh","Upload from computer":"Tải lên từ máy tính","Replace from computer":"Thay thế từ máy tính","Upload image from computer":"Tải hình ảnh lên từ máy tính","Image from computer":"Hình ảnh từ máy tính","From computer":"","Replace image from computer":"Thay thế hình ảnh từ máy tính","Upload failed":"Tải thất bại","Image toolbar":"Thanh công cụ hình ảnh","Resize image":"Chỉnh kích cỡ ảnh","Resize image to %0":"Chỉnh kích cỡ ảnh về %0","Resize image to the original size":"Chỉnh về ảnh kích cỡ nguyên gốc","Resize image (in %0)":"Đặt lại kích thước hình ảnh (bằng %0)","Original":"Nguyên bản","Custom image size":"Tùy chỉnh kích thước hình ảnh","Custom":"Tùy chỉnh","Image resize list":"Danh sách ảnh đã chỉnh kích thước","Insert image via URL":"Chèn ảnh từ URL","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"Cập nhật ảnh từ URL","Caption for the image":"Chú thích cho hình ảnh","Caption for image: %0":"Chú thích cho hình ảnh: %0","The value must not be empty.":"Không được để trống giá trị này.","The value should be a plain number.":"Giá trị này phải là một số thường.","Uploading image":"Đang tải hình ảnh lên","Image upload complete":"Hoàn tất quá trình tải hình ảnh lên","Error during image upload":"Xảy ra lỗi trong quá trình tải hình ảnh lên","Image":""},getPluralForm(n){return 0;}}}
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'vi' ]: { dictionary, getPluralForm } } = {"vi":{"dictionary":{"image widget":"tiện ích ảnh","Wrap text":"Bọc văn bản","Break text":"Ngắt văn bản","In line":"Nội dòng","Side image":"Ảnh một bên","Full size image":"Ảnh đầy đủ","Left aligned image":"Ảnh canh trái","Centered image":"Ảnh canh giữa","Right aligned image":"Ảnh canh phải","Change image text alternative":"Đổi chữ alt của ảnh","Text alternative":"Chữ alt","Enter image caption":"Nhập mô tả ảnh","Insert image":"Chèn ảnh","Replace image":"Thay thế hình ảnh","Upload from computer":"Tải lên từ máy tính","Replace from computer":"Thay thế từ máy tính","Upload image from computer":"Tải hình ảnh lên từ máy tính","Image from computer":"Hình ảnh từ máy tính","Replace image from computer":"Thay thế hình ảnh từ máy tính","Upload failed":"Tải thất bại","Image toolbar":"Thanh công cụ hình ảnh","Resize image":"Chỉnh kích cỡ ảnh","Resize image to %0":"Chỉnh kích cỡ ảnh về %0","Resize image to the original size":"Chỉnh về ảnh kích cỡ nguyên gốc","Resize image (in %0)":"Đặt lại kích thước hình ảnh (bằng %0)","Original":"Nguyên bản","Custom image size":"Tùy chỉnh kích thước hình ảnh","Custom":"Tùy chỉnh","Image resize list":"Danh sách ảnh đã chỉnh kích thước","Insert":"Chèn","Update":"Cập nhật","Insert image via URL":"Chèn ảnh từ URL","Update image URL":"Cập nhật ảnh từ URL","Caption for the image":"Chú thích cho hình ảnh","Caption for image: %0":"Chú thích cho hình ảnh: %0","The value must not be empty.":"Không được để trống giá trị này.","The value should be a plain number.":"Giá trị này phải là một số thường.","Uploading image":"Đang tải hình ảnh lên","Image upload complete":"Hoàn tất quá trình tải hình ảnh lên","Error during image upload":"Xảy ra lỗi trong quá trình tải hình ảnh lên"},getPluralForm(n){return 0;}}};
7
+ const { [ 'vi' ]: { dictionary, getPluralForm } } = {"vi":{"dictionary":{"image widget":"tiện ích ảnh","Wrap text":"Bọc văn bản","Break text":"Ngắt văn bản","In line":"Nội dòng","Side image":"Ảnh một bên","Full size image":"Ảnh đầy đủ","Left aligned image":"Ảnh canh trái","Centered image":"Ảnh canh giữa","Right aligned image":"Ảnh canh phải","Change image text alternative":"Đổi chữ alt của ảnh","Text alternative":"Chữ alt","Enter image caption":"Nhập mô tả ảnh","Insert image":"Chèn ảnh","Replace image":"Thay thế hình ảnh","Upload from computer":"Tải lên từ máy tính","Replace from computer":"Thay thế từ máy tính","Upload image from computer":"Tải hình ảnh lên từ máy tính","Image from computer":"Hình ảnh từ máy tính","From computer":"","Replace image from computer":"Thay thế hình ảnh từ máy tính","Upload failed":"Tải thất bại","Image toolbar":"Thanh công cụ hình ảnh","Resize image":"Chỉnh kích cỡ ảnh","Resize image to %0":"Chỉnh kích cỡ ảnh về %0","Resize image to the original size":"Chỉnh về ảnh kích cỡ nguyên gốc","Resize image (in %0)":"Đặt lại kích thước hình ảnh (bằng %0)","Original":"Nguyên bản","Custom image size":"Tùy chỉnh kích thước hình ảnh","Custom":"Tùy chỉnh","Image resize list":"Danh sách ảnh đã chỉnh kích thước","Insert image via URL":"Chèn ảnh từ URL","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"Cập nhật ảnh từ URL","Caption for the image":"Chú thích cho hình ảnh","Caption for image: %0":"Chú thích cho hình ảnh: %0","The value must not be empty.":"Không được để trống giá trị này.","The value should be a plain number.":"Giá trị này phải là một số thường.","Uploading image":"Đang tải hình ảnh lên","Image upload complete":"Hoàn tất quá trình tải hình ảnh lên","Error during image upload":"Xảy ra lỗi trong quá trình tải hình ảnh lên","Image":""},getPluralForm(n){return 0;}}};
8
8
  e[ 'vi' ] ||= { dictionary: {}, getPluralForm: null };
9
9
  e[ 'vi' ].dictionary = Object.assign( e[ 'vi' ].dictionary, dictionary );
10
10
  e[ 'vi' ].getPluralForm = getPluralForm;
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- export default {"zh-cn":{"dictionary":{"image widget":"图片组件","Wrap text":"文字环绕","Break text":"文字断行","In line":"行内","Side image":"图片侧边显示","Full size image":"全尺寸图片","Left aligned image":"图片左侧对齐","Centered image":"图片居中","Right aligned image":"图片右侧对齐","Change image text alternative":"更改图片替换文本","Text alternative":"替换文本","Enter image caption":"输入图片标题","Insert image":"插入图像","Replace image":"替换图片","Upload from computer":"从电脑上传","Replace from computer":"从电脑替换","Upload image from computer":"从电脑上传图片","Image from computer":"从计算机中选择图片","Replace image from computer":"从电脑替换图片","Upload failed":"上传失败","Image toolbar":"图片工具栏","Resize image":"调整图像大小","Resize image to %0":"调整图像大小为%0","Resize image to the original size":"调整图像大小为原始大小","Resize image (in %0)":"调整图片大小(单位为 %0)","Original":"原始大小","Custom image size":"自定义图片大小","Custom":"自定义","Image resize list":"图片大小列表","Insert":"插入","Update":"更新","Insert image via URL":"通过URL地址插入图片","Update image URL":"更新图片URL地址","Caption for the image":"图片说明:","Caption for image: %0":"图片说明:%0","The value must not be empty.":"该值不能为空。","The value should be a plain number.":"该值应当为纯数字。","Uploading image":"正在上传图片","Image upload complete":"图片上传完成","Error during image upload":"图片上传时出错"},getPluralForm(n){return 0;}}}
5
+ export default {"zh-cn":{"dictionary":{"image widget":"图片组件","Wrap text":"文字环绕","Break text":"文字断行","In line":"行内","Side image":"图片侧边显示","Full size image":"全尺寸图片","Left aligned image":"图片左侧对齐","Centered image":"图片居中","Right aligned image":"图片右侧对齐","Change image text alternative":"更改图片替换文本","Text alternative":"替换文本","Enter image caption":"输入图片标题","Insert image":"插入图像","Replace image":"替换图片","Upload from computer":"从电脑上传","Replace from computer":"从电脑替换","Upload image from computer":"从电脑上传图片","Image from computer":"从计算机中选择图片","From computer":"","Replace image from computer":"从电脑替换图片","Upload failed":"上传失败","Image toolbar":"图片工具栏","Resize image":"调整图像大小","Resize image to %0":"调整图像大小为%0","Resize image to the original size":"调整图像大小为原始大小","Resize image (in %0)":"调整图片大小(单位为 %0)","Original":"原始大小","Custom image size":"自定义图片大小","Custom":"自定义","Image resize list":"图片大小列表","Insert image via URL":"通过URL地址插入图片","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"更新图片URL地址","Caption for the image":"图片说明:","Caption for image: %0":"图片说明:%0","The value must not be empty.":"该值不能为空。","The value should be a plain number.":"该值应当为纯数字。","Uploading image":"正在上传图片","Image upload complete":"图片上传完成","Error during image upload":"图片上传时出错","Image":""},getPluralForm(n){return 0;}}}
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'zh-cn' ]: { dictionary, getPluralForm } } = {"zh-cn":{"dictionary":{"image widget":"图片组件","Wrap text":"文字环绕","Break text":"文字断行","In line":"行内","Side image":"图片侧边显示","Full size image":"全尺寸图片","Left aligned image":"图片左侧对齐","Centered image":"图片居中","Right aligned image":"图片右侧对齐","Change image text alternative":"更改图片替换文本","Text alternative":"替换文本","Enter image caption":"输入图片标题","Insert image":"插入图像","Replace image":"替换图片","Upload from computer":"从电脑上传","Replace from computer":"从电脑替换","Upload image from computer":"从电脑上传图片","Image from computer":"从计算机中选择图片","Replace image from computer":"从电脑替换图片","Upload failed":"上传失败","Image toolbar":"图片工具栏","Resize image":"调整图像大小","Resize image to %0":"调整图像大小为%0","Resize image to the original size":"调整图像大小为原始大小","Resize image (in %0)":"调整图片大小(单位为 %0)","Original":"原始大小","Custom image size":"自定义图片大小","Custom":"自定义","Image resize list":"图片大小列表","Insert":"插入","Update":"更新","Insert image via URL":"通过URL地址插入图片","Update image URL":"更新图片URL地址","Caption for the image":"图片说明:","Caption for image: %0":"图片说明:%0","The value must not be empty.":"该值不能为空。","The value should be a plain number.":"该值应当为纯数字。","Uploading image":"正在上传图片","Image upload complete":"图片上传完成","Error during image upload":"图片上传时出错"},getPluralForm(n){return 0;}}};
7
+ const { [ 'zh-cn' ]: { dictionary, getPluralForm } } = {"zh-cn":{"dictionary":{"image widget":"图片组件","Wrap text":"文字环绕","Break text":"文字断行","In line":"行内","Side image":"图片侧边显示","Full size image":"全尺寸图片","Left aligned image":"图片左侧对齐","Centered image":"图片居中","Right aligned image":"图片右侧对齐","Change image text alternative":"更改图片替换文本","Text alternative":"替换文本","Enter image caption":"输入图片标题","Insert image":"插入图像","Replace image":"替换图片","Upload from computer":"从电脑上传","Replace from computer":"从电脑替换","Upload image from computer":"从电脑上传图片","Image from computer":"从计算机中选择图片","From computer":"","Replace image from computer":"从电脑替换图片","Upload failed":"上传失败","Image toolbar":"图片工具栏","Resize image":"调整图像大小","Resize image to %0":"调整图像大小为%0","Resize image to the original size":"调整图像大小为原始大小","Resize image (in %0)":"调整图片大小(单位为 %0)","Original":"原始大小","Custom image size":"自定义图片大小","Custom":"自定义","Image resize list":"图片大小列表","Insert image via URL":"通过URL地址插入图片","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"更新图片URL地址","Caption for the image":"图片说明:","Caption for image: %0":"图片说明:%0","The value must not be empty.":"该值不能为空。","The value should be a plain number.":"该值应当为纯数字。","Uploading image":"正在上传图片","Image upload complete":"图片上传完成","Error during image upload":"图片上传时出错","Image":""},getPluralForm(n){return 0;}}};
8
8
  e[ 'zh-cn' ] ||= { dictionary: {}, getPluralForm: null };
9
9
  e[ 'zh-cn' ].dictionary = Object.assign( e[ 'zh-cn' ].dictionary, dictionary );
10
10
  e[ 'zh-cn' ].getPluralForm = getPluralForm;
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- export default {"zh":{"dictionary":{"image widget":"圖片小工具","Wrap text":"文繞圖","Break text":"上及下","In line":"行中","Side image":"側邊圖片","Full size image":"完整尺寸圖片","Left aligned image":"向左對齊圖片","Centered image":"置中圖片","Right aligned image":"向右對齊圖片","Change image text alternative":"修改圖片的替代文字","Text alternative":"替代文字","Enter image caption":"輸入圖片說明","Insert image":"插入圖片","Replace image":"替換圖片","Upload from computer":"從電腦上傳","Replace from computer":"從電腦替換","Upload image from computer":"從電腦上傳圖片","Image from computer":"來自電腦的圖片","Replace image from computer":"從電腦替換圖片","Upload failed":"上傳失敗","Image toolbar":"圖片工具","Resize image":"縮放圖片","Resize image to %0":"縮放圖片到 %0","Resize image to the original size":"縮放圖片到原始尺寸","Resize image (in %0)":"調整圖片大小(單位為 %0)","Original":"原始圖片","Custom image size":"自訂圖片大小","Custom":"自訂","Image resize list":"圖片縮放清單","Insert":"插入","Update":"更新","Insert image via URL":"使用連結插入圖片","Update image URL":"更新圖片連結","Caption for the image":"影像的標題","Caption for image: %0":"影像標題:%0","The value must not be empty.":"數值不得為空白。","The value should be a plain number.":"數值應為純數字。","Uploading image":"正在上傳圖片","Image upload complete":"圖片上傳完成","Error during image upload":"圖片上傳期間發生錯誤"},getPluralForm(n){return 0;}}}
5
+ export default {"zh":{"dictionary":{"image widget":"圖片小工具","Wrap text":"文繞圖","Break text":"上及下","In line":"行中","Side image":"側邊圖片","Full size image":"完整尺寸圖片","Left aligned image":"向左對齊圖片","Centered image":"置中圖片","Right aligned image":"向右對齊圖片","Change image text alternative":"修改圖片的替代文字","Text alternative":"替代文字","Enter image caption":"輸入圖片說明","Insert image":"插入圖片","Replace image":"替換圖片","Upload from computer":"從電腦上傳","Replace from computer":"從電腦替換","Upload image from computer":"從電腦上傳圖片","Image from computer":"來自電腦的圖片","From computer":"","Replace image from computer":"從電腦替換圖片","Upload failed":"上傳失敗","Image toolbar":"圖片工具","Resize image":"縮放圖片","Resize image to %0":"縮放圖片到 %0","Resize image to the original size":"縮放圖片到原始尺寸","Resize image (in %0)":"調整圖片大小(單位為 %0)","Original":"原始圖片","Custom image size":"自訂圖片大小","Custom":"自訂","Image resize list":"圖片縮放清單","Insert image via URL":"使用連結插入圖片","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"更新圖片連結","Caption for the image":"影像的標題","Caption for image: %0":"影像標題:%0","The value must not be empty.":"數值不得為空白。","The value should be a plain number.":"數值應為純數字。","Uploading image":"正在上傳圖片","Image upload complete":"圖片上傳完成","Error during image upload":"圖片上傳期間發生錯誤","Image":""},getPluralForm(n){return 0;}}}
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'zh' ]: { dictionary, getPluralForm } } = {"zh":{"dictionary":{"image widget":"圖片小工具","Wrap text":"文繞圖","Break text":"上及下","In line":"行中","Side image":"側邊圖片","Full size image":"完整尺寸圖片","Left aligned image":"向左對齊圖片","Centered image":"置中圖片","Right aligned image":"向右對齊圖片","Change image text alternative":"修改圖片的替代文字","Text alternative":"替代文字","Enter image caption":"輸入圖片說明","Insert image":"插入圖片","Replace image":"替換圖片","Upload from computer":"從電腦上傳","Replace from computer":"從電腦替換","Upload image from computer":"從電腦上傳圖片","Image from computer":"來自電腦的圖片","Replace image from computer":"從電腦替換圖片","Upload failed":"上傳失敗","Image toolbar":"圖片工具","Resize image":"縮放圖片","Resize image to %0":"縮放圖片到 %0","Resize image to the original size":"縮放圖片到原始尺寸","Resize image (in %0)":"調整圖片大小(單位為 %0)","Original":"原始圖片","Custom image size":"自訂圖片大小","Custom":"自訂","Image resize list":"圖片縮放清單","Insert":"插入","Update":"更新","Insert image via URL":"使用連結插入圖片","Update image URL":"更新圖片連結","Caption for the image":"影像的標題","Caption for image: %0":"影像標題:%0","The value must not be empty.":"數值不得為空白。","The value should be a plain number.":"數值應為純數字。","Uploading image":"正在上傳圖片","Image upload complete":"圖片上傳完成","Error during image upload":"圖片上傳期間發生錯誤"},getPluralForm(n){return 0;}}};
7
+ const { [ 'zh' ]: { dictionary, getPluralForm } } = {"zh":{"dictionary":{"image widget":"圖片小工具","Wrap text":"文繞圖","Break text":"上及下","In line":"行中","Side image":"側邊圖片","Full size image":"完整尺寸圖片","Left aligned image":"向左對齊圖片","Centered image":"置中圖片","Right aligned image":"向右對齊圖片","Change image text alternative":"修改圖片的替代文字","Text alternative":"替代文字","Enter image caption":"輸入圖片說明","Insert image":"插入圖片","Replace image":"替換圖片","Upload from computer":"從電腦上傳","Replace from computer":"從電腦替換","Upload image from computer":"從電腦上傳圖片","Image from computer":"來自電腦的圖片","From computer":"","Replace image from computer":"從電腦替換圖片","Upload failed":"上傳失敗","Image toolbar":"圖片工具","Resize image":"縮放圖片","Resize image to %0":"縮放圖片到 %0","Resize image to the original size":"縮放圖片到原始尺寸","Resize image (in %0)":"調整圖片大小(單位為 %0)","Original":"原始圖片","Custom image size":"自訂圖片大小","Custom":"自訂","Image resize list":"圖片縮放清單","Insert image via URL":"使用連結插入圖片","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"更新圖片連結","Caption for the image":"影像的標題","Caption for image: %0":"影像標題:%0","The value must not be empty.":"數值不得為空白。","The value should be a plain number.":"數值應為純數字。","Uploading image":"正在上傳圖片","Image upload complete":"圖片上傳完成","Error during image upload":"圖片上傳期間發生錯誤","Image":""},getPluralForm(n){return 0;}}};
8
8
  e[ 'zh' ] ||= { dictionary: {}, getPluralForm: null };
9
9
  e[ 'zh' ].dictionary = Object.assign( e[ 'zh' ].dictionary, dictionary );
10
10
  e[ 'zh' ].getPluralForm = getPluralForm;
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
13
13
  import { type Observable } from 'ckeditor5/src/utils.js';
14
- import { type ButtonView, type DropdownView, type FocusableView } from 'ckeditor5/src/ui.js';
14
+ import { type ButtonView, type DropdownView, type FocusableView, type MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js';
15
15
  import ImageUtils from '../imageutils.js';
16
16
  /**
17
17
  * The image insert dropdown plugin.
@@ -21,6 +21,9 @@ import ImageUtils from '../imageutils.js';
21
21
  *
22
22
  * Adds the `'insertImage'` dropdown to the {@link module:ui/componentfactory~ComponentFactory UI component factory}
23
23
  * and also the `imageInsert` dropdown as an alias for backward compatibility.
24
+ *
25
+ * Adds the `'menuBar:insertImage'` sub-menu to the {@link module:ui/componentfactory~ComponentFactory UI component factory}, which is
26
+ * by default added to the `'Insert'` menu.
24
27
  */
25
28
  export default class ImageInsertUI extends Plugin {
26
29
  /**
@@ -56,7 +59,7 @@ export default class ImageInsertUI extends Plugin {
56
59
  /**
57
60
  * Registers the insert image dropdown integration.
58
61
  */
59
- registerIntegration({ name, observable, buttonViewCreator, formViewCreator, requiresForm }: {
62
+ registerIntegration({ name, observable, buttonViewCreator, formViewCreator, menuBarButtonViewCreator, requiresForm }: {
60
63
  name: string;
61
64
  observable: (Observable & {
62
65
  isEnabled: boolean;
@@ -65,12 +68,17 @@ export default class ImageInsertUI extends Plugin {
65
68
  });
66
69
  buttonViewCreator: (isOnlyOne: boolean) => ButtonView;
67
70
  formViewCreator: (isOnlyOne: boolean) => FocusableView;
71
+ menuBarButtonViewCreator: (isOnlyOne: boolean) => MenuBarMenuListItemButtonView;
68
72
  requiresForm?: boolean;
69
73
  }): void;
70
74
  /**
71
75
  * Creates the toolbar component.
72
76
  */
73
77
  private _createToolbarComponent;
78
+ /**
79
+ * Creates the menu bar component.
80
+ */
81
+ private _createMenuBarComponent;
74
82
  /**
75
83
  * Validates the integrations list.
76
84
  */
@@ -10,17 +10,22 @@
10
10
  * @module image/imageinsert/imageinsertviaurlui
11
11
  */
12
12
  import { Plugin } from 'ckeditor5/src/core.js';
13
+ import { Dialog } from 'ckeditor5/src/ui.js';
13
14
  import ImageInsertUI from './imageinsertui.js';
14
15
  /**
15
16
  * The image insert via URL plugin (UI part).
16
17
  *
17
- * For a detailed overview, check the {@glink features/images/images-inserting
18
- * Insert images via source URL} documentation.
18
+ * The plugin introduces two UI components to the {@link module:ui/componentfactory~ComponentFactory UI component factory}:
19
19
  *
20
- * This plugin registers the {@link module:image/imageinsert/imageinsertui~ImageInsertUI} integration for `url`.
20
+ * * the `'insertImageViaUrl'` toolbar button,
21
+ * * the `'menuBar:insertImageViaUrl'` menu bar component.
22
+ *
23
+ * It also integrates with the `insertImage` toolbar component and `menuBar:insertImage` menu component, which are default components
24
+ * through which inserting image via URL is available.
21
25
  */
22
26
  export default class ImageInsertViaUrlUI extends Plugin {
23
27
  private _imageInsertUI;
28
+ private _formView?;
24
29
  /**
25
30
  * @inheritDoc
26
31
  */
@@ -28,21 +33,38 @@ export default class ImageInsertViaUrlUI extends Plugin {
28
33
  /**
29
34
  * @inheritDoc
30
35
  */
31
- static get requires(): readonly [typeof ImageInsertUI];
36
+ static get requires(): readonly [typeof ImageInsertUI, typeof Dialog];
37
+ init(): void;
32
38
  /**
33
39
  * @inheritDoc
34
40
  */
35
41
  afterInit(): void;
36
42
  /**
37
- * Creates the view displayed in the dropdown.
43
+ * Creates the base for various kinds of the button component provided by this feature.
44
+ */
45
+ private _createInsertUrlButton;
46
+ /**
47
+ * Creates a simple toolbar button, with an icon and a tooltip.
48
+ */
49
+ private _createToolbarButton;
50
+ /**
51
+ * Creates a button for the dropdown view, with an icon, text and no tooltip.
52
+ */
53
+ private _createDropdownButton;
54
+ /**
55
+ * Creates a button for the menu bar.
56
+ */
57
+ private _createMenuBarButton;
58
+ /**
59
+ * Creates the form view used to submit the image URL.
38
60
  */
39
61
  private _createInsertUrlView;
40
62
  /**
41
- * Creates the toolbar button.
63
+ * Shows the insert image via URL form view in a modal.
42
64
  */
43
- private _createInsertUrlButton;
65
+ private _showModal;
44
66
  /**
45
- * Closes the dropdown.
67
+ * Executes appropriate command depending on selection and form value.
46
68
  */
47
- private _closePanel;
69
+ private _handleSave;
48
70
  }
@@ -6,8 +6,11 @@
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
- import { ButtonView, View, FocusCycler, LabeledFieldView, type InputTextView } from 'ckeditor5/src/ui.js';
10
- import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
9
+ /**
10
+ * @module image/imageinsert/ui/imageinserturlview
11
+ */
12
+ import { View, LabeledFieldView, type InputTextView } from 'ckeditor5/src/ui.js';
13
+ import { KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
11
14
  /**
12
15
  * The insert an image via URL view.
13
16
  *
@@ -18,14 +21,6 @@ export default class ImageInsertUrlView extends View {
18
21
  * The URL input field view.
19
22
  */
20
23
  urlInputView: LabeledFieldView<InputTextView>;
21
- /**
22
- * The "insert/update" button view.
23
- */
24
- insertButtonView: ButtonView;
25
- /**
26
- * The "cancel" button view.
27
- */
28
- cancelButtonView: ButtonView;
29
24
  /**
30
25
  * The value of the URL input.
31
26
  *
@@ -44,22 +39,10 @@ export default class ImageInsertUrlView extends View {
44
39
  * @observable
45
40
  */
46
41
  isEnabled: boolean;
47
- /**
48
- * Tracks information about DOM focus in the form.
49
- */
50
- readonly focusTracker: FocusTracker;
51
42
  /**
52
43
  * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
53
44
  */
54
45
  readonly keystrokes: KeystrokeHandler;
55
- /**
56
- * Helps cycling over {@link #_focusables} in the form.
57
- */
58
- readonly focusCycler: FocusCycler;
59
- /**
60
- * A collection of views that can be focused in the form.
61
- */
62
- private readonly _focusables;
63
46
  /**
64
47
  * Creates a view for the dropdown panel of {@link module:image/imageinsert/imageinsertui~ImageInsertUI}.
65
48
  *
@@ -78,34 +61,8 @@ export default class ImageInsertUrlView extends View {
78
61
  * Creates the {@link #urlInputView}.
79
62
  */
80
63
  private _createUrlInputView;
81
- /**
82
- * Creates the {@link #insertButtonView}.
83
- */
84
- private _createInsertButton;
85
- /**
86
- * Creates the {@link #cancelButtonView}.
87
- */
88
- private _createCancelButton;
89
64
  /**
90
65
  * Focuses the view.
91
66
  */
92
- focus(direction: 1 | -1): void;
67
+ focus(): void;
93
68
  }
94
- /**
95
- * Fired when the form view is submitted.
96
- *
97
- * @eventName ~ImageInsertUrlView#submit
98
- */
99
- export type ImageInsertUrlViewSubmitEvent = {
100
- name: 'submit';
101
- args: [];
102
- };
103
- /**
104
- * Fired when the form view is canceled.
105
- *
106
- * @eventName ~ImageInsertUrlView#cancel
107
- */
108
- export type ImageInsertUrlViewCancelEvent = {
109
- name: 'cancel';
110
- args: [];
111
- };
@@ -17,6 +17,11 @@ import { Plugin } from 'ckeditor5/src/core.js';
17
17
  *
18
18
  * Adds the `'uploadImage'` button to the {@link module:ui/componentfactory~ComponentFactory UI component factory}
19
19
  * and also the `imageUpload` button as an alias for backward compatibility.
20
+ *
21
+ * Adds the `'menuBar:uploadImage'` menu button to the {@link module:ui/componentfactory~ComponentFactory UI component factory}.
22
+ *
23
+ * It also integrates with the `insertImage` toolbar component and `menuBar:insertImage` menu component, which are the default components
24
+ * through which image upload is available.
20
25
  */
21
26
  export default class ImageUploadUI extends Plugin {
22
27
  /**
@@ -28,7 +33,19 @@ export default class ImageUploadUI extends Plugin {
28
33
  */
29
34
  init(): void;
30
35
  /**
31
- * Creates a button for image upload command to use either in toolbar or in menu bar.
36
+ * Creates the base for various kinds of the button component provided by this feature.
32
37
  */
33
38
  private _createButton;
39
+ /**
40
+ * Creates a simple toolbar button, with an icon and a tooltip.
41
+ */
42
+ private _createToolbarButton;
43
+ /**
44
+ * Creates a button for the dropdown view, with an icon, text and no tooltip.
45
+ */
46
+ private _createDropdownButton;
47
+ /**
48
+ * Creates a button for the menu bar.
49
+ */
50
+ private _createMenuBarButton;
34
51
  }
@@ -16,7 +16,8 @@
16
16
  "Upload from computer": "The label for the upload image from computer toolbar button with visible label in insert image dropdown.",
17
17
  "Replace from computer": "The label for the replace image by upload from computer toolbar button with visible label in insert image dropdown.",
18
18
  "Upload image from computer": "The label for the upload image from computer toolbar button.",
19
- "Image from computer": "The label for the upload image from computer menu bar button.",
19
+ "Image from computer": "The label for the upload image from computer menu bar button (standalone button).",
20
+ "From computer": "The label for the upload image from computer menu bar button (inside 'Image' menu).",
20
21
  "Replace image from computer": "The label for the replace image by upload from computer toolbar button.",
21
22
  "Upload failed": "The title of the notification displayed when upload fails.",
22
23
  "Image toolbar": "The label used by assistive technologies describing an image toolbar attached to an image widget.",
@@ -28,9 +29,10 @@
28
29
  "Custom image size": "The accessibility label of the standalone image resize custom option button in the image toolbar for screen readers.",
29
30
  "Custom": "The label for the resize option that allows user to enter custom size of the image.",
30
31
  "Image resize list": "The accessibility label of the image resize dropdown for screen readers.",
31
- "Insert": "The label of the form submit button if the image source URL input has no value.",
32
- "Update": "The label of the form submit button if the image source URL input has a value.",
33
32
  "Insert image via URL": "The input label for the Insert image via URL form.",
33
+ "Insert via URL": "The label for the insert image via url dropdown button.",
34
+ "Image via URL": "The label for the insert image via url menu bar button (standalone button).",
35
+ "Via URL": "The label for the insert image via url menu bar button (inside 'Image' menu).",
34
36
  "Update image URL": "The input label for the Insert image via URL form for a pre-existing image.",
35
37
  "Caption for the image": "Text used by screen readers do describe an image when the image has no text alternative.",
36
38
  "Caption for image: %0": "Text used by screen readers do describe an image when there is a text alternative available, e.g. 'Caption for image: this is a description of the image.'",
@@ -38,5 +40,6 @@
38
40
  "The value should be a plain number.": "Text used as error label when user submitted custom image resize form with incorrect value.",
39
41
  "Uploading image": "Aria status message indicating that the image is being uploaded. Example: 'Uploading image'.",
40
42
  "Image upload complete": "Aria status message indicating that the image has been uploaded successfully. Example: 'Image upload complete'.",
41
- "Error during image upload": "Aria status message indicating that an error has occurred during image upload. Example: 'Error during image upload'."
43
+ "Error during image upload": "Aria status message indicating that an error has occurred during image upload. Example: 'Error during image upload'.",
44
+ "Image": "Label for the widget inserted by the image feature (as in 'insert image')"
42
45
  }
@@ -85,10 +85,14 @@ msgctxt "The label for the upload image from computer toolbar button."
85
85
  msgid "Upload image from computer"
86
86
  msgstr "تحميل الصورة من الحاسوب"
87
87
 
88
- msgctxt "The label for the upload image from computer menu bar button."
88
+ msgctxt "The label for the upload image from computer menu bar button (standalone button)."
89
89
  msgid "Image from computer"
90
90
  msgstr "صورة من جهاز الكمبيوتر"
91
91
 
92
+ msgctxt "The label for the upload image from computer menu bar button (inside 'Image' menu)."
93
+ msgid "From computer"
94
+ msgstr ""
95
+
92
96
  msgctxt "The label for the replace image by upload from computer toolbar button."
93
97
  msgid "Replace image from computer"
94
98
  msgstr "استبدال الصورة من الحاسوب"
@@ -133,18 +137,22 @@ msgctxt "The accessibility label of the image resize dropdown for screen readers
133
137
  msgid "Image resize list"
134
138
  msgstr "قائمة تغيير حجم الصورة"
135
139
 
136
- msgctxt "The label of the form submit button if the image source URL input has no value."
137
- msgid "Insert"
138
- msgstr "إدراج"
139
-
140
- msgctxt "The label of the form submit button if the image source URL input has a value."
141
- msgid "Update"
142
- msgstr "تحديث"
143
-
144
140
  msgctxt "The input label for the Insert image via URL form."
145
141
  msgid "Insert image via URL"
146
142
  msgstr "إدراج صورة عبر عنوان URL"
147
143
 
144
+ msgctxt "The label for the insert image via url dropdown button."
145
+ msgid "Insert via URL"
146
+ msgstr ""
147
+
148
+ msgctxt "The label for the insert image via url menu bar button (standalone button)."
149
+ msgid "Image via URL"
150
+ msgstr ""
151
+
152
+ msgctxt "The label for the insert image via url menu bar button (inside 'Image' menu)."
153
+ msgid "Via URL"
154
+ msgstr ""
155
+
148
156
  msgctxt "The input label for the Insert image via URL form for a pre-existing image."
149
157
  msgid "Update image URL"
150
158
  msgstr "عنوان URL الخاص بتحديث الصورة"
@@ -176,3 +184,7 @@ msgstr "اكتمل تحميل الصورة"
176
184
  msgctxt "Aria status message indicating that an error has occurred during image upload. Example: 'Error during image upload'."
177
185
  msgid "Error during image upload"
178
186
  msgstr "حدث خطأ أثناء رفع الصورة"
187
+
188
+ msgctxt "Label for the widget inserted by the image feature (as in 'insert image')"
189
+ msgid "Image"
190
+ msgstr ""