Skip to content

[lexical-website] Documentation: Add missing @lexical/react plugin docs - #8476

Merged
etrepum merged 2 commits into
meta:mainfrom
abhishekvishwakarma007:docs/add-missing-react-plugin-docs
May 7, 2026
Merged

etrepum merged 2 commits into
meta:mainfrom
abhishekvishwakarma007:docs/add-missing-react-plugin-docs

Conversation

@abhishekvishwakarma007

Copy link
Copy Markdown
Contributor

Description

Addresses #1527

Adds documentation for 12 @lexical/react plugins that were previously missing from the plugins reference page. The existing page only documented 13 of the 25 available plugins.

Newly documented plugins:

Plugin Description
LexicalAutoFocusPlugin Auto-focuses editor on mount
LexicalAutoEmbedPlugin Converts pasted links to embedded nodes
LexicalCharacterLimitPlugin Character count with overflow styling
LexicalClickableLinkPlugin Makes links clickable for navigation
LexicalCollaborationPlugin Yjs-based real-time collaboration
LexicalDraggableBlockPlugin Drag-and-drop block reordering
LexicalHashtagPlugin Auto-detects and styles hashtags
LexicalHorizontalRulePlugin Inserts horizontal rule nodes
LexicalNodeEventPlugin DOM event listener for specific node types
LexicalNodeMenuPlugin Menu anchored to a specific node
LexicalTypeaheadMenuPlugin Typeahead/autocomplete menu (e.g., mentions)

Each entry includes a brief description, required node registrations, and a usage example consistent with the existing documentation style.

Test plan

  • Verified all plugin names match actual exports in packages/lexical-react/src/
  • Verified code examples use correct import paths
  • Verified required node dependencies are noted where applicable
  • Documentation follows existing style and formatting conventions

Adds documentation for 12 React plugins that were previously undocumented
in the plugins reference page: AutoFocusPlugin, AutoEmbedPlugin,
CharacterLimitPlugin, ClickableLinkPlugin, CollaborationPlugin,
DraggableBlockPlugin, HashtagPlugin, HorizontalRulePlugin,
NodeEventPlugin, NodeMenuPlugin, TypeaheadMenuPlugin, and
NodeContextMenuPlugin (covered via NodeMenuPlugin).

Addresses meta#1527
@vercel

vercel Bot commented May 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview, Comment May 7, 2026 3:45pm
lexical-playground Ready Ready Preview, Comment May 7, 2026 3:45pm

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 7, 2026
@etrepum
etrepum added this pull request to the merge queue May 7, 2026
Merged via the queue into meta:main with commit 7fca969 May 7, 2026
6 checks passed
@etrepum etrepum mentioned this pull request May 28, 2026

This branch was successfully deployed

2 active deployments
Preview – lexical — 27568d00 Deployed May 7, 2026 by vercel[bot]
Preview – lexical-playground — 27568d00 Deployed May 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants