Skip to content

0.10.0

Compare
Choose a tag to compare
@ianstormtaylor ianstormtaylor released this 22 Nov 02:40
· 3584 commits to main since this release
BREAKING CHANGES
  • Marks are now renderable as components. Previously the only supported way to render marks was by returning a style object. Now you can return a style object, a class name string, or a full React component. Because of this, the DOM will be renderered slightly differently than before, resulting in an extra <span> when rendering non-component marks. This won't affect you unless you were depending on the DOM output by Slate for some reason.