Headings button breaks focus in WYSIWYG editor
type: bugarea: room-input
### Describe the bug
After selecting and deselecting a heading option in the WYSIWYG editor, focus is removed from the text input, meaning typing and keyboard shortcuts no longer work.
### Reproduction
1. Enable the WYSIWYG editor by pressing the `Aa` button in the input box.
2. Write something.
3. Press the headings button and select a heading.
4. Press the headings button again to remove the heading.
5. Observe that typing and keyboard shortcuts no longer work until you click into the input box again.
### Expected behavior
Focus would remain in the editor.
### Platform and versions
```shell
1. OS: Windows 10
2. Browser: Helium version 0.9.4.1
3. Cinny version: v1.11.1 PWA
```
### Additional context
_No response_
0 条评论