fastmail/squire

The rich text editor for arbitrary HTML.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 1 hour ago
Added to GitGenius on September 14th, 2026
Created on October 29th, 2011
Open Issues & Pull Requests: 57 (+0)
GitHub issues: Enabled
Number of forks: 414
Total Stargazers: 4,913 (+0)
Total Subscribers: 101 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 13.4 days
Mean response time: 271.6 days
90th percentile: 1664.1 days
Tracked items: 22

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 17
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 773 days
Stale 30+ days: 17
Stale 90+ days: 16

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.

Detailed Description

Squire is a rich text editor for arbitrary HTML that prioritizes cross-browser compatibility and minimal footprint without external dependencies.

Squire solves the problem of editing email composition and forwarded messages that contain third-party HTML, which most modern editors cannot handle well. Rather than imposing a structured internal data model that would limit what HTML it can accept, Squire keeps the HTML as the source-of-truth and normalizes it across browsers. This approach allows it to preserve formatting from arbitrary sources while remaining lightweight at only 16KB after minification and gzip compression. The tool handles multiple levels of blockquotes particularly well, a consequence of its email-focused design.

Squire suits projects where you need to edit and preserve arbitrary HTML without bloat, especially email composition systems. It is designed to integrate with your own UI framework rather than provide its own toolbar or widgets, so you get a component you can insert in place of a textarea and manipulate programmatically. This means you control the UI entirely and avoid loading duplicate UI toolkits. The tool supports all reasonably recent browsers but no longer supports Internet Explorer. If you need a self-contained editor with built-in UI controls, other editors may be more suitable, but if you want a lightweight, framework-agnostic editing component that respects arbitrary HTML, Squire's approach is distinctive.

The project maintains active production usage across multiple email services and other applications. Development includes regular bug fixes and enhancements to handle edge cases in HTML normalization. The maintainers actively track real-world usage and welcome reports of new applications using the tool. The codebase remains focused on its core mission of reliable HTML editing without feature creep, as evidenced by the deliberate choice to exclude built-in UI components.