• 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

#1
Hello,
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:
[code=Java]Your Java-Code
[/CODE]

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

Best regards
Matthias
 

Attachments

Mike

XenForo developer
Staff member
#2
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.