The editor can be added to the standard edit page, to forms defined by the Page Forms extension, and to regular pages in view mode. This class can be extended to provide for example inline dialogs. TinyMCE is a MediaWiki extension that lets users edit wiki pages using the popular open source JavaScript-based WYSIWYG editor TinyMCE created by Ephox corp. However, I'm trying to set up a field which is a rich text editor in the dialog box but having some trouble getting it to initialise properly. tinymce.WindowManager Contents Examples Summary Methods Methods alert () close () confirm () open () openUrl () tinymce.WindowManager This class handles the creation of native windows and dialogs. This is all working great, the shortcode is created properly and inserted in to the main WP editor. getWindows () Returns the currently opened window objects. This class can be extended to provide for example inline dialogs. Examples var dialogArguments .getParams() Return value Object - Name/value object with parameters passed from windowManager.open call. This can be used in iframe based dialog to get params passed from the tinymce plugin. I'm currently writing a plugin that provides an interface for adding shortcodes, very simple dropdown added to the TinyMCE toolbar which opens a TinyMCE dialog box with text fields etc. This can be used in iframe based dialog to get params passed from the tinymce plugin. tinymce: Class: WindowManager: This class handles the creation of native windows and dialogs. Returns the params of the last window open call.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |