Text Property

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor.Text Property

This property provides access to the text within the editable area of the RichTextEditor control. It can be used to set the text when the control is first displayed and also to read out the text when a form has been submitted.

Example

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

See Also

Editor Class | RTE Namespace