TinyMCE eats my empty divs....

General project discussion. NOT for help questions.
Post Reply
bazzlad
Forum Members
Forum Members
Posts: 20
Joined: Tue May 29, 2007 7:12 pm

TinyMCE eats my empty divs....

Post 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!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: TinyMCE eats my empty divs....

Post 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...
User avatar
moonie
Forum Members
Forum Members
Posts: 81
Joined: Tue Feb 13, 2007 3:08 pm

Re: TinyMCE eats my empty divs....

Post 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.
Last edited by moonie on Wed Sep 23, 2009 12:14 pm, edited 1 time in total.
Post Reply

Return to “General Discussion”