I’m using ACF with the simple WYSIWYG editor. Normal content I’m publishing there and HTML commands in the <>-editor.
But always when I save the posting himself in the HTML-editor are coming new <p></p>-commands. This destory all the the outfit.
Is there any workaround or is it a well-known bug?
What version of ACF are you using?
For the most part the ACF WYSIWYG editor works the same as the standard WP WYSIWYG editor, meaning that it automatically adds
<br /> tags where it thinks it needs them.
Here’s an older topic where the developer talks about this and ways that it can be removed. http://support.advancedcustomfields.com/forums/topic/removing-paragraph-tags-from-wysiwyg-fields/
thanks for that hint.
remove_filter ('acf_the_content', 'wpautop');
in the functions.php. But still after a resave of the post I’m getting <p></p> inserted.
Any other idea?
Are you using ACF4 or 5?
Do you have both the visual and text tabs available on the WYSIWYG field?