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

@@ -48,7 +48,7 @@ export class MainThreadWebviews implements MainThreadWebviewsShape {
}
$createWebview(handle: WebviewHandle, uri: URI, title: string, column: Position, options: vscode.WebviewOptions): void {
const webviewInput = new WebviewInput(URI.revive(uri), title, column, options, '', {
const webviewInput = new WebviewInput(URI.revive(uri), title, options, '', {
onMessage: message => this._proxy.$onMessage(handle, message),
onDidChangePosition: position => this._proxy.$onDidChangePosition(handle, position),
onDispose: () => {