![]() ![]() 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:. In the zz-btns.css file, I’ll target that and reference a custom image for the button icon. For example, the custom button zz_tc_button uses a class of zz-mce-button. These are used to target between the various buttons created to apply different icons with the CSS style background-image. Within the zz-btns.js JavaScript file there is a line for icon where you can add any class you’d like. ![]() ![]() If you have been following along with the code provided you should have an includes folder with a zz-btns.css file and a folder called icons within the includes folder. These will take your buttons from plain text (or nothing) to your own recognizable brand. Now that I’ve covered the JavaScript portion, let’s take a moment to discuss adding custom button icons. and displays many tricks in converting a minimal window manager (WM) into a full desktop of your own. This class can be extended to provide for example inline dialogs. Posts about Openbox written by sysdfree-editor. If ( !current_user_can('edit_posts') & !current_user_can('edit_pages') ) ,īelow are images of the popup window and a submission. tinymce.WindowManager Docs TinyMCE Return to Website tinymce.WindowManager This class handles the creation of native windows and dialogs. The needed functions.php file additions are the following:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |