This class is a wrapper to permit ThyAPI applications/widgets to use the power of an existing Rich Text Editor, FCKeditor http://www.fckeditor.net/ (Thanks Frederico for the great work!!!).
It encapsulates all FCKEditor functions/methods in a ThyAPI like structure. This garantees compatibility and makes it easier to manage releases and upgrades, and also incorporate ThyAPI design concept, that is to keep all visual elements on CSS.
Unfortunatly this version of thyRichTextEdit doesn’t permit the designer to edit FCKEditor style within its CSS classes... maybe in future versions
This class is a wrapper to permit ThyAPI applications/widgets to use the power of an existing Rich Text Editor, FCKeditor http://www.fckeditor.net/ (Thanks Frederico for the great work!!!) | |
Initialization Method | |
Returns the contents of the Rich Text Editor | |
Overwritten method that impossibilitates the developer to add childs to this widget, as this have no meaning. | |
Overwritten method that impossibilitates the developer to remove childs from this widget, as this have no meaning | |
Overwritten method that makes setHTML to have the same functionality as populate | |
FCK Editor doesn’t like ‘display: none’ property. | |
Removes all data from rich text | |
Removes all data from rich text | |
Sets the contents of the Rich Text Editor | |
Returns the HTML needed to insert FCK editor inside the thyAPI panel this class holds | |
Get the FCK element and perform some other operations upon creation |
Initialization Method
p.initThyRichTextEdit = function ()
Returns the contents of the Rich Text Editor
p.sweepOut = function ()
Overwritten method that impossibilitates the developer to add childs to this widget, as this have no meaning.
p.addChild = function ()
Overwritten method that impossibilitates the developer to remove childs from this widget, as this have no meaning
p.removeChild = function ()
Overwritten method that makes setHTML to have the same functionality as populate
p.setHTML = function ( html )
FCK Editor doesn’t like ‘display: none’ property.
p.setDisplay = function ( b )
Removes all data from rich text
p._cleanUp = function ()
Sets the contents of the Rich Text Editor
p._populateContents = function ( data )
Get the FCK element and perform some other operations upon creation
p._eventOnCreate = function ()