quill icon indicating copy to clipboard operation
quill copied to clipboard

Whenever User tries to edit any bullet point in Quill Editor extra p tag is appended after ul

Open tnvrampal opened this issue 3 years ago • 1 comments
trafficstars

Whenever User tries to edit any bullet point in Quill Editor extra p tag is appended after ul

Steps for Reproduction

  • Include Quill Editor V1.3.7.
  • Add a bullet list or any other list of items in Quill Editor and Save it.
  • Try to edit the content by adding some content in the list items and save it.
  • After saving it extra p tag is added after ul tag.

Actual behavior: Whenever User tries to edit any bullet point in Quill Editor extra p tag is appended after ul. Expected behavior: No extra spaces should be added on save.

tnvrampal avatar Jun 22 '22 07:06 tnvrampal

Just stumbled on this bug while using Quill 1.3.7 within PrimeNG in an Angular project.

I noticed that when some HTML containing a <ol></ol> or <ul></ul> is rendered, an extra <p><br></p> before the list's opening tag (<ol> or <ul>) is inserted.

I'll try to upload a small demo to reproduce the bug

brunodelucia82 avatar Sep 19 '22 12:09 brunodelucia82

Quill 2.0 has been released (announcement post) with many changes and fixes. If this is still an issue please create a new issue after reviewing our updated Contributing guide :pray:

quill-bot avatar Apr 17 '24 10:04 quill-bot