CuteEditor for ASP 6.6 Class Library

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

Editor Class | CuteEditor Namespace