![]() ![]() Here is an example code of my mce-button using a panel shortcode builder which is similar to the accordion button I wish to build. This class can be extended to provide for example inline dialogs. The TinyMCE 4 javascript editor supports HTML5 and features a new interface and a complete rewrite of all plugins. After I beautified the minified version of tinymce, i found that these may be some of the body types for windowManager.open. Deprecated in TinyMCE 5.10 and has been marked for removal in TinyMCE 6.0. There new event model is a better way to add callback so this method might be removed in the future. This method is useful to call old 2.x option callbacks. This class can be extended to provide for example inline dialogs. This class handles the creation of native windows and dialogs. execCallback () Executes a legacy callback. I'd like to be able to add a repeatable region within the popup window to add a title & a text-area for each accordion-item so that, upon submit, each accordion item shortcode is output with those 2 parameters (title & text-area).Ĭontentcontentcontent tinymce.WindowManager Contents Examples Summary Methods Methods alert () close () confirm () open () openUrl () tinymce.WindowManager This class handles the creation of native windows and dialogs. For example, the image plugin’s dialog allows for users to link to or upload an image, input a description, title, class, caption, height and width, then insert it into the editor. ![]() I am trying to create an accordion shortcode builder for WordPress using TinyMCE's editor.addCommand / windowManager.open function. TinyMCE dialogs can also contain interactive components such as buttons, checkboxes and input fields.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |