talira

A modern rich text editor for Rails

open sourceMITself-hostablefree

Lexxy is a rich text editor for Rails built on Meta's Lexical, made by 37signals to replace Trix, whose flat document model couldn't do tables. It writes real <p> paragraphs and the HTML Action Text expects, so it drops into existing Action Text fields, and adds Markdown shortcuts and auto-formatting on paste, syntax highlighting in code blocks, tables, image galleries with drag and drop, previews of PDF and video attachments, and prompts for @mentions and the like. It's designed for accessibility, powers Basecamp and Fizzy, and will become Rails' default editor.

Problems it solves

  • our Rails rich text fields need tables and code blocks with syntax highlighting
  • type Markdown shortcuts in a rich text field and paste Markdown that gets formatted
  • add @mentions with a searchable list of people to a text editor in Rails
  • preview attached PDFs and videos inside the editor
  • an accessible rich text editor that writes semantic HTML paragraphs
  • replace the default Action Text editor without changing how content is stored

Features

  • built on Lexical
  • semantic HTML with real paragraphs
  • Markdown shortcuts and auto-formatting on paste
  • real-time code syntax highlighting
  • tables
  • image galleries with drag and drop
  • paste a URL over selected text to link it
  • configurable prompts for mentions
  • PDF and video attachment previews
  • Action Text compatible HTML
View 1 more
  • accessibility

Alternatives

The same job

These do what Lexxy does.

  1. Trix A rich text editor for everyday writing
  2. Tiptap The headless rich text editor framework for web artisans
  3. CKEditor 5 Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing
  4. TinyMCE The world's #1 JavaScript library for rich text editing

Compare Lexxy with the top 3