Allowing additional HTML elements

In Whitelisting HTML tags / attributes Joffrey links to discourse-policy/policy.js.es6 at main · discourse/discourse-policy · GitHub for a way to whitelist given HTML tags/attributes, but I do not see any policy options in settings for this.

Is this no longer a thing? Or maybe I’m misunderstanding how that code works? Is it something I need to make a plugin (or theme component?) to hook into?

Yes you need to write a plugin to allow additional elements.

1 Like