RichTextEditor |
Adds a rich text editor to the Web page, using which formatted text can be added at run time.
Syntax
HTML |
<div cordysType="wcp.library.ui.RichTextEditor"> ... </div> |
The methods and events defined for the Rich Text library are as follows.
Table 1. List of Methods
Method |
Description |
---|---|
getHTML() |
Retrieves the HTML code of the formatted text added to the control. |
setHTML() |
Sets the HTML code for the formatted text added to the control. |
Table 2. List of Events
Event |
Description |
---|---|
onchange |
Fires when text is added or formatted in the control at run time. |
Example
< div id='myrte'cordystype='wcp.library.ui.RichTextEditor'style='position: absolute; left: 100px; top: 200px; width: 605px;height:50%;'> </div>