Support

Account

Home Forums Backend Issues (wp-admin) HTML-Attributes are removed (wysiwyg)

Solving

HTML-Attributes are removed (wysiwyg)

  • Hi

    I use ACF for informations in a footer of a wordpress site.
    I wanted to add structured data (schema.org) to the address data that’s in a WYSIWYG-field.
    When I enter the code in the HTML-view, certain attributes are removed!

    Like if I insert:

    <address itemscope itemtype="http://schema.org/LocalBusiness">

    it saves only

    <address>

    What am I doing wrong?

    Thanks
    Raphael

  • ok, seems only the editor isn’t showing it, I see it in the database. Strange, however!

  • Hi, I’m seeing this problem too. It’s confusing behaviour if you go back to re-edit & save a WYSIWYG field, as the stripped-tags version of the content over-rides the intended content. Is there a temporary way to fix it using acf_the_content filter for now?

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘HTML-Attributes are removed (wysiwyg)’ is closed to new replies.