Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

tinyMce MSIE problem with table_styles

Go to End



28 Posts

29 August 2007 at 4:08am

I am trying to set different classes for the tables created by

In the silverstripe 2.02 release (I don't know about the
other releases) when I add table_styles, table_row_styles, and
table_cell_styles to cms/javascript/tinymce.template.js to set
the class it works fine in Firefox but with Miscrosoft IE version
6 and 7 (I don't know about other versions or browsers). A
two class statements are added. Additionally in MSIE 7 on a
save, silverstripe returns with an internal server error (MSIE 6
allows the save with both classes.

Firefox --> <table border="0" class="mytbl">
MSIE --> <table class="mytbl" border="0" class="mytbl">

I've tried playing with the tinyMCE code and the silverstripe code
but have not been able to determine where this is actually
being set. I believe it has somthing to do with MSIE use of
className instead of class.

The current tinyMCE download does not have this problem.

Any help would be appreciated