generated from obsidian-community/obsidian-preact-template
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Prepend and Append logic to Command buttons (#169)
* Add buttonPosition to permit prepend and append Add the buttonStart variable and pass it to the command. * Add logic to command buttons to permit prepend and append Added buttonStart to the command Added prepend logic to set cursor right before the button. This permits any output from the command to be prepended to the button. Added append logic to set cursor right after the button (and after the button block id). This permits any output from the command to be appended to the button.Added buttonStart to the command Added prepend logic to set cursor right before the button. This permits any output from the command to be prepended to the button. Added append logic to set cursor right after the button (and after the button block id). This permits any output from the command to be appended to the button. * Update modal to accept options for command Adding a Default, a Prepend, and an Append option when creating a command button. Also storing that value. --------- Co-authored-by: Sam <sam@sbgood.ca>
- Loading branch information
1 parent
9f607c0
commit e439bb9
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters