提交 947238c9 编写于 作者: M Matt Bierner

Allow svgs by default in webviews

Fixes #68033

`allowSvgs` was already set as the default value after the webview was created. Due to an unrelated refactoring, the initial default value did not include `allowSvgs`
上级 ad375c92
......@@ -223,6 +223,7 @@ export class WebviewEditor extends BaseWebviewEditor {
this._webview = this._instantiationService.createInstance(WebviewElement,
this._partService.getContainer(Parts.EDITOR_PART),
{
allowSvgs: true,
useSameOriginForRoot: false,
extensionLocation: input.extensionLocation
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册