@ckeditor/ckeditor5-image 44.3.0 → 45.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 (331) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/image.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -0
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/ckeditor5-metadata.json +9 -9
  76. package/dist/index-editor.css +72 -59
  77. package/dist/index.css +90 -79
  78. package/dist/index.css.map +1 -1
  79. package/dist/index.js +178 -120
  80. package/dist/index.js.map +1 -1
  81. package/dist/translations/af.js +1 -1
  82. package/dist/translations/af.umd.js +1 -1
  83. package/dist/translations/ar.js +1 -1
  84. package/dist/translations/ar.umd.js +1 -1
  85. package/dist/translations/ast.js +1 -1
  86. package/dist/translations/ast.umd.js +1 -1
  87. package/dist/translations/az.js +1 -1
  88. package/dist/translations/az.umd.js +1 -1
  89. package/dist/translations/be.d.ts +8 -0
  90. package/dist/translations/be.js +5 -0
  91. package/dist/translations/be.umd.js +11 -0
  92. package/dist/translations/bg.js +1 -1
  93. package/dist/translations/bg.umd.js +1 -1
  94. package/dist/translations/bn.js +1 -1
  95. package/dist/translations/bn.umd.js +1 -1
  96. package/dist/translations/bs.js +1 -1
  97. package/dist/translations/bs.umd.js +1 -1
  98. package/dist/translations/ca.js +1 -1
  99. package/dist/translations/ca.umd.js +1 -1
  100. package/dist/translations/cs.js +1 -1
  101. package/dist/translations/cs.umd.js +1 -1
  102. package/dist/translations/da.js +1 -1
  103. package/dist/translations/da.umd.js +1 -1
  104. package/dist/translations/de-ch.js +1 -1
  105. package/dist/translations/de-ch.umd.js +1 -1
  106. package/dist/translations/de.js +1 -1
  107. package/dist/translations/de.umd.js +1 -1
  108. package/dist/translations/el.js +1 -1
  109. package/dist/translations/el.umd.js +1 -1
  110. package/dist/translations/en-au.js +1 -1
  111. package/dist/translations/en-au.umd.js +1 -1
  112. package/dist/translations/en-gb.js +1 -1
  113. package/dist/translations/en-gb.umd.js +1 -1
  114. package/dist/translations/en.js +1 -1
  115. package/dist/translations/en.umd.js +1 -1
  116. package/dist/translations/eo.js +1 -1
  117. package/dist/translations/eo.umd.js +1 -1
  118. package/dist/translations/es-co.js +1 -1
  119. package/dist/translations/es-co.umd.js +1 -1
  120. package/dist/translations/es.js +1 -1
  121. package/dist/translations/es.umd.js +1 -1
  122. package/dist/translations/et.js +1 -1
  123. package/dist/translations/et.umd.js +1 -1
  124. package/dist/translations/eu.js +1 -1
  125. package/dist/translations/eu.umd.js +1 -1
  126. package/dist/translations/fa.js +1 -1
  127. package/dist/translations/fa.umd.js +1 -1
  128. package/dist/translations/fi.js +1 -1
  129. package/dist/translations/fi.umd.js +1 -1
  130. package/dist/translations/fr.js +1 -1
  131. package/dist/translations/fr.umd.js +1 -1
  132. package/dist/translations/gl.js +1 -1
  133. package/dist/translations/gl.umd.js +1 -1
  134. package/dist/translations/gu.js +1 -1
  135. package/dist/translations/gu.umd.js +1 -1
  136. package/dist/translations/he.js +1 -1
  137. package/dist/translations/he.umd.js +1 -1
  138. package/dist/translations/hi.js +1 -1
  139. package/dist/translations/hi.umd.js +1 -1
  140. package/dist/translations/hr.js +1 -1
  141. package/dist/translations/hr.umd.js +1 -1
  142. package/dist/translations/hu.js +1 -1
  143. package/dist/translations/hu.umd.js +1 -1
  144. package/dist/translations/hy.js +1 -1
  145. package/dist/translations/hy.umd.js +1 -1
  146. package/dist/translations/id.js +1 -1
  147. package/dist/translations/id.umd.js +1 -1
  148. package/dist/translations/it.js +1 -1
  149. package/dist/translations/it.umd.js +1 -1
  150. package/dist/translations/ja.js +1 -1
  151. package/dist/translations/ja.umd.js +1 -1
  152. package/dist/translations/jv.js +1 -1
  153. package/dist/translations/jv.umd.js +1 -1
  154. package/dist/translations/kk.js +1 -1
  155. package/dist/translations/kk.umd.js +1 -1
  156. package/dist/translations/km.js +1 -1
  157. package/dist/translations/km.umd.js +1 -1
  158. package/dist/translations/kn.js +1 -1
  159. package/dist/translations/kn.umd.js +1 -1
  160. package/dist/translations/ko.js +1 -1
  161. package/dist/translations/ko.umd.js +1 -1
  162. package/dist/translations/ku.js +1 -1
  163. package/dist/translations/ku.umd.js +1 -1
  164. package/dist/translations/lt.js +1 -1
  165. package/dist/translations/lt.umd.js +1 -1
  166. package/dist/translations/lv.js +1 -1
  167. package/dist/translations/lv.umd.js +1 -1
  168. package/dist/translations/ms.js +1 -1
  169. package/dist/translations/ms.umd.js +1 -1
  170. package/dist/translations/nb.js +1 -1
  171. package/dist/translations/nb.umd.js +1 -1
  172. package/dist/translations/ne.js +1 -1
  173. package/dist/translations/ne.umd.js +1 -1
  174. package/dist/translations/nl.js +1 -1
  175. package/dist/translations/nl.umd.js +1 -1
  176. package/dist/translations/no.js +1 -1
  177. package/dist/translations/no.umd.js +1 -1
  178. package/dist/translations/oc.js +1 -1
  179. package/dist/translations/oc.umd.js +1 -1
  180. package/dist/translations/pl.js +1 -1
  181. package/dist/translations/pl.umd.js +1 -1
  182. package/dist/translations/pt-br.js +1 -1
  183. package/dist/translations/pt-br.umd.js +1 -1
  184. package/dist/translations/pt.js +1 -1
  185. package/dist/translations/pt.umd.js +1 -1
  186. package/dist/translations/ro.js +1 -1
  187. package/dist/translations/ro.umd.js +1 -1
  188. package/dist/translations/ru.js +1 -1
  189. package/dist/translations/ru.umd.js +1 -1
  190. package/dist/translations/si.js +1 -1
  191. package/dist/translations/si.umd.js +1 -1
  192. package/dist/translations/sk.js +1 -1
  193. package/dist/translations/sk.umd.js +1 -1
  194. package/dist/translations/sl.js +1 -1
  195. package/dist/translations/sl.umd.js +1 -1
  196. package/dist/translations/sq.js +1 -1
  197. package/dist/translations/sq.umd.js +1 -1
  198. package/dist/translations/sr-latn.js +1 -1
  199. package/dist/translations/sr-latn.umd.js +1 -1
  200. package/dist/translations/sr.js +1 -1
  201. package/dist/translations/sr.umd.js +1 -1
  202. package/dist/translations/sv.js +1 -1
  203. package/dist/translations/sv.umd.js +1 -1
  204. package/dist/translations/th.js +1 -1
  205. package/dist/translations/th.umd.js +1 -1
  206. package/dist/translations/ti.js +1 -1
  207. package/dist/translations/ti.umd.js +1 -1
  208. package/dist/translations/tk.js +1 -1
  209. package/dist/translations/tk.umd.js +1 -1
  210. package/dist/translations/tr.js +1 -1
  211. package/dist/translations/tr.umd.js +1 -1
  212. package/dist/translations/tt.js +1 -1
  213. package/dist/translations/tt.umd.js +1 -1
  214. package/dist/translations/ug.js +1 -1
  215. package/dist/translations/ug.umd.js +1 -1
  216. package/dist/translations/uk.js +1 -1
  217. package/dist/translations/uk.umd.js +1 -1
  218. package/dist/translations/ur.js +1 -1
  219. package/dist/translations/ur.umd.js +1 -1
  220. package/dist/translations/uz.js +1 -1
  221. package/dist/translations/uz.umd.js +1 -1
  222. package/dist/translations/vi.js +1 -1
  223. package/dist/translations/vi.umd.js +1 -1
  224. package/dist/translations/zh-cn.js +1 -1
  225. package/dist/translations/zh-cn.umd.js +1 -1
  226. package/dist/translations/zh.js +1 -1
  227. package/dist/translations/zh.umd.js +1 -1
  228. package/lang/contexts.json +4 -2
  229. package/lang/translations/af.po +8 -0
  230. package/lang/translations/ar.po +8 -0
  231. package/lang/translations/ast.po +8 -0
  232. package/lang/translations/az.po +8 -0
  233. package/lang/translations/be.po +196 -0
  234. package/lang/translations/bg.po +8 -0
  235. package/lang/translations/bn.po +8 -0
  236. package/lang/translations/bs.po +8 -0
  237. package/lang/translations/ca.po +8 -0
  238. package/lang/translations/cs.po +8 -0
  239. package/lang/translations/da.po +8 -0
  240. package/lang/translations/de-ch.po +8 -0
  241. package/lang/translations/de.po +8 -0
  242. package/lang/translations/el.po +8 -0
  243. package/lang/translations/en-au.po +8 -0
  244. package/lang/translations/en-gb.po +8 -0
  245. package/lang/translations/en.po +8 -0
  246. package/lang/translations/eo.po +8 -0
  247. package/lang/translations/es-co.po +8 -0
  248. package/lang/translations/es.po +8 -0
  249. package/lang/translations/et.po +8 -0
  250. package/lang/translations/eu.po +8 -0
  251. package/lang/translations/fa.po +8 -0
  252. package/lang/translations/fi.po +8 -0
  253. package/lang/translations/fr.po +8 -0
  254. package/lang/translations/gl.po +8 -0
  255. package/lang/translations/gu.po +8 -0
  256. package/lang/translations/he.po +8 -0
  257. package/lang/translations/hi.po +8 -0
  258. package/lang/translations/hr.po +8 -0
  259. package/lang/translations/hu.po +8 -0
  260. package/lang/translations/hy.po +8 -0
  261. package/lang/translations/id.po +8 -0
  262. package/lang/translations/it.po +8 -0
  263. package/lang/translations/ja.po +8 -0
  264. package/lang/translations/jv.po +8 -0
  265. package/lang/translations/kk.po +8 -0
  266. package/lang/translations/km.po +8 -0
  267. package/lang/translations/kn.po +8 -0
  268. package/lang/translations/ko.po +8 -0
  269. package/lang/translations/ku.po +8 -0
  270. package/lang/translations/lt.po +8 -0
  271. package/lang/translations/lv.po +8 -0
  272. package/lang/translations/ms.po +8 -0
  273. package/lang/translations/nb.po +8 -0
  274. package/lang/translations/ne.po +8 -0
  275. package/lang/translations/nl.po +8 -0
  276. package/lang/translations/no.po +8 -0
  277. package/lang/translations/oc.po +8 -0
  278. package/lang/translations/pl.po +8 -0
  279. package/lang/translations/pt-br.po +8 -0
  280. package/lang/translations/pt.po +8 -0
  281. package/lang/translations/ro.po +8 -0
  282. package/lang/translations/ru.po +8 -0
  283. package/lang/translations/si.po +8 -0
  284. package/lang/translations/sk.po +8 -0
  285. package/lang/translations/sl.po +8 -0
  286. package/lang/translations/sq.po +8 -0
  287. package/lang/translations/sr-latn.po +8 -0
  288. package/lang/translations/sr.po +8 -0
  289. package/lang/translations/sv.po +8 -0
  290. package/lang/translations/th.po +8 -0
  291. package/lang/translations/ti.po +8 -0
  292. package/lang/translations/tk.po +8 -0
  293. package/lang/translations/tr.po +8 -0
  294. package/lang/translations/tt.po +8 -0
  295. package/lang/translations/ug.po +8 -0
  296. package/lang/translations/uk.po +8 -0
  297. package/lang/translations/ur.po +8 -0
  298. package/lang/translations/uz.po +8 -0
  299. package/lang/translations/vi.po +8 -0
  300. package/lang/translations/zh-cn.po +8 -0
  301. package/lang/translations/zh.po +8 -0
  302. package/package.json +13 -12
  303. package/src/autoimage.js +10 -0
  304. package/src/image/imagetypecommand.js +4 -0
  305. package/src/imagecaption/imagecaptionediting.js +7 -0
  306. package/src/imagecaption/imagecaptionui.js +3 -2
  307. package/src/imageinsert/imageinsertui.js +11 -6
  308. package/src/imageinsert/imageinsertviaurlui.js +7 -6
  309. package/src/imageinsert/ui/imageinsertformview.js +20 -0
  310. package/src/imageinsert/ui/imageinserturlview.js +8 -0
  311. package/src/imageresize/imagecustomresizeui.js +8 -5
  312. package/src/imageresize/imageresizebuttons.d.ts +3 -0
  313. package/src/imageresize/imageresizebuttons.js +21 -13
  314. package/src/imageresize/resizeimagecommand.d.ts +1 -1
  315. package/src/imageresize/ui/imagecustomresizeformview.d.ts +19 -12
  316. package/src/imageresize/ui/imagecustomresizeformview.js +112 -36
  317. package/src/imagestyle/imagestylecommand.js +10 -0
  318. package/src/imagestyle/imagestyleediting.js +12 -0
  319. package/src/imagestyle/imagestyleui.js +1 -1
  320. package/src/imagestyle/utils.d.ts +1 -4
  321. package/src/imagestyle/utils.js +16 -16
  322. package/src/imagetextalternative/imagetextalternativeui.js +11 -7
  323. package/src/imagetextalternative/ui/textalternativeformview.d.ts +17 -10
  324. package/src/imagetextalternative/ui/textalternativeformview.js +105 -35
  325. package/src/imagetoolbar.js +1 -1
  326. package/src/imageupload/imageuploadediting.js +17 -7
  327. package/src/imageupload/imageuploadprogress.js +59 -53
  328. package/src/imageupload/imageuploadui.js +3 -2
  329. package/src/imageutils.js +4 -7
  330. package/theme/imagecustomresizeform.css +0 -29
  331. package/theme/textalternativeform.css +0 -28
@@ -1 +1 @@
1
- !function(a){const i=a.uz=a.uz||{};i.dictionary=Object.assign(i.dictionary||{},{"Break text":"","Caption for image: %0":"","Caption for the image":"","Centered image":"Markazga tekislash","Change image text alternative":"Muqobil matnni tahrirlash",Custom:"","Custom image size":"","Enter image caption":"Rasm sarlavhasi","Error during image upload":"","From computer":"","Full size image":"Asl rasm hajmi",Image:"","Image from computer":"","Image resize list":"Hajmlar ro'yxati","Image toolbar":"Rasm asboblari paneli","Image upload complete":"","Image via URL":"","image widget":"Tasvirlar vidjeti","In line":"","Insert image":"Rasm kiritish","Insert image via URL":"Rasmni URL orqali kiritish","Insert via URL":"","Left aligned image":"Chapga tekislash",Original:"Asl","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"Rasm hajmini o'zgartirish","Resize image (in %0)":"","Resize image to %0":"Rasm hajmini %0 ga o‘zgartirish","Resize image to the original size":"Rasmning o'lchamini asl o'lchamiga o'zgartiring","Right aligned image":"O'ngga tekislash","Side image":"Yon tasvir","Text alternative":"Muqobil matn","The value must not be empty.":"","The value should be a plain number.":"","Update image URL":"Rasm URL manzilini o'zgartirish","Upload failed":"Yuklab olinmadi","Upload from computer":"","Upload image from computer":"","Uploading image":"","Via URL":"","Wrap text":"","You have no image upload permissions.":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(a){const i=a.uz=a.uz||{};i.dictionary=Object.assign(i.dictionary||{},{"Break text":"","Caption for image: %0":"","Caption for the image":"","Centered image":"Markazga tekislash","Change image text alternative":"Muqobil matnni tahrirlash",Custom:"","Custom image size":"","Enter image caption":"Rasm sarlavhasi","Error during image upload":"","From computer":"","Full size image":"Asl rasm hajmi",Image:"","Image from computer":"","Image Resize":"","Image resize list":"Hajmlar ro'yxati","Image toolbar":"Rasm asboblari paneli","Image upload complete":"","Image via URL":"","image widget":"Tasvirlar vidjeti","In line":"","Insert image":"Rasm kiritish","Insert image via URL":"Rasmni URL orqali kiritish","Insert via URL":"","Left aligned image":"Chapga tekislash",Original:"Asl","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"Rasm hajmini o'zgartirish","Resize image (in %0)":"","Resize image to %0":"Rasm hajmini %0 ga o‘zgartirish","Resize image to the original size":"Rasmning o'lchamini asl o'lchamiga o'zgartiring","Right aligned image":"O'ngga tekislash","Side image":"Yon tasvir","Text alternative":"Muqobil matn","Text Alternative":"","The value must not be empty.":"","The value should be a plain number.":"","Update image URL":"Rasm URL manzilini o'zgartirish","Upload failed":"Yuklab olinmadi","Upload from computer":"","Upload image from computer":"","Uploading image":"","Via URL":"","Wrap text":"","You have no image upload permissions.":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(n){const h=n.vi=n.vi||{};h.dictionary=Object.assign(h.dictionary||{},{"Break text":"Ngắt văn bản","Caption for image: %0":"Chú thích cho hình ảnh: %0","Caption for the image":"Chú thích cho hình ảnh","Centered image":"Ảnh canh giữa","Change image text alternative":"Đổi chữ alt của ảnh",Custom:"Tùy chỉnh","Custom image size":"Tùy chỉnh kích thước hình ảnh","Enter image caption":"Nhập mô tả ảnh","Error during image upload":"Xảy ra lỗi trong quá trình tải hình ảnh lên","From computer":"Từ máy tính","Full size image":"Ảnh đầy đủ",Image:"Hình ảnh","Image from computer":"Hình ảnh từ máy tính","Image resize list":"Danh sách ảnh đã chỉnh kích thước","Image toolbar":"Thanh công cụ hình ảnh","Image upload complete":"Hoàn tất quá trình tải hình ảnh lên","Image via URL":"Hình ảnh bằng URL","image widget":"tiện ích ảnh","In line":"Nội dòng","Insert image":"Chèn ảnh","Insert image via URL":"Chèn ảnh từ URL","Insert via URL":"Chèn bằng URL","Left aligned image":"Ảnh canh trái",Original:"Nguyên bản","Replace from computer":"Thay thế từ máy tính","Replace image":"Thay thế hình ảnh","Replace image from computer":"Thay thế hình ảnh từ máy tính","Resize image":"Chỉnh kích cỡ ảnh","Resize image (in %0)":"Đặt lại kích thước hình ảnh (bằng %0)","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","Right aligned image":"Ảnh canh phải","Side image":"Ảnh một bên","Text alternative":"Chữ alt","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.","Update image URL":"Cập nhật ảnh từ URL","Upload failed":"Tải thất bại","Upload from computer":"Tải lên từ máy tính","Upload image from computer":"Tải hình ảnh lên từ máy tính","Uploading image":"Đang tải hình ảnh lên","Via URL":"Bằng URL","Wrap text":"Bọc văn bản","You have no image upload permissions.":"Bạn không có quyền tải ảnh lên."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(n){const h=n.vi=n.vi||{};h.dictionary=Object.assign(h.dictionary||{},{"Break text":"Ngắt văn bản","Caption for image: %0":"Chú thích cho hình ảnh: %0","Caption for the image":"Chú thích cho hình ảnh","Centered image":"Ảnh canh giữa","Change image text alternative":"Đổi chữ alt của ảnh",Custom:"Tùy chỉnh","Custom image size":"Tùy chỉnh kích thước hình ảnh","Enter image caption":"Nhập mô tả ảnh","Error during image upload":"Xảy ra lỗi trong quá trình tải hình ảnh lên","From computer":"Từ máy tính","Full size image":"Ảnh đầy đủ",Image:"Hình ảnh","Image from computer":"Hình ảnh từ máy tính","Image Resize":"","Image resize list":"Danh sách ảnh đã chỉnh kích thước","Image toolbar":"Thanh công cụ hình ảnh","Image upload complete":"Hoàn tất quá trình tải hình ảnh lên","Image via URL":"Hình ảnh bằng URL","image widget":"tiện ích ảnh","In line":"Nội dòng","Insert image":"Chèn ảnh","Insert image via URL":"Chèn ảnh từ URL","Insert via URL":"Chèn bằng URL","Left aligned image":"Ảnh canh trái",Original:"Nguyên bản","Replace from computer":"Thay thế từ máy tính","Replace image":"Thay thế hình ảnh","Replace image from computer":"Thay thế hình ảnh từ máy tính","Resize image":"Chỉnh kích cỡ ảnh","Resize image (in %0)":"Đặt lại kích thước hình ảnh (bằng %0)","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","Right aligned image":"Ảnh canh phải","Side image":"Ảnh một bên","Text alternative":"Chữ alt","Text Alternative":"","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.","Update image URL":"Cập nhật ảnh từ URL","Upload failed":"Tải thất bại","Upload from computer":"Tải lên từ máy tính","Upload image from computer":"Tải hình ảnh lên từ máy tính","Uploading image":"Đang tải hình ảnh lên","Via URL":"Bằng URL","Wrap text":"Bọc văn bản","You have no image upload permissions.":"Bạn không có quyền tải ảnh lên."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(e){const a=e["zh-cn"]=e["zh-cn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Break text":"文字断行","Caption for image: %0":"图片说明:%0","Caption for the image":"图片说明:","Centered image":"图片居中","Change image text alternative":"更改图片替换文本",Custom:"自定义","Custom image size":"自定义图片大小","Enter image caption":"输入图片标题","Error during image upload":"图片上传时出错","From computer":"从电脑","Full size image":"全尺寸图片",Image:"图像","Image from computer":"从计算机中选择图片","Image resize list":"图片大小列表","Image toolbar":"图片工具栏","Image upload complete":"图片上传完成","Image via URL":"来自 URL 的图像","image widget":"图片组件","In line":"行内","Insert image":"插入图像","Insert image via URL":"通过URL地址插入图片","Insert via URL":"通过 URL 插入","Left aligned image":"图片左侧对齐",Original:"原始大小","Replace from computer":"从电脑替换","Replace image":"替换图片","Replace image from computer":"从电脑替换图片","Resize image":"调整图像大小","Resize image (in %0)":"调整图片大小(单位为 %0)","Resize image to %0":"调整图像大小为%0","Resize image to the original size":"调整图像大小为原始大小","Right aligned image":"图片右侧对齐","Side image":"图片侧边显示","Text alternative":"替换文本","The value must not be empty.":"该值不能为空。","The value should be a plain number.":"该值应当为纯数字。","Update image URL":"更新图片URL地址","Upload failed":"上传失败","Upload from computer":"从电脑上传","Upload image from computer":"从电脑上传图片","Uploading image":"正在上传图片","Via URL":"通过 URL","Wrap text":"文字环绕","You have no image upload permissions.":"您没有上传图片的权限。"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const a=e["zh-cn"]=e["zh-cn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Break text":"文字断行","Caption for image: %0":"图片说明:%0","Caption for the image":"图片说明:","Centered image":"图片居中","Change image text alternative":"更改图片替换文本",Custom:"自定义","Custom image size":"自定义图片大小","Enter image caption":"输入图片标题","Error during image upload":"图片上传时出错","From computer":"从电脑","Full size image":"全尺寸图片",Image:"图像","Image from computer":"从计算机中选择图片","Image Resize":"","Image resize list":"图片大小列表","Image toolbar":"图片工具栏","Image upload complete":"图片上传完成","Image via URL":"来自 URL 的图像","image widget":"图片组件","In line":"行内","Insert image":"插入图像","Insert image via URL":"通过URL地址插入图片","Insert via URL":"通过 URL 插入","Left aligned image":"图片左侧对齐",Original:"原始大小","Replace from computer":"从电脑替换","Replace image":"替换图片","Replace image from computer":"从电脑替换图片","Resize image":"调整图像大小","Resize image (in %0)":"调整图片大小(单位为 %0)","Resize image to %0":"调整图像大小为%0","Resize image to the original size":"调整图像大小为原始大小","Right aligned image":"图片右侧对齐","Side image":"图片侧边显示","Text alternative":"替换文本","Text Alternative":"","The value must not be empty.":"该值不能为空。","The value should be a plain number.":"该值应当为纯数字。","Update image URL":"更新图片URL地址","Upload failed":"上传失败","Upload from computer":"从电脑上传","Upload image from computer":"从电脑上传图片","Uploading image":"正在上传图片","Via URL":"通过 URL","Wrap text":"文字环绕","You have no image upload permissions.":"您没有上传图片的权限。"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(e){const a=e.zh=e.zh||{};a.dictionary=Object.assign(a.dictionary||{},{"Break text":"上及下","Caption for image: %0":"影像標題:%0","Caption for the image":"影像的標題","Centered image":"置中圖片","Change image text alternative":"修改圖片的替代文字",Custom:"自訂","Custom image size":"自訂圖片大小","Enter image caption":"輸入圖片說明","Error during image upload":"圖片上傳期間發生錯誤","From computer":"從電腦","Full size image":"完整尺寸圖片",Image:"圖片","Image from computer":"來自電腦的圖片","Image resize list":"圖片縮放清單","Image toolbar":"圖片工具","Image upload complete":"圖片上傳完成","Image via URL":"透過網址插入圖片","image widget":"圖片小工具","In line":"行中","Insert image":"插入圖片","Insert image via URL":"使用連結插入圖片","Insert via URL":"透過網址插入","Left aligned image":"向左對齊圖片",Original:"原始圖片","Replace from computer":"從電腦替換","Replace image":"替換圖片","Replace image from computer":"從電腦替換圖片","Resize image":"縮放圖片","Resize image (in %0)":"調整圖片大小(單位為 %0)","Resize image to %0":"縮放圖片到 %0","Resize image to the original size":"縮放圖片到原始尺寸","Right aligned image":"向右對齊圖片","Side image":"側邊圖片","Text alternative":"替代文字","The value must not be empty.":"數值不得為空白。","The value should be a plain number.":"數值應為純數字。","Update image URL":"更新圖片連結","Upload failed":"上傳失敗","Upload from computer":"從電腦上傳","Upload image from computer":"從電腦上傳圖片","Uploading image":"正在上傳圖片","Via URL":"透過網址","Wrap text":"文繞圖","You have no image upload permissions.":"您沒有圖片上傳權限。"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const a=e.zh=e.zh||{};a.dictionary=Object.assign(a.dictionary||{},{"Break text":"上及下","Caption for image: %0":"影像標題:%0","Caption for the image":"影像的標題","Centered image":"置中圖片","Change image text alternative":"修改圖片的替代文字",Custom:"自訂","Custom image size":"自訂圖片大小","Enter image caption":"輸入圖片說明","Error during image upload":"圖片上傳期間發生錯誤","From computer":"從電腦","Full size image":"完整尺寸圖片",Image:"圖片","Image from computer":"來自電腦的圖片","Image Resize":"","Image resize list":"圖片縮放清單","Image toolbar":"圖片工具","Image upload complete":"圖片上傳完成","Image via URL":"透過網址插入圖片","image widget":"圖片小工具","In line":"行中","Insert image":"插入圖片","Insert image via URL":"使用連結插入圖片","Insert via URL":"透過網址插入","Left aligned image":"向左對齊圖片",Original:"原始圖片","Replace from computer":"從電腦替換","Replace image":"替換圖片","Replace image from computer":"從電腦替換圖片","Resize image":"縮放圖片","Resize image (in %0)":"調整圖片大小(單位為 %0)","Resize image to %0":"縮放圖片到 %0","Resize image to the original size":"縮放圖片到原始尺寸","Right aligned image":"向右對齊圖片","Side image":"側邊圖片","Text alternative":"替代文字","Text Alternative":"","The value must not be empty.":"數值不得為空白。","The value should be a plain number.":"數值應為純數字。","Update image URL":"更新圖片連結","Upload failed":"上傳失敗","Upload from computer":"從電腦上傳","Upload image from computer":"從電腦上傳圖片","Uploading image":"正在上傳圖片","Via URL":"透過網址","Wrap text":"文繞圖","You have no image upload permissions.":"您沒有圖片上傳權限。"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -23,7 +23,7 @@
23
23
  {
24
24
  "type": "Button",
25
25
  "name": "imageTextAlternative",
26
- "iconPath": "@ckeditor/ckeditor5-core/theme/icons/text-alternative.svg",
26
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/text-alternative.svg",
27
27
  "toolbars": [
28
28
  "image.toolbar"
29
29
  ]
@@ -57,7 +57,7 @@
57
57
  {
58
58
  "type": "Button",
59
59
  "name": "imageTextAlternative",
60
- "iconPath": "@ckeditor/ckeditor5-core/theme/icons/text-alternative.svg",
60
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/text-alternative.svg",
61
61
  "toolbars": [
62
62
  "image.toolbar"
63
63
  ]
@@ -97,7 +97,7 @@
97
97
  {
98
98
  "type": "Button",
99
99
  "name": "toggleImageCaption",
100
- "iconPath": "@ckeditor/ckeditor5-core/theme/icons/caption.svg",
100
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/caption.svg",
101
101
  "toolbars": [
102
102
  "image.toolbar"
103
103
  ]
@@ -160,7 +160,7 @@
160
160
  "toolbars": [
161
161
  "image.toolbar"
162
162
  ],
163
- "iconPath": "@ckeditor/ckeditor5-core/theme/icons/object-inline.svg"
163
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/object-inline.svg"
164
164
  },
165
165
  {
166
166
  "type": "Button",
@@ -168,7 +168,7 @@
168
168
  "toolbars": [
169
169
  "image.toolbar"
170
170
  ],
171
- "iconPath": "@ckeditor/ckeditor5-core/theme/icons/object-center.svg"
171
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/object-center.svg"
172
172
  },
173
173
  {
174
174
  "type": "Button",
@@ -176,7 +176,7 @@
176
176
  "toolbars": [
177
177
  "image.toolbar"
178
178
  ],
179
- "iconPath": "@ckeditor/ckeditor5-core/theme/icons/object-right.svg"
179
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/object-right.svg"
180
180
  }
181
181
  ],
182
182
  "htmlOutput": [
@@ -231,7 +231,7 @@
231
231
  {
232
232
  "type": "Button",
233
233
  "name": "uploadImage",
234
- "iconPath": "@ckeditor/ckeditor5-core/theme/icons/image.svg"
234
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/image.svg"
235
235
  }
236
236
  ]
237
237
  },
@@ -248,7 +248,7 @@
248
248
  {
249
249
  "type": "SplitButton",
250
250
  "name": "insertImage",
251
- "iconPath": "@ckeditor/ckeditor5-core/theme/icons/image.svg"
251
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/image.svg"
252
252
  }
253
253
  ]
254
254
  },
@@ -262,7 +262,7 @@
262
262
  {
263
263
  "type": "Button",
264
264
  "name": "insertImageViaUrl",
265
- "iconPath": "@ckeditor/ckeditor5-core/theme/icons/image-url.svg"
265
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/image-url.svg"
266
266
  }
267
267
  ]
268
268
  },
@@ -54,36 +54,6 @@
54
54
  width:4em;
55
55
  }
56
56
 
57
- .ck.ck-image-custom-resize-form{
58
- display:flex;
59
- flex-direction:row;
60
- flex-wrap:nowrap;
61
- align-items:flex-start;
62
- }
63
-
64
- .ck.ck-image-custom-resize-form .ck-labeled-field-view{
65
- display:inline-block;
66
- }
67
-
68
- .ck.ck-image-custom-resize-form .ck-label{
69
- display:none;
70
- }
71
-
72
- @media screen and (max-width: 600px){
73
-
74
- .ck.ck-image-custom-resize-form{
75
- flex-wrap:wrap;
76
- }
77
-
78
- .ck.ck-image-custom-resize-form .ck-labeled-field-view{
79
- flex-basis:100%;
80
- }
81
-
82
- .ck.ck-image-custom-resize-form .ck-button{
83
- flex-basis:50%;
84
- }
85
- }
86
-
87
57
  :root{
88
58
  --ck-image-style-spacing:1.5em;
89
59
  --ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing) / 2);
@@ -108,35 +78,6 @@
108
78
  background-color:var(--ck-color-button-on-hover-background);
109
79
  }
110
80
 
111
- .ck.ck-text-alternative-form{
112
- display:flex;
113
- flex-direction:row;
114
- flex-wrap:nowrap;
115
- }
116
-
117
- .ck.ck-text-alternative-form .ck-labeled-field-view{
118
- display:inline-block;
119
- }
120
-
121
- .ck.ck-text-alternative-form .ck-label{
122
- display:none;
123
- }
124
-
125
- @media screen and (max-width: 600px){
126
-
127
- .ck.ck-text-alternative-form{
128
- flex-wrap:wrap;
129
- }
130
-
131
- .ck.ck-text-alternative-form .ck-labeled-field-view{
132
- flex-basis:100%;
133
- }
134
-
135
- .ck.ck-text-alternative-form .ck-button{
136
- flex-basis:50%;
137
- }
138
- }
139
-
140
81
  .ck-vertical-form .ck-button::after{
141
82
  content:"";
142
83
  width:0;
@@ -167,6 +108,78 @@
167
108
  }
168
109
  }
169
110
 
111
+ :root{
112
+ --ck-form-default-width:340px;
113
+ }
114
+
115
+ .ck.ck-form{
116
+ padding:0 0 var(--ck-spacing-large);
117
+ }
118
+
119
+ .ck.ck-form.ck-form_default-width{
120
+ width:var(--ck-form-default-width);
121
+ }
122
+
123
+ .ck.ck-form:focus{
124
+ outline:none;
125
+ }
126
+
127
+ .ck.ck-form .ck.ck-input-text,
128
+ .ck.ck-form .ck.ck-input-number{
129
+ min-width:100%;
130
+ width:0;
131
+ }
132
+
133
+ .ck.ck-form .ck.ck-dropdown{
134
+ min-width:100%;
135
+ }
136
+
137
+ .ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus){
138
+ border:1px solid var(--ck-color-base-border);
139
+ }
140
+
141
+ .ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label{
142
+ width:100%;
143
+ }
144
+
145
+ @media screen and (max-width: 600px){
146
+
147
+ .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit{
148
+ flex-direction:column;
149
+ align-items:stretch;
150
+ padding:0;
151
+ }
152
+ }
153
+
154
+ @media screen and (max-width: 600px){
155
+
156
+ .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit > .ck{
157
+ margin:var(--ck-spacing-large) var(--ck-spacing-large) 0;
158
+ }
159
+ }
160
+
161
+ @media screen and (max-width: 600px){
162
+
163
+ .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit .ck-button_with-text{
164
+ justify-content:center;
165
+ }
166
+ }
167
+
168
+ @media screen and (max-width: 600px){
169
+
170
+ .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_large-bottom-padding{
171
+ padding-bottom:var(--ck-spacing-large);
172
+ }
173
+ }
174
+
175
+ [dir="ltr"] .ck.ck-form.ck-responsive-form > :not(:first-child){
176
+ margin-left:0;
177
+ }
178
+
179
+ [dir="rtl"] .ck.ck-form.ck-responsive-form > :not(:last-child){
180
+ margin-left:0;
181
+ }
182
+
170
183
  .ck.ck-editor__editable .image,
171
184
  .ck.ck-editor__editable .image-inline{
172
185
  position:relative;
package/dist/index.css CHANGED
@@ -125,46 +125,6 @@
125
125
  width: 4em;
126
126
  }
127
127
 
128
- /*
129
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
130
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
131
- */
132
-
133
- /*
134
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
135
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
136
- */
137
-
138
- .ck.ck-image-custom-resize-form {
139
- display: flex;
140
- flex-direction: row;
141
- flex-wrap: nowrap;
142
- align-items: flex-start;
143
- }
144
-
145
- .ck.ck-image-custom-resize-form .ck-labeled-field-view {
146
- display: inline-block;
147
- }
148
-
149
- .ck.ck-image-custom-resize-form .ck-label {
150
- display: none;
151
- }
152
-
153
- @media screen and (max-width: 600px) {
154
-
155
- .ck.ck-image-custom-resize-form {
156
- flex-wrap: wrap;
157
- }
158
-
159
- .ck.ck-image-custom-resize-form .ck-labeled-field-view {
160
- flex-basis: 100%;
161
- }
162
-
163
- .ck.ck-image-custom-resize-form .ck-button {
164
- flex-basis: 50%;
165
- }
166
- }
167
-
168
128
  /*
169
129
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
170
130
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -289,45 +249,6 @@
289
249
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
290
250
  */
291
251
 
292
- .ck.ck-text-alternative-form {
293
- display: flex;
294
- flex-direction: row;
295
- flex-wrap: nowrap;
296
- }
297
-
298
- .ck.ck-text-alternative-form .ck-labeled-field-view {
299
- display: inline-block;
300
- }
301
-
302
- .ck.ck-text-alternative-form .ck-label {
303
- display: none;
304
- }
305
-
306
- @media screen and (max-width: 600px) {
307
-
308
- .ck.ck-text-alternative-form {
309
- flex-wrap: wrap;
310
- }
311
-
312
- .ck.ck-text-alternative-form .ck-labeled-field-view {
313
- flex-basis: 100%;
314
- }
315
-
316
- .ck.ck-text-alternative-form .ck-button {
317
- flex-basis: 50%;
318
- }
319
- }
320
-
321
- /*
322
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
323
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
324
- */
325
-
326
- /*
327
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
328
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
329
- */
330
-
331
252
  .ck-vertical-form .ck-button::after {
332
253
  content: "";
333
254
  width: 0;
@@ -358,6 +279,96 @@
358
279
  }
359
280
  }
360
281
 
282
+ /*
283
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
284
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
285
+ */
286
+
287
+ /*
288
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
289
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
290
+ */
291
+ /*
292
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
293
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
294
+ */
295
+
296
+ :root {
297
+ --ck-form-default-width: 340px;
298
+ }
299
+
300
+ .ck.ck-form {
301
+ padding: 0 0 var(--ck-spacing-large);
302
+ }
303
+
304
+ .ck.ck-form.ck-form_default-width {
305
+ width: var(--ck-form-default-width);
306
+ }
307
+
308
+ .ck.ck-form:focus {
309
+ outline: none;
310
+ }
311
+
312
+ .ck.ck-form .ck.ck-input-text,
313
+ .ck.ck-form .ck.ck-input-number {
314
+ min-width: 100%;
315
+ width: 0;
316
+ }
317
+
318
+ .ck.ck-form .ck.ck-dropdown {
319
+ min-width: 100%;
320
+ }
321
+
322
+ .ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus) {
323
+ border: 1px solid var(--ck-color-base-border);
324
+ }
325
+
326
+ .ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label {
327
+ width: 100%;
328
+ }
329
+
330
+ /* Default `ck-responsive-form` customization when it lies next to `ck-form` class */
331
+
332
+ @media screen and (max-width: 600px) {
333
+
334
+ .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit {
335
+ flex-direction: column;
336
+ align-items: stretch;
337
+ padding: 0;
338
+ }
339
+ }
340
+
341
+ @media screen and (max-width: 600px) {
342
+
343
+ .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit > .ck {
344
+ margin: var(--ck-spacing-large) var(--ck-spacing-large) 0;
345
+ }
346
+ }
347
+
348
+ @media screen and (max-width: 600px) {
349
+
350
+ .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit .ck-button_with-text {
351
+ justify-content: center;
352
+ }
353
+ }
354
+
355
+ @media screen and (max-width: 600px) {
356
+
357
+ .ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_large-bottom-padding {
358
+ padding-bottom: var(--ck-spacing-large);
359
+ }
360
+ }
361
+
362
+ [dir="ltr"] .ck.ck-form.ck-responsive-form > :not(:first-child) {
363
+ margin-left: 0;
364
+ }
365
+
366
+ [dir="rtl"] .ck.ck-form.ck-responsive-form > :not(:last-child) {
367
+ margin-left: 0;
368
+ }
369
+
370
+ /* End of `ck-responsive-form` customization */
371
+
361
372
  /*
362
373
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
363
374
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options