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
fix(paste): do not convert url to macro while raw pasting #8815
Conversation
Is #8809 also related to the condition? |
Yes logseq/src/main/frontend/handler/paste.cljs Lines 50 to 62 in 652c43f
|
@situ2001 Thanks for fixing raw paste for links. Looks like this was introduced in #5396. Going to add a test and address #8810 (comment) |
Also fix other tests that don't reset
058f33c
to
3f4541b
Compare
Remove warning for no macro wrapping as that is excessive warning
ace15b1
to
3c90980
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@situ2001 Thanks for pushing on copy+paste fixes. 👍 ❤️ It's important for us to be less buggy here. I've added some tests to prevent regressions on these. It's still possible to macro wrap on raw paste mode here. I don't have any thingatpt/markdown-src-at-point
examples to test on but hopefully we'll clean all this up with more testing
fix #8810, #8809
We should not change the data or text in clipboard but keep it unchanged while
raw-pasting?
is true.