Is there a way to hide the next element using execCommand configuration?
<font color="xxxxxxx"></font>
I am facing an issue while creating a simple editor for a project. I am struggling with CSS formatting and the font tag is not helping. Is there a solution to this problem?
Another challenge is that I am unable to achieve the desired structure like below:
<p>
Lorem ipsum dolor sit amet.
</p>
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<p>
Lorem ipsum dolor sit amet.
</p>
Instead, it appears like this:
<p>
Lorem ipsum dolor sit amet.
</p>
<p>
<ul>
<li></li>
<li></li>
<li></li>
</ul>
</p>
The editor uses execCommand and an iframe for editing purposes.