Workaround: Make any cell contents in Workspace copy-able | Community
Skip to main content
Level 2
January 30, 2018
New

Workaround: Make any cell contents in Workspace copy-able

  • January 30, 2018
  • 1 reply
  • 2289 views

I find it super annoying that text in individual workspace cells is not selectable or copyable. This is especially bad when the cells contain GUIDs or other long things.

To solve this, I made a little Bookmarklet to work around this:

javascript:(function(window,document)%7Bfunction%20copyToClipboard(txt)%7Bvar%20textArea,copy;function%20createTextArea(text)%7BtextArea=document.createElement('textArea');textArea.value=text;document.body.appendChild(textArea)%7D%20function%20copyToClipboard()%7Bdocument.execCommand('copy');document.body.removeChild(textArea)%7D%20createTextArea(txt);textArea.select();copyToClipboard()%7D%20function%20listener(e)%7BcopyToClipboard(e.target.textContent);e.preventDefault();document.body.removeEventListener('click',listener,!0)%7D;document.body.addEventListener('click',listener,!0)%7D)(window,document)

To use this, create a bookmark in your browser's favorite bar and give it the above line of javascript as URL. After clicking on that bookmark, just click on the "unselectable" cell and voilà, the content is now as text in your clipboard.

I hope others find this useful, too. (Oh, and tested only in Safari, Chrome and Firefox on MacOS X).

1 reply

v-tiwri
Level 3
April 24, 2018

I believe this feature has been added. See screenshot below: