-
Notifications
You must be signed in to change notification settings - Fork 673
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
Editor inserting blank div when trying to save empty text v4.2.0+ #4834
Comments
Having a similar issue where content is unexpectedly wrapped in a |
@harasunu-narayan Can you please check - its been a while with this bug. I am fairly sure it should be a small fix. |
For me same problem... |
@ilyaskarim can you please look into this issue. We cannot move to newer froala version because of this bug. |
I believe this error is due to the FontFamily or FontSize plugin, if the properties ‘fontFamilyDefaultSelection’ or ‘fontSizeDefaultSelection’ have been set there. |
Confirmed that removing the default settings here fixes the issue. |
The behavior you're experiencing is intended as of Froala latest versions. The additional |
Expected behavior.
In version
4.2.0
, if empty text is saved, the editor doesn't auto inject any DOM (div) elements. This should be the expected behaviour.Actual behavior.
In version
4.3.0
, if empty text is saved, the editor is auto injecting an emptyI am surprised why it injects
"
also.Editor version.
v4.3.0
OS.
MacOS
Browser.
Chrome
The text was updated successfully, but these errors were encountered: