Bases formula copy to clipboard

Use case or problem

I use bases to show cards for people in my vault, and I document their email address as a property on my people note. I want to copy that email to my system clipboard. I can imagine other bits of text I would want to copy to my system clipboard, too. Currently, the entire card serves as a link to the note, except for the text that is exposed as a link. This makes it impossible to highlight text on the card for manual copying.

Caveat

Yes I am aware mailto://email.com exists. But I have 5 different email accounts 3 on gmail and 2 with outlook all related to address provided by my different clients, and they are all webmail based accounts.

Proposed solution

Expose electron’s clipboard functionality through a Bases formula.

Example:

clipboard(email);

Current workaround (optional)

Workaround

I use a fake protocol like below, and then right-click it to copy the url to the clipboard and delete the protocol out when i pase the link into the to-line of the correct gmail account

link("data://" + email, email)

Just had a side thought. Just like a link() users may want to have a different display text from the value copied to the clipboard.