Trix logo

Trix

Formats text with consistency across web applications.

Made by Unknown Author

  • Javascript Libraries

What is Trix?

Trix is a rich text editor designed for everyday writing tasks within web applications. It offers a sophisticated document model, supporting embedded attachments, and generating clean, consistent HTML output. Unlike traditional WYSIWYG editors that rely on the unpredictable contenteditable and execCommand APIs, Trix treats the contenteditable element as an input/output device. It converts user input into editing operations on its internal document model, and then re-renders the updated document back into the editor. This approach gives Trix full control over the editing process, avoiding the need to use the problematic execCommand API and the inconsistencies across different browser implementations

Highlights

  • Sophisticated document model with support for embedded attachments
  • Generates terse and consistent HTML output
  • Treats contenteditable as an I/O device, avoiding reliance on buggy and inconsistent execCommand API
  • Provides complete control over the editing process and output

Platforms

  • Web
  • Self-Hosted

Languages

  • English

Features

    • Web-Based

    • Rich Text Editor