Obsidian-Code-Styler icon indicating copy to clipboard operation
Obsidian-Code-Styler copied to clipboard

Bug: Metabind, multiple Button incompatibility

Open Dooc-Nuken opened this issue 1 year ago • 1 comments

Describe the bug

Incompatibility with "Meta-bind Plugin"

If you add more than one button on a line, with the option "Syntax Highlight inline code" activated, the first button render, but not the others.

Steps to reproduce

Make sure that"Syntax Highlight inline code" is activate Add more than one button on a line like : BUTTON[daily-note] 🪴 BUTTON[new-note] 🪴 BUTTON[light-mode, dark-mode] 🪴 BUTTON[tasks] The first one is working, not the other.

Other information

One per line, everything is working. if you disable the option "Syntax Highlight inline code" , everything is working. (the bug show only when you close et reopen the note with the button) NB: I'm using reading view and writing view. Not Preview.

Scheenshot

image

In editing mode :

image

Dooc-Nuken avatar Mar 22 '24 14:03 Dooc-Nuken

Thank you for raising this issue. Just sitting some exams but after I'll dig into this in some more detail!

mayurankv avatar May 05 '24 07:05 mayurankv

I was very excited about this plug-in, but I extensively use metabind inline inputs and all of them break with this plug-in enabled. I'd love to see compatibility with meta bind.

Graywaren avatar Dec 17 '24 22:12 Graywaren

This is fixed and will be included in the next release!

mayurankv avatar Jan 27 '25 18:01 mayurankv