• Resolved Bub

    (@jdenning47)


    I have noticed for a several updates that when I change from the text tab to the visual tab and then back to the text tab my schema.org tags disappear. My workaround is to do a reload when returning to the text tab. This will loose any changes I made in the visual tab but at least I don’t have to redo my schema.org tags. In particular these are the tags I use around contact information. See example below of schema that will be lost.
    <h2><span style=”font-size: 20px;”>How to Contact Us</span></h2>
    <div itemscope itemtype=”https://schema.org/Organization”&gt;
    email to: <span itemprop=”email”>[email protected]</span>
    or by post to:
    </div>
    <div itemscope itemtype=”https://schema.org/PostalAddress”&gt;
    <span itemprop=”name”>My Strategies Press</span>
    <span itemprop=”streetAddress”>5060 SW Main St #</span><span itemprop=”postOfficeBoxNumber”>361</span>
    <span itemprop=”addressLocality”>Anytown</span><span itemprop=”addressRegion”> CA</span><span itemprop=”postalCode”> 92333</span>
    <span itemprop=”telephone” content=”+15552863000″>555-286-3000</span>
    </div>

    https://www.ads-software.com/plugins/html-editor-syntax-highlighter/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author James Bradford

    (@arniebradfo)

    This is not this syntax highligher plugin that is removing the html. This is the way that WordPress has designed the html and visual editors to work together.

    The short answer is: only use one of them. I know it sucks, but its really the only way to get what you want.

    here’s a link to some more info

    Thread Starter Bub

    (@jdenning47)

    Thanks for the input. What I have found subsequent to this post is that I have a combination of HTML Editor Syntax Highlighter and Preserved HTML Editor Markup Plus there is a workaround this problem. There is still a minor issue where the tag <!–mep-nl–> is inserted in the HTML version. However if a ‘reload’ is performed when these tags first show up they disappear after the reload.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Loses schema.org data’ is closed to new replies.