mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Remove CustomDocument.viewType
Fixes #93867 For #77131 This property is no longer needed (or very helpful) with the current api design
This commit is contained in:
@@ -151,7 +151,7 @@ export class MarkdownPreviewManager extends Disposable implements vscode.Webview
|
||||
}
|
||||
|
||||
public async openCustomDocument(uri: vscode.Uri) {
|
||||
return new vscode.CustomDocument(this.customEditorViewType, uri);
|
||||
return new vscode.CustomDocument(uri);
|
||||
}
|
||||
|
||||
public async resolveCustomTextEditor(
|
||||
|
||||
Reference in New Issue
Block a user