Hey,
You can add an actionButton
to the textPopup
menu like so:
instance.textPopup.add({
type: 'actionButton',
onClick: () => console.log('test'),
img: '' // this can be a path to an image, or an SVG as a string
})
Thanks!
Logan