Specify the behavior when the "enter" key is pressed in the editor The default is Div.
Example Code
<%
Dim editor
Set editor =
New CuteEditor
editor.ID =
"Editor1"
'Specify the behavior when the "enter" key is pressed in the editor.
editor.BreakElement
= "Br"
editor.Text =
"Hello World"
editor.Draw()
%>
Member Name | Description |
---|---|
Div | use <div > tags on enter keypress instead of <p></p>tags |
Br | use <br> tags on enter keypress instead of <p></p>tags |
P | Enter key inserts new paragraph, Ctrl+Enter inserts <br> |
Editor Class | CuteEditor Namespace