Link Selected Texts to the Existing Node in the Desktop App via PopClip

Use the PopClip and it is now on Black Friday sale too (I just bought it).

You can write any JS you want to implement on the extensions within the PopClip.

If you have good PopClip extensions about Workflowy, let me know.

#popclip
name: Link
description: Wrap the selected text in [[ ]] and put the cursor before the closing brackets.
icon: "square [[]]"
requirements: [text, paste]
javascript: |
  await popclip.pasteText("[[" + popclip.input.text + "]]", { restore: true });
  await sleep(40);
  await popclip.pressKey("left");
  await popclip.pressKey("left");