SaveButtonMode Property

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor.SaveButtonMode Property

Specifies the behavior when the "save" button is clicked in the editor (Default, None, Submit).

Example

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

See Also

Editor Class | RTE Namespace