Examples
Enter Mode: Paragraph or LineBreak?
Rich Text Editor can be configured to define the behaviour of the ENTER KEY. You use <p>, <br /> or <div> tags when you press enter. In either mode <br> tags can be created by using shift+enter.
Demo Code:
<?php
$rte=new RichTextEditor();
$rte->Name="Editor1";
//$rte->EnterKeyTag="p";
//$rte->EnterKeyTag="br";
//$rte->EnterKeyTag="div";
$rte->MvcInit();
?>
<?php echo $rte->GetString() ?>