Dannymh
Active member
Hi,
I am trying to update my giphy plugin to work with 2.0 but I can't see how to extend the button functionality. I can add Bbcode but this ends up with PHP callback rather than simply executing the JS I need it to execute.
Looking at how the smilies is implemented it looks like a lot of the callback to create the button and trigger the events are hard coded into editor.js so I can not see a way to edit and extend this via a plugin or directly editing that code.
Any help would be appreciated
Dan
I am trying to update my giphy plugin to work with 2.0 but I can't see how to extend the button functionality. I can add Bbcode but this ends up with PHP callback rather than simply executing the JS I need it to execute.
Looking at how the smilies is implemented it looks like a lot of the callback to create the button and trigger the events are hard coded into editor.js so I can not see a way to edit and extend this via a plugin or directly editing that code.
Any help would be appreciated
Dan