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

Make sure we still call onDidBlockSvg

上级 72e032c3
......@@ -199,7 +199,8 @@ export class WebviewElement extends Disposable {
environmentService,
fileService));
this._register(new SvgBlocker(this._webview, this._options));
const svgBlocker = this._register(new SvgBlocker(this._webview, this._options));
svgBlocker.onDidBlockSvg(() => this.onDidBlockSvg());
this._register(addDisposableListener(this._webview, 'console-message', function (e: { level: number; message: string; line: number; sourceId: string; }) {
console.log(`[Embedded Page] ${e.message}`);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册