update workbench file and fix relative link not working in markdown (#23109)

This commit is contained in:
Barbara Valdez
2023-05-11 15:31:43 -07:00
committed by GitHub
parent d5df9c4ce6
commit 01bcdf9c01
2 changed files with 3 additions and 2 deletions

View File

@@ -16,7 +16,8 @@
"Programming Languages"
],
"enabledApiProposals": [
"documentPaste"
"documentPaste",
"notebookEditor"
],
"activationEvents": [
"onLanguage:markdown",

View File

@@ -27,7 +27,7 @@ export class LinkHandlerDirective {
@Inject(INotebookService) private readonly notebookService: INotebookService,
@Inject(IFileService) private readonly fileService: IFileService
) {
this.workbenchFilePath = URI.parse(require.toUrl('vs/code/electron-browser/workbench/workbench.html'));
this.workbenchFilePath = URI.parse(require.toUrl('vs/code/electron-sandbox/workbench/workbench.html'));
}
@HostListener('click', ['$event'])