Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item14323: API change to addButton in tinymce 5.x
This is maybe a partal fix for the following JS error reported by TinyMCE: Failed to initialize plugin: foswiki Error: "editor.addButton has been removed in tinymce 5x, use editor.ui.registry.addButton or editor.ui.registry.addToggleButton or editor.ui.registry.addSplitButton instead" However it doesn't work. It fails with further errors: Failed path: (toolbarbutton) Could not find valid *strict* value for "onAction" in { "type": "button", "title": "Typewriter text", "image": "/pub/System/TinyMCEPlugin/plugins/foswiki/img/tt.gif" } Input object: { "type": "button", "title": "Typewriter text", "image": "/pub/System/TinyMCEPlugin/plugins/foswiki/img/tt.gif" }
- Loading branch information