提交 e1b548f0 编写于 作者: M Matt Bierner

New webviews should allow svgs by default

Fixes #45476
上级 68c78176
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册