inlines styles, not font tags?

Last post 08-13-2005, 10:30 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  08-12-2005, 4:53 AM 9520

    inlines styles, not font tags?

    Hi Guys,
     
    Just purchased the server licence for your ASP cuteeditor and I've got a couple of questions.
     
    Firstly, is there a way to stop the editor from placing <font> tags? Font tags have been depreciated and I'd like to stay away from them if possible. I would prefer if the inline style tags were used instead.

    Secondly, I can't seem to populate the 'Class' drop down list. From what I have read this is either populated by the .EditorWysiwygModeCss property, or the .StyleSheetPath property. The page that the control is on has a css style sheet linked in its <head> but that doesn't seem to have any effect on the classes available in the cuteeditor.
     
    Thirdly, when I attempt to use the .StyleSheetPath property I get the following error:
    Microsoft VBScript runtime (0x800A01B6)
    Object doesn't support this property or method: 'StyleSheetPath'
     
    I am not sure what I need to do to get that property working.
     
    Because I am using this control for many sites on the server I don't want to manually enter the class styles, so I'd like some advice on how to do that.
     
    Lastly, I have trouble with xhtml output. I'd like to output in this format but can't find the appropriate instructions. This has been asked in the forums before with a link given to some sample, which I have viewed but didn't understand.
     
    Your quick attention is appreciated.
     
    Cheers,
    -alex
  •  08-13-2005, 10:30 PM 9552 in reply to 9520

    Re: inlines styles, not font tags?

    Alex,

     apdaniel wrote:
     
    Just purchased the server licence for your ASP cuteeditor and I've got a couple of questions.
     
     
    Not in this version. This feature is only available in the .Net version right now. We will add it into the ASP new version.
     
     apdaniel wrote:
     
    Secondly, I can't seem to populate the 'Class' drop down list. From what I have read this is either populated by the .EditorWysiwygModeCss property, or the .StyleSheetPath property. The page that the control is on has a css style sheet linked in its <head> but that doesn't seem to have any effect on the classes available in the cuteeditor.
     


    StyleSheetPath property has been removed in the version 4.x. Sorry for the confusion.

    Please use the following method to populate the 'Class' drop down list:

    editor.StyleDropDownMenuNames ="redcolor,boldgreen,highlight" editor.StyleDropDownMenuList ="redcolor,boldgreen,highlight"

     apdaniel wrote:
     
    Lastly, I have trouble with xhtml output. I'd like to output in this format but can't find the appropriate instructions. This has been asked in the forums before with a link given to some sample, which I have viewed but didn't understand.
     


    To get XHTML output, you need to set editor.DisableAutoFormatting property to false and editor.UseRelativeLinks property to true.

    Hope it helps.


     

    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