Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » tinyMce MSIE problem with table_styles

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

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

Page: 1
Go to End
Author Topic: 1093 Views
  • Tkop
    Avatar
    28 Posts

    tinyMce MSIE problem with table_styles Link to this post

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

    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.

    ex.
    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

    1093 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.