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
Copy the rendered html <p>Hello!</p><br><h1>Heading</h1> or Hello!<br><h1>Heading</h1> into the CKEditor Demo.
βοΈ Expected result
Hello!
Heading
β Actual result
Extra space between Hello! and Heading.
Hello!
Heading
β Possible solution
In the DomConverter viewChildrenToDom it asks for the fillerPositionOfset and the ContainerElement always gives a filler when it ends with a <br>. Near the code is the following comment: // Block filler is required after a if it's the last element in its container. See #1422. which points me to a irrelvant pull request (#1422), so I can not determine why it was added, but if I remove the related code I get the expected result.
π Other details
Browser: Firefox, Chromium
OS: Wndow, Linux
Tested on CKEditor Demo
If you'd like to see this fixed sooner, add a π reaction to this post.
The text was updated successfully, but these errors were encountered:
I can confirm that the reported issue is reproducible and is valid, however, from what I can see, only for the first HTML snippet. In the second HTML snippet, I do not experience the extra space that occurs in the first.
π Provide detailed reproduction steps (if any)
<p>Hello!</p><br><h1>Heading</h1>
orHello!<br><h1>Heading</h1>
into the CKEditor Demo.βοΈ Expected result
β Actual result
Extra space between Hello! and Heading.
β Possible solution
In the DomConverter
viewChildrenToDom
it asks for thefillerPositionOfset
and the ContainerElement always gives a filler when it ends with a<br>
. Near the code is the following comment:// Block filler is required after a
if it's the last element in its container. See #1422.
which points me to a irrelvant pull request (#1422), so I can not determine why it was added, but if I remove the related code I get the expected result.π Other details
If you'd like to see this fixed sooner, add a π reaction to this post.
The text was updated successfully, but these errors were encountered: