Closed macmartine closed 7 years ago
The editor automatically wraps entered content in a<p>.
<p>
We then save that content. When we reload the page the placeholder is still displayed. Here's the most basic haml code that shows the issue:
This works as expected, placeholder is not shown
%p#does-not-show-placeholder Hi, I'm Froala
This does not work as expected, it shows placeholder as well as the content. Placeholder should no be shown.
%p#does-show-placeholder-but-should-not %p Hi, I'm Froala
Nevermind, the issue was I'm using haml, and it bumps nested
tags out, so they are actually not nested when rendered.
The editor automatically wraps entered content in a
<p>
.We then save that content. When we reload the page the placeholder is still displayed. Here's the most basic haml code that shows the issue:
This works as expected, placeholder is not shown
This does not work as expected, it shows placeholder as well as the content. Placeholder should no be shown.