Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New line autoreplace and remove #547

Closed
Zarkheim opened this issue May 13, 2024 · 2 comments
Closed

New line autoreplace and remove #547

Zarkheim opened this issue May 13, 2024 · 2 comments
Labels
wontfix This will not be worked on

Comments

@Zarkheim
Copy link

Hello,

We recently switch to quill on our app, and a lot of content comes from our database.
However some content, like the below example :

<ul>
<li style="box-sizing: inherit;">Test</li>
<li style="box-sizing: inherit;">Test</li>
<li style="box-sizing: inherit;">Test</li>
<li>&nbsp;</li>
</ul> 

Are automaticaly removed or replace, and we have this as a result :

<p><br></p><p> </p>

Is there a solution to avoid this problem ?
Thanks a lot !

@cornelRaiu
Copy link

@Zarkheim maybe try to add the content type prop like so:

<QuillEditor content-type="html" v-model:content="someHtmlContent" />.

Copy link

stale bot commented Sep 4, 2024

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.

@stale stale bot added the wontfix This will not be worked on label Sep 4, 2024
@stale stale bot closed this as completed Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants