shabegom / buttons

Buttons in Obsidian
The Unlicense
478 stars 50 forks source link

Can't remove all the buttons when more than 2 in the note #92

Closed Chykg0 closed 8 months ago

Chykg0 commented 2 years ago

Hello,

I've got an issue. I would like to create one note with multiple buttons associated to templates, wich will erase all the buttons (the button clicked itself included) in ordrer to only have the template beggining at the first line. When i put 3 buttons and clic on any button it don't really work. The template is visible, but some part of the code seems to stay in the note. Test 1 with 3 buttons code Test 1 with 3 buttons code when i click on first button

I noticed that when i put this two buttons it works, but when i put the third one it fails. Here are the screenshots.

Test 1 with 2 buttons code Test 2 with 2 buttons code when i click on first button

Thank you for your help.

StjerneIdioten commented 2 years ago

I too encounter the same problem. Trying to delete multiple buttons from one button makes everything very weird with some buttons staying there and others getting "clicked" and inserting their template action into the page instead of being deleted.