Skip to content

basecamp/lexxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,718 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lexxy

A modern rich text editor for Rails.

Important

This is a beta. It hasn't been battle-tested yet. Please try it out and report any issues you find.

Try it out!

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


CI

About

A modern rich text editor for Rails.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors