Scandal
Well-known member
Hello all ![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)
When you upload an image attachment on the Editor, if you click on the image, a small toolbar appears:
![buttons.webp buttons.webp](https://xenforo.com/community/data/attachments/273/273010-b2a40b3bc13004d88ed18df31ec07967.jpg?hash=sqQLO8EwBN)
(Aligment - Change Size - Alt text | Replace - Remove - Insert link)
My question: how could I add a new button on this toolbar? I need a link button with data-xf-click="overlay".
I understand that this toolbar was built with javascript, but I'm not sure how to extend it via my custom addon.
Any idea for <xf:js> code or something similar to extend?![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)
![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)
When you upload an image attachment on the Editor, if you click on the image, a small toolbar appears:
![buttons.webp buttons.webp](https://xenforo.com/community/data/attachments/273/273010-b2a40b3bc13004d88ed18df31ec07967.jpg?hash=sqQLO8EwBN)
(Aligment - Change Size - Alt text | Replace - Remove - Insert link)
My question: how could I add a new button on this toolbar? I need a link button with data-xf-click="overlay".
I understand that this toolbar was built with javascript, but I'm not sure how to extend it via my custom addon.
Any idea for <xf:js> code or something similar to extend?
![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)