EnableObjectResizing Property

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor.EnableObjectResizing Property

Specifies whether or not to allow the users resize an object winthin the RichTextEditor. For example, if you want to prevent people from resizing images, table winthin the RichTextEditor, you can set it to false.

Example

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

See Also

Editor Class | RTE Namespace