RichTextEditor for PHP 8.0 Class Library

Editor.ShiftEnterKeyTag Property

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

Example

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

See Also

Editor Class | RTE Namespace