TinyMCE_Popup
TinyMCE_Popup()
Constructor for the popup class. This class contains base logic for popup/dialogs and sets up object references to the TinyMCE core.
TinyMCE_Popup()
Constructor for the popup class. |
void | close()
Closes the current window. |
void | execCommand(<string> command, <boolean> user_interface, <mixed> value)
Executes the specific command on the parent instance that opened the window. |
void | executeOnLoad(<string> str)
Executes the specified string onload. |
DOMWindow | findWin(<DOMWindow> w)
Searches for a window with a TinyMCE instance by looping through parent windows and openers. |
Object | getWindowArg(<string> name, <string> default_value)
Returns a window argument, window arguments can be passed from a plugin to a window by using the tinyMCE. |
void | importClass(<string> c)
Imports the specified class into the current popup. |
void | init()
Initializes the TinyMCE Popup class. |
void | onLoad()
Gets executed when the window has finished loading it's contents. |
void | openBrowser(<string> element_id, <string> type, <string> option)
Opens a filebrowser/imagebrowser this will set the output value from the browser as a value on the specified element. |
void | pickColor(<DOMEvent> e, <string> element_id)
Executes a color picker on the specified element id. |
void | resizeToContent()
Resizes the current window to the dimensions of the body. |
void | resizeToInnerSize()
Resizes the current window to it's inner body size. |
void | restoreSelection()
Restores the selection back to the one stored after executing a command. |