RichTextEditor for PHP 8.0 Class Library

Editor.ContentCss Property

Specifies the location of the style sheet that will be used by the editable area. Multiple Style Sheets are supported. Example ContentCss="example.css,~/portal.css,/default.css"

Example

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

See Also

Editor Class | RTE Namespace