Platform and Target: Safari browser in macOs (not tested on other platforms other than Chrome in macOs)
Live Link (issue visible directly in your demo) : Text Editor demo
Describe the bug
On Safari browser (tested on macOs), the text editor component leaves a single <br> tag behind when erasing the text, which prevents it from being empty and thus display the placeholder or handling empty text validation.
Describe the bug
On Safari browser (tested on macOs), the text editor component leaves a single
<br>
tag behind when erasing the text, which prevents it from being empty and thus display the placeholder or handling empty text validation.It seems to work well on chrome (see screenshots)
To Reproduce
Steps to reproduce the behavior:
Screenshots (taken from Text Editor demo)
Safari (after erasing text):
Chrome (after erasing text) :