Examples

Plain Text Switcher

This example demonstrates how to toggle from a plain text field to the Rich Text Editor with a simple button click.

Demo Code:

<?php
     $rte=new RichTextEditor();
     $rte->Name="Editor1";
     $rte->Height = "360px";
     $rte->Width = "750px"; 
     $rte->MvcInit(); 
?>

<?php echo $rte->GetString() ?>