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