Skip to content

Commit

Permalink
chore: export WeakMap for on-demand retrieval of Path (ianstormtaylor…
Browse files Browse the repository at this point in the history
…#5657)

* chore: export node path utils

* chore: code style empty line
  • Loading branch information
WindRunnerMax authored Jun 20, 2024
1 parent e6254f7 commit ab3570d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/slate-react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ export { useSlateSelection } from './hooks/use-slate-selection'
// Plugin
export { ReactEditor } from './plugin/react-editor'
export { withReact } from './plugin/with-react'

// Utils
export { NODE_TO_INDEX, NODE_TO_PARENT } from "./utils/weak-maps"

0 comments on commit ab3570d

Please sign in to comment.