![]() ![]() The configuration Is a simple object at a minimum, you need to provide a title and url for your configuration. Since the documentation is really bad, no real info can be gathered. Tinymce windowmanager body conditional fields plus We’ll also add two buttons, and an onAction handler for when our action button is pressed, plus a width and height. I'm not sure how to use them all, as all this info was gathered through trial and fail. takes several fields, in this example: Title, Body, OnSubmit, where you in Body. After I beautified the minified version of tinymce, i found that these may be some of the body types for windowManager.open. public windowManager : tinymce.WindowManager Window manager reference, use this to open new windows and dialogs. Hello im using a Javascript File for integrating a button with a function in my TinyMCE editor in my Wordpress enviroment. This class can be extended to provide for example inline dialogs. ![]() TinyMCE supply a very useful lib, so by using, you may build a nice dialog form. This class handles the creation of native windows and dialogs. I assume you are creating the modal as per the documentation link you provide, if so, then the buttons parameter let you specify the buttons to add to the modal and the actions of said buttons, like this: . addCommand is triggered from your button registration when button clicked, check cmd: tinymcecustombutton in example above. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |