Formatting not working after Upgrading to Quill 2.0.3 from 1.3.7
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:
Visual Example with Quill 2:
same issue I am facing editor focus is getting lost and size formating is not working