-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
If we set a default value like:
<html>
<h1><i><b>test</b></i></h1>
<p>Test</p>
</html>
Then, if we type anything in the next paragraph, it will become a header, and it won't be possible to disable the heading style for this line.
The problem is inhandleImproperHeadings method.
To Reproduce
Steps to reproduce the behavior:
- Set the default value like:
<html>
<h1><i><b>test</b></i></h1>
<p>Test</p>
</html>
- Try to type anything on the second line
- Observe that this line becomes H1/H2/H3
Expected behavior
The second paragraph should not become H1/H2/H3.
Screenshots
Screen.Recording.2025-12-04.at.13.04.13.mov
Device (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working