Examples

NonEditable contents

This example displays how areas within an editor instance can be disabled from editing by specifying the standard-compliant contenteditable attribute on the element.

Demo Code:

<%
     Dim rte
     Set rte=new RichTextEditor
     rte.Name="Editor1"
     rte.Text="<p>First paragraph <b>editable</b>.</p>
     <p contenteditable='false'>Second paragraph is read-only.</p>
     <p>Third paragraph with <span contenteditable='false'> 
     non-editable content</span>.</p>"
     rte.MvcInit()
%>