Releases: shabegom/buttons
Releases · shabegom/buttons
Inline Buttons! Button Maker! More!!!
This is a quick fix to 0.4.0 to bring back mobile compatibility 🙈
Watch the release video on Youtube
- 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 theswap [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!!!
Watch the release video on Youtube
- 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 theswap [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
- 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
0.3.7 fix id error
Bugfix - don't use localstorage on mobile
Last bugfix for mobile. Avoiding localstorage
Bugfix - more mobile fixing
For some reason, the button block-id wasn't working on mobile. This will hopefully fix that.
Bugfix - Make Mobile Work
I broke moible in 0.3.2. This should fix it.
Bugfix - Prepend with Replace
This fixes a bug where prepending with replace was putting the prepended template in the wrong location.
Bugfix - Bring Back My Buttons
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!
- 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