Re: Problems with Cute Editor in .NET forms

  •  03-04-2006, 4:21 PM

    Re: Problems with Cute Editor in .NET forms

    rsholtes,
     
    The first issue is a DHTML issue. The javascript in your page has some conflict with CuteEditor client scripts.
     
    For the second issue, can you reproduce the problems in the following example?
     
     
    Tip:
     
    If you have the following HTML code:
     
    Hello World, This is a test
     
    If you select the "World" and "test", then apply a font, you will get the following result:

    Hello <span style="FONT-FAMILY: Comic Sans MS">World</span>, This is a <span style="FONT-FAMILY: Verdana">test</span>
     
    If you select the "World" again, and apply a font size, you will get the following result:

    Hello <span style="FONT-SIZE: 14pt; FONT-FAMILY: Comic Sans MS">World</span>, This is a <span style="FONT-FAMILY: Verdana">test</span>
     

    Now if you select the whole paragraph and apply the font name Arial:
     
    You should get the following result:
     
    <span style="FONT-FAMILY: Arial">Hello World, This is a test</span>
     
    Intead of
     
    <span style="FONT-FAMILY: Arial">Hello <span style="FONT-SIZE: 14pt; FONT-FAMILY: Comic Sans MS">World</span>, This is a <span style="FONT-FAMILY: Verdana">test</span></span>.
     
    This feature is by design.
     
    You can turn off this feature off by setting Editor.UseFontTags Property to true.
     
    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.
     
     
     
     

     
     
     
     
     
     

    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