Decrypt is a little clunky because I have to highlight the whole encrypted text for the decrypt command to work. If highlighting partial of the text then it trys to run encrypt.
Perhaps if nothing is selected (and expand to whole line is off), assume user wants to decrypt. Search for left and right markers then decrypt. If no marker found show a notice.
Decrypt is a little clunky because I have to highlight the whole encrypted text for the decrypt command to work. If highlighting partial of the text then it trys to run encrypt.
Originally posted by @jin-ahn in https://github.com/meld-cp/obsidian-encrypt/issues/20#issuecomment-952701683