Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Releases: ckeditor/ckeditor5-upload

v1.0.0-alpha.1

03 Oct 12:31
Compare
Choose a tag to compare

Bug fixes

  • 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)

Other changes

  • 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)

v0.2.0

03 Sep 18:24
Compare
Choose a tag to compare

Bug fixes

  • [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 native FileList because Safari and Edge do not support Symbol.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 to ImageUploadCommand#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)

Features

  • Responsive images support in image upload. Closes #34. (9a022a2)
  • The ImageUploadCommand now accepts insertAt position which allows customizing where the image will be inserted. Closes #45. (b90c8d7)

Other changes

BREAKING CHANGES

  • UploadImageCommand doesn't optimize the drop position itself anymore. Instead, a separate findOptimalInsertionPosition() 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.

0.1.0 (2017-05-07)

Features

  • Initial implementation. Closes #1.

v0.1.0

07 May 21:48
Compare
Choose a tag to compare

Features

  • Initial implementation. Closes #1.