Repolode
basecamp

basecamp/lexxy

A modern rich text editor for Rails, built on Meta's Lexical framework and designed to work with Action Text.

Stars
1,256
Forks
125
Open issues
32
Last commit
9 hours ago

What is it?

Lexxy is a rich text editor for Ruby on Rails applications. It is built on Lexical, the text editor framework from Meta, and produces clean HTML with real paragraph tags, so content stays semantic and easy to style or process.

Beyond basic formatting, the editor supports Markdown shortcuts and auto-formatting when pasting, real-time syntax highlighting for code blocks, and creating links by pasting a URL onto selected text. It also offers configurable prompts for mentions and other interactive suggestions, with several loading and filtering strategies.

Lexxy works seamlessly with Action Text and generates the same canonical HTML format that Action Text expects for attachments. Attachments such as PDFs and videos can be previewed directly in the editor. The project lists accessibility as a design goal.

Key features

  • 01Built on Lexical, with paragraphs rendered as real <p> tags
  • 02Markdown shortcuts and auto-formatting on paste
  • 03Real-time code syntax highlighting
  • 04Paste a URL onto selected text to create a link
  • 05Configurable mentions and interactive prompts with filtering
  • 06Preview PDF and video attachments in the editor, compatible with Action Text

Use cases

  • Adding a rich text editor to a Rails app that already uses Action Text
  • Writing comments or messages that need mentions and inline code highlighting
  • Letting users paste rich content with Markdown and links handled automatically

Quick start

  1. 1

    Visit the documentation for installation instructions

  2. 2

    Try it out in the online sandbox

Things to know

  • The README does not document installation commands, so setup steps are unclear from it alone.
  • Designed specifically for Rails and Action Text, so it is not a general-purpose editor for other stacks.

In collections

Topics

FAQ

What is lexxy?
A modern rich text editor for Rails, built on Meta's Lexical framework and designed to work with Action Text. Lexxy is a rich text editor for Ruby on Rails applications. It is built on Lexical, the text editor framework from Meta, and produces clean HTML with real paragraph tags, so content stays semantic and easy to style or process.
Is lexxy free to use? What license does it have?
lexxy is open source under the MIT license. Check the license terms before using it in commercial products.
Is lexxy still maintained?
Actively maintained. The last commit to lexxy was on Nov 7, 2026.
What can I use lexxy for?
Adding a rich text editor to a Rails app that already uses Action Text Writing comments or messages that need mentions and inline code highlighting Letting users paste rich content with Markdown and links handled automatically
How do I install lexxy?
Visit the documentation for installation instructions Try it out in the online sandbox
Where can I get lexxy?
The source code and installation instructions are on GitHub: https://github.com/basecamp/lexxy

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects