mirror of
https://github.com/decaf-dev/obsidian-vault-explorer.git
synced 2026-07-22 10:10:31 +00:00
commit
4e0d8f0fe9
5 changed files with 9 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "vault-explorer",
|
||||
"name": "Vault Explorer",
|
||||
"version": "1.40.1",
|
||||
"version": "1.40.2",
|
||||
"minAppVersion": "1.4.13",
|
||||
"description": "Explore your vault in visual format",
|
||||
"author": "DecafDev",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-vault-explorer",
|
||||
"version": "1.40.1",
|
||||
"version": "1.40.2",
|
||||
"description": "Explore your vault in visual format",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -99,8 +99,6 @@
|
|||
});
|
||||
}
|
||||
|
||||
$: console.log(tags);
|
||||
|
||||
$: tagsClassName = `vault-explorer-list-item__tags ${isSmallScreenSize ? "vault-explorer-list-item__tags--screen-size-sm" : ""}`;
|
||||
$: titleClassName = `vault-explorer-list-item__title ${isSmallScreenSize ? "vault-explorer-list-item__title--screen-size-sm" : ""}`;
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -47,8 +47,12 @@ const openToTheRight = (plugin: VaultExplorerPlugin, filePath: string) => {
|
|||
};
|
||||
|
||||
const openInNewTab = (plugin: VaultExplorerPlugin, filePath: string) => {
|
||||
plugin.app.workspace.openLinkText("", filePath, "tab", {
|
||||
plugin.app.workspace.getLeaf().setViewState({
|
||||
type: "markdown",
|
||||
active: false,
|
||||
state: {
|
||||
file: filePath,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -133,5 +133,6 @@
|
|||
"1.38.0": "1.4.13",
|
||||
"1.39.0": "1.4.13",
|
||||
"1.40.0": "1.4.13",
|
||||
"1.40.1": "1.4.13"
|
||||
"1.40.1": "1.4.13",
|
||||
"1.40.2": "1.4.13"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue