You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the default template project, the HTML editor allows you to add an embedded video, however the HTML sanitizer strips the iframe from the output.
HTML Sanitization always needs to be considered and should be a part of the template, but perhaps we can make it a bit easier here by providing several more discoverable defaults e.g. "Strict", "Lax", "Balanced" to allow users to opt-in to less secure sanitization where they trust the source or accept the risk.
Also mentioned is using bb code, or some other run-time parsable code for things like embeds.
HeyJoel
changed the title
HTHML Sanitizer: More default settings for different use-cases
HTML Sanitizer: More default settings for different use-cases
Jun 26, 2021
In the default template project, the HTML editor allows you to add an embedded video, however the HTML sanitizer strips the iframe from the output.
HTML Sanitization always needs to be considered and should be a part of the template, but perhaps we can make it a bit easier here by providing several more discoverable defaults e.g. "Strict", "Lax", "Balanced" to allow users to opt-in to less secure sanitization where they trust the source or accept the risk.
Also mentioned is using bb code, or some other run-time parsable code for things like embeds.
Originally posted by @HeyJoel in #422 (comment)
The text was updated successfully, but these errors were encountered: