Problem with font selection in Cute Editor ASP

Last post 06-08-2007, 12:21 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  06-08-2007, 3:55 AM 30507

    Problem with font selection in Cute Editor ASP

    hi

    i encountered this problem in cute editor ASP (and even in the online demo of version 6.0) - in a paragraph of text, i change the font of a few words. then  i change the font of another few words. Later if i change my mind, and highlight the entire paragraph with my mouse and select the new font type, the whole paragraph changes to the new font EXCEPT the first 2 sentences which remained in their original font selection.

    My organisation would like to make the move to version 6.0 of CuteEditor ASP but until this problem is solved, it's hard to justify the cost. Can the admin or anyone help with this problem? (I have used my first paragraph of text as a live demonstration of what happened.

    Thanks!

  •  06-08-2007, 12:21 PM 30518 in reply to 30507

    Re: Problem with font selection in Cute Editor ASP

    reddawn,
     
    Try set the following property to true then try again.
     

    Editor.UseFontTags Property

    Font tags are now deprecated, meaning that they aren't used any more and will cause validation errors. Many legacy pages still contain style information in font tags. By default Cute Editor converts font tags to span tags. <font face="times" size="4" color="#ffffff">your text</font> would be replaced with <span style="font-family: times, serif; font-size: 110%; color:#ffffff">your text</span> If you still want to use font tags, you can set this property to true.


    Example Code

          <%
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'If you want to use font tags, you can set this property to true.
               editor.UseFontTags = true
               editor.Text = "Hello World"
               editor.Draw()
          %>

    See Also


    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