facebook / facebook/lexical

Bug: Mentions Format was not applied, the Font size style was not applied in html

Open
#6,453 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 16h
Merged PRs (30d)
61

Description

Lexical version:

## Steps To Reproduce

1. Add some text
2. Then add any one mention.
3. After the mention add some text(not necessary)
4. Increase the font style using the FontDropDown in term of px
5. In Tree View on export DOM you can able to notice that font size was not applied for the required mentions

**Sample Images**
![image](https://github.com/user-attachments/assets/f93d1d60-344d-46ab-8384-09215549d3bd)

Link to code example:

## The current behavior

## The expected behavior
The Font size should also applicable for the Mentions.
## Impact of fix

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with text, a mention, and the FontDropDown in the Tree View, then inspect the HTML export path for how font size is applied to mentions. Done means the exported HTML preserves the selected font size on the affected mentions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.