Make webview.contents a string instead of an array of strings

This commit is contained in:
Matt Bierner
2018-02-14 22:38:02 -08:00
parent 0ace6ef8ea
commit 493651d6ce
7 changed files with 9 additions and 13 deletions

View File

@@ -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());
}