mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-13 03:35:01 +01:00
* Allow React 16 in peerDeps and use it for dev * Make tests pass with React 16 Changes are cosmetic: - React 16 no longer adds a trailing `;` to `style` attributes - React 16 outputs `0` and not `0px` for sizes in `style`
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!