CuteEditor for ASP 6.6 Class Library

Editor.AllowPasteHtml Property

Specifies the manner in which the editor handles pasted text. If false, formatting is stripped when content is pasted into the editor. The default is true.


Example Code

      <%
           Dim editor
           Set editor = New CuteEditor
           editor.ID= "Editor1"
           'When Editor.AllowPasteHtml Property is set to false, formatting is stripped when content is pasted into the editor.
           editor.AllowPasteHtml = false
           editor.Text = "Hello World"
           editor.Draw()
      %>

See Also

Editor Class | CuteEditor Namespace