Bug: registerUpdateListener gives stale state after clearing formatting
Open
- Dominant language
- TypeScript
- Stars
- 23.9k
- Forks
- 2.2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 57
Description
Lexical version: 16.0.0
Already reported before. My previous issue was closed with unrelated fix.
https://github.com/facebook/lexical/issues/3456
## Steps To Reproduce
1. open playground (https://playground.lexical.dev/)
2. select text
3. click bold
4. click on clear formatting
5. bold still active
Interesting it works in safari but doesn't work in chrome
Contributor guide
Assessment
This issue has not been assessed yet.