Skip to content
SPECIFICTION
Get listed

ProseMirror vs Trix

ProseMirror

prosemirror.net

Trix

trix-editor.org

Side by side

FigureProseMirrorTrix
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WebYesYes
APIYes—
Self-hostedYes—
Plans published11
Spec score · Rich Text Editor Software8.4 (#6)7.5 (#21)
Browser supportThe library works on recent Firefox, Chrome, Safari, and Edge versions, as well as Internet Explorer 11.Trix supports evergreen, self-updating desktop and mobile browsers.
Document modelThe editor gives application code control over a custom document data structure rather than treating the document as an HTML blob.It uses an internal document model to turn editor input into editing operations and render the document back into the editor.
InstallationThe official site says the easiest way to install ProseMirror is with npm.Trix is available in ESM and UMD formats, can be included from an npm CDN, or installed as an npm package.
LicenseThe project is released under the MIT license and the homepage says users are legally free to use it commercially.The GitHub project identifies Trix as an open-source project and lists an MIT license.
PurposeProseMirror is a toolkit for building rich-text editors on the web.Trix is a WYSIWYG editor for composing messages, comments, articles, and lists in web applications.

Plans

ProseMirror

  • ProseMirror open-source libraryFree

ProseMirror pricing →

Trix

  • TrixFree

Trix pricing →

In their own words

ProseMirror

ProseMirror is a toolkit for developers building rich-text editors on the web. It supports structured documents through a WYSIWYG-style interface while letting applications define document shape and content. Instead of treating a document as an HTML blob, it gives application code control over a custom data structure. Schemas and plugins provide ways to customize that structure and extend editor behavior. Four core modules handle the document model, editor state, view, and transformations; additional modules offer commands, key bindings, undo history, input macros, collaboration, and a basic schema. Multiple people can edit together in real time. Examples cover Markdown, image uploads, custom schemas, menus, code editors, footnotes, and track changes. ProseMirror is free, open source, and legally usable commercially; it can be self-hosted and is installed through npm. It works in recent Firefox, Chrome, Safari, and Edge versions, as well as Internet Explorer 11. It is a modular toolkit rather than a ready-made editor component, and implementation generally involves a bundler.

Visit prosemirror.net

Trix

Trix is a free, open-source WYSIWYG editor for composing messages, comments, articles, and lists in web applications. It uses an internal document model that turns editing into operations and renders the result as terse, consistent HTML. Default formatting covers bold, italic, links, strikethrough, headings, quotes, code, and bulleted or numbered lists. Users can drop or paste files; the host application must upload them and supply permanent URLs. GIF, PNG, WebP, JPG, and JPEG attachments receive automatic previews. Trix supports unlimited undo and redo, form integration through a changing hidden input, and toolbar customization through events and data attributes. It sanitizes content with DOMPurify, while its documentation warns that directly inserted untrusted HTML can execute before sanitization. The editor supports accessible names through label, aria-label, and aria-labelledby attributes. It runs in evergreen desktop and mobile browsers and is available through npm, npm CDN, ESM, and UMD.

Visit trix-editor.org