Skip to content
SPECIFICTION
Get listed

MDXEditor vs Trix

MDXEditor

mdxeditor.dev

Trix

trix-editor.org

Side by side

FigureMDXEditorTrix
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WebYesYes
Plans published11
Spec score · Rich Text Editor Software8.3 (#9)7.5 (#21)
LicenseThe GitHub repository lists an MIT license.The GitHub project identifies Trix as an open-source project and lists an MIT license.

Plans

MDXEditor

  • Open-source MDXEditorFree

MDXEditor pricing →

Trix

  • TrixFree

Trix pricing →

In their own words

MDXEditor

MDXEditor is a web-based React component for writing Markdown in a rich-text editor. It accepts and returns Markdown strings, without converting documents through an intermediate HTML representation. Its editing engine uses Lexical, and developers can add capabilities with plugins or build plugins for additional Markdown constructs. Listed tools include headings, quotes, links, lists, images, tables, code blocks, front matter, shortcuts, directives, JSX components, source editing, diff views, and a customizable toolbar. Table editing covers rows, columns, and alignment, with Markdown allowed in cells but not HTML tables. Images can come from URLs or local devices, be pasted or dropped, and use an integrator-provided upload handler. Code blocks support syntax highlighting and language-aware editing, with CodeMirror available for editable blocks. It is installed from npm in React projects and has setup guides for Next.js, Vite, Remix, and Create React App. It is self-hosted, free at free, and licensed under MIT. Server rendering and changes to font size, color, or family are not supported.

Visit mdxeditor.dev

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