Skip to content

[lexical-react] feat: Context Menu icons - #7697

Merged
ivailop7 merged 4 commits into
facebook:mainfrom
ivailop7:context_menu_v3
Jul 21, 2025
Merged

ivailop7 merged 4 commits into
facebook:mainfrom
ivailop7:context_menu_v3

Conversation

@ivailop7

@ivailop7 ivailop7 commented Jul 16, 2025 •

Copy link
Copy Markdown
Collaborator

Add support for icons in the new floatingUI-based context menu (LexicalNodeContextMenu).

image

@vercel

vercel Bot commented Jul 16, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 19, 2025 11:11pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 19, 2025 11:11pm

@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 Jul 16, 2025
@ivailop7 ivailop7 added the extended-tests Run extended e2e tests on a PR label Jul 16, 2025
etrepum
etrepum previously approved these changes Jul 16, 2025

@etrepum etrepum left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visually the layout in the playground feels a bit unbalanced, maybe because the margin-right of the icon is 10px and the padding-right of the text is 8px but that's just a playground nit

(edit: code looks good and is a useful addition, so approved, up to you if you want to merge as-is or tweak layout)

@ivailop7

Copy link
Copy Markdown
Collaborator Author

I'll prettify it a bit more

@ivailop7

Copy link
Copy Markdown
Collaborator Author

@etrepum can I get a reapproval

@ivailop7
ivailop7 added this pull request to the merge queue Jul 21, 2025
Merged via the queue into facebook:main with commit 08fb1c0 Jul 21, 2025
@etrepum etrepum mentioned this pull request Aug 7, 2025

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — 357e6ef1 Deployed Jul 19, 2025 by vercel[bot]
Preview – lexical — 357e6ef1 Deployed Jul 19, 2025 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. extended-tests Run extended e2e tests on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants