mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user