Selected class not shown properly in editor, css class dropdown filled with common.config

  •  05-16-2007, 10:26 AM

    Selected class not shown properly in editor, css class dropdown filled with common.config

     
    Hello,
     
    I'm using Cute Editor 6.0 in DNN 4.4 and I want to make a small selection of classes from my skin.css selectable via the css class dropdown. I have done that by filling in the common.config:
     
       <dropdowns>
      <CssClass>
       <item text="[[NotSet]]" value="null"></item>
       <item text="Header" value="pageHead">
        <html><![CDATA[<span class=pageHead>Header</span>]]></html>
       </item>
       <item text="SubHeader" value="pageSubHead">
        <html><![CDATA[<span class=pageSubHead>SubHeader</span>]]></html>
       </item>
       <item text="SubSubHeader" value="pageSubSubHead">
        <html><![CDATA[<span>SubSubHeader</span>]]></html>
       </item>
      </CssClass>
      <CssStyle>
     
     
    Also, I have set AutoParseClasses="false", so I don't not get all of my classes from all .css files in DNN in that dropdown.
    This works, but a selected piece of text in the editor does not show the proper formatting (or any formatting) as specified by that class in skin.css. If I close the editor and content management part of DNN, the selected piece of text does show correctly.
     
     
    What did I do wrong?
     
    Etienne
     
     
View Complete Thread