Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button Action Doesn't Happen Upon Clicking #173

Closed
3 of 7 tasks
rchaklashiya opened this issue Dec 31, 2023 · 2 comments
Closed
3 of 7 tasks

Button Action Doesn't Happen Upon Clicking #173

rchaklashiya opened this issue Dec 31, 2023 · 2 comments
Labels
bug Undesired behavior caused by this plugin documentation Improvements or additions to documentation

Comments

@rchaklashiya
Copy link

rchaklashiya commented Dec 31, 2023

Please fill out these Check-boxes

  • I checked that the plugin is up to date
  • The issue persist with all other plugins and themes disabled

This Issue Occurs on

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

Plugin Version

0.10.2

Obsidian Version

v1.5.3 (installer v1.5.3)

Describe the Issue

The buttons functionality does not work for me, even after testing with all other plugins disabled, in a different vault where there's very few notes, and in both reading and live preview mode.

I tried the most basic example from the documentation to see if it works, and clicking on the resulting button does not open the FAQ (the button itself shows up, but the action upon clicking does not happen).

This is the example I tested, it did not work, nor did the one for the specific command I was trying to run either.

style: primary
label: Meta Bind Help
action:
  type: command
  command: obsidian-meta-bind-plugin:mb-open-faq

Steps to Reproduce

  1. Disable all plugins except for meta-bind
  2. Open a new page
  3. Paste the following test code from the documentation (documentation here: https://www.moritzjung.dev/obsidian-meta-bind-plugin-docs/guides/buttons/ )
style: primary
label: Meta Bind Help
action:
  type: command
  command: obsidian-meta-bind-plugin:mb-open-faq
  1. Try to press the button in both live preview and reading mode, it doesn't work. The button will lighten up upon hovering by the mouse, but it won't do anything upon being clicked.
    image

Expected Behavior

I expect it to open FAQ in the case of the test code from the documentation, and to run the set command in the case of the command I actually want to run (for the button I made for that purpose, which wasn't shown here since the more basic example of something straight from the documentation didn't work for me.)

@rchaklashiya rchaklashiya added the bug Undesired behavior caused by this plugin label Dec 31, 2023
@rchaklashiya rchaklashiya changed the title Button click isn't Button Action Doesn't Work Upon Clicking Dec 31, 2023
@rchaklashiya rchaklashiya changed the title Button Action Doesn't Work Upon Clicking Button Action Doesn't Happen Upon Clicking Dec 31, 2023
@mProjectsCode
Copy link
Owner

I think the command ID changed and I didn't update the docs. Will check in more detail once I am back home.

@mProjectsCode mProjectsCode added the documentation Improvements or additions to documentation label Jan 2, 2024
@mProjectsCode
Copy link
Owner

Thanks for the report. I fixed the docs and will deploy the changes tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behavior caused by this plugin documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants