Use this file to discover Exa products, pricing, evaluations, comparisons, use cases, agent interfaces, and technical documentation before exploring further.
JavaScript rich text editor libraries add formatted text editing, such as bold, lists, links, and images, to a web page. An editor keeps the document in its own structured model rather than in raw HTML. These libraries let content management systems, email builders, and AI writing tools collect formatted text that apps can store and render.
Popularity
ProseMirror has the most monthly downloads in this comparison, at 150.5M, a count that includes editors built on it, such as Tiptap.
// code{import {EditorState} from "prosemirror-state"
import {EditorView} from "prosemirror-view"
import {Schema, DOMParser} from "prosemirror-model"
import {schema} from "prosemirror-schema-basic"
import {addListNodes} from "prosemirror-schema-list"
import {exampleSetup} from "prosemirror-example-setup"
// Mix the nodes from prosemirror-schema-list into the basic schema to// create a schema with list support.const mySchema = new Schema({
nodes: addListNodes(schema.spec.nodes, "paragraph block*", "block"),
marks: schema.spec.marks
})
window.view = new EditorView(document.querySelector("#editor"), {
state: EditorState.create({
doc: DOMParser.fromSchema(mySchema).parse(document.querySelector("#content")),
plugins: exampleSetup({schema: mySchema})
})
})
// }
() => {
// Tiptap v3's Editor.destroy() sets commandManager to null, and the // `commands` getter dereferences it. When the editor is recreated (e.g. // readOnly/disabled/editorOptions/id change), this passive effect can run // against the just-destroyed instance, throwing "Cannot read properties of // null (reading 'commands')". Bail out on destroyed editors as well. if (!editor || editor.isDestroyed) return;
const { from, to } = editor.state.selection;
editor.commands.setContent(field.value, {
emitUpdate: false,
parseOptions: { preserveWhitespace: true },
});
editor.commands.setTextSelection({ from, to });
}
Lexical
Provides an extensible text editor framework with a focus on reliability and accessibility.
TinyMCE and CKEditor suit apps that want a ready editor with a toolbar. Quill suits apps that want a themed editor with a Delta document API. Tiptap and Lexical suit apps that build their own editor interface.
Quill ships a theme and toolbar with a Delta-based document API. Tiptap is a headless editor framework with no preset interface.
Lexical offers optional React packages on framework-independent editing infrastructure. Slate is a React framework with application-defined JSON nodes. Tiptap offers React integration over ProseMirror.
Tiptap is built on ProseMirror and packages it as extensions with framework integrations. ProseMirror itself composes separate state, model, transform, and view modules for a custom schema.
TinyMCE is an embeddable HTML WYSIWYG editor with a toolbar, themes, and a plugin system.
For coding agents
Found your rich-text editor library? Help your agent use it.
Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.