slate v0.3.0 Release Notes
Release Date: 2016-07-20 // almost 8 years ago-
BREAKING
transform.unwrapBlock()
now unwraps selectively. Previously, callingunwrapBlock
with a range representing a middle sibling would unwrap all of the siblings, removing the wrapping block entirely. Now, calling it with those same arguments will only move the middle sibling up a layer in the hierarchy, preserving the nesting on any of its siblings. This changes makes it much simpler to implement functionality like unwrapping a single list item, which previously would unwrap the entire list.