I am writing a plugin and have this code:
$settings = array("media_buttons" => false, "wpautop" => false, "teeny" => true);
wp_editor("", "viddesc", $settings);
The problem is when I paste this in wp editor:
<span class='infoTitle'>Nulla mauris justo</span>
And save it, it becomes this:
<p><span class='infoTitle'>Nulla mauris justo</span></p>
Is there a away to avoid adding p tags and converting <> characters?
Thank you.