mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-03-14 02:09:43 +01:00
Slate
Slate is a completely customizable framework for building rich text editors in the browser. You can think of it like a pluggable implementation of contenteditable
, built with React and Immutable.
Slate was inspired by Draft.js and Prosemirror.
Principles
- Built with React and Immutable for performant stateless re-rendering and developing ease.
- Based on a nested, recursive tree model just like the DOM, so that complex components are possible.
- Made with plugins as a first-class consideration, so that almost all the logic is customizable.
- Doesn't bake any opinions about the schema being edited into the core library.
Examples
To get a sense for how Slate works, check out a few of the examples:
- Rich Text
- Plain Text
- Auto-markdown
- Links
- Tables
Description
Languages
TypeScript
97%
JavaScript
2.9%
CSS
0.1%