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

v15.0.0

Compare
Choose a tag to compare
@mlewand mlewand released this 23 Oct 09:20
· 418 commits to master since this release

MAJOR BREAKING CHANGES

  • The behavior of block filler detection on DOM to view conversion was changed. Now, it specifically checks the parent of a text node to check whether it is a block. Which means that a list of block element names has to be used. If you use custom elements or use one of the HTML elements which CKEditor 5 does not recognize as a block element, see #404 and DomConverter.blockElements documentation.
  • The Selection#getTopMostBlocks() was removed from the public API. Use Selection#getSelectedBlocks() instead.
  • The Selection#getSelectedBlocks() does not return blocks nested in other blocks now.

Features

Bug fixes

  • Added a proper check for name-only view matcher in attribute upcast converters. Closes #1786. (2210696)
  • Improved filtering out disallowed attributes on child elements. #1789. (c5033b6)
  • Improved performance when working with fake selections. Closes #1791. (f073ad5)
  • Placeholder should not be visible in the read-only mode. Closes ckeditor/ckeditor5#1987. (730c417)
  • Remove only real block fillers on DOM to view conversion. Closes #404. (6d2810b)
  • The renderer should not update DOM selection when document has active composition. Closes #1782. Closes ckeditor/ckeditor5#1333. (c698683)

Other changes