Editor Class

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor Class

RichTextEditor for PHP is a powerful, professional online web based WYSIWYG HTML editor that enables PHP developers to embed a word processor, similar to Microsoft Word into a PHP page. This Web-based WYSIWYG Content Editing tool empowers business users with an intuitive, easy-to-use interface for creating and publishing web content. This documentation should provide everything you need to customize the Rich Tex tEditor control for your particular application.

For a list of all members of this type, see Editor Members .

Remarks

RichTextEditor for PHP supports all Internet Explorer versions from 6.0 up on Windows, Chrome, Firefox 2.0+, Netscape 7.1+, Mozilla 1.3+, Opera 9.x, Safari (2.0+) or any other browser with an equivalent gecko layout engine on any platform where these browsers are available. This includes Macintosh and Linux.

Keep in mind that you don't need a supported browser to see HTML pages generated using RichTextEditor for PHP, you just need a supported browser to edit with RichTextEditor for PHP. If you attempt to use RichTextEditor for PHP using a browser that is not supported RichTextEditor for PHP will display a regular textarea. You will still be able to edit the document, but only in HTML code view.

Example

// Register Editor component to your page   
<?php require_once "richtexteditor/include_rte.php" ?>   
<html>   
<body>   
        <form id="form1" method="POST">   
            <?php   
                // Create Editor instance and use Text property to load content into the RTE.  
                $rte=new RichTextEditor();   
                $rte->Text="Type here"; 
                // Set a unique ID to Editor   
                $rte->ID="Editor1";
                $rte->MvcInit();       
                // Render Editor 
                echo $rte->GetString();  
            ?>   
        </form>   
</body>   
</html> 

See Also

Editor Members | RTE Namespace