Switch release notes to use webview editor

Changes the release notes to use the standard webview editor instead of their custom webview editor.

Also makes the release notes editor a singleton. Only one release notes editor may be open at a time.

Fixes #27493
Fixes #34369
This commit is contained in:
Matt Bierner
2018-03-05 16:14:59 -08:00
parent 78870d93cb
commit ec6412be83
7 changed files with 160 additions and 249 deletions

View File

@@ -205,6 +205,10 @@ export class WebviewEditor extends BaseWebviewEditor {
});
input.webview = this._webview;
if (input.options.tryRestoreScrollPosition) {
this._webview.initialScrollProgress = input.scrollYPercentage;
}
this.content.setAttribute('aria-flowto', this.webviewContent.id);
this.doUpdateContainer();