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

JS : Parse custom BBCode in redactor (like for b, i, u, s, colors, etc...)


Active member
Hello XenForo,

I made a custom BBCode, named [title].

I would like that, when I use it in redactor, it's getting parsed to the html I want.

As an example, in redactor, you can "live" parse the BBCodes : Bold, Italic, underline, striked, colors, position, etc, but you can't parse code, quotes, etc...

Any ideas ?

Best regards :)


Active member
Hey did you ever get anywhere with this? I'm not exactly sure but I think this is similar to what I'm trying to do. I need a bbcode that can display javascript in the post. This in particular:

<script type="text/javascript" src="http://maps.google.com/maps?oe=utf-8&amp;file=api&amp;v=2&amp;key=your-gmap-key"></script>
<script type="text/javascript" src="http://static.findmespot.com/live-widget/1.2/js/SpotMain.js"></script>
<script type="text/javascript">
var widget = new Spot.Ui.LiveWidget({ renderTo: "spot-live-widget",
feeds: [ "0Wl3diTJcqqvncI6NNsoqJV5ygrFtQfBB" ],
height: 400,
width: 500,
mapType: "physical"
<div id="spot-live-widget"/>