![]() ![]() Now, for this specific case it sounds like a custom message might be what you need. ![]() Instead, it's built around the more modern postMessage API instead. tinymce.WindowManager: open() Opens a new window. tinymce.WindowManager: getWindows() Returns the currently opened window objects. Since the documentation is really bad, no real info can be gathered. I'm not sure how to use them all, as all this info was gathered through trial and fail. This can be used in iframe based dialog to get params passed from the tinymce plugin. 3 Answers Sorted by: 119 After I beautified the minified version of tinymce, i found that these may be some of the body types for windowManager.open. WP's Insert/edit link triggers a popup with that capability but from what I can tell that plugin uses a custom dialog box and I was hoping there might be a TinyMCE API method/property that can enable this, but the documentation is pretty terse. 1 Answer Sorted by: 0 TinyMCE 5 and 6 no longer recommends using the window.top variable to access the original window TinyMCE API and as such getParams has been removed. tinymce.WindowManager: getParams() Returns the params of the last window open call. This allowed the user to open several of the same kind and possibly causing errors. I'm trying to figure out how I can also close my plugin's popup by clicking away from it (e.g., if I click the TinyMCE overlay outside the popup itself). In the earlier version of EPiServer CMS 6 some of the EPiServer dialogs where opened as modal dialogs (using EPiServer dialog functionality) but all dialogs built in to TinyMCE where opened as non-modal. This class can be extended to provide for example inline dialogs. That popup can be closed by (1) clicking the "Cancel" or "OK" buttons, or (2) pressing the esc key. tinymce.WindowManager This class handles the creation of native windows and dialogs. This class handles the creation of native windows and dialogs. TinyMCE tinymce.WindowManager Return to Website tinymce.WindowManager This class handles the creation of native windows and dialogs. When clicked, it opens a popup window via (). I've created a small plugin which adds a button to the TinyMCE toolbar. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |