mProjectsCode / obsidian-meta-bind-plugin

A plugin for Obsidian to make your notes interactive with inline input fields, metadata displays, and buttons.
https://www.moritzjung.dev/obsidian-meta-bind-plugin-docs/
GNU General Public License v3.0
390 stars 33 forks source link

Buttons not displaying since Obsidian v1.6.3 #348

Closed tobischiebel closed 2 weeks ago

tobischiebel commented 2 weeks ago

Please fill out these Check-boxes

This Issue Occurs on

Plugin Version

1.1.1

Describe the Issue

Any Codeblock buttons are no longer displayed at all in neither preview or view mode since the Obsidian v1.6.3 update on Windows. Also tested on Android on Obsidian 1.5.12, where the buttons are still displayed as intended.

Steps to Reproduce

  1. Create a new note with property to update, e.g. "foo" with value 0.
  2. Create button, e.g. to id "test"
    ```meta-bind-button
    label: "This is a test"
    hidden: true
    id: "test"
    style: default
    actions:
    - type: updateMetadata
    bindTarget: foo
    evaluate: false
    value: 69
  3. Create BUTTON in code block e.g. with binding to id "test"
    BUTTON[test]
  4. Use (pre)view mode where the button is not to be seen.

Expected Behavior

The button is visible

mProjectsCode commented 2 weeks ago

I am definitely seeing some strange behavior with them. Will investigate.