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

Formatting not working after Upgrading to Quill 2.0.3 from 1.3.7 #4589

Open
fstrelczuk opened this issue Jan 31, 2025 · 0 comments
Open

Formatting not working after Upgrading to Quill 2.0.3 from 1.3.7 #4589

fstrelczuk opened this issue Jan 31, 2025 · 0 comments

Comments

@fstrelczuk
Copy link
Contributor

We upgraded from 1.3.7 to 2.0.3 as no relevant changes were mentioned in Upgrading to 2.0. After the upgrade we see some strange behavior regarding new lines and formatting.

Example in Quill 1.3.7 works just fine: Example 1
Example in Quill 2.0.3 seems broken: Example 2

In both examples we used the playground with the following delta content:

quill.setContents({ "ops": [ { "insert": "Liebe Eltern,\n\nhiermit bestätigen wir Euch die Teilnahme Eures Kindes an folgendem Schwimmkurs:\n\n", "attributes": { "bold": false, "underline": false, "italic": false, "indent": 0, "list": null, "color": null, "link": null, "header": 0 } }, { "insert": "Bla", "attributes": { "bold": true, "underline": false, "italic": false, "indent": 0, "list": null, "color": null, "link": null, "header": 0 } } ] })

In version 2 you can see the line break is missing and if you analyze the html output there are some "undefined" tags.

The example delta was generated using quill 1.

Visual Example with Quill 1:

Image

Visual Example with Quill 2:

Image

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