ResizeMode Property

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor.ResizeMode Property

Gets or sets the resize mode (Default, Disabled, AutoAdjustHeight, ResizeBoth, ResizeWidth, ResizeHeight).

Example

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

See Also

Editor Class | RTE Namespace