Closed
Description
When adding some text, then backspacing all the way, the placeholder does not restore. And when saving, the content that persists is a single <br>
tag.
I think it's because the elseif
on this line is commented out.
Placing if (content.innerHTML === '<br>') content.innerHTML = '';
on its own line below seems to solve the problem. Not sure if there are any adverse side-effects.
Metadata
Metadata
Assignees
Labels
No labels