@ckeditor/ckeditor5-image 41.3.0-alpha.0 → 41.3.0-alpha.2

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 (193) hide show
  1. package/build/image.js +1 -1
  2. package/dist/editor-index.css +12 -0
  3. package/dist/index.css +42 -2
  4. package/dist/index.css.map +1 -1
  5. package/dist/translations/ar.d.ts +8 -0
  6. package/dist/translations/ar.js +5 -0
  7. package/dist/translations/ast.d.ts +8 -0
  8. package/dist/translations/ast.js +5 -0
  9. package/dist/translations/az.d.ts +8 -0
  10. package/dist/translations/az.js +5 -0
  11. package/dist/translations/bg.d.ts +8 -0
  12. package/dist/translations/bg.js +5 -0
  13. package/dist/translations/bn.d.ts +8 -0
  14. package/dist/translations/bn.js +5 -0
  15. package/dist/translations/bs.d.ts +8 -0
  16. package/dist/translations/bs.js +5 -0
  17. package/dist/translations/ca.d.ts +8 -0
  18. package/dist/translations/ca.js +5 -0
  19. package/dist/translations/cs.d.ts +8 -0
  20. package/dist/translations/cs.js +5 -0
  21. package/dist/translations/da.d.ts +8 -0
  22. package/dist/translations/da.js +5 -0
  23. package/dist/translations/de-ch.d.ts +8 -0
  24. package/dist/translations/de-ch.js +5 -0
  25. package/dist/translations/de.d.ts +8 -0
  26. package/dist/translations/de.js +5 -0
  27. package/dist/translations/el.d.ts +8 -0
  28. package/dist/translations/el.js +5 -0
  29. package/dist/translations/en-au.d.ts +8 -0
  30. package/dist/translations/en-au.js +5 -0
  31. package/dist/translations/en-gb.d.ts +8 -0
  32. package/dist/translations/en-gb.js +5 -0
  33. package/dist/translations/en.d.ts +8 -0
  34. package/dist/translations/en.js +5 -0
  35. package/dist/translations/eo.d.ts +8 -0
  36. package/dist/translations/eo.js +5 -0
  37. package/dist/translations/es.d.ts +8 -0
  38. package/dist/translations/es.js +5 -0
  39. package/dist/translations/et.d.ts +8 -0
  40. package/dist/translations/et.js +5 -0
  41. package/dist/translations/eu.d.ts +8 -0
  42. package/dist/translations/eu.js +5 -0
  43. package/dist/translations/fa.d.ts +8 -0
  44. package/dist/translations/fa.js +5 -0
  45. package/dist/translations/fi.d.ts +8 -0
  46. package/dist/translations/fi.js +5 -0
  47. package/dist/translations/fr.d.ts +8 -0
  48. package/dist/translations/fr.js +5 -0
  49. package/dist/translations/gl.d.ts +8 -0
  50. package/dist/translations/gl.js +5 -0
  51. package/dist/translations/he.d.ts +8 -0
  52. package/dist/translations/he.js +5 -0
  53. package/dist/translations/hi.d.ts +8 -0
  54. package/dist/translations/hi.js +5 -0
  55. package/dist/translations/hr.d.ts +8 -0
  56. package/dist/translations/hr.js +5 -0
  57. package/dist/translations/hu.d.ts +8 -0
  58. package/dist/translations/hu.js +5 -0
  59. package/dist/translations/id.d.ts +8 -0
  60. package/dist/translations/id.js +5 -0
  61. package/dist/translations/it.d.ts +8 -0
  62. package/dist/translations/it.js +5 -0
  63. package/dist/translations/ja.d.ts +8 -0
  64. package/dist/translations/ja.js +5 -0
  65. package/dist/translations/jv.d.ts +8 -0
  66. package/dist/translations/jv.js +5 -0
  67. package/dist/translations/km.d.ts +8 -0
  68. package/dist/translations/km.js +5 -0
  69. package/dist/translations/kn.d.ts +8 -0
  70. package/dist/translations/kn.js +5 -0
  71. package/dist/translations/ko.d.ts +8 -0
  72. package/dist/translations/ko.js +5 -0
  73. package/dist/translations/ku.d.ts +8 -0
  74. package/dist/translations/ku.js +5 -0
  75. package/dist/translations/lt.d.ts +8 -0
  76. package/dist/translations/lt.js +5 -0
  77. package/dist/translations/lv.d.ts +8 -0
  78. package/dist/translations/lv.js +5 -0
  79. package/dist/translations/ms.d.ts +8 -0
  80. package/dist/translations/ms.js +5 -0
  81. package/dist/translations/nb.d.ts +8 -0
  82. package/dist/translations/nb.js +5 -0
  83. package/dist/translations/ne.d.ts +8 -0
  84. package/dist/translations/ne.js +5 -0
  85. package/dist/translations/nl.d.ts +8 -0
  86. package/dist/translations/nl.js +5 -0
  87. package/dist/translations/no.d.ts +8 -0
  88. package/dist/translations/no.js +5 -0
  89. package/dist/translations/pl.d.ts +8 -0
  90. package/dist/translations/pl.js +5 -0
  91. package/dist/translations/pt-br.d.ts +8 -0
  92. package/dist/translations/pt-br.js +5 -0
  93. package/dist/translations/pt.d.ts +8 -0
  94. package/dist/translations/pt.js +5 -0
  95. package/dist/translations/ro.d.ts +8 -0
  96. package/dist/translations/ro.js +5 -0
  97. package/dist/translations/ru.d.ts +8 -0
  98. package/dist/translations/ru.js +5 -0
  99. package/dist/translations/si.d.ts +8 -0
  100. package/dist/translations/si.js +5 -0
  101. package/dist/translations/sk.d.ts +8 -0
  102. package/dist/translations/sk.js +5 -0
  103. package/dist/translations/sq.d.ts +8 -0
  104. package/dist/translations/sq.js +5 -0
  105. package/dist/translations/sr-latn.d.ts +8 -0
  106. package/dist/translations/sr-latn.js +5 -0
  107. package/dist/translations/sr.d.ts +8 -0
  108. package/dist/translations/sr.js +5 -0
  109. package/dist/translations/sv.d.ts +8 -0
  110. package/dist/translations/sv.js +5 -0
  111. package/dist/translations/th.d.ts +8 -0
  112. package/dist/translations/th.js +5 -0
  113. package/dist/translations/tk.d.ts +8 -0
  114. package/dist/translations/tk.js +5 -0
  115. package/dist/translations/tr.d.ts +8 -0
  116. package/dist/translations/tr.js +5 -0
  117. package/dist/translations/tt.d.ts +8 -0
  118. package/dist/translations/tt.js +5 -0
  119. package/dist/translations/ug.d.ts +8 -0
  120. package/dist/translations/ug.js +5 -0
  121. package/dist/translations/uk.d.ts +8 -0
  122. package/dist/translations/uk.js +5 -0
  123. package/dist/translations/ur.d.ts +8 -0
  124. package/dist/translations/ur.js +5 -0
  125. package/dist/translations/uz.d.ts +8 -0
  126. package/dist/translations/uz.js +5 -0
  127. package/dist/translations/vi.d.ts +8 -0
  128. package/dist/translations/vi.js +5 -0
  129. package/dist/translations/zh-cn.d.ts +8 -0
  130. package/dist/translations/zh-cn.js +5 -0
  131. package/dist/translations/zh.d.ts +8 -0
  132. package/dist/translations/zh.js +5 -0
  133. package/dist/types/augmentation.d.ts +4 -0
  134. package/dist/types/autoimage.d.ts +4 -0
  135. package/dist/types/image/converters.d.ts +4 -0
  136. package/dist/types/image/imageblockediting.d.ts +4 -0
  137. package/dist/types/image/imageediting.d.ts +4 -0
  138. package/dist/types/image/imageinlineediting.d.ts +4 -0
  139. package/dist/types/image/imageloadobserver.d.ts +4 -0
  140. package/dist/types/image/imageplaceholder.d.ts +4 -0
  141. package/dist/types/image/imagetypecommand.d.ts +4 -0
  142. package/dist/types/image/insertimagecommand.d.ts +4 -0
  143. package/dist/types/image/replaceimagesourcecommand.d.ts +4 -0
  144. package/dist/types/image/ui/utils.d.ts +4 -0
  145. package/dist/types/image/utils.d.ts +4 -0
  146. package/dist/types/image.d.ts +4 -0
  147. package/dist/types/imageblock.d.ts +4 -0
  148. package/dist/types/imagecaption/imagecaptionediting.d.ts +4 -0
  149. package/dist/types/imagecaption/imagecaptionui.d.ts +4 -0
  150. package/dist/types/imagecaption/imagecaptionutils.d.ts +4 -0
  151. package/dist/types/imagecaption/toggleimagecaptioncommand.d.ts +4 -0
  152. package/dist/types/imagecaption.d.ts +4 -0
  153. package/dist/types/imageconfig.d.ts +4 -0
  154. package/dist/types/imageinline.d.ts +4 -0
  155. package/dist/types/imageinsert/imageinsertui.d.ts +4 -0
  156. package/dist/types/imageinsert/imageinsertviaurlui.d.ts +4 -0
  157. package/dist/types/imageinsert/ui/imageinsertformview.d.ts +4 -0
  158. package/dist/types/imageinsert/ui/imageinserturlview.d.ts +4 -0
  159. package/dist/types/imageinsert.d.ts +4 -0
  160. package/dist/types/imageinsertviaurl.d.ts +4 -0
  161. package/dist/types/imageresize/imageresizebuttons.d.ts +4 -0
  162. package/dist/types/imageresize/imageresizeediting.d.ts +8 -0
  163. package/dist/types/imageresize/imageresizehandles.d.ts +4 -0
  164. package/dist/types/imageresize/resizeimagecommand.d.ts +4 -0
  165. package/dist/types/imageresize.d.ts +4 -0
  166. package/dist/types/imagesizeattributes.d.ts +4 -0
  167. package/dist/types/imagestyle/converters.d.ts +4 -0
  168. package/dist/types/imagestyle/imagestylecommand.d.ts +4 -0
  169. package/dist/types/imagestyle/imagestyleediting.d.ts +4 -0
  170. package/dist/types/imagestyle/imagestyleui.d.ts +4 -0
  171. package/dist/types/imagestyle/utils.d.ts +4 -0
  172. package/dist/types/imagestyle.d.ts +4 -0
  173. package/dist/types/imagetextalternative/imagetextalternativecommand.d.ts +4 -0
  174. package/dist/types/imagetextalternative/imagetextalternativeediting.d.ts +4 -0
  175. package/dist/types/imagetextalternative/imagetextalternativeui.d.ts +4 -0
  176. package/dist/types/imagetextalternative/ui/textalternativeformview.d.ts +4 -0
  177. package/dist/types/imagetextalternative.d.ts +4 -0
  178. package/dist/types/imagetoolbar.d.ts +4 -0
  179. package/dist/types/imageupload/imageuploadediting.d.ts +4 -0
  180. package/dist/types/imageupload/imageuploadprogress.d.ts +4 -0
  181. package/dist/types/imageupload/imageuploadui.d.ts +4 -0
  182. package/dist/types/imageupload/uploadimagecommand.d.ts +4 -0
  183. package/dist/types/imageupload/utils.d.ts +4 -0
  184. package/dist/types/imageupload.d.ts +4 -0
  185. package/dist/types/imageutils.d.ts +4 -0
  186. package/dist/types/index.d.ts +4 -0
  187. package/dist/types/pictureediting.d.ts +4 -0
  188. package/package.json +3 -3
  189. package/src/imageresize/imageresizeediting.d.ts +4 -0
  190. package/src/imageresize/imageresizeediting.js +6 -1
  191. package/theme/imagecaption.css +2 -2
  192. package/dist/index.js +0 -5860
  193. package/dist/index.js.map +0 -1
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -27,6 +31,10 @@ export default class ImageResizeEditing extends Plugin {
27
31
  * @inheritDoc
28
32
  */
29
33
  init(): void;
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ afterInit(): void;
30
38
  private _registerSchema;
31
39
  /**
32
40
  * Registers image resize converters.
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-image",
3
- "version": "41.3.0-alpha.0",
3
+ "version": "41.3.0-alpha.2",
4
4
  "description": "Image feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,8 +13,8 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-ui": "41.3.0-alpha.0",
17
- "ckeditor5": "41.3.0-alpha.0",
16
+ "@ckeditor/ckeditor5-ui": "41.3.0-alpha.2",
17
+ "ckeditor5": "41.3.0-alpha.2",
18
18
  "lodash-es": "4.17.21"
19
19
  },
20
20
  "author": "CKSource (http://cksource.com/)",
@@ -27,6 +27,10 @@ export default class ImageResizeEditing extends Plugin {
27
27
  * @inheritDoc
28
28
  */
29
29
  init(): void;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ afterInit(): void;
30
34
  private _registerSchema;
31
35
  /**
32
36
  * Registers image resize converters.
@@ -60,13 +60,18 @@ export default class ImageResizeEditing extends Plugin {
60
60
  init() {
61
61
  const editor = this.editor;
62
62
  const resizeImageCommand = new ResizeImageCommand(editor);
63
- this._registerSchema();
64
63
  this._registerConverters('imageBlock');
65
64
  this._registerConverters('imageInline');
66
65
  // Register `resizeImage` command and add `imageResize` command as an alias for backward compatibility.
67
66
  editor.commands.add('resizeImage', resizeImageCommand);
68
67
  editor.commands.add('imageResize', resizeImageCommand);
69
68
  }
69
+ /**
70
+ * @inheritDoc
71
+ */
72
+ afterInit() {
73
+ this._registerSchema();
74
+ }
70
75
  _registerSchema() {
71
76
  if (this.editor.plugins.has('ImageBlockEditing')) {
72
77
  this.editor.model.schema.extend('imageBlock', { allowAttributes: ['resizedWidth', 'resizedHeight'] });
@@ -6,7 +6,7 @@
6
6
  :root {
7
7
  --ck-color-image-caption-background: hsl(0, 0%, 97%);
8
8
  --ck-color-image-caption-text: hsl(0, 0%, 20%);
9
- --ck-color-image-caption-highligted-background: hsl(52deg 100% 50%);
9
+ --ck-color-image-caption-highlighted-background: hsl(52deg 100% 50%);
10
10
  }
11
11
 
12
12
  /* Content styles */
@@ -28,7 +28,7 @@
28
28
 
29
29
  @keyframes ck-image-caption-highlight {
30
30
  0% {
31
- background-color: var(--ck-color-image-caption-highligted-background);
31
+ background-color: var(--ck-color-image-caption-highlighted-background);
32
32
  }
33
33
 
34
34
  100% {