Mercury Editor is a rich text toolkit that treats entire web pages as editable regions. It uses HTML5 contentEditable on block elements instead of iframes so page CSS applies naturally.
Overview
Mercury Editor targets sites where editors work directly on the live page layout rather than inside a separate document widget. It follows a usage model unlike typical iframe-based editors: you declare editable regions on the page, share one toolbar across them, and edit in place.
The editor supports preview while editing, links, embedded media, drag-and-drop image upload, tables, reusable snippets, and several built-in region types including full HTML, simple text, Markdown, snippets, and image-only areas. An internationalization layer handles translations with a low-profile approach.
Integration centers on Ruby on Rails via the mercury-rails gem, generators for configuration, optional image upload backends, and basic authentication hooks. Non-Rails projects can bundle the JavaScript and follow wiki guidance; the demo on the gh-pages branch shows a static integration.
Compared with editors such as TinyMCE or CKEditor, Mercury emphasizes page-level editing and stylesheet fidelity. It expects modern browsers that follow W3C content editing specifications and does not target legacy browsers. The Rails-centric distribution is noted as deprecated in favor of a successor rewrite, but the described feature set reflects the classic Mercury Editor line.
Key features
- Whole-page inline editing regions
- HTML5 contentEditable without iframes
- Preview, links, and media tools
- Drag-and-drop image upload
- Table editing and snippets
- Multiple region types (HTML, Markdown, simple)
- Rails gem and generators
- Built-in translation support
Use cases
- In-place CMS editing on Rails sites
- Marketing pages with styled editable blocks
- Static sites with bundled Mercury JS
- Mixed Markdown and HTML content zones
- Authenticated admin-only page editing