You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method as described here https://froala.com/wysiwyg-editor/docs/methods/#html.get
does now (recently changed?) accept a second parameter. If you omit this second parameter (or it's effectively falsy), the output html value will be wrapped in an extra div with a font-size style attribute. This is seems like possible breaking behaviour. As far as I can see, this was changed in a recent minor froala update.
Expected behavior.
When I type "hello" in the froala editor and call editor.html.get(), I expect it to return something like <p>hello</p> as was the case in previous versions.
Actual behavior.
When I type "hello" in the froala editor and call editor.html.get(), it returns <div style=font-size:...><p>hello</p></div>
Editor version.
This changed happened between 4.1.4 and 4.3.1
The text was updated successfully, but these errors were encountered:
The method as described here https://froala.com/wysiwyg-editor/docs/methods/#html.get
does now (recently changed?) accept a second parameter. If you omit this second parameter (or it's effectively falsy), the output html value will be wrapped in an extra div with a font-size style attribute. This is seems like possible breaking behaviour. As far as I can see, this was changed in a recent minor froala update.
Expected behavior.
When I type "hello" in the froala editor and call
editor.html.get()
, I expect it to return something like<p>hello</p>
as was the case in previous versions.Actual behavior.
When I type "hello" in the froala editor and call
editor.html.get()
, it returns<div style=font-size:...><p>hello</p></div>
Editor version.
This changed happened between 4.1.4 and 4.3.1
The text was updated successfully, but these errors were encountered: