Closed BigbadHort closed 3 years ago
@BigbadHort I'll take a look!
I'm not able to reproduce the problem! I did notice the IDs you list in remove aren't the exact same as the button IDs and it should be prepend template
not templates
```button name Weekday type prepend template action daily_wday color blue remove [wday,hol] ``` ^button-wday
-- make sure there is one space between the block id and next button. --
```button name Holiday type prepend template action daily_hil color red remove [wday,hol] ``` ^button-hol
I've found a bug in the mobile app only.
This has been fixed
thanks for your reply 1) one space is between the block id and next button 2) Obsidian 0.11.13 3) Buttons 0.3.6
After clicking on the button, an error appears in the console
it`t my code
name Weekday
type prepend templates
action daily_wday
color blue
remove [wday,hol]
^button-wday
name Holiday
type prepend templates
action daily_hol
color red
remove [wday,hol]
^button-hol
Please update to the latest version. I shipped a bunch of bug fixes yesterday. Hopefully it solves this!
Unfortunately, nothing has changed. My version is 0.3.7 The error is
it`s my code
It seems I am getting the same errors
Thanks for the reports. I will try to get to the bottom of this error!
Would one of you be able to rung JSON.parse(localStorage.buttons)
in the dev console and show what it returns? I'm thinking it isn't picking up the buttons and storing them. If they are in localStorage then that rules that out.
I'm not sure I did everything right: Pasted JSON.parse(localStorage.buttons) into the console and hit enter
Thank you! This helps.
I've just pushed an update that I hope fixes this issue. Please confirm after updating to 0.3.8.
it`s OK with 0.3.8!!!
Thx!!!!!
I am trying to remove both buttons after clicking one of the two via ID
Buttons are triggered, but no deletion occurs
What's my mistake
It`s my button:
^button-wday
^button-hol
Help me please