19.0.0 (2020-04-29)
- Restored a condition handling an edge case in upload when promise chains are aborted. Closes ckeditor/ckeditor5#5892. (ed7187b)
18.0.0 (2020-03-19)
Internal changes only (updated dependencies, documentation, etc.).
17.0.0 (2020-02-19)
- Updated translations. (5be630b)
16.0.0 (2019-12-04)
- Updated translations. (188255c)
15.0.0 (2019-10-23)
- Add missing
catch()
clauses to file loader promises. (40906d4)
12.0.0 (2019-08-26)
-
Implemented the
SimpleUploadAdapter
plugin which enables file uploads in CKEditor 5 using configurableXMLHttpRequests
to a server. Closes ckeditor/ckeditor5#1791. (441c597)import Base64UploadAdapter from '@ckeditor/ckeditor5-upload/src/adapters/base64uploadadapter'
-
Implemented the responsive image support in the
SimpleUploadAdapter
. Closes #97. (b5092a4)
- Add
ImageLoader.data
property for already read file to allow synchronous access to file data. (ec56ab8) - The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See ckeditor/ckeditor5#1988. (1893794)
- Updated translations. (594b6c1)
- Moved the
Base64UploadAdapter
plugin file tockeditor5-upload/src/adapters/base64uploadadapter.js
. Make sure import paths your project are up–to–date:
import Base64UploadAdapter from '@ckeditor/ckeditor5-upload/src/adapters/base64uploadadapter'
11.1.1 (2019-07-10)
Internal changes only (updated dependencies, documentation, etc.).
11.1.0 (2019-07-04)
- Introduced the Base64 image upload adapter. Closes ckeditor/ckeditor5#1378. (938f0f7)
11.0.2 (2019-06-05)
- Updated translations. (73c6761)
11.0.1 (2019-04-10)
- Updated translations. (eac33b1)
11.0.0 (2019-02-28)
- Add catch block for failed file promise in
FileRepository
. (a2de5d5) - Updated translations. (6aaad73) (b0469a8) (f6e27cb)
- Upgraded minimal versions of Node to
8.0.0
and npm to5.7.1
. See: ckeditor/ckeditor5#1507. (612ea3c) - The
FileLoader.file
property was changed to a getter which returns a nativePromise
instance instead of aFile
instance. The returned promise resolves to aFile
instance.
10.0.4 (2018-12-05)
10.0.3 (2018-10-08)
- Updated translations. (871eb44)
10.0.2 (2018-07-18)
10.0.1 (2018-06-21)
- Updated translations.
10.0.0 (2018-04-25)
- Changed the license to GPL2+ only. See ckeditor/ckeditor5#991. (8293240)
- The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See ckeditor/ckeditor5#991 for more information.
1.0.0-beta.4 (2018-04-19)
Internal changes only (updated dependencies, documentation, etc.).
1.0.0-beta.2 (2018-04-10)
Internal changes only (updated dependencies, documentation, etc.).
1.0.0-beta.1 (2018-03-15)
- Fixed incorrect
ImageUploadButton
andImageUploadCommand
binding. Closes #77. Closes https://github.com/ckeditor/ckeditor5-ui/issues/357. (d231ea6)
- Migrated package styles to PostCSS. Moved visual styles to
@ckeditor/ckeditor5-theme-lark
(see ckeditor/ckeditor5-ui#144). (faf6100) - Moved the image upload plugins to the
@ckeditor/ckeditor5-image
package. Minor cleanup in the API. Closes #22. (55697a9) - Use post-fixer API. (08e9d09)
- Renamed
Adapter
toUploadAdapter
. - Removed
ImageUpload
plugin. It can be no found in ckeditor5-image repository. - Removed
ImageUploadEngine
plugin. It can be no found in ckeditor5-image repository. - Removed
ImageUploadProgress
plugin. It can be no found in ckeditor5-image repository. - Removed
ImageUploadButton
plugin. It can be no found in ckeditor5-image repository. - Renamed
FileRepository#createAdapter()
toFileRepository#createUploadAdapter()
. - Renamed
filerepository-no-adapter
error tofilerepository-no-upload-adapter
.
1.0.0-alpha.2 (2017-11-14)
- Destroying
FileDialogButtonView
should not throw an error. Closes #66. (2d4ba62) - Images pasted with additional HTML content will not be handled by the upload plugin which prevents data pasted from MS Word to be treated as an image. Closes #68. (8d0644a)
- Updated translations. (93e9643)
- Aligned UI library usage to the changes in the UI framework.
- The
FileDialogButtonView
is not aButtonView
instance anymore but a wrapper instead. The button of the component is available under the#buttonView
property.
1.0.0-alpha.1 (2017-10-03)
- Image placeholder is now correctly displayed on Firefox and Edge. Closes #56. (785e88b)
- Upload command should not crash when upload adapter is not specified (instead, FileRepository logs an error). Closes #59. (14b738b)
FileRepository
will automatically warn when it's initialized but no upload adapter was enabled. Closes #58. (29aa315)- Placeholder image will now look better on wider editors. Closes #63. (edb5e81)
0.2.0 (2017-09-03)
- [Safari, Edge] The image upload (button) feature will not throw an error anymore when trying to access picked files. The feature should not use
for...of
loop on nativeFileList
because Safari and Edge do not supportSymbol.iterator
for it yet. Closes #35. (f4efd9b) - An image dropped on another image will not redirect the browser to the file's path. Closes #32. (4f533be)
- Bound
ImageUploadButton#isEnabled
toImageUploadCommand#isEnabled
. Closes #43. (ba6de66) - Fixed two issues related to dropping images. First, when dropping a file into an empty paragraph, that paragraph should be replaced with that image. Second, drop position should be read correctly when the editor is focused upon drop. Closes #42. Closes #29. (fec452d)
- Image will be inserted after the block if the selection is placed at the block's end. Closes #7. (70742f9)
- When image upload is aborted, now the "image placeholder" element is permanently removed so it is not reinserted on undo. Closes #38. (aff6382)
- Responsive images support in image upload. Closes #34. (9a022a2)
- The
ImageUploadCommand
now acceptsinsertAt
position which allows customizing where the image will be inserted. Closes #45. (b90c8d7)
- Aborting upload when image is removed and removing image on upload error. Closes #2. (c3bbb57)
- Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). (3d97b81)
- Changed from original to default image. Closes #49. (d8d61f3)
- Cleaned up SVG icons. (ab81012)
- Optional notification title when upload fails. Closes #30. (1a6306c)
UploadImageCommand
doesn't optimize the drop position itself anymore. Instead, a separatefindOptimalInsertionPosition()
function was introduced.UploadImageCommand
doesn't verify the type of file anymore. This needs to be done by the caller.- The command API has been changed.
- Initial implementation. Closes #1.