RichTextEditor for PHP 8.0 Class Library

Editor.EnterKeyTag Property

Specifies the behavior when the "enter" key is pressed in the editor (p, div, br).

Example

<?php   
    $rte=new RichTextEditor();   
    $rte->Text="Type here"; 
    $rte->EnterKeyTag="br";   
    $rte->ID="Editor1";    
    $rte->MvcInit();
    echo $rte->GetString();  
    // use $_POST["Editor1"]to retrieve the data  
?> 

See Also

Editor Class | RTE Namespace