Resources
A few resources that are helpful for building with Slate.
Libraries
is-hotkey
is a simple way to check whether anonKeyDown
handler should fire for a given hotkey, handling cross-platform concerns like cmd vs. ctrl keys for you automatically.react-broadcast
works well when you need to have your custom node components re-render based on state that lives outside thedocument
. It's the same pattern thatreact-router
uses to update<Link>
components.
Tooling
- Immutable.js Console Extension — this greatly improves the
console.log
output when working with Immutable.js objects, which Slate's data model is based on.
Showcase
- ORY Editor — a self-contained, inline WYSIWYG editor library built on top of Slate.
- Nossas Editor — a drop-in WYSIWYG editor built with Slate.
- french-press-editor – a well-balanced, customizeable editor component with offline support; built with Slate.