Lexical version: 0.6.4
Steps To Reproduce
- make bold non-first word
- click on clear
- editorState still gives bold format
Link to code example:
https://codesandbox.io/s/mutable-browser-tsk7n2?file=/src/App.tsx
The current behavior
Bold state is not reset after clearing formatting
The expected behavior
Bold state is set to false after clearing formatting