HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Custom BBCodes
The problem is the HTML sanitizer. Even if you allow some tags in bbcode, they get stripped out afterwards. I found no clean solution for that. In theory you should be able to use the DI container to register your own class and allow some more tags, but I wasn't successful when trying to do so. There is another discussion… -
Re: Custom BBCodes
Any idea why this one wouldn't work on 3.3? I gave this one a try today, but it didn't do anything. I split $PluginInfo to addon.json, copied the php as is, but the span never shows up inline. The BBCode is getting parsed I think, since the [bgbox] tags aren't visible in the post but are present in the editor, but they're… -
Custom BBCodes
I have been asked how to create custom BBCodes and I've realized that I never saw anyone speaking about this/offering a solution. Since it is really simple, here is an example together with some places to look for information. If you are the "first I learn before I do something" type of coder, here is some food for yor…
3 results