Getting a WYSIWYG experience in DNN

Last post 02-22-2008, 8:53 PM by robax. 2 replies.
Sort Posts: Previous Next
  •  02-14-2008, 4:28 AM 37037

    Getting a WYSIWYG experience in DNN

    Hi again
     
    In order to gain a full wysiwyg editing experience in Dotnetnuke portals I've been told:
    "CuteEditor use the stylesheet files of Globals.HostPath, ActiveTab.SkinPath and portal.
     
    What I'd like to know is exactly where or how to use this information.
     
    Any advice is much appreciated.
    Rob
  •  02-14-2008, 9:57 AM 37047 in reply to 37037

    Re: Getting a WYSIWYG experience in DNN

    Rob,
     
    Cute Editor auto parses the CSS Classes from the above style sheet and popuate the Css Class dropdown menu.
     
    Cute Editor also pass the above style sheet files to Editor.EditorWysiwygModeCss Property.
     
    Editor.EditorWysiwygModeCss Property
    Specifies the location of the style sheet that will be used by the editable area. Multiple Style Sheets are supported. Example EditorWysiwygModeCss="example.css,~/portal.css,/default.css"

    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

  •  02-22-2008, 8:53 PM 37302 in reply to 37047

    Re: Getting a WYSIWYG experience in DNN

    Thanks for the information Adam, I've just managed to get back to this now and will give it some more effort.
     
    I understand the info to mean that I need not change anything from the provider defaults and the editor will use the default.css, skin.css and portal.css for the dropdown and will also use the same sheets in the editor area. Is that correct?
     
     
    I've not yet changed the defaults and I can see that the Css Class dropdown has just a handful of classes on it (normal, head, subhead etc). They are useful classes and they appear to be correct for the skin.css, but I'm surprised it only shows these few when the skin and default css files contain many more classes. Is it only choosing to display a few on purpose.. and if it is, then is this a setting somewhere?
     
    Also, in order to get the editor area to always use the correct skin.css and the portal.css that is associated with the current portal, what would go in the EditorWysiwygModeCss. I think the example given implies that the editor area style sheets aren't loaded dynamically according to the current skin location.. is that correct? It would mean that only one portal gets a wysiwyg view and the other portals share that?
     
    Thanks for all the info
    Rob
     
View as RSS news feed in XML