KEEPING empty divs!
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!
- The topic ‘KEEPING empty divs!’ is closed to new replies.