Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying is not working from Affine #7892

Closed
1 task done
YourDaniel opened this issue Jun 14, 2024 · 5 comments
Closed
1 task done

Copying is not working from Affine #7892

YourDaniel opened this issue Jun 14, 2024 · 5 comments

Comments

@YourDaniel
Copy link

What happened?

I can't copy any text from Affine blocks, cmd + c is not working. In the buffer is always something that was copied before outside of Affine. Popup icon "Copy" when selecting text also doesn't work. However, copying any text not from Affine blocks, e.g. title of the page is copying normally. Only from text blocks inside notes.

Sometimes copying is working but I couldn't replicate what causes is to work or not to work.
I could reproduce it in both Chrome and Safari.

Distribution version

macOS x64 (Intel)

What browsers are you seeing the problem on if you're using web version?

Chrome, Safari

Are you self-hosting?

  • Yes

Relevant log output

No response

Anything else?

No response

@affine-issue-bot
Copy link

Issue Status: 🆕 *Untriaged

*🆕 Untriaged

The team has not yet reviewed the issue. We usually do it within one business day.
Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.

@oiqm4T
Copy link

oiqm4T commented Jun 19, 2024

Recent install, had same issue. Seemed to be fixed once I login using HTTPS.

@SAnBlog
Copy link

SAnBlog commented Jul 4, 2024

+1

@forehalo
Copy link
Member

forehalo commented Aug 9, 2024

if you may provide a detailed issue reproduce video in https://try-blocksuite.vercel.app/starter?init, that would be appreciated

@forehalo forehalo transferred this issue from toeverything/AFFiNE Aug 9, 2024
@fourdim
Copy link
Contributor

fourdim commented Oct 9, 2024

Dup of toeverything/AFFiNE#5610

Unfortunately, due to the restriction of browsers, many features like Clipboard only work under Secure Contexts (i.e. HTTPS or localhost). I would recommend you either setup your own CA, or proxy the server to the localhost.
You can set the flag in Chrome to disable the Secure Contexts in the trusted sources. Input the chrome://flags/#unsafely-treat-insecure-origin-as-secure in URL to set.

@fourdim fourdim closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 *Untriaged
Archived in project
Development

No branches or pull requests

5 participants