RichTextEditor for PHP 8.0 Class Library

Editor.EditorBodyId Property

Specifies an Id name that will be added to the body of the editor document.

Example

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

See Also

Editor Class | RTE Namespace