techdocs(sanitizer): adds iframe support (#8237)
Signed-off-by: dnsaoki2 <dnsaoki@gmail.com>
This commit is contained in:
Vendored
+11
@@ -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[];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user