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

Last post 05-16-2007, 12:59 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  05-16-2007, 10:26 AM 29720

    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
     
     
  •  05-16-2007, 12:59 PM 29727 in reply to 29720

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

    Etienne,
     
    How do you set the EditorWysiwygModeCss property?
     
    Does it point to some .Css files which contain the above css class?
     
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML