How to open xls and doc files with the default editor?

Hello…
Using SB 2.1.9, Win11, Brave browser
I have a problem…
I have csv, xls, and doc documents in my space.
I create a wikilink ([[file.csv]]) for them, but when I click this link, the browser opens a dialog to save the file.
I would like the file to be opened with the system’s default editor.
Is this a bug?
How can I open the file with the default editor?
Thank you.

There is no browser API that allows for this (to my knowledge). This is something you would have to configure with your browser.

EDIT: This is what I found on google about that for brave

The error message in SB is

Failed to navigate: Couldn’t find plug for specified extension

Wouldn’t it be possible at this point to stop browsing
and run the command prompt (perhaps shell) ‘start file.csv’?

The shell api runs on the server so unless you are hosting SB on the same device you are browsing it, this won’t help you much. There is also no way to catch that event of a failed navigation, as of right now.

I was able to run it with

${shell.run(‘powershell.exe’,{‘start’, ‘file.csv’})}

But ideally, you’d need to check the file extension to run the command.
Any ideas on how to do this?
Thanks!

Unsure what you mean?

Hahaha
translator problem…

In the same vein as editing CSV files…
The SB manual says there’s a txt editor implemented. But I only found your PDF editor.
Is there a txt editor for SB implemented with a plugin?
If so, the CSV file could be viewed and edited in SB.

The txt editor really was only a technical demonstration. But it isn’t even up to the new api standards, nor was it very useful.