Page 1 of 1

TinyMCE eats my empty divs....

Posted: Tue Jul 28, 2009 11:28 am
by bazzlad
I don't know if this should be in this forum or the add ons forum, but I'm betting on this forum as it comes WITH CMSMS itself.

As you all know, TINYMCE likes to eat empty divs. It's highly annoying but on previous versions I've been able to counter this behaviour with this:

valid_elements : "*[*]",
extended_valid_elements : "*[*]",

Places in the Extra configuration box.

- On the latest version - doing that breaks TINYMCE completely.

All I want is the WYSIWYG ability WITHOUT it stripping anything.
Is this achievable with the newest version?

Cheers!

Re: TinyMCE eats my empty divs....

Posted: Tue Jul 28, 2009 7:19 pm
by Dr.CSS
I think there is a tick in tiny admin for this, iirc...

And if what you wrote is all you put in that box I'm thinking you want to add the things you want...

Re: TinyMCE eats my empty divs....

Posted: Wed Sep 23, 2009 12:10 pm
by moonie
hey bazzlad

Did you find a workaround for this yet? Since I ran into the same problem and I used to place the exact same code snippet so Tiny would leave empty tags alone. Last time I successfully used that workaround was with 1.5.4, and now with 1.6.5 it wont work anymore.

Dr. CSS, I tried to put the exact empty tag I do not want stripped into that box (ex ), but this also completely breaks Tiny.