1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-13 11:44:55 +01:00
slate/packages
Justin Weiss 105b384ccb Fix activeMarks at the beginning of a line (#1434)
If you move to the beginning of a text node, and the previous text
node has marks, `marks` is set but `activeMarks` is not. This was
caused by `getActiveMarksAtRangeAsArray` looking for a function that
didn't exist. With this change, `activeMarks` is brought in line with
how `marks` works for collapsed selections.
2017-12-02 12:35:16 -08:00
..
2017-11-19 13:04:26 -08:00
2017-11-16 12:21:24 -08:00
2017-11-19 13:04:26 -08:00
2017-11-19 13:04:26 -08:00
2017-11-19 13:04:26 -08:00
2017-11-19 13:04:26 -08:00
2017-12-02 12:06:17 -08:00
2017-11-19 13:04:26 -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:

  • slate — which includes Slate's core logic.
  • slate-react — the React components for rendering Slate editors.
  • slate-hyperscript — a hyperscript helper to write Slate documents in JSX!

And some others...