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

No line break tags being added with quill 2.0 #4424

Open
Jbritchie opened this issue Sep 26, 2024 · 0 comments
Open

No line break tags being added with quill 2.0 #4424

Jbritchie opened this issue Sep 26, 2024 · 0 comments

Comments

@Jbritchie
Copy link

Jbritchie commented Sep 26, 2024

Im having an issue where it seems quill is not outputting br tags when saved.

No matter what formatting I choose it builds the markup within in editor but when saved it becomes empty p tags with no break include, this problem startet upon updating to the 2.0 from the old version.

The quill setup is fairly standard and nothing major has been changed other than some styling.

Example:
In editor :

<p>this is line one</p>
<p><br></p>
<p>this is line three</p>

output:

<p>this is line one</p>
<p></p>
<p>this is line three</p>

Expected behavior:
Leaving a blank line between paragraphs would produce a br tag to seperate content.

Actual behavior:
No br tag is added when saved, not after list or any other type of element.

@Jbritchie Jbritchie reopened this Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant