XF 1.4 BBCode for a java-tag

Majora

Member
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

  • java.gif
    java.gif
    3 KB · Views: 1
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.
 
Back
Top Bottom