Examples
Formatting bold button
RichTextEditor enables you to override and define you own custom format tags. By default, when you use the Bold button on the toolbar, RichTextEditor inserts a set of <strong>tags to format the selected text. The <strong> tags are the current standard for marking text as bold. If you prefer to use the <b>tags or CSS "font-weight" property instead, you can change the editor configuration to change the behavior of bold button.
Demo Code:
<?php
$rte=new RichTextEditor();
$rte->Name="Editor1";
$rte->ToolbarItems="{bold}"
//$rte->SetConfig("format_bold", "<b>");
//$rte->SetConfig("format_bold", "<span style='font-weight:bold'>");
$rte->MvcInit();
?>
<?php echo $rte->GetString() ?>