Examples

Simple Configuration example

This example shows the simple Configuration of editor.


Demo Code:

<?php
     $rte=new RichTextEditor();
     $rte->Name="Editor1";
     $rte->Height = "200px";
     $rte->Skin = "officexpsilver";
     $rte->Toolbar ="minimal";
     $rte->MvcInit(); 

     $rte2=new RichTextEditor();
     $rte2->Name="Editor2";
     $rte2->Height = "200px";
     $rte2->Skin = "officexpblue";
     $rte2->Toolbar ="email";
     $rte2->MvcInit(); 
?>

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