mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:04:11 +08:00
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:
parent
c59f1729a6
commit
9833b59b70
|
@ -171,6 +171,7 @@ export const DEFAULT_LIST = [
|
|||
"iframe[marginwidth]",
|
||||
"iframe[width]",
|
||||
"iframe[allowfullscreen]",
|
||||
"iframe[allow]",
|
||||
"img[alt]",
|
||||
"img[height]",
|
||||
"img[title]",
|
||||
|
|
Loading…
Reference in New Issue
Block a user