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

This commit is contained in:
Barbara Valdez
2023-05-11 16:52:05 -07:00
committed by GitHub
parent c44ecf56f2
commit f13406570e
2 changed files with 3 additions and 2 deletions

View File

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

View File

@@ -27,7 +27,7 @@ export class LinkHandlerDirective {
@Inject(INotebookService) private readonly notebookService: INotebookService, @Inject(INotebookService) private readonly notebookService: INotebookService,
@Inject(IFileService) private readonly fileService: IFileService @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']) @HostListener('click', ['$event'])