A modern rich text editor for Rails.
Important
This is an early beta. It hasn't been battle-tested yet. Please try it out and report any issues you find.
- Built on top of Lexical, the powerful text editor framework from Meta.
- Good HTML semantics. Paragraphs are real
<p>tags, as they should be. - Markdown support: shortcuts, auto-formatting on paste.
- Real-time code syntax highlighting.
- Create links by pasting URLs on selected text.
- Configurable prompts. Support for mentions and other interactive prompts with multiple loading and filtering strategies.
- Preview attachments like PDFs and Videos in the editor.
- Works seamlessly with Action Text, generating the same canonical HTML format it expects for attachments.
Visit the documentation site.
This is an early beta. Here's what's coming next:
- Configurable editors in Action Text: Choose your editor like you choose your database.
- More editing features:
- Tables
- Text highlighting
- Configuration hooks.
- Standalone JS package: to use in non-Rails environments.
- Image galleries: The only remaining feature for full Action Text compatibility
- Install task that generates the necessary JS and adds stylesheets.
- Bug reports and pull requests are welcome on GitHub Issues. Help is especially welcome with those tagged as "Help Wanted".
- For questions and general Lexxy discussion, please use the Discussions section
The gem is available as open source under the terms of the MIT License.
