Fix custom editors
This commit is contained in:
parent
9bc92b48d9
commit
c7a0ff3694
|
@ -26,10 +26,12 @@ export class WebviewInput extends EditorInput {
|
|||
private readonly _onDisposeWebview = this._register(new Emitter<void>());
|
||||
readonly onDisposeWebview = this._onDisposeWebview.event;
|
||||
|
||||
readonly resource = URI.from({
|
||||
scheme: WebviewPanelResourceScheme,
|
||||
path: `webview-panel/webview-${this.id}`
|
||||
});
|
||||
get resource() {
|
||||
return URI.from({
|
||||
scheme: WebviewPanelResourceScheme,
|
||||
path: `webview-panel/webview-${this.id}`
|
||||
});
|
||||
}
|
||||
|
||||
constructor(
|
||||
public readonly id: string,
|
||||
|
|
Loading…
Reference in a new issue