Problem with DNN and CuteEditor Styles

Last post 01-24-2005, 1:22 PM by lucast. 2 replies.
Sort Posts: Previous Next
  •  01-21-2005, 9:19 AM 3621

    Problem with DNN and CuteEditor Styles

        Adam,
     
    Running into a problem where we have a skin for a portal that when the CuteEditor is used, all the toolbars are spaced VERY far apart vertically. The control and the theme toolbar backgrounds are then off as well. Problem is that the CSS is dynamically created with your control so I cannot simply copy the style sheet into the portal.css and have it override everything else for the editor since the dynamic css is control id based.
     
    How can we solve this?!?!?!
  •  01-21-2005, 10:27 AM 3623 in reply to 3621

    Re: Problem with DNN and CuteEditor Styles

    Tom,


    Please use the Editor.DisableClassList Property to disable the classes which cause the problems.

    Example:

    DisableClassList="Toobig, TooWide, Useless,...."



    Another solution is you can set Editor.AutoParseClasses Property to false. Then add your own CSS Classes using the following methods:

    1: 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. 

    2: Programmatically populate the CSS Class dropdown

    Please check CSS Class dropdown Customization for details.




     
     

    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

  •  01-24-2005, 1:22 PM 3671 in reply to 3621

    Re: Problem with DNN and CuteEditor Styles

    Adam,

     

    Thanks.

     

    On another note, the new DNN provider attempts to bring in the portal.css however the pathing at runtime appears to be incorrect as it look for "/portal.css" rather than /portals/0/portal.css. Also, why not make it also read in the current skin css for the portal as this is what most folks are using for site design.

     

    Secondly, can you add support for the "ConfigurationPath" attribute in the web.config file for the DNN provider.

     

    Something like this in the provider:

     

    'Added by Tom Lucas of LucasLabs.Net to support config files.

     

    _configPath = objProvider.attributes("ConfigurationPath")

    cntlCE.ConfigurationPath = _configPath
     
    Thanks
View as RSS news feed in XML