Skip to content

basecamp/lexxy

Repository files navigation

Lexxy

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.

Features

  • 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.

Lexxy editor screenshot

Documentation

Visit the documentation site.

Roadmap

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.

Contributing

License

The gem is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 35