PasteMode Property

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor.PasteMode Property

Specifies the manner in which the editor handles pasted text (Default,Disabled,Paste,PasteText,PasteWord,ConfirmWord).

Example

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

See Also

Editor Class | RTE Namespace