CssClass dropdown automagically populated but stylesheet not applied to edit window

  •  07-10-2008, 11:04 AM

    CssClass dropdown automagically populated but stylesheet not applied to edit window

    I am trying to use the following code to populate CssClass:
     
    If Not ce.ToolControls("CssClass") Is Nothing Then
                ce.AutoParseClasses = True
                ce.EditorWysiwygModeCss = "~/css/style.aspx"
                ce.DisableClassList = "htmlEditor,tblbox"
    End If
     
    The dropdown is populated so style.aspx (dynamic stylesheet) must be getting loaded correctly.
     
    When the classes are applied to text in the editor window the HTML view shows <span class="MyClass">MyText</span> but the style is not applied from the stylesheet.
     
    So it seems that the stylesheet is not being applied to the editor window even though the CssClass dropdown is reading it successfully ... what am I doing wrong.
     
    BTW: I am using 6.1.0.0
View Complete Thread