I’m using it but I think I having the same issue as another user in that it’s not showing up in any of the posts and no errors. But of course I definitely will go through his code to understand how he did it since it’s so similar. Would you consider this relevant to what I’m trying to do? I found it in the plugin api file:
/**
* Add a new button below a post with your plugin.
*
* The `callback` function will be called whenever the post menu is rendered,
* and if you return an object with the button details it will be rendered.
*
* Example:
*
* ```
* api.addPostMenuButton('coffee', () => {
* return {
* action: 'drinkCoffee',
* icon: 'coffee',
* className: 'hot-coffee',
* title: 'coffee.title',
* position: 'first' // can be `first`, `last` or `second-last-hidden`
* };
* });
**/
addPostMenuButton(name, callback) {
addButton(name, callback);
}