0 results found

tinymce.Theme

Contribute to this page
Namespacetinymce
ClassTheme

TinyMCE theme class.

Public Methods

MethodDefined By
getInfo():Object : Meta info method, this method gets executed when TinyMCE wants to present information about the theme for example in the...Theme
init(editor:Editor, url:String):void : Initializes the theme.Theme
renderUI(obj:Object):Object : This method is responsible for rendering/generating the overall user interface with toolbars, buttons, iframe containers...Theme

Method details

getInfo

public function getInfo():Object
Meta info method, this method gets executed when TinyMCE wants to present information about the theme for example in the about/help dialog.

Returns
Object - Returns an object with meta information about the theme the current items are longname, author, authorurl, infourl and version.

init

public function init(editor:Editor, url:String):void
Initializes the theme.

Parameters

ParamDetail
editor:EditorEditor instance that created the theme instance.
url:StringAbsolute URL where the theme is located.

renderUI

public function renderUI(obj:Object):Object
This method is responsible for rendering/generating the overall user interface with toolbars, buttons, iframe containers etc.

Parameters

ParamDetail
obj:ObjectObject parameter containing the targetNode DOM node that will be replaced visually with an editor instance.

Returns
Object - an object with items like iframeContainer, editorContainer, sizeContainer, deltaWidth, deltaHeight.

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.