EnableContextMenu Property

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor.EnableContextMenu Property

Gets or sets a value indicating whether to display the context menu, which appears when the right mouse button is clicked.

Example

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

See Also

Editor Class | RTE Namespace