Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
add custom class VanillaHtmlFormatter
What would be the best way to add custom class VanillaHtmlFormatter in library/core/class.vanillahtmlformatter.php
Thks,
0
Comments
There seems to be a function "addExtraAllowedClasses" that you can use, I'm not entirely sure how to access the formatter in a plugin though...
I suspect it has something to do with Gdn::factory("VanillaHTMLFormatter")? But that returns null...
@Caylus Thks, work perfect