Skip to content

slate-dom@0.146.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 02:07
· 4 commits to main since this release
b9237ba

Patch Changes

  • #6332 4e73172 Thanks @dylans! - Add Node.findPath(root, node), which finds a node's path by walking the tree and returns undefined if the node isn't there. It doesn't depend on rendering, so it works without slate-react, for example on a server. DOMEditor.findPath uses it as its fallback when the rendered node maps are stale.