![]() 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. After I beautified the minified version of tinymce, i found that these may be some of the body types for windowManager.open. 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). I will provide an example so that easier to implement to your TinyMCE configuration. For example, a custom file manager that is loaded inside a TinyMCE dialog would. URL dialogs are useful for very complex use cases, where the supported components for TinyMCE’s standard dialogs cannot be used. ![]() Now I will share how to add a select box to your custom dialog box on TinyMCE. A URL dialog is a special TinyMCE UI component which loads an external web page inside a dialog (sometimes referred to as modals ). That popup can be closed by (1) clicking the "Cancel" or "OK" buttons, or (2) pressing the esc key. In my previous post, I shared about the custom dialog box on TinyMCE. When clicked, it opens a popup window via (). I've created a small plugin which adds a button to the TinyMCE toolbar. The first is that height and width are no longer valid properties, so you need to use size which accepts normal, medium or large (normal is the default).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |