This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
v15.0.0
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. UseSelection#getSelectedBlocks()
instead. - The
Selection#getSelectedBlocks()
does not return blocks nested in other blocks now.
Features
- Added support for creating elements from other XML namespaces. See ckeditor/ckeditor5#2088. (a9190c9)
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
- Added error handling to the common code execution paths. Part of ckeditor/ckeditor5#1304. (220b52f)
- Removed the
Selection#getTopMostBlocks()
method. Closes ckeditor/ckeditor5-widget#95. Closes ckeditor/ckeditor5-table#199. (7970f17)