1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-16 11:19:41 +01:00
slate/Readme.md

27 lines
808 B
Markdown
Raw Normal View History

2016-06-28 08:42:38 -07:00
# Slate
2016-06-28 08:51:15 -07:00
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](https://facebook.github.io/draft-js/) and [Prosemirror](http://prosemirror.net/)._
- [Principles](#principles)
- [Examples](#examples)
2016-06-28 08:42:38 -07:00
## Principles
- Build around a nested, recursive tree model just like the DOM, so that complex schemas are possible.
- Make plugins a first-class consideration, so that almost all the logic is customizable.
- Don't bake any opinions about data types and schema 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