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

​Copy-Pasting Text to Table Duplicates Text #10544

Open
1 task done
Edit-Mr opened this issue Mar 2, 2025 · 1 comment
Open
1 task done

​Copy-Pasting Text to Table Duplicates Text #10544

Edit-Mr opened this issue Mar 2, 2025 · 1 comment
Assignees

Comments

@Edit-Mr
Copy link

Edit-Mr commented Mar 2, 2025

What happened?

When copying and pasting text within AFFiNE into a table element title, the text appears twice. Additionally, if one of the duplicated texts is deleted, the other one disappears as well.

Image

Steps to Reproduce:

  1. Copy any text from within AFFiNE.
  2. Paste it into a table element title.
  3. Notice that the text is duplicated.
  4. Try deleting one instance of the duplicated text – both instances disappear.

The pasted text should appear only once and be editable without unintended side effects. Copying plain text from external applications (e.g., Notes, TextEdit, Raycast) does not cause this issue.

Distribution version

macOS ARM 64 (Apple Silicon)

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

Firefox

Are you self-hosting?

  • Yes

Relevant log output

Anything else?

No response

@Edit-Mr
Copy link
Author

Edit-Mr commented Mar 2, 2025

But this seems to be a display issue. Although the content appears duplicated, if you select another cell to exit editing (or press Ctrl + Enter), the displayed content is correct (showing what you pasted).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants