Skip to content

Releases: shabegom/buttons

Inline Buttons! Button Maker! More!!!

12 May 02:38
Compare
Choose a tag to compare

This is a quick fix to 0.4.0 to bring back mobile compatibility 🙈


Watch the release video on Youtube
0.4.0

  • Inline Buttons! You can add buttons inline using the button block-id (^button-id) using this syntax `button-id`
  • Insert Inline Button: Use Insert Inline Button from the command palette to quickly insert a new inline button
  • Button Maker: Open the Button Maker from the command palette to quickly and easily create a new button
  • New Button Arg - swap: use the swap [id1, id2, id3] arg along with an inline button to create a button that performs multiple actions on each click
  • New Button Arg - templater: the templater arg allows you to put a templater command inside a button. When the button is clicked the templater command is converted to it's value and then is converted back to the templater command: note(<% tp.date.now("MM-DD") %>) template

Inline Buttons! Button Maker! More!!!

12 May 01:54
84096b8
Compare
Choose a tag to compare

Watch the release video on Youtube
0.4.0

  • Inline Buttons! You can add buttons inline using the button block-id (^button-id) using this syntax `button-id`
  • Insert Inline Button: Use Insert Inline Button from the command palette to quickly insert a new inline button
  • Button Maker: Open the Button Maker from the command palette to quickly and easily create a new button
  • New Button Arg - swap: use the swap [id1, id2, id3] arg along with an inline button to create a button that performs multiple actions on each click
  • New Button Arg - templater: the templater arg allows you to put a templater command inside a button. When the button is clicked the templater command is converted to it's value and then is converted back to the templater command: note(<% tp.date.now("MM-DD") %>) template

Bugfix: Better remove button handling

07 May 17:08
d83a0e2
Compare
Choose a tag to compare
  • fixes type errors in removing duplicates
  • checks and updated button store more often
  • clean up remove + prepend issues

Bugfix - the case of the dissapearing buttons

04 May 22:41
Compare
Choose a tag to compare

Bugfix - don't use localstorage on mobile

02 May 22:57
e936436
Compare
Choose a tag to compare

Last bugfix for mobile. Avoiding localstorage

Bugfix - more mobile fixing

02 May 21:50
6e59743
Compare
Choose a tag to compare

For some reason, the button block-id wasn't working on mobile. This will hopefully fix that.

Bugfix - Make Mobile Work

02 May 21:14
Compare
Choose a tag to compare

I broke moible in 0.3.2. This should fix it.

Bugfix - Prepend with Replace

02 May 13:12
ec242a8
Compare
Choose a tag to compare

This fixes a bug where prepending with replace was putting the prepended template in the wrong location.

Bugfix - Bring Back My Buttons

02 May 12:41
8cf8259
Compare
Choose a tag to compare

So I screwed up the 0.3.0 update for anyone who wasn't on the insiders build of Obsidian. I used a method that isn't released yet. This bugfix should fix that, and an additional type error. Sorry for the problem! Hopefully, insiders will be released soon and I can pull out the workaround.

Button Block IDs! Remove Multiple Buttons! Replace Improved!

02 May 00:18
02af5dd
Compare
Choose a tag to compare
  • You can add a block-id below a button block. The button block-id can be used to inherit arguments from a button or to remove multiple buttons
  • remove can now be an array of button block-ids to remove (it can still be true to remove the clicked button)
  • replace now takes an array like [startLine,endLine] to define the start and end line to be replaced.
  • append, prepend, remove, replace have been updated to use the button position. name is no longer required.

0.3.1 fixes some wee bugs in 0.3.0