vueup / vue-quill

Rich Text Editor Component for Vue 3.
https://vueup.github.io/vue-quill/
MIT License
1.13k stars 282 forks source link

List not rendering properly. #379

Closed kshitijsubedi closed 1 year ago

kshitijsubedi commented 1 year ago

Version @vueup/vue-quill 1.2.0

Describe the bug If the HTML content has space in between the elements, the lists are not rendering.

ex: this works <ol><li>item1</li><li>item2</li></ol> this doesn't <ol><li>item1</li> <li>item2</li></ol> this doesn't <ol> <li>item1</li><li>item2</li></ol>

Notice there is space in between list elements.

To Reproduce Steps to reproduce the behavior:

const text = ref('<ol><li>item1</li> <li>item2</li></ol>');
<QuillEditor v-model:content="text" contentType="html" />

Expected behaviour It should display list properly

Reproduction link https://stackblitz.com/edit/github-psltdg

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.