Trix
A rich text editor for everyday writing.
- Free • Open Source
- Self-Hosted
More ▼
What is Trix?
Compose beautifully formatted text in your web application. Trix is a WYSIWYG editor for writing messages, comments, articles, and lists—the simple documents most web apps are made of. It features a sophisticated document model, support for embedded attachments, and outputs terse and consistent HTML.
Most WYSIWYG editors are wrappers around HTML’s contenteditable and execCommand APIs, designed by Microsoft to support live editing of web pages in Internet Explorer 5.5, and eventually reverse-engineered and copied by other browsers.
Because these APIs were never fully specified or documented, and because WYSIWYG HTML editors are enormous in scope, each browser’s implementation has its own set of bugs and quirks, and JavaScript developers are left to resolve the inconsistencies.
Trix sidesteps these inconsistencies by treating contenteditable as an I/O device: when input makes its way to the editor, Trix converts that input into an editing operation on its internal document model, then re-renders that document back into the editor. This gives Trix complete control over what happens after every keystroke, and avoids the need to use execCommand at all.
Most WYSIWYG editors are wrappers around HTML’s contenteditable and execCommand APIs, designed by Microsoft to support live editing of web pages in Internet Explorer 5.5, and eventually reverse-engineered and copied by other browsers.
Because these APIs were never fully specified or documented, and because WYSIWYG HTML editors are enormous in scope, each browser’s implementation has its own set of bugs and quirks, and JavaScript developers are left to resolve the inconsistencies.
Trix sidesteps these inconsistencies by treating contenteditable as an I/O device: when input makes its way to the editor, Trix converts that input into an editing operation on its internal document model, then re-renders that document back into the editor. This gives Trix complete control over what happens after every keystroke, and avoids the need to use execCommand at all.
Show full description ▾
Comments and Reviews Post a comment / review all • positive • negative relevance • date
No comments or reviews, maybe you want to be first?Platform details
Self-Hosted: https://github.com/basecamp/trix
Tags
- Javascript Libraries

Trix
Summary
Our users have written 0 comments and reviews about Trix, and it has gotten 2 likes
- Open Source and Free product.
- 28 alternatives listed
Popular alternatives
- 1
- 2
- 3
Trix was added to AlternativeTo by Ugotsta on Oct 21, 2015 and this page was last updated Sep 29, 2018.
Recent user activities on Trix
- jalbam added Trix as alternative(s) to CrossBrowdyover 2 years ago
- N1ED added Trix as alternative(s) to N1EDalmost 3 years ago
- jaroskarl liked Trixjaabout 3 years ago