Инструменты пользователя

Инструменты сайта


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