-
Notifications
You must be signed in to change notification settings - Fork 8
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
"Cannot move empty block" error #19
Comments
Same here. When trying to move any block anywhere (cut/copy) it fails and shows the "Cannot move an empty block". Tested on Logseq v0.10.7 as well as on previous versions. Looking forward to see this fixed as I find this a useful addon. Thank YOU! |
I can not reproduce this issue, so I think I need some examples to debug. |
Please upgrade and test again. Before the logic is stop at empty block if you select more than one. Now the logic is to ignore empty block and continue to process the rest of blocks. |
@vipzhicheng, re-tested on latest version. As before, it would work on some blocks, in particular in newly created ones. On some others it would give out an error as "Found empty selected block, ignore and continue to process!". |
This means selected blocks include empty blocks. Here I need some example cases to reproduce. |
I understand. I cannot see empty blocks but it seems that if I delete the empty lines than it works. Here's an example that does not work:
But if I change it to the following, it works:
|
Something strange. I have just tried manually re-inputting the first example above and this time it works. But if I copy it from here as it is, it doesn't. Still, I cannot see any empty blocks. |
When I try to move a block while keeping an embed, I often get "Cannot move an empty block" error. Works after a few tries.
The text was updated successfully, but these errors were encountered: