Skip to content

0.3.0

Compare
Choose a tag to compare
@ianstormtaylor ianstormtaylor released this 22 Nov 02:42
· 3770 commits to main since this release
BREAKING CHANGES
  • transform.unwrapBlock() now unwraps selectively. Previously, calling unwrapBlock 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.