Obsidian opens non-Markdown files in the system’s default application for them instead of in a new tab

Once you’ve done the above, delete everything above this line.

Steps to reproduce

Hello, I've encountered a persistent issue on Obsidian v1.8.10 on Windows.

When I click on non-Markdown files (like .js), Obsidian opens the system’s default application (e.g., Notepad) instead of opening the file in a new tab internally.

This behavior persists even after:

Entering Safe Mode (disabling all community plugins).
Resetting the vault config (by renaming the .obsidian folder).
Resetting the global app config (by renaming the %appdata%\obsidian folder).
It seems the application is not following the new default behavior of opening unknown files internally.

Did you follow the troubleshooting guide? [Y/N]

Expected result

Actual result

Environment

SYSTEM INFO:
Obsidian version: v1.8.10
Installer version: v1.8.10
Operating system: Windows 10 Pro 10.0.19045
Login status: not logged in
Language: zh
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

This is expected behavior. Obsidian only recognises the file types listed here:

If you want to open other plain text files (.txt, .js, etc.) in Obsidian, you’ll need a community plugin.


These are the two I know of and have used:

Thanks!

Changed title to describe the problem for any future readers with the same question (was “Windows v1.8.10”).

1 Like