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

Releases: ckeditor/ckeditor5-image

v1.0.0-alpha.1

03 Oct 12:29
Compare
Choose a tag to compare

Bug fixes

  • Fixed a bug causing the editor with ImageCaption plugin enabled to throw an error after the view got rendered. Closes #127. (6147fee)
  • The ImageTextAlternative's UI should be hidden when the edited image element has been removed by an external change. Closes #137. (6ab8c40)

Features

  • Allowed customization of the default image styles. Defined formatting–oriented styles. Simplified config.image.styles syntax. Closes #134. Closes #135. (eab98ef)
  • Keyboard navigation will now work in the TextAlternativeFormView. Closes #40. Closes ckeditor/ckeditor5#490. (fa92de6)
  • The srcset attribute in the model will now be converted to three attributes in the view: srcset, sizes and width. Closes #145. Closes ckeditor/ckeditor5-easy-image#4. (9ca651e)

BREAKING CHANGES

  • The format of the srcset attribute has been changed.
  • From now on, the imageStyleFull uses object-full-width.svg icon.

v0.7.0

03 Sep 18:22
Compare
Choose a tag to compare

Bug fixes

  • ImageStyleCommand should switch properly between any two non-null styles. Closes #132. (d6c847d)
  • Text alternative input should synchronize its value when the balloon shows up. Closes #114. (9b105ed)
  • The arrow of the toolbar's balloon should inherit the background color. Closes #109. (4322b04)
  • The image toolbar should not be doubled when the ContextualToolbar plugin is in use. Closes #110. (5ace9a0)

Features

  • Introduced support for responsive image's srcset attribute. Closes #2. (5b433d2)

Other changes

BREAKING CHANGES

  • The command API has been changed.

v0.6.0

07 May 21:46
Compare
Choose a tag to compare

Bug fixes

  • Bare <img> (not wrapped with <figure class="image">) can now be pasted into the editor. Closes #8. (fb6ab1a)
  • Fixed toolbar positioning in MS Edge. Closes #101. (19941e9)
  • The caption item should inherit from $block to automatically allow the same content. Closes #94. (02869eb)

Features

  • Introduced support for pasting and loading images in context in which they cannot appear in the editor. For example, if <p>foo<img>bar</p> is pasted, the pasted paragraph will be split (because an image in the editor cannot be contained in a paragraph). Closes #98. (e2104b1)

Other changes

  • Removed automatically filled config.image.defaultToolbar. Now, when initializing the editor one must always define config.image.toolbar. Closes #60. (4db7b34)
  • Updated translations. (22b5dbc)

BREAKING CHANGES

  • The config.image.defaultToolbar is no longer available. All editor instances must have config.image.toolbar configured instead.

v0.5.0

05 Apr 17:06
Compare
Choose a tag to compare

Bug fixes

  • Caption will not be automatically added for the second time if it was already added before "caption fixer" was fired. Closes #78. (e651b01)
  • Image captions in the view are hidden instead of being removed (from the view and the DOM). Closes #77. (aae2957)
  • The editor no longer crashes when undoing or redoing changes should reshow temporarily invisible image caption. Closes #58. (8e36645)
  • The image should not go (visually) beyond the boundaries of the parent container. Closes #67. (d1ee92d)

Features

  • Added "Enter caption here" placeholders to empty image captions. Closes #71. (3818544)

  • Introduced toWidgetEditable(). Closes #57. (ecbe435)

    The styling and behavior of image's caption will now be reusable in other widgets.

  • Named existing plugin(s). (de96d07)

Other changes

BREAKING CHANGES

  • The widget API is now available in the ckeditor5-widget package. See #35.

v0.4.0

06 Mar 16:51
Compare
Choose a tag to compare

Bug fixes

  • Moved focus tracking setup to ImageBalloonPanelView#init() method to prevent too early access to the view element. Closes #42. (985e509)
  • Used "low-vision" icon instead of "input" for text alternative button. Closes #59. (6edd823)

Features

  • Added a separator between image styles and text alternative buttons in the image toolbar. Closes #64. (925a538)
  • Introduced image captions support. Closes #28. (6bb4069)

Other changes

  • Enhanced how selection label for widgets is defined. Closes #9. (5c1897d)
  • Renamed "Image alternate text" to "Image text alternative" all across the code. Improved directory structure to have most important features in the top level of src/. Closes #37. (e38675f)
  • Uploaded translations. (d619f1d)

BREAKING CHANGES

  • The src/imagealternatetext/imagealternatetext module is now src/imagetextalternative. All other related classes and directories were renamed too.
  • All the base image's util modules are now inside src/image/. The same applies to all other features. The main features are now directly in src/. Closes #33. Closes #26.