Skip to content

0.11.0

Compare
Choose a tag to compare
@ianstormtaylor ianstormtaylor released this 22 Nov 02:40
· 3489 commits to main since this release
BREAKING CHANGES
  • Void nodes are renderered implicitly again! Previously Slate had required that you wrap void node renderers yourself with the exposed <Void> wrapping component. This was to allow for selection styling, but a change was made to make selection styling able to handled in Javascript. Now the <Void> wrapper will be implicitly rendered by Slate, so you do not need to worry about it, and "voidness" only needs to toggled in one place, the isVoid: true property of a node.