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

selection, copying, cutting is completely broken with block properties & special blocks #186

Open
1 task done
Bad3r opened this issue Dec 8, 2024 · 1 comment
Open
1 task done
Assignees
Labels
bug Something isn't working can reproduce

Comments

@Bad3r
Copy link

Bad3r commented Dec 8, 2024

Search first

  • I searched and no similar issues were found

What Happened?

Special blocks like codeblocks, quotes, and math blocks have various issues when it comes to selection, copying, cutting, and pasting.

This issue gets exacerbated with block properties which suffer from similar issues.

creamy-pronounce-science-main.mp4

As you can see in the video I am using I am using the latest version of chrome without any plugins to test via test.logseq.com

Reproduce the Bug

Honestly just try to select and copy various blocks. there are so many issues but here are some text cases:

  1. create a codeblock
  • try to copy and paste it
  • Try to cut and paste it multiple times
  1. create a codeblock with a property
  • try to copy and paste it w/ the property
  • Try to cut and paste it
  1. create a quote block
  • try to copy and paste it
  • Try to cut and paste it multiple times
  1. create a quote block with a property
  • try to copy and paste it w/ the property
  • Try to cut and paste it
  1. create a text block with a property
  • try to copy and paste it w/ the property
  • Try to cut and paste it

bonus issue: math blocks do not work currently

@Bad3r
Copy link
Author

Bad3r commented Dec 8, 2024

This technically two issues.

  1. The issue with selecting, copying, cutting, and pasting block properties.
  2. The issue with selecting, copying, cutting, and pasting special block types.

It could be argued that it can be split into even more issues but they are all so similar and possibly related. LMK if I should separate it into two or more issues.

@tiensonqin tiensonqin self-assigned this Dec 15, 2024
@tiensonqin tiensonqin added bug Something isn't working can reproduce labels Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working can reproduce
Projects
None yet
Development

No branches or pull requests

2 participants