I found a strange behavior with Copy and Paste in LOOL Collabora Code edition (currently 4.0.8, tried provided docker image as well as compiled by myself). When I open document in my nextcloud installation, I cannot copy or paste cells (cmd-cmd-v on my Mac OS). It simply does nothing, Paste option in the menu is grey. However, if I copy e.g. a word from outside (like any word from the url location of the browser), I can paste it to the cell in LOOL. And since then, copying and pasting within the document works perfectly. It looks like something forbids copying and pasting after document initialization, but because of external copy/paste, it is reinitialized. I also tried master branch of LibreOffice core (6.4.0.0.alpha) and Online, the copy/paste works here (but other things still block from using it). I am ready to help to investigate further. Thanks Vlastimil
BTW it is not only Calc related, in the Writer it is the same - first I have to paste text from outside document to start copy/paste working. In the Javascript console there is plenty of output, to summarize: - Unrecognized Content-Security-Policy directive 'worker-src'. (main.js) - Failed to load resource: the server responded with a status of 404 (for missing branding.css and branding.js) - [Debug] callMobileMessage – "documentLoaded" – undefined (document.js, line 44) - Toolbar button with id "fullscreen" not found. (in _postMessageListener) - [Warning] The escapeHTML library is deprecated! It will be removed in nextcloud 19. (main.js, line 750)
Since it works in master, let's close this as WORKSFORME. A new Collabora CODE version (4.2) will be released soon, for the time being you can check the unstable snapshots at: https://www.collaboraoffice.com/code/