1. 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

Discussion in 'Troubleshooting and Problems' started by Majora, Jul 8, 2015.

  1. Majora

    Majora Member

    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

    Attached Files:

  2. Mike

    Mike 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.
  3. Majora

    Majora Member

    How can i do this? Do you have any link or resource?
  4. Mike

    Mike XenForo Developer Staff Member

Share This Page