Describe the bug
When the "Edit diagram" option is selected on an svg file in the Files tab, the editor opens in the window currently occupied by the Files tab. When this occurs, it replaces the Files tab, making it impossible to view the file tree again without resetting or re-opening Obsidian. While this is not a particularly serious bug, it is a bit annoying to lose Files often while editing multiple documents.
To Reproduce
Steps to reproduce the behavior:
Have one or more SVG files in the current vault
Right-click on any SVG file and select "Edit diagram"
The editor will take up the onscreen space previously occupied by the Files tab
Close the editor tab
The Files tab's icon is now gone from the top bar.
Expected behavior
Preferably, the editor should be opened in a new tab when invoked from the Files tab. Then, when the editor is closed, the Files tab is still available.
Desktop (please complete the following information):
Describe the bug When the "Edit diagram" option is selected on an svg file in the Files tab, the editor opens in the window currently occupied by the Files tab. When this occurs, it replaces the Files tab, making it impossible to view the file tree again without resetting or re-opening Obsidian. While this is not a particularly serious bug, it is a bit annoying to lose Files often while editing multiple documents.
To Reproduce Steps to reproduce the behavior:
Expected behavior Preferably, the editor should be opened in a new tab when invoked from the Files tab. Then, when the editor is closed, the Files tab is still available.
Desktop (please complete the following information):