Name (CSS property) | Type (tag) | Type (js) | Default | Category |
---|---|---|---|---|
currentformat
|
expression | any | read/write | |
The current format in which text should be added, and which the toolbar should reflect. Everyone interested in the current format should look at this attribute to see what it is. | ||||
defaultfontcolor
|
expression | any | 0x000000 | read/write |
Default font color | ||||
defaultfontname
|
string | String | Verdana | read/write |
Default font name | ||||
defaultfontsize
|
number | Number | 11 | read/write |
Default size of text | ||||
editortype
|
string | String | flash-html | read/write |
Attribute indicating the type of HTML content produced by editor. | ||||
indentsize
|
expression | any | 35 | read/write |
The size in points of an indent | ||||
insertionpoint
|
expression | any | 0 | read/write |
The current index of the insertion point. Should be -1 if there's no insertion point. | ||||
isHTML
|
expression | any | false | read/write |
Indicates whether there's formatting on the text contained by this editor. | ||||
linkpanel
|
expression | any | null | read/write |
Reference to the hyperlink creation dialog. This attribute should be set by users, if there is an associated link panel | ||||
startformat
|
expression | any | read/write | |
toolbar
|
expression | any | null | read/write |
Reference to the toolbar associated with this editor. For the toolbar to show the correct format when the insertion point moves, this attribute must be set by users. | ||||
toolbarplacement
|
expression | any | null | read/write |
The placement for the toolbar in the richtexteditor. |
Methods
delegateInitSelection() |
---|
delegateRestoreSelection() |
---|
reset() |
---|
saveSelectionRegion() |
---|
setCurrentFormat() |
---|
Parameter Name | Type | Description |
---|---|---|
fmt | textformat | The TextFormat object to apply to the current selection or the insertion point |
inCaretMove | boolean | True when the the method was called from a caret motion event |
setFormatAttribute() |
---|
Parameter Name | Type | Description |
---|---|---|
attr | string | name of the attribute to change |
val | string | value to change the attribute to |
setLinkPanel() |
---|
setSelection() |
---|
setToolbar() |
---|
Copyright © 2002-2010 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.