Skip to content

newTab doesn't open a new tab upon button click. #515

@tajbowness

Description

@tajbowness

Please fill out these Check-boxes

  • I checked for existing similar issues
  • I checked that the plugin is up to date
  • The issue persists with all other plugins and themes disabled

Plugin Version

1.3.4

This Issue Occurs on

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

Debug Info

SYSTEM INFO:
	Obsidian version: v1.8.7
	Installer version: v1.8.4
	Operating system: Windows 10 Home 10.0.19045
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: light
	Community theme: none
	Snippets enabled: 1
	Restricted mode: off
	Plugins installed: 9
	Plugins enabled: 1
		1: Meta Bind v1.3.4

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Describe the Issue

This is my button.

style: default
label: Creating Custom Action
icon: arrow-right
class: myLargeButton right-side align-right fullWidth
id: creating
action:
  type: open
  link: obsidian://open?vault=Obsidian%20Vault&file=Notes%2FGit%20%26%20Github%2FActions%2FCreating%20Custom%20Actions
  newTab: true

Issue:
newTab option doesn't work. Upon button click, a new tab should open. However it opens the note in the same tab.

Followed these docs:
https://www.moritzjung.dev/obsidian-meta-bind-plugin-docs/reference/buttonactions/open/

Steps to Reproduce

Copy and paste my button. Click the button. It won't open a new tab.

Expected Behavior

Opens a new tab.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behavior caused by this plugin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions