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

When copying text, the system automatically converts the text format. #8899

Open
1 task
dbwcooper opened this issue Dec 5, 2024 · 2 comments
Open
1 task
Assignees

Comments

@dbwcooper
Copy link

What happened?

I replaced the text of a checkbox with an li tag, but the system automatically converted the li tag into a checkbox.

Screen.Recording.2024-12-05.at.13.36.14.mov

Distribution version

macOS ARM 64 (Apple Silicon)

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

Other

Are you self-hosting?

  • Yes

Relevant log output

No response

Anything else?

No response

@CatsJuice CatsJuice transferred this issue from toeverything/AFFiNE Dec 9, 2024
@fourdim
Copy link
Contributor

fourdim commented Dec 10, 2024

It is expected. If there is no text content in the pasted block, the pasted block will be adhering the style that is pasted from.

This is especially useful when you are pasting a code block to an empty block. What's your opinion?

@dbwcooper
Copy link
Author

It is expected. If there is no text content in the pasted block, the pasted block will be adhering the style that is pasted from.

This is especially useful when you are pasting a code block to an empty block. What's your opinion?

Hi @fourdim
thanks for replying.
When I copy a block into an empty block that already has a label, I want to copy only the text part. Preserving the existing label is more stable to me.
This is also consistent with Notion's behavior.

@fourdim fourdim assigned fourdim and unassigned Saul-Mirone Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants