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

​代码框会吞掉拷贝的字符串的最后一个回车符 #8816

Closed
1 task
MortalAndTry opened this issue Nov 21, 2024 · 1 comment · Fixed by #8821
Closed
1 task

​代码框会吞掉拷贝的字符串的最后一个回车符 #8816

MortalAndTry opened this issue Nov 21, 2024 · 1 comment · Fixed by #8821

Comments

@MortalAndTry
Copy link

What happened?

向代码框里拷贝时,会吞掉最后一个回车符:
源字符串:
image

拷贝到AFFinE 代码框里的结果:
image

image

Distribution version

Windows x64

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

No response

Are you self-hosting?

  • Yes

Relevant log output

No response

Anything else?

No response

@forehalo forehalo transferred this issue from toeverything/AFFiNE Nov 27, 2024
fourdim pushed a commit that referenced this issue Nov 28, 2024
…8821)

Fix #8816

Also related to #8575

Revert and adjust newline insertion logic to improve text handling in the MixTextAdapter and clipboard paste functionality.
@fourdim
Copy link
Contributor

fourdim commented Nov 28, 2024

Closed by #8821

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

Successfully merging a pull request may close this issue.

2 participants