limb2:en:template_system:tags:form_tags:richedit_tag
Содержание
Richedit Tag
Tag richedit_tag
<richedit id='id' name='name'> ...inital value text </richedit>
Purpose
Inserts a WYSIWYG editor that replaces text area into the page. Limb makes use of HTML_area 3.0 DHTML editor by interactivetools.com. See LIMB_DIR/shared/richedit/ for js-code. The descendant of the control tag.
Scope
Immediate child of <form> tag.
Attributes
Any html text area attributes. See <control_tag> tag for more info.
- mode – default is 'normal', but can be switched to 'light'. The Light richedit contains only basic formatting buttons.
Contents
Initial value text.
Example
<tr> <td align=left colspan=20 valign=top> <richedit name="doc_content" id="doc_content" rows="20"'> Input text here! </richedit> </td> </tr>
Component richedit_component
A runtime component for the <text_area> tag. The descendant of the text_area_component.
Methods
- init_richedit() - outputs js-script loading code
- load_richedit() – outputs the DHML normal richedit control code
- load_light_richedit() - outputs the DHML light richedit control code for normal mode
limb2/en/template_system/tags/form_tags/richedit_tag.txt · Последнее изменение: 2010/11/10 10:02 — 127.0.0.1

Обсуждение