Drafts newbie here. Also iOS Shortcuts newbie. Apologies in advance for likely naiveté.
What I would like to do: Create an iOS Shortcut, available in the share sheet, that takes as input any text and removes any empty lines. My intuition is that I can do this using Drafts.
What I have tried: I found the action Single Space in the Drafts Directory and installed it; it works when invoked directly from Drafts. Then, in the Shortcuts app, I attempted to create a shortcut, as follows:
I add the Shortcuts Drafts action “Run action with text,” selecting Single Space as the action and Shortcut Input as the text.
I add the Sharing action “Copy to Clipboard,” attempting to use the output from (1) as the input…but at this point the trail goes cold. When I open the magic variable picker, there is no magic variable available for “Run action with text.”
Am I doing something wrong? Is there any other way to capture the output from “Run action with text”? Any other advice?