• In previous versions, adding advanced markup in WordPress posts was easy – adding an HTML comment to a div would prevent the editor from stripping it, as in:

    <div class="clearleft"><!----></div>

    Just an example of how something like that could be useful – a functional, empty div.

    Old versions would leave these elements untouched.

    In 3.2, however, switching from the HTML editor to the wysiwyg editor removes these entirely.

    Is there a way to restore the old behavior/prevent this from happening?

Viewing 3 replies - 16 through 18 (of 18 total)
  • I was just adding Microdata to my contact page and wanted to look at it visually so I clicked on that evil button as well. All the useful code I just typed in got stripped away ?? boo

    There should be an option to turn off that feature. How do we add image maps or Microdata if the code gets stripped away?

    I gave up and started to use the RAWR plugin. It allows you to place code within [rawr]…[/rawr] shortcodes and works like a charm.

    You can add image maps with Ultimate Tinymce (however you must use firefox when creating the image map).

    https://www.ads-software.com/extend/plugins/ultimate-tinymce/

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Visual Editor now strips HTML comments (new in 3.2)… How to prevent?’ is closed to new replies.