Support » Plugin: Raw HTML » Some markup still getting purged

  • Resolved SVTX


    Hi there,

    I’m building a custom tab box for a client site and I’m using your plugin to help keep the HTML in place. I’ve noticed however that some markup still gets purged.

    <a class="tablinks" onmouseover="openCompany(event, 'name')"><img src="logo.png" alt="" width="114" height="67" /></a>

    After saving:

    <a class="tablinks"><img src="logo.png" alt="" width="114" height="67" /></a>

    This only happens when the site is saved in VISUAL editor, ofc.

Viewing 1 replies (of 1 total)
  • Plugin Author Janis Elsts


    The free version doesn’t support the Visual editor. You’ll need to use the Text editor to ensure that code doesn’t get removed when saving the page or switching between Visual and Text.

    The Pro version handles this problem by replacing the content between [raw] tags with a read-only placeholder when you switch to the Visual editor. You still have to switch to the Text editor to edit that content, but you can edit the rest of the page – i.e. the stuff outside [raw] tags – in Visual mode.

Viewing 1 replies (of 1 total)
  • The topic ‘Some markup still getting purged’ is closed to new replies.