ToggleBorder Property

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor.ToggleBorder Property

Specifies the ToggleBorder state. ToggleBorder is a handy function which allows you to see the borders without setting things to border = 1 or something like that in code. It's used for all HTML Tables, HTML Cells, Forms and Divs.

Example

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

See Also

Editor Class | RTE Namespace