Hi all! I’m looking for more guidance on how to use option
in a requirements
array.
At least, I hope that’d help me. I’m trying to make a PopClip extension that will only show when Obsidian is in editing view, not reading view. Unfortunately Obsidian still thinks Cut and Paste are available in reading view, so the cut
or paste
requirements won’t work.
So, how does option
work? Does it only draw from PopClip’s preferences or is there some way of generating values for keys in options based on other aspects of a user’s current environment? I.e., Is there a way of using option
to take advantage of some other aspect of Obsidian to limit when the PopClip action appears?