FEATURE: Allow iframe allow attribute in posts (#17291)

This is used so iframes can use mic, camera, EME, etc.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy#directives
lists current possible values

Feature request https://meta.discourse.org/t/iframe-attributes-not-working/127383?u=falco
This commit is contained in:
Rafael dos Santos Silva 2022-07-05 12:25:27 -03:00 committed by GitHub
parent c59f1729a6
commit 9833b59b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,7 @@ export const DEFAULT_LIST = [
"iframe[marginwidth]",
"iframe[width]",
"iframe[allowfullscreen]",
"iframe[allow]",
"img[alt]",
"img[height]",
"img[title]",