RSS Feed/News How to add a custom button to editor

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
30,601
Points
823

Reputation:

Hello everyone,

I'm building an add-on for XenForo 2.3.7 and need to add a custom button to the editor toolbar.

Can someone provide a working example of:
  1. The XML template modification (if needed)
  2. The JavaScript code to register the button

I want to add a simple button that inserts a custom BB Code tag.

Thank you!

Continue reading...
 
Status
Not open for further replies.
Top