Open TfTHacker opened 3 years ago
#42SmartBlock Copy the current block reference as an embed
<%JA:```javascript await navigator.clipboard.writeText( '{{[[embed]]:((' + document.activeElement.id.slice(-9) + '))}}'); return '';```%>
Copies the reference for the current block as an embed into the clipboard for pasting else where. So for example it would output: {{[[embed]]:((GHetdXIhO))}}
✂️ Copy of your #42SmartBlock from Roam
📋 Describe the SmartBlock
Copies the reference for the current block as an embed into the clipboard for pasting else where. So for example it would output: {{[[embed]]:((GHetdXIhO))}}
📷 Screenshot of your #42SmartBlock workflow/template from Roam