MyBB Community Forums

Full Version: Adding a button to the text editor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In phpBB3 when you add a BBCode to the forum, it also adds a button to the post editor, so that members know the code exists and allows them to use it.

How do add a button to the associated MyCode in MyBB's editor.

It seems a little pointless having these codes if there isn't a one click way of adding them to posts !
The only way to add a custom MyCode is to edit the editor.js file and add it manually. Although I agree that there should be a simpler way to do this. The way phpBB achieves this is what I wouldn't mind from MyBB.
I found this tutorial a great help, so hopefully it helps you too. Smile

http://community.mybb.com/thread-95808.html