techdocs(sanitizer): adds iframe support (#8237)

Signed-off-by: dnsaoki2 <dnsaoki@gmail.com>
This commit is contained in:
Denis Aoki
2021-12-27 08:01:22 -03:00
committed by GitHub
parent a85d9fe831
commit aa8f764a3e
6 changed files with 187 additions and 4 deletions
+11
View File
@@ -39,5 +39,16 @@ export interface Config {
* @deprecated
*/
requestUrl?: string;
sanitizer?: {
/**
* Allows iframe tag only for listed hosts
* Example:
* allowedIframeHosts: ["example.com"]
* this will allow all iframes with the host `example.com` in the src attribute
* @visibility frontend
*/
allowedIframeHosts?: string[];
};
};
}