Support » How-To and Troubleshooting » KEEPING empty divs!

KEEPING empty divs!

  • Hi there

    I am using a jQuery plugin which requires setting up empty div tags in my posts. WP (or more specifically, the TinyMCE) seems to enjoy removing these empty divs whenever I move to the visual view and back to HTML.

    I understand that I could probably get around this if I disabled TinyMCE completely, but I would rather have the functionality of the visual editor whilst being able to add HTML — however incorrect it may seem — on the fly. Not sure if it’s possible to get the best of both worlds, but if anyone knows how I can go about disabling whatever automatic correction is taking place here, I’d greatly appreciate it.

    Thanks in advance!


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘KEEPING empty divs!’ is closed to new replies.
Skip to toolbar