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
Trailing newline is not removed when blots/block tagName is replaced with DIV.
This check was added in 1fab1bd
But when you replace the tagName all delta ops will have attribute {block: true} and this check is not correct.
Steps for Reproduction
var Block = Quill.import("blots/block");
Block.tagName = "DIV";
Quill.register(Block, true);
Use HTML
<div>This is a test</div>
Expected behavior:
<div>This is a test</div>
Actual behavior:
<div>This is a test</div> <div><br></div>
Platforms:
Windows Chrome, Windows Firefox, Mac Firefox, Mac Chrome
Version:
2.0.0
The text was updated successfully, but these errors were encountered:
Trailing newline is not removed when blots/block tagName is replaced with DIV.
This check was added in 1fab1bd
But when you replace the tagName all delta ops will have attribute {block: true} and this check is not correct.
Steps for Reproduction
var Block = Quill.import("blots/block");
Block.tagName = "DIV";
Quill.register(Block, true);
Use HTML
<div>This is a test</div>
Expected behavior:
<div>This is a test</div>
Actual behavior:
<div>This is a test</div>
<div><br></div>
Platforms:
Windows Chrome, Windows Firefox, Mac Firefox, Mac Chrome
Version:
2.0.0
The text was updated successfully, but these errors were encountered: