Classic API (unchanged)
A page written for the previous Rich Text Editor for PHP. The same lines run on the new editor.
The PHP for this demo
<?php require_once "richtexteditor/include_rte.php" ?>
<?php
$rte = new RichTextEditor();
$rte->Name = "Editor1";
$rte->Text = "<p>Hello</p>";
$rte->MvcInit();
?>
<form method="post">
<?php echo $rte->GetString(); ?>
<input type="submit" />
</form>
<?php
// After the post: RichTextEditor::GetPostedHtml("Editor1") returns the cleaned HTML.