Add new BBcode button


(Maestro Magnifico) #1

I use spoiler plugin and it works great, but it doesn’t create new button on this panel.

How can I add a custom one? I can add it via JS, but we all know that it is the wrong way of doing things.


How to select a lot of topics fast?
(Sigurður Guðbrandsson) #2

Add it via JS.

It is the RIGHT way of doing this …

Discourse frontend is written in EmberJS.

The best way you could possibly do this is by creating a plugin that adds this code, but there is no howto for creating a plugin …


Customize BBcodes from admin panel
(Jacob Chapel) #3

I have done this on my install. The below post calls out the links.