Re: Missing Class List

  •  07-14-2005, 4:29 PM

    Re: Missing Class List

    ROB,
     
    You should Edit Dropdown Configuration file (Common.config).

    The dropdown configuration file (Common.config) can be found in the /CuteEditor/Configuration/Shared folder. In dropdown configuration file you can find the CssClass element which contains the configuration information for the CSS Class dropdown within Cute Editor.  

    You can modify the CssClass element to create your own CSS Classes list.

    <dropdowns> <CssClass> <item text="[[NotSet]]" value="null"></item> <item text="Red Text" value="RedColor"> <html><![CDATA[<span style='color:red'>RedColor</span>]]></html> </item> <item text="Highlight" value="Highlight"> <html><![CDATA[<span style='background-color: yellow'>Highlight</span>]]></html> </item> <item text="Bold Green Text" value="BoldGreen"> <html><![CDATA[<span style='color: green; font-weight: bold;'>Bold Green Text</span>]]></html> </item> </CssClass> </dropdowns>

    You also need to set Editor.AutoParseClasses Property to false.

    Otherwise Cute Editor will automagically parse the CSS classes from EditorWysiwygModeCss and populate all items into CssClass dropdown.




    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 Complete Thread