mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-03-07 14:30:04 +01:00
When drag and dropping a node to a position earlier in the document, the node is inserted and then removed right after. Regenerate the key to make sure the old node is removed instead of the new one.
This package contains the React-specific logic for Slate. It's separated further into a series of directories:
- Components — containing the React components for rendering Slate editors.
- Constants — containing a few private constants modules.
- Plugins — containing the React-specific plugins for Slate editors.
- Utils — containing a few private convenience modules.
Feel free to poke around in each of them to learn more!