You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The editor formats the inserted HTML very strangely if it uses more than one <br> character in a row
For some reason, the editor leaves only one <br> character out of several in a row.
<div>
Header <br><br>
Line 1<br><br>
Line 2<br><br>
Line 3 <br><br><br>
Footer</div>
Return to editor mode.
Insert the cursor, for example, between Line 1 and Line 2
Press "Enter" key
Press the "Enter" key again
After point 5. the cursor will jump to the very beginning of the text to the line "Header"
After point 6. spaces between lines will be removed, but an empty line will be added at the very top of the text.
In "Code View" we will see this HTML:
<div><br>
</div>
<div>Header <br>
Line 1<br>
Line 2<br>
Line 3 <br>
Footer</div>
Expected behavior
After pressing the "Enter" key twice in a row, two empty lines should be added.
Screenshots
It should be like this:
But it turns out like this:
Desktop (please complete the following information):
OS: Windows 10
Browser chrome
Version 123.0.6312.123
The text was updated successfully, but these errors were encountered:
Describe the bug
The editor formats the inserted HTML very strangely if it uses more than one
<br>
character in a rowFor some reason, the editor leaves only one
<br>
character out of several in a row.To Reproduce
After point 5. the cursor will jump to the very beginning of the text to the line "Header"
After point 6. spaces between lines will be removed, but an empty line will be added at the very top of the text.
In "Code View" we will see this HTML:
Expected behavior
After pressing the "Enter" key twice in a row, two empty lines should be added.
Screenshots
It should be like this:
But it turns out like this:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: