@ckeditor/ckeditor5-image 44.0.0-alpha.9 → 44.1.0-alpha.0

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 (200) hide show
  1. package/build/image.js +1 -1
  2. package/dist/augmentation.d.ts +1 -1
  3. package/dist/autoimage.d.ts +1 -1
  4. package/dist/image/converters.d.ts +1 -1
  5. package/dist/image/imageblockediting.d.ts +1 -1
  6. package/dist/image/imageediting.d.ts +1 -1
  7. package/dist/image/imageinlineediting.d.ts +1 -1
  8. package/dist/image/imageloadobserver.d.ts +1 -1
  9. package/dist/image/imageplaceholder.d.ts +1 -1
  10. package/dist/image/imagetypecommand.d.ts +1 -1
  11. package/dist/image/insertimagecommand.d.ts +1 -1
  12. package/dist/image/replaceimagesourcecommand.d.ts +1 -1
  13. package/dist/image/ui/utils.d.ts +1 -1
  14. package/dist/image/utils.d.ts +1 -1
  15. package/dist/image.d.ts +1 -1
  16. package/dist/imageblock.d.ts +1 -1
  17. package/dist/imagecaption/imagecaptionediting.d.ts +1 -1
  18. package/dist/imagecaption/imagecaptionui.d.ts +1 -1
  19. package/dist/imagecaption/imagecaptionutils.d.ts +1 -1
  20. package/dist/imagecaption/toggleimagecaptioncommand.d.ts +1 -1
  21. package/dist/imagecaption.d.ts +1 -1
  22. package/dist/imageconfig.d.ts +1 -1
  23. package/dist/imageinline.d.ts +1 -1
  24. package/dist/imageinsert/imageinsertui.d.ts +1 -1
  25. package/dist/imageinsert/imageinsertviaurlui.d.ts +1 -1
  26. package/dist/imageinsert/ui/imageinsertformview.d.ts +1 -1
  27. package/dist/imageinsert/ui/imageinserturlview.d.ts +1 -1
  28. package/dist/imageinsert.d.ts +1 -1
  29. package/dist/imageinsertviaurl.d.ts +1 -1
  30. package/dist/imageresize/imagecustomresizeui.d.ts +1 -1
  31. package/dist/imageresize/imageresizebuttons.d.ts +1 -1
  32. package/dist/imageresize/imageresizeediting.d.ts +1 -1
  33. package/dist/imageresize/imageresizehandles.d.ts +1 -1
  34. package/dist/imageresize/resizeimagecommand.d.ts +1 -1
  35. package/dist/imageresize/ui/imagecustomresizeformview.d.ts +1 -1
  36. package/dist/imageresize/utils/getselectedimageeditornodes.d.ts +1 -1
  37. package/dist/imageresize/utils/getselectedimagepossibleresizerange.d.ts +1 -1
  38. package/dist/imageresize/utils/getselectedimagewidthinunits.d.ts +1 -1
  39. package/dist/imageresize/utils/tryparsedimensionwithunit.d.ts +1 -1
  40. package/dist/imageresize.d.ts +1 -1
  41. package/dist/imagesizeattributes.d.ts +1 -1
  42. package/dist/imagestyle/converters.d.ts +1 -1
  43. package/dist/imagestyle/imagestylecommand.d.ts +1 -1
  44. package/dist/imagestyle/imagestyleediting.d.ts +1 -1
  45. package/dist/imagestyle/imagestyleui.d.ts +1 -1
  46. package/dist/imagestyle/utils.d.ts +1 -1
  47. package/dist/imagestyle.d.ts +1 -1
  48. package/dist/imagetextalternative/imagetextalternativecommand.d.ts +1 -1
  49. package/dist/imagetextalternative/imagetextalternativeediting.d.ts +1 -1
  50. package/dist/imagetextalternative/imagetextalternativeui.d.ts +1 -1
  51. package/dist/imagetextalternative/ui/textalternativeformview.d.ts +1 -1
  52. package/dist/imagetextalternative.d.ts +1 -1
  53. package/dist/imagetoolbar.d.ts +1 -1
  54. package/dist/imageupload/imageuploadediting.d.ts +14 -1
  55. package/dist/imageupload/imageuploadprogress.d.ts +1 -1
  56. package/dist/imageupload/imageuploadui.d.ts +1 -1
  57. package/dist/imageupload/uploadimagecommand.d.ts +1 -1
  58. package/dist/imageupload/utils.d.ts +1 -1
  59. package/dist/imageupload.d.ts +1 -1
  60. package/dist/imageutils.d.ts +1 -1
  61. package/dist/index.css +16 -16
  62. package/dist/index.css.map +1 -1
  63. package/dist/index.d.ts +1 -1
  64. package/dist/index.js +158 -48
  65. package/dist/index.js.map +1 -1
  66. package/dist/pictureediting.d.ts +1 -1
  67. package/package.json +11 -11
  68. package/src/augmentation.d.ts +1 -1
  69. package/src/augmentation.js +1 -1
  70. package/src/autoimage.d.ts +1 -1
  71. package/src/autoimage.js +1 -1
  72. package/src/image/converters.d.ts +1 -1
  73. package/src/image/converters.js +1 -1
  74. package/src/image/imageblockediting.d.ts +1 -1
  75. package/src/image/imageblockediting.js +1 -1
  76. package/src/image/imageediting.d.ts +1 -1
  77. package/src/image/imageediting.js +1 -1
  78. package/src/image/imageinlineediting.d.ts +1 -1
  79. package/src/image/imageinlineediting.js +1 -1
  80. package/src/image/imageloadobserver.d.ts +1 -1
  81. package/src/image/imageloadobserver.js +1 -1
  82. package/src/image/imageplaceholder.d.ts +1 -1
  83. package/src/image/imageplaceholder.js +1 -1
  84. package/src/image/imagetypecommand.d.ts +1 -1
  85. package/src/image/imagetypecommand.js +1 -1
  86. package/src/image/insertimagecommand.d.ts +1 -1
  87. package/src/image/insertimagecommand.js +1 -1
  88. package/src/image/replaceimagesourcecommand.d.ts +1 -1
  89. package/src/image/replaceimagesourcecommand.js +1 -1
  90. package/src/image/ui/utils.d.ts +1 -1
  91. package/src/image/ui/utils.js +1 -1
  92. package/src/image/utils.d.ts +1 -1
  93. package/src/image/utils.js +1 -1
  94. package/src/image.d.ts +1 -1
  95. package/src/image.js +1 -1
  96. package/src/imageblock.d.ts +1 -1
  97. package/src/imageblock.js +1 -1
  98. package/src/imagecaption/imagecaptionediting.d.ts +1 -1
  99. package/src/imagecaption/imagecaptionediting.js +1 -1
  100. package/src/imagecaption/imagecaptionui.d.ts +1 -1
  101. package/src/imagecaption/imagecaptionui.js +1 -1
  102. package/src/imagecaption/imagecaptionutils.d.ts +1 -1
  103. package/src/imagecaption/imagecaptionutils.js +1 -1
  104. package/src/imagecaption/toggleimagecaptioncommand.d.ts +1 -1
  105. package/src/imagecaption/toggleimagecaptioncommand.js +1 -1
  106. package/src/imagecaption.d.ts +1 -1
  107. package/src/imagecaption.js +1 -1
  108. package/src/imageconfig.d.ts +1 -1
  109. package/src/imageconfig.js +1 -1
  110. package/src/imageinline.d.ts +1 -1
  111. package/src/imageinline.js +1 -1
  112. package/src/imageinsert/imageinsertui.d.ts +1 -1
  113. package/src/imageinsert/imageinsertui.js +1 -1
  114. package/src/imageinsert/imageinsertviaurlui.d.ts +1 -1
  115. package/src/imageinsert/imageinsertviaurlui.js +1 -1
  116. package/src/imageinsert/ui/imageinsertformview.d.ts +1 -1
  117. package/src/imageinsert/ui/imageinsertformview.js +1 -1
  118. package/src/imageinsert/ui/imageinserturlview.d.ts +1 -1
  119. package/src/imageinsert/ui/imageinserturlview.js +1 -1
  120. package/src/imageinsert.d.ts +1 -1
  121. package/src/imageinsert.js +1 -1
  122. package/src/imageinsertviaurl.d.ts +1 -1
  123. package/src/imageinsertviaurl.js +1 -1
  124. package/src/imageresize/imagecustomresizeui.d.ts +1 -1
  125. package/src/imageresize/imagecustomresizeui.js +1 -1
  126. package/src/imageresize/imageresizebuttons.d.ts +1 -1
  127. package/src/imageresize/imageresizebuttons.js +1 -1
  128. package/src/imageresize/imageresizeediting.d.ts +1 -1
  129. package/src/imageresize/imageresizeediting.js +1 -1
  130. package/src/imageresize/imageresizehandles.d.ts +1 -1
  131. package/src/imageresize/imageresizehandles.js +1 -1
  132. package/src/imageresize/resizeimagecommand.d.ts +1 -1
  133. package/src/imageresize/resizeimagecommand.js +1 -1
  134. package/src/imageresize/ui/imagecustomresizeformview.d.ts +1 -1
  135. package/src/imageresize/ui/imagecustomresizeformview.js +1 -1
  136. package/src/imageresize/utils/getselectedimageeditornodes.d.ts +1 -1
  137. package/src/imageresize/utils/getselectedimageeditornodes.js +1 -1
  138. package/src/imageresize/utils/getselectedimagepossibleresizerange.d.ts +1 -1
  139. package/src/imageresize/utils/getselectedimagepossibleresizerange.js +1 -1
  140. package/src/imageresize/utils/getselectedimagewidthinunits.d.ts +1 -1
  141. package/src/imageresize/utils/getselectedimagewidthinunits.js +1 -1
  142. package/src/imageresize/utils/tryparsedimensionwithunit.d.ts +1 -1
  143. package/src/imageresize/utils/tryparsedimensionwithunit.js +1 -1
  144. package/src/imageresize.d.ts +1 -1
  145. package/src/imageresize.js +1 -1
  146. package/src/imagesizeattributes.d.ts +1 -1
  147. package/src/imagesizeattributes.js +1 -1
  148. package/src/imagestyle/converters.d.ts +1 -1
  149. package/src/imagestyle/converters.js +1 -1
  150. package/src/imagestyle/imagestylecommand.d.ts +1 -1
  151. package/src/imagestyle/imagestylecommand.js +1 -1
  152. package/src/imagestyle/imagestyleediting.d.ts +1 -1
  153. package/src/imagestyle/imagestyleediting.js +1 -1
  154. package/src/imagestyle/imagestyleui.d.ts +1 -1
  155. package/src/imagestyle/imagestyleui.js +1 -1
  156. package/src/imagestyle/utils.d.ts +1 -1
  157. package/src/imagestyle/utils.js +1 -1
  158. package/src/imagestyle.d.ts +1 -1
  159. package/src/imagestyle.js +1 -1
  160. package/src/imagetextalternative/imagetextalternativecommand.d.ts +1 -1
  161. package/src/imagetextalternative/imagetextalternativecommand.js +1 -1
  162. package/src/imagetextalternative/imagetextalternativeediting.d.ts +1 -1
  163. package/src/imagetextalternative/imagetextalternativeediting.js +1 -1
  164. package/src/imagetextalternative/imagetextalternativeui.d.ts +1 -1
  165. package/src/imagetextalternative/imagetextalternativeui.js +1 -1
  166. package/src/imagetextalternative/ui/textalternativeformview.d.ts +1 -1
  167. package/src/imagetextalternative/ui/textalternativeformview.js +1 -1
  168. package/src/imagetextalternative.d.ts +1 -1
  169. package/src/imagetextalternative.js +1 -1
  170. package/src/imagetoolbar.d.ts +1 -1
  171. package/src/imagetoolbar.js +1 -1
  172. package/src/imageupload/imageuploadediting.d.ts +14 -1
  173. package/src/imageupload/imageuploadediting.js +143 -43
  174. package/src/imageupload/imageuploadprogress.d.ts +1 -1
  175. package/src/imageupload/imageuploadprogress.js +1 -1
  176. package/src/imageupload/imageuploadui.d.ts +1 -1
  177. package/src/imageupload/imageuploadui.js +1 -1
  178. package/src/imageupload/uploadimagecommand.d.ts +1 -1
  179. package/src/imageupload/uploadimagecommand.js +1 -1
  180. package/src/imageupload/utils.d.ts +1 -1
  181. package/src/imageupload/utils.js +1 -1
  182. package/src/imageupload.d.ts +1 -1
  183. package/src/imageupload.js +1 -1
  184. package/src/imageutils.d.ts +1 -1
  185. package/src/imageutils.js +1 -1
  186. package/src/index.d.ts +1 -1
  187. package/src/index.js +1 -1
  188. package/src/pictureediting.d.ts +1 -1
  189. package/src/pictureediting.js +1 -1
  190. package/theme/image.css +1 -1
  191. package/theme/imagecaption.css +1 -1
  192. package/theme/imagecustomresizeform.css +1 -1
  193. package/theme/imageinsert.css +1 -1
  194. package/theme/imageplaceholder.css +1 -1
  195. package/theme/imageresize.css +1 -1
  196. package/theme/imagestyle.css +1 -1
  197. package/theme/imageuploadicon.css +1 -1
  198. package/theme/imageuploadloader.css +1 -1
  199. package/theme/imageuploadprogress.css +1 -1
  200. package/theme/textalternativeform.css +1 -1
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import type { ImageConfig, AutoImage, Image, ImageBlock, ImageCaption, ImageInline, ImageInsert, ImageInsertViaUrl, ImageResize, ImageStyle, ImageTextAlternative, ImageToolbar, ImageUpload, ImageUtils, ImageBlockEditing, ImageEditing, ImageCaptionEditing, ImageCaptionUI, ImageCaptionUtils, ImageInsertUI, ImageResizeEditing, ImageCustomResizeUI, ImageSizeAttributes, ImageStyleEditing, ImageStyleUI, ImageTextAlternativeEditing, ImageTextAlternativeUI, ImageUploadEditing, ImageUploadProgress, ImageUploadUI, ImageTypeCommand, InsertImageCommand, ReplaceImageSourceCommand, ToggleImageCaptionCommand, ResizeImageCommand, ImageStyleCommand, ImageTextAlternativeCommand, UploadImageCommand } from './index.js';
10
10
  declare module '@ckeditor/ckeditor5-core' {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/autoimage
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/image/converters
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/image/imageblockediting
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/image/imageediting
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/image/imageinlineediting
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/image/imageloadobserver
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/image/imageplaceholder
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/image/imagetypecommand
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/image/insertimagecommand
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import { Command, type Editor } from 'ckeditor5/src/core.js';
10
10
  import type { Writer, Element } from 'ckeditor5/src/engine.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/image/ui/utils
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/image/utils
package/dist/image.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/image
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageblock
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagecaption/imagecaptionediting
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagecaption/imagecaptionui
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagecaption/imagecaptionutils
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import { Command } from 'ckeditor5/src/core.js';
10
10
  /**
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagecaption
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageconfig
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageinline
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageinsert/imageinsertui
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageinsert/imageinsertviaurlui
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageinsert/ui/imageinsertformview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageinsert/ui/imageinserturlview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageinsert
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageinsertviaurl
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageresize/imagecustomresizeui
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
10
  import ImageResizeEditing from './imageresizeediting.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import { type Editor, Plugin } from 'ckeditor5/src/core.js';
10
10
  import ImageUtils from '../imageutils.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import { WidgetResize } from 'ckeditor5/src/widget.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageresize/resizeimagecommand
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageresize/ui/imagecustomresizeformview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageresize/utils/getselectedimageeditornodes
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageresize/utils/getselectedimagepossibleresizerange
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import type { Editor } from 'ckeditor5/src/core.js';
10
10
  import { type DimensionWithUnit } from './tryparsedimensionwithunit.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageresize/utils/tryparsedimensionwithunit
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageresize
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagesizeattributes
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import type { DowncastAttributeEvent, UpcastElementEvent } from 'ckeditor5/src/engine.js';
10
10
  import { type GetCallback } from 'ckeditor5/src/utils.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagestyle/imagestylecommand
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagestyle/imagestyleediting
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagestyle/imagestyleui
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagestyle/utils
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagestyle
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagetextalternative/imagetextalternativecommand
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagetextalternative/imagetextalternativeediting
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagetextalternative/imagetextalternativeui
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagetextalternative/ui/textalternativeformview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagetextalternative
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imagetoolbar
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageupload/imageuploadediting
@@ -42,6 +42,13 @@ export default class ImageUploadEditing extends Plugin {
42
42
  * after image type changed).
43
43
  */
44
44
  private readonly _uploadImageElements;
45
+ /**
46
+ * An internal mapping of {@link module:upload/filerepository~FileLoader#id file loader UIDs} and
47
+ * upload responses for handling images dragged during their upload process. When such images are later
48
+ * dropped, their original upload IDs no longer exist in the registry (as the original upload completed).
49
+ * This map preserves the upload responses to properly handle such cases.
50
+ */
51
+ private readonly _uploadedImages;
45
52
  /**
46
53
  * @inheritDoc
47
54
  */
@@ -69,6 +76,12 @@ export default class ImageUploadEditing extends Plugin {
69
76
  * @param image The image element on which the `srcset` attribute will be set.
70
77
  */
71
78
  protected _parseAndSetSrcsetAttributeOnImage(data: Record<string, unknown>, image: Element, writer: Writer): void;
79
+ /**
80
+ * Registers image upload converters.
81
+ *
82
+ * @param imageType The type of the image.
83
+ */
84
+ private _registerConverters;
72
85
  }
73
86
  /**
74
87
  * Returns `true` if non-empty `text/html` is included in the data transfer.
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageupload/imageuploadprogress
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageupload/imageuploadui
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import { Command, type Editor } from 'ckeditor5/src/core.js';
10
10
  import { type ArrayOrItem } from 'ckeditor5/src/utils.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageupload/utils
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module image/imageupload