XF 2.2 Custom Bbcode that includes image links

madreloidpx

New member
I'm learning how to make a custom bbcode and got stuck.

I'm still trying out things and used the simple HTML replacement with just:

HTML:
<img src="{text}">

I'm able to insert the bbcode inside the toolbar too with the custom tag, but the results are always overlapped by xenforo's image link rendering.

example:
an imgur link is always replaced by the media rendering and instead of it being used as plain image, it gets rendered as
Code:
[bbtag][media=imgur]link_id[/media][/bbtag]
what do I modify so that it doesn't autorender image links?

Thanks.
 
Back
Top Bottom