Is there any way to put one span inside p tag(root element of tiny mce)? I mean each new line should be
<p><span></span></p>
Any idea to achieve this?
My workarounds are these..
- I tested
forced_root_block: 'p,span'
but it wont worked. - In each key press i tried to replace
<p> with <p><span> and </p> with </span></p>
but that is not reflecting in editor and i am sure the replace logic works perfectly because i printed in console that shows the expected output(<p><span>{{my input}}</span></p>
).