mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-24 09:13:24 +01:00
* handle plaintext-only pastes using onPaste handler, regardless of browser * remove extra console.log; merge code paths in onPaste - they contain the same code
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.
- Hooks — containing a few React hooks for Slate editors.
- 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!