substitutefor

Contribute to the catalog

Improve Lexical

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

Draft comparisons

These comparisons link to articles by their planned address. Edit them under Structured data.

  • tiptap — Building custom text and rich-text editing experiences
2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · Lexical license

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · Lexical introduction

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · Lexical editor state

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · Lexical serialization

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · Lexical React FAQ

Source 5

Source details

To remove this source, first uncheck its citations.

Source 6 · Lexical React collaboration

Source 6

Source details

To remove this source, first uncheck its citations.

Source 7 · Tiptap editor overview

Source 7

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · Editor infrastructure and product interface

Section 1

Sources for paragraph 1
2 · Working with the document model

Section 2

Sources for paragraph 1
3 · Saved content depends on compatible readers

Section 3

Sources for paragraph 1
4 · Interchange is not the same as native persistence

Section 4

Sources for paragraph 1
5 · Initial configuration and repeated effects

Section 5

Sources for paragraph 1
6 · Collaborative editing needs infrastructure

Section 6

Sources for paragraph 1
7 · License and substitution

Section 7

Linked to tiptap. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

Capabilities5

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

Lexical

MIT-licensed extensible text-editor framework with an internal document model, optional packages and React/Yjs integrations.

Overview

Lexical is an open-source framework for building text editors. It maintains a document model behind a contenteditable element and provides optional packages for richer features. The core is framework-agnostic, with React bindings available. Applications still supply toolbars, layout, styling and storage, so it is a foundation for an editor rather than a complete hosted writing product.[2]

Editor infrastructure and product interface

Lexical supplies the editor, base node types, commands, selection handling and DOM reconciliation. Optional packages add features around that core, while the application supplies its controls and persistence. This makes it relevant to a comments field, a CMS editor or a richer document interface, but the amount of product UI to build depends on the selected packages and requirements.[2]

Working with the document model

The model, rather than the editable DOM, is the source of truth. Committed editor states are immutable snapshots; updates occur in synchronous callbacks, and state-sensitive dollar-prefixed functions must run in the appropriate read or update context. Asynchronous work should finish before entering that context. The saved JSON describes the document tree and omits selection and runtime node keys, so it is not a full recording of the user's transient editing session.[3]

Saved content depends on compatible readers

Restoring JSON requires the relevant node types to be registered. Current serialization documentation distinguishes legacy output from opt-in compact output and warns that compact documents need sufficiently new readers. It recommends additive property evolution with defaults rather than silently changing the meaning of existing fields. These are document-lifecycle requirements for an application that keeps content longer than one deployment.[4]

Interchange is not the same as native persistence

Lexical documents JSON, HTML and Markdown paths. HTML conversion requires a DOM environment and uses configured conversion rules; JSON and Markdown do not inherently require that environment. A generic file-format label does not establish lossless import from another editor's custom nodes. A migration should compare representative content rather than assume both editors storing JSON means their data is compatible.[4][7]

Initial configuration and repeated effects

The React FAQ says initial configuration is considered when the editor is created, rather than functioning as an ordinary controlled value updated on every render. It also emphasizes correct effect behavior under StrictMode, including avoiding duplicate document changes during initialization. Generated React code should therefore use the appropriate editor APIs for later content changes and clean up its effects rather than repeatedly reseed the document.[5]

Collaborative editing needs infrastructure

Lexical provides React collaboration integration on top of Yjs bindings. The inspected guide identifies y-websocket as its officially supported connection provider and requires a WebSocket server to synchronize clients. Persistence across server restarts is a separate configuration. This is an integration route, not a hosted collaboration account or a guarantee that authorization, deployment and document retention are already implemented.[6]

License and substitution

Lexical's source is MIT-licensed. It can replace Tiptap as the basis of a custom text editor when its document model and packages fit the product. That requires adapting nodes, commands, UI and persistence rather than only changing a component import. No installation, document conversion or collaborative-session test was performed.[1][2][7]

References

  1. Lexical license

    MIT terms

    vendor · retrieved 2026-10-07
  2. Lexical introduction

    Core model, optional packages and app-owned interface/storage

    vendor · retrieved 2026-10-07
  3. Lexical editor state

    Immutable committed snapshots, synchronous updates and serialized-state scope

    vendor · retrieved 2026-10-07
  4. Lexical serialization

    Registered node types, compact JSON reader compatibility and additive evolution

    vendor · retrieved 2026-10-07
  5. Lexical React FAQ

    One-time initial configuration and StrictMode effect discipline

    vendor · retrieved 2026-10-07
  6. Lexical React collaboration

    Yjs plugins, y-websocket provider and server persistence

    vendor · retrieved 2026-10-07
  7. Tiptap editor overview

    Headless ProseMirror-based alternative

    vendor · retrieved 2026-10-07

Also included: 5 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.

Contribution type

Agree to CC0 above to submit your contribution.