qmetrics.net

Trix

Web WYSIWYG rich text editor component

Website BuildersDesktop/CLI app
Trix screenshot

Trix is a browser rich text editor for messages, comments, and articles, with attachments and consistent HTML output for web applications.

Overview

Trix targets everyday rich text in web apps such as messages, comments, articles, and lists. It provides WYSIWYG editing with a toolbar, structured document model, embedded attachment support, and compact HTML output.

Instead of relying on browser execCommand inconsistencies, input is translated into edits on an internal document model and re-rendered to the editable surface. That design gives predictable behavior across evergreen desktop and mobile browsers.

The editor ships as ESM and UMD bundles for asset pipelines or npm imports, with default styles for toolbar and content. Custom elements integrate with forms via hidden fields or Element Internals, and support validation, accessibility labels, programmatic editing APIs, and file drag-and-drop attachments.

It is used in products from 37signals including Basecamp and HEY, and builds on web standards such as custom elements and mutation observers.

Key features

  • WYSIWYG rich text editing
  • Internal document model
  • File attachment drag and drop
  • Consistent HTML output
  • Custom toolbar placement
  • Form and validation integration
  • ESM and UMD distribution

Use cases

  • Comment and message composers
  • Article editing in web apps
  • Rich text with image attachments
  • Replacing contenteditable-only editors

Tags

Similar software

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

★ 122.3k⟳ yesterdayMIT
AI Assisted CodingDesktop/CLI app

Hugo

Go-based static site generator with flexible templating

Hugo is a static site generator written in Go. It turns content and templates into deployable HTML sites with asset pipelines for CSS, JavaScript, Sass, and images.

★ 90.6k⟳ todayApache-2.0
Build & DeploymentDesktop/CLI app

Docusaurus

React-based static site generator for documentation

Docusaurus builds documentation sites, blogs, and marketing pages from MDX content. It ships preset layouts and plugins so teams can publish quickly.

★ 66.8k⟳ todayMIT

Astro

JavaScript web framework for content-driven sites

Astro builds content sites, web apps, and server APIs with server-first rendering, optional UI islands, and integrations for major frameworks.

★ 64.3k⟳ todayMIT

Nuxt

Full-stack Vue framework for web applications

Nuxt builds type-safe Vue apps with file routing, multiple render modes, server directory APIs, and a large module ecosystem.

★ 61.1k⟳ todayMIT

Gatsby

React-based framework for fast content-driven sites

Gatsby is a React framework for building websites and apps, blending static generation with dynamic React capabilities. It pulls data from markdown, CMSs, and APIs through a unified GraphQL layer.

★ 55.9k⟳ 18 days agoMIT