# Trix

> A rich text editor for everyday writing

Source: https://talira.ai/catalog/trix-veyv0xxv
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / editors / rich text](https://talira.ai/categories/libraries/editors/rich-text), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Platforms: web[^3]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [37signals](https://talira.ai/orgs/37signals.md)
- Funding: bootstrapped[^4][^5][^6]

Trix is a WYSIWYG editor for the simple documents web apps are made of: messages, comments, articles and lists. It's a custom element (`<trix-editor>`) with its own document model rather than `contenteditable` commands, supports embedded attachments such as images and files, and outputs short, consistent HTML. 37signals built it for Basecamp in 2015, and it's the editor behind Rails' Action Text since Rails 6; [Lexxy](https://talira.ai/catalog/lexxy-g21sderk.md), built on Lexical, is its successor in Rails.

## Links

- Website: https://trix-editor.org
- GitHub: https://github.com/basecamp/trix

## Problems it solves

- a WYSIWYG editor for comments and messages that outputs clean, consistent HTML
- let users paste and attach images and files inside a text field
- rich text editing for a Rails app's Action Text fields
- a simple rich text editor that doesn't produce messy markup from contenteditable

## Features

- \<trix-editor\> custom element
- own document model
- embedded attachments
- terse, consistent HTML output
- undo and redo
- Action Text integration in Rails

## Trust

Overall: 0.37 out of 1.
Signals: backing 0.55, extensibility 0.00.

- backed by 37signals
- funding: bootstrapped

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Lexxy](https://talira.ai/catalog/lexxy-g21sderk.md): A modern rich text editor for Rails
- [Quill](https://talira.ai/catalog/quill-gbrkh4he.md): Quill is a modern WYSIWYG editor built for compatibility and extensibility
- [Tiptap](https://talira.ai/catalog/tiptap-j5qbgxa3.md): The headless rich text editor framework for web artisans
- [CKEditor 5](https://talira.ai/catalog/ckeditor-5-b1w05kmz.md): Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing
- [TinyMCE](https://talira.ai/catalog/tinymce-wbkt0vze.md): The world's #1 JavaScript library for rich text editing
- [Lexical](https://talira.ai/catalog/lexical-4p1yzh9p.md): An extensible text editor framework that provides excellent reliability, accessibility and performance

## Sources

[^1]: https://github.com/basecamp/trix/blob/main/LICENSE (checked 21 Nov 2026)
[^2]: https://github.com/basecamp/trix (checked 21 Nov 2026)
[^3]: https://trix-editor.org/ (checked 21 Nov 2026)
[^4]: https://37signals.com/01 (checked 21 Nov 2026)
[^5]: https://37signals.com/jobs (checked 21 Nov 2026)
[^6]: https://basecamp.com/pricing (checked 21 Nov 2026)
