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
When using the getHTML() method in toast-ui/editor, it consistently returns
instead of null when the editor is empty.
To Reproduce
Steps to reproduce the behavior:
Initialize toast-ui/editor.
Use the getHTML() method when the editor is empty.
See that "
" is returned instead of null.
Expected behavior
The getHTML() method should return null when the editor is empty just like getMarkdown().
Screenshots
Additional context
This bug affects the behavior of the getHTML() method specifically when the editor is empty. It may impact applications relying on the returned value to determine whether the editor content is empty or not.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the getHTML() method in toast-ui/editor, it consistently returns
instead of null when the editor is empty.To Reproduce
Steps to reproduce the behavior:
" is returned instead of null.Expected behavior
The getHTML() method should return null when the editor is empty just like getMarkdown().
Screenshots
Additional context
This bug affects the behavior of the getHTML() method specifically when the editor is empty. It may impact applications relying on the returned value to determine whether the editor content is empty or not.
The text was updated successfully, but these errors were encountered: