AutoParseClasses Property

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor.AutoParseClasses Property

Specifies whether or not the RichTextEditor should automatically parse the CSS classes from ContentCss and populate all items into CssClass dropdown.

Example

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

See Also

Editor Class | RTE Namespace