Skip to content

Conversation

@pjkaufman
Copy link
Collaborator

Fixes #1223 #1098

There have been several requests to allow custom commands and custom replacements to be able to be enabled and disabled.

Changes Made:

  • Added tests to make sure that disabled custom replacement/command is not run
  • Updated the logic for checking for custom commands to see if there are any non-disabled custom commands
  • Swapped the x/cross icon to be the trash icon to be more consistent with obsidian
  • Added logic in the onload function to try to add the enabled property if it is missing for custom commands/replacements

… command as well as swapping the cross icon out for a trash icon to be more similar to what Obsidian does
@pjkaufman pjkaufman added enhancement New feature or request obsidian Obsidian specific syntax issue or feature labels Nov 23, 2024
@pjkaufman pjkaufman self-assigned this Nov 23, 2024
@pjkaufman pjkaufman merged commit cfb2ffc into platers:master Nov 23, 2024
1 check passed
@pjkaufman pjkaufman added the documentation Improvements or additions to documentation label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request obsidian Obsidian specific syntax issue or feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FR: adding an "Enable/Disable" toggle for each command and regular expression rule

1 participant