1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-13 11:44:55 +01:00
slate/packages
Justin Weiss a6b069603f Move selection to the offset of remove_text if it's in its bounds
If selection is inside a block of text that's removed, the part of the
selection that's inside the bounds should clamp to the offset of the
removed text. So if your cursor is at offset 5, and you're deleting
from 2-10, your cursor should end up at offset 2.
2018-01-09 11:13:44 -08:00
..
2018-01-04 15:39:37 -08:00
2017-11-16 12:21:24 -08:00
2018-01-04 15:39:37 -08:00
2018-01-04 15:39:37 -08:00
2018-01-04 15:39:37 -08:00
2018-01-04 15:39:37 -08:00
2018-01-04 15:39:37 -08:00
2017-12-02 13:51:32 -08:00

Packages

Slate's codebase is monorepo managed with Lerna. It consists of a handful of packages—although you won't always use all of them. They are:

Package Version Size Description
slate Slate's core data model logic.
slate-base64-serializer A Base64 string serializer for Slate documents.
slate-html-serializer An HTML serializer for Slate documents.
slate-hyperscript A hyperscript tool to write JSX Slate documents!
slate-plain-serializer A plain text serializer for Slate documents.
slate-prop-types React prop types for checking Slate values.
slate-react React components for rendering Slate editors.
slate-simulator A simulator for testing Slate editors and plugins.