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
An extra blank line is inserted when pasting a normal paragraph
followed by a list.
Steps for Reproduction
Starting with an empty text area insert (by keyboard) a normal paragraph
containing "one", followed by a unordered list containing
"two".
The innerHTML is now <p>one</p><ul><li>two</li></ul>,
which displays correctly in the editor.
Start again with an empty text area, only this time, instead of
typing, do a programmatic clipboard.dangerouslyPasteHTML to paste
the same HTML (i.e. <p>one</p><ul><li>two</li></ul>).
Now it displays in the editor with extra lines, and the innerHTML
is now <p>one</p><p><br></p><ul><li>two</li></ul><p><br></p>
Expected behavior:
Whether keyboarding or pasting what was earlier keyboarded, the
result should be the same.
Actual behavior:
See above, under Steps for Reproduction
Platforms:
OSX 10.12, Chrome 58
Version:
Quill 1.2.4
The text was updated successfully, but these errors were encountered:
It's not working on ordered lists for me. The editor is still adding "<p><br/></p>" before each of them.
sorry - this is actually working for me. I thought I was using the latest version of quill, but I wasn't. Didn't realize I was serving it from my packages. Thanks!
An extra blank line is inserted when pasting a normal paragraph
followed by a list.
Steps for Reproduction
Starting with an empty text area insert (by keyboard) a normal paragraph
containing "one", followed by a unordered list containing
"two".
The innerHTML is now
<p>one</p><ul><li>two</li></ul>
,which displays correctly in the editor.
Start again with an empty text area, only this time, instead of
typing, do a programmatic clipboard.dangerouslyPasteHTML to paste
the same HTML (i.e.
<p>one</p><ul><li>two</li></ul>
).Now it displays in the editor with extra lines, and the innerHTML
is now
<p>one</p><p><br></p><ul><li>two</li></ul><p><br></p>
Expected behavior:
Whether keyboarding or pasting what was earlier keyboarded, the
result should be the same.
Actual behavior:
See above, under Steps for Reproduction
Platforms:
OSX 10.12, Chrome 58
Version:
Quill 1.2.4
The text was updated successfully, but these errors were encountered: