HTML works in editor, disappears when published…

  • Author
  • #1080736


    Specifically this (below) works beautifully when I switch between the “Text” and “Visual”. But when I hit “Publish” all I get is the box with “??????” without the ability to click in the box and reveal “A Girl!” (Yes, I’m having a girl, yaaaaaay)


    <div id=”showwithbox_id” onclick=”document.getElementById(‘spoilerwithbox_id’).style.display=”; document.getElementById(‘showwithbox_id’).style.display=’none’;” style=”border:dotted 1px; width:50px; height:20px;”>?????</div><div id=”spoilerwithbox_id” onclick=”document.getElementById(‘spoilerwithbox_id’).style.display=’none’; document.getElementById(‘showwithbox_id’).style.display=”;” style=”display:none;color: pink; background-color: black;border:dotted 1px; width:200px; height:100px;”>A GIRL!</div>

    The blog I need help with is

The topic ‘HTML works in editor, disappears when published…’ is closed to new replies.