creativewithtechnology,
Please check the following property:
Editor.BreakElement Property
Specify the behavior when the "enter" key is pressed in the editor The default is Div.
Example Code
<?php
$editor=new CuteEditor();
$editor->ID="Editor1";
$editor->Text="Type here";
$editor->FilesPath="CuteEditor_Files";
$editor->BreakElement="Br";
$editor->Draw();
$editor=null;
//use $_POST["Editor1"]to catch the data
?>
Members
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> |
Hope it helps.
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