Enable adding a custom button programmatically inside the BlockNote toolbar when selecting content, that wraps said content inside a macro with the pre-set parameters.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.