![]() Here's an example of how a dialog box was registered in TinyMCE4: editor.windowManager. There are also changes to how custom dialogs are added to a custom plugin. Here's an example of how to register a menu item: editor.ui.registry.addMenuItem('t4media',, //Add more objects here to populate the dropdown The API methods for registering UI components (toolbar button, menu item, etc) have moved and there are new and changed methods. ![]() The context menu can be added in a custom plugin through this new method: editor.ui.registry.addContextMenu() UI configuration settings The following is a summary of things to consider when rewriting an existing TinyMCE4 plugin. ![]() In this article, we'll be looking at ways to rewrite an existing plugin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |