mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-13 19:57:00 +01:00
* fix(scroll-to-selection): use getClientRects when startContainer.length is 1 * fix(scroll-to-selection): rewrite and check if selectionRect.top/height still 0, use getClientRects * fix(scroll-to-selection): identation whoopsie * fix(scroll-to-selection): tabs !== spaces * fix(scroll-to-selection): check for getClientRects length * feat(scroll-to-selection): add IS_SAFARI check
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!