CHANGELOG.md 6.6 KB

Changelog

0.6.0 (2017-05-07)

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.

0.5.0 (2017-04-05)

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 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.

0.4.0 (2017-03-06)

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.