You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ππΈ A configurable rich text editor built with Draft.js. Check out our demos!
Note
While Draftail itself is maintained, the underlying Draft.js library has been archived and no longer receives updates. For more information, see Draft.js no longer maintained #456.
Features
Draftail aims for a mouse-free, keyboard-centric experience. Here are important features worth highlighting:
Paste from Word. Or any other editor. It just works.
Autolists β start a line with - , * , 1. to create a list item.
Shortcuts for heading levels ##, code blocks ```, text formats **, and more.
Undo / redo β until the end of times.
Common text types: headings, paragraphs, quotes, lists.
Common text styles: Bold, italic, and many more.
API to build custom controls for links, images, and more.
Compatibility with the draft-js-plugins ecosystem to build more advanced extensions.
This project adheres to Semantic Versioning, and measures performance and code coverage. We also try to follow accessibility best practices (tested with aXe) β please get in touch if you can help us do better in this area.
See anything you like in here? Anything missing? We welcome all support, whether on bug reports, feature requests, code, design, reviews, tests, documentation, and more. Please have a look at our contribution guidelines.
If you just want to set up the project on your own computer, the contribution guidelines also contain all of the setup commands.