Hello—I am still a javascript novice, and would like to create an action that takes a multiple-line selection, combines the lines, and replaces the selection. I currently do this by round-tripping a selection to a Shortcut that uses the Combine Text action, and returns to Drafts. But Shortcuts is so buggy and unreliable that it freezes about a quarter of the time. I’d love to have this line-combining happen in Drafts itself. I’ve looked through @sylumer indispensable TADpoLe library, but can’t find anything that does this line concatenation.
Thanks in advance for the help!