mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
webview comm based on editor other than document.
This commit is contained in:
@@ -954,8 +954,8 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN
|
||||
return editor;
|
||||
}
|
||||
|
||||
$onDidReceiveMessage(uri: UriComponents, message: any): void {
|
||||
let editor = this._getEditorFromURI(uri);
|
||||
$onDidReceiveMessage(editorId: string, message: any): void {
|
||||
let editor = this._editors.get(editorId);
|
||||
|
||||
if (editor) {
|
||||
editor.onDidReceiveMessage.fire(message);
|
||||
|
||||
Reference in New Issue
Block a user