Unyson
Unyson copied to clipboard
Stripping HTML out of Paragraph element
- I placed a PARAGRAPH element into my page.
- I add code to the code to the TEXT editor.
- I publish the page
- When I preview the page the HTML is stripped out.
Any inline code is stripped from the rendered page.
adding element:

pasting CODE:

Rendered page minus code.

Hey, just add this peace of code to your functions.php
remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' ); remove_filter('comment_text', 'wpautop');
There is no way to do that. If you want to use html in option type editor add a textarea or you can try to use tags
with classes. The issue occurs because we use some triggers js events like click, resize to refresh editor we tried several methods but no result has been obtained.