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

Moving block hierarchy doesn't work #13

Open
garyo opened this issue Dec 2, 2022 · 4 comments
Open

Moving block hierarchy doesn't work #13

garyo opened this issue Dec 2, 2022 · 4 comments

Comments

@garyo
Copy link

garyo commented Dec 2, 2022

Moving a block with sub-blocks to a page doesn't seem to work for me.
To repro, create this content in today's journal:

- Block
	- Sub-block
	- Sub-block 2
		- Third level

Also create a page "Test page" with a couple of blocks, to serve as the move target.
Then right-click on the main Block, select Cut content and keep ref, to a page "test page". (After can be stay or jump, doesn't matter).

What you'll see:

  • One of the sub-blocks (in my case "Third level" above) gets copied to the Test page, but not the whole hierarchy.

It's the same if you select the whole block and sub-blocks; only the last block gets moved over.

@vipzhicheng
Copy link
Owner

I can not reproduce this issue. It works for me. I guess your block content may be special.

@garyo
Copy link
Author

garyo commented Dec 16, 2022

I just clarified the test case. Just paste that exact content into today's journal (or edit with an external app to be 100% certain).

@tmark00
Copy link

tmark00 commented Jul 21, 2023

The same by me. What more - block without sub-blocks but with empty line under - cannot be moved. And communicate is showed: "cannot move empty block". The problem occures in all last versions - now is in Logseq 0.9.11.

@vipzhicheng
Copy link
Owner

Please upgrade and test again. I did some optimization for hierarchy blocks moving.

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

No branches or pull requests

3 participants