mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
rename custom editor activation event
For #77131 Renames the activation event from `onWebviewEditor` to `onCustomEditor` to be consistent with the reset of the API
This commit is contained in:
@@ -122,7 +122,7 @@ export class MainThreadWebviews extends Disposable implements extHostProtocol.Ma
|
||||
this._register(_webviewWorkbenchService.registerResolver({
|
||||
canResolve: (webview: WebviewInput) => {
|
||||
if (webview instanceof CustomEditorInput) {
|
||||
extensionService.activateByEvent(`onWebviewEditor:${webview.viewType}`);
|
||||
extensionService.activateByEvent(`onCustomEditor:${webview.viewType}`);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user