mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
Make webview.contents a string instead of an array of strings
This commit is contained in:
@@ -209,7 +209,7 @@ class WebviewEditor extends BaseWebviewEditor {
|
||||
allowScripts: input.options.enableScripts,
|
||||
enableWrappedPostMessage: true
|
||||
};
|
||||
this.webview.contents = [input.html];
|
||||
this.webview.contents = input.html;
|
||||
this.webview.style(this.themeService.getTheme());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user