mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
@@ -159,6 +159,7 @@ export class WebviewEditor extends BaseWebviewEditor {
|
||||
input.claimWebview(this);
|
||||
webview.options = {
|
||||
allowScripts: input.options.enableScripts,
|
||||
allowSvgs: true,
|
||||
enableWrappedPostMessage: true,
|
||||
useSameOriginForRoot: false,
|
||||
localResourceRoots: (input && input.options.localResourceRoots) || this._contextService.getWorkspace().folders.map(x => x.uri)
|
||||
|
||||
Reference in New Issue
Block a user