DisableClassList Property

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor.DisableClassList Property

The class items in the style dropdown needed to be disabled going to this string. Example DisableClassList="BreadCrumb, TopicMenu, Footer"

Example

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

See Also

Editor Class | RTE Namespace