Continuing the discussion from Updating Discourse Plugins, taking the first step:
I realize that position is the position of the
post-menu button, it seems as though
undefined…it is also not an option in
api.addPostMenuButton. So what is it doing? I was hoping it could be using to add a plugin’s post menu button before another existing button.
A PR of mine was accepted that allowed to specify
position: 'second' but now I am trying to get a button to the third position. Maybe we need an option in the case statement that would take in the code
number = X; visibleButtons.splice(number, 0, button);