1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-13 03:35:01 +01:00
Ian Storm Taylor e53cee3942 refactor decorations to use selections (#1221)
* refactor decorations to use selections

* update docs

* cleanup

* add Selection.createList

* fix tests

* fix for nested blocks

* fix lint

* actually merge

* revert small change

* add state.decorations, with search example
2017-10-13 12:04:22 -07:00
..
2017-09-29 09:12:06 -07:00
2017-09-11 19:36:46 -07:00

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!