There are no fields named ‘type’ or ‘content’ in the action, so PopClip ignores them and perceives it as an “empty” action, resulting in a grayed-out icon.
Did you get this snippet from an LLM? Unfortunately, it seems to have hallucinated some non-existent fields, which can happen when they attempt to create PopClip extensions.
Based on what it looks like you are trying to achieve, this should work:
Hi @nick , saw your answer and was hoping you could suggest an extension snippet that does the following: copy a selected header in an Obsidian note to the MacOS clipboard as [[NoteTitle#Heading]]. So that I can create a ‘Link to this Header’ extension. Thanks!