<we:textarea wysiwyg="true">
Since version: - | Requires endtag: no
Description
The <we:textarea> tag creates a multi-line input box.
Specific
The WYSIWYG editor is only available in Mozilla (from version 1.3 and higher for all operating systems) and Internet Explorer (Version 5.5 and higher for Windows).
Attributes
wysiwyg
Default value: - | since version: - | required: yes
Set this attribute to "true" to add command buttons and menus to the top of the text area which enable formatting of the input text (that is, buttons and menus such as are used in many other text processing programs). If you set this attribute to "false" or do not set it at all, the buttons and menus will be turned off.
Allowed values:
- true
name
Default value: - | since version: - | required: yes
Set this tag to an unique name within the webEdition template.
cols
Default value: - | since version: - | required: no
Set this attribute to the number of columns you want to generate per input line. Setting the "width" attribute overrides this attribute.
rows
Default value: - | since version: - | required: no
Set this attribute to the number of rows you want to generate in the input field. Setting the "height" attribute overrides this attribute.
autobr
Default value: - | since version: - | required: no
If you set this attribute to "true", the system displays a checkbox at the top of the multi-line input field, labeled "Auto-BR". Use this checkbox to activate and deactivate the auto-break function. When auto.break is turned on, each press of the Enter/Return key on your keyboard generates a <BR> tag in the HTML source. If you set this attribute to "false" or if you do not set it at all, the system will not display the auto-br checkbox. The Enter/Return key on your keyboard will not produce an HTML <BR> code. This attribute becomes redundant if "wysiwyg" is set to "true".
Allowed values:
- true
- false
importrtf
Default value: - | since version: - | required: no
If you set this attribute to "true", the system adds a button labeled "Import-RTF" to the top of the multi-line input field. This button can be used to input the contents of an RTF file. If you set this attribute to "false", or if you do not set it at all, the button will not be displayed.
Allowed values:
- true
- false
width
Default value: - | since version: - | required: no
Set the value of this attribute to the desired width of the input field in pixels. Note that the minimal width of the input field is equal to the width of the widest active group of command buttons (see wysiwyg / dthmledit). This attribute overrides the "cols" attribute.
height
Default value: - | since version: - | required: no
Set the value of this attribute to the desired height of the input field. This attribute overrides the "rows" attribute.
bgcolor
Default value: - | since version: - | required: no
Use this attribute to set the background colour while in edit mode.
html
Default value: - | since version: - | required: no
If you set this attribute to "true", or if you do not set it at all, webEdition instructs the input field to allow the input of HTML tags. If you set this attribute to "false", webEdition removes all HTML entered in the text area.
Allowed values:
- true
- false
htmlspecialchars
Default value: - | since version: 3.2.0.0 | required: no
Set this attribute to "true" to convert all HTML relevant characters to HTML-code. The following transformations are made:
& (ampersand) converted to & " (double quote) converted to " ' (single quote) converted to ' < (less than) converted to <
(greater than) converted to >
Allowed values:
- true
- false
php
Default value: - | since version: - | required: no
If this attribute is set to "true" or unset, it is possible to write PHP code into the input field. If set to "false", it is not possible to use PHP code, as it gets filtered at the output.
Allowed values:
- true
- false
commands
Default value: - | since version: - | required: no
Set this attribute to a comma seperated list of function names which are to be made available when the "wysiwyg" attribute is set to "true". If you do not set this attribute, all functions will be activated. The following functions are available: formatblock, fontname, fontsize, applystyle, bold, italic, underline, subscript, superscript, strikethrough, forecolor, backcolor, justifyleft, justifycenter, justifyright, justifyfull, insertunorderedlist, insertorderedlist, indent, outdent, createlink, unlink, anchor, insertimage, inserthorizontalrule, inserttable, edittable, insertcolumnright, insertcolumnleft, insertrowabove, insertrowbelow, deletecol, deleterow, increasecolspan, decreasecolspan, importrtf, fullscreen, cut, copy, paste, undo, redo, visibleborders, editsource.
A list of special group names available:
table Activates all table commands. copypaste Activates copy, paste and cut. color Activates both colour buttons. link Activates all link functions. list Activates all list functions. justify Activates all text justification funcitons. prop Activates all text modification functions. font Activates the font menus.
Allowed values:
- acronym
- anchor
- applystyle
- backcolor
- bold
- caption
- color
- copy
- copypaste
- createlink
- cut
- decreasecolspan
- deletecol
- deleterow
- editcell
- editsource
- edittable
- fontname
- fontsize
- forecolor
- formatblock
- fullscreen
- importrtf
- increasecolspan
- indent
- insertbreak
- insertcolumnleft
- insertcolumnright
- inserthorizontalrule
- insertimage
- insertorderedlist
- insertrowabove
- insertrowbelow
- insertspecialchar
- inserttable
- insertunorderedlist
- italic
- justify
- justifycenter
- justifyfull
- justifyleft
- justifyright
- lang
- link
- list
- outdent
- paste
- prop
- redo
- removecaption
- removeformat
- spellcheck
- strikethrough
- subscript
- superscript
- underline
- table
- undo
- unlink
- visibleborders
fontnames
Default value: - | since version: - | required: no
Set this attribute to a comma seperated list of font names to be made available.
Allowed values:
- arial
- courier
- tahoma
- times
- verdana
- wingdings
abbr
Default value: - | since version: - | required: no
Set this attribute to "true" , so that definitions for abbreviations can be entered.
Allowed values:
- true
- false
removefirstparagraph
Default value: true | since version: 3.1.0.0 | required: no
If you set this attribute to "true", the first HTML paragraph (<p>) tag will be removed. Thus you can prevent too big gaps between the paragraphs, if the "return" button is used.
Allowed values:
- true
- false
inlineedit
Default value: - | since version: 3.1.0.0 | required: no
Setting this attribute to "true" or not setting it displays a wysiwyg textarea with all formatting options. If there are multiple wysiwyg textareas, this can hurt the performance. If you set the attribute to "false", the wysiwyg will be displayed with an edit button instead, which opens the respective wysiwyg editor in a separate window.
Allowed values:
- true
- false
buttonpos
Default value: - | since version: 3.1.0.0 | required: no
Determines the position of the button for inlineedit="false".
Allowed values:
- top
- bottom
win2iso
Default value: - | since version: - | required: no
Allowed values:
- true
- false
classes
Default value: - | since version: - | required: no
spellcheck
Default value: false | since version: 4.1.0.0 | required: no
Activates spellchecking of the we:input field.
Allowed values:
- true
- false
Syntax
<we:textarea wysiwyg="true" name="attribute" [cols="attribute"] [rows="attribute"] [autobr="true|false"] [importrtf="true|false"] [width="attribute"] [height="attribute"] [bgcolor="attribute"] [html="true|false"] [htmlspecialchars="true|false"] [php="true|false"] [commands="acronym|anchor|applystyle|backcolor|bold|caption|color|copy|copypaste|createlink|cut|decreasecolspan|deletecol|deleterow|editcell|editsource|edittable|fontname|fontsize|forecolor|formatblock|fullscreen|importrtf|increasecolspan|indent|insertbreak|insertcolumnleft|insertcolumnright|inserthorizontalrule|insertimage|insertorderedlist|insertrowabove|insertrowbelow|insertspecialchar|inserttable|insertunorderedlist|italic|justify|justifycenter|justifyfull|justifyleft|justifyright|lang|link|list|outdent|paste|prop|redo|removecaption|removeformat|spellcheck|strikethrough|subscript|superscript|underline|table|undo|unlink|visibleborders"] [fontnames="arial|courier|tahoma|times|verdana|wingdings"] [abbr="true|false"] [removefirstparagraph="true|false"] [inlineedit="true|false"] [buttonpos="top|bottom"] [win2iso="true|false"] [classes="attribute"] [spellcheck="true|false"] />