• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 BBCode for a java-tag

i want to insert an button directly in the editor(see attached). When user click on it a code will create in the box like:

[code=Java]Your Java-Code

Is that possible to do that? With the normal xenForo bbcode editor it doesn't work.

Best regards



XenForo developer
Staff member
You would need to write custom JS to do exactly what you're requesting. You could create a new BB code though which would insert a button into the editor.