Problems using .EditorWysiwygModeCss with multiple stylesheets

  •  04-29-2005, 8:42 AM

    Problems using .EditorWysiwygModeCss with multiple stylesheets

    I've found one bug regarding .EditorWysiwygModeCss and multiple css files.
     
    I've got two css files:
    1.css:
    body {font-size: 11px;line-height: normal;font-family: Verdana,Arial,Sans-Serif;} //this is the default style.

    2.css:
    body {color: yellow;background-color: red;} //this is the site specific style.
     
    The background-color and color will not be loaded if I define CE with:
    ce.EditorWysiwygModeCss = "~/1.css, ~/2.css"; 

    If I change the order of the CSS files, then the colors are set correctly:
    .EditorWysiwygModeCss = "~/2.css, ~/1.css";
     
    It seems like the second CSS file isn't loaded at all.
     
    Regards
    Zapotec
View Complete Thread