<?php require_once "../richtexteditor/include_rte.php"; $rte = new RichTextEditor(); $rte->MvcInit(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>RichTextEditor - Editor as image selector</title> <link rel="stylesheet" href="../example.css" type="text/css" /> <script type="text/javascript"> var editor; var showed = false; function RichTextEditor_OnLoader(loader) { var config = loader._config; config.showtoolbar = false; config.showtoolbar_code = false; config.showbottombar = false; config.preloadplugins = ""; var div = document.getElementById(config.containerid); div.style.display = "none"; } function ShowEditorGallery() { showed=true; if(editor) { editor.ExecUICommand(null,"InsertGallery"); }
$rte2->Name = "Editor2"; $rte2->Skin = "office2003blue"; $rte2->Toolbar = "email"; $rte2->Width = "720px"; $rte2->Height = "300px"; $rte2->Text = "Tab #2 content"; $rte2->MvcInit(); $rte2->RenderSupportAjax = false; $rte3 = new RichTextEditor(); $rte3->Name = "Editor3"; $rte3->Skin = "office2010blue2"; $rte3->Toolbar = "email"; $rte3->Width = "720px"; $rte3->Height = "300px"; $rte3->Text = "Tab #3 content"; $rte3->MvcInit(); $rte3->RenderSupportAjax = false; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>RichTextEditor - Editor inside jQuery tabs</title> <link rel="stylesheet" href="../example.css" type="text/css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <style type="text/css"> #wrapper { width: 800px; }
$rte2->RenderSupportAjax = false; $rte3 = new RichTextEditor(); $rte3->Text = "Type here"; $rte3->Name = "Editor3"; $rte3->Height = "200px"; $rte3->Skin = "office2003silver2"; $rte3->Toolbar = "forum"; $rte3->MvcInit(); $rte3->RenderSupportAjax = false; $rte4 = new RichTextEditor(); $rte4->Text = "Type here"; $rte4->Name = "Editor4"; $rte4->Height = "200px"; $rte4->Skin = "office2003blue"; $rte4->Toolbar = "light"; $rte4->MvcInit(); $rte4->RenderSupportAjax = false; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>RichTextEditor - Default Toolbar Config</title> <link rel="stylesheet" href="../example.css" type="text/css" /> </head> <body> <h1> Simple Configuration example</h1> <p> This example shows the simple Configuration of editor. </p>
require_once "../richtexteditor/include_rte.php"; $rte = new RichTextEditor(); $rte->Text = "<div style=\"color:red;\"><strong>1. Easy for developers</strong></div>"; $rte->Name = "Editor1"; $rte->Height = "200px"; $rte->Skin = "smartblue"; $rte->Toolbar = "forum"; $rte->MvcInit(); $rte2 = new RichTextEditor(); $rte2->Text = "<div style=\"color:darkgreen;\"><strong>2. Seamless Integration with Web Forms</strong></div>"; $rte2->Name = "Editor2"; $rte2->Height = "200px"; $rte2->Skin = "smartsilver"; $rte2->Toolbar = "forum"; $rte2->MvcInit(); $rte2->RenderSupportAjax = false; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>RichTextEditor - Multiple editors</title> <link rel="stylesheet" href="../example.css" type="text/css" /> </head> <body> <form action="multiple_editors.php" method="post" action="<?php echo htmlentities($_SERVER["PHP_SELF"] . "?" . $_SERVER["QUERY_STRING"]); ?> "> <h1>