You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have deployed the AFFiNE service on my NAS server, which runs the latest version of Feiniu O,AFFiNE version is 0.16.0-nightly-eb0466e. I used the official script to deploy it to Docker with one click. During use, I found that I cannot copy any content from the document to the clipboard, but I can paste the clipboard content into the document. When I pressed F12 to check the browser console information, I found an error when copying, and the error message is as follows: TypeError: Cannot read properties of undefined (reading 'write') at h.writeToClipboard (index.ts:357:31) at async h.copySlice (index.ts:168:5)
I suspect there might be an issue with my installation script or the AFFiNE version, so I cloned the latest version of the software from GitHub and installed it in Docker using compose.yaml. The version number is 0.17.5, but the problem persists. Therefore, I believe it might be a software issue rather than a system or configuration problem. I'm going to provide feedback on GitHub, hoping it can contribute to the project.
Distribution version
Linux
What browsers are you seeing the problem on if you're using web version?
Chrome, Microsoft Edge
Are you self-hosting?
Yes
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
navigator.clipboard api is used in copy module and it requires secure context(https) in non-localhost environment. Im hoping @fourdim is on this, replacing navigator.clipboard with ClipboardEvent if it's blocked
What happened?
I have deployed the AFFiNE service on my NAS server, which runs the latest version of Feiniu O,AFFiNE version is 0.16.0-nightly-eb0466e. I used the official script to deploy it to Docker with one click. During use, I found that I cannot copy any content from the document to the clipboard, but I can paste the clipboard content into the document. When I pressed F12 to check the browser console information, I found an error when copying, and the error message is as follows:
TypeError: Cannot read properties of undefined (reading 'write') at h.writeToClipboard (index.ts:357:31) at async h.copySlice (index.ts:168:5)
I suspect there might be an issue with my installation script or the AFFiNE version, so I cloned the latest version of the software from GitHub and installed it in Docker using compose.yaml. The version number is 0.17.5, but the problem persists. Therefore, I believe it might be a software issue rather than a system or configuration problem. I'm going to provide feedback on GitHub, hoping it can contribute to the project.
Distribution version
Linux
What browsers are you seeing the problem on if you're using web version?
Chrome, Microsoft Edge
Are you self-hosting?
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: