You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Export multiple highlighted blocks as EDN data #232
The "Export page EDN data" and "Export block EDN data" only exports the title of the current block/page, and does not include any data in the :pages-and-blocks key.
Reproduce the Bug
Place cursor within any block that has nested blocks, or within a page that contains blocks.
Cmd-K > Export page EDN data or Export block EDN data.
Paste the data into a text editor.
Expected Behavior
The exported content includes the current block title/content as well as content of nested blocks in :pages-and-blocks key.
Hi. I'm not able to reproduce exporting a page not exporting nested blocks. Providing the specific page content you're using would be helpful for reproducing
"Export block EDN data" only exports the title of the current block
This is working as intended. If we were to change the implementation to your suggestion then we would also get a bug report for not being able to just export the parent block. It sounds like you want multiple specific blocks on a page to be exported which isn't supported yet. We could implement this by having a command which exports all the highlighted blocks. You could highlight all the children of a block with a keystroke, shift-arrow-down, and then run this command. If that sounds like something that'd be useful I can implement that soon
This is working as intended. If we were to change the implementation to your suggestion then we would also get a bug report for not being able to just export the parent block. It sounds like you want multiple specific blocks on a page to be exported which isn't supported yet. We could implement this by having a command which exports all the highlighted blocks. You could highlight all the children of a block with a keystroke, shift-arrow-down, and then run this command. If that sounds like something that'd be useful I can implement that soon
That makes sense. And yes, that would be very useful. I think it would also be useful for other export formats (such as export to markdown).
I'm not able to reproduce exporting a page not exporting nested blocks. Providing the specific page content you're using would be helpful for reproducing
I just tried to reproduce this, and I wasn't able to either. Feel free to close, I'll let you know if you run into it again.
When you select multiple blocks, there's now a bulk action header that pops up. If you click on the the three dots menu and select Copy/ export as, a dialog pops up for different ways to export. In about 10 min on test.logseq.com, there will be an EDN button which handles this issue and guarantees a full export of the selected blocks
(such as export to markdown)
In this same dialog you can already do this with the Text button
Activity
logseq-cldwalker commentedon Mar 17, 2025
Hi. I'm not able to reproduce exporting a page not exporting nested blocks. Providing the specific page content you're using would be helpful for reproducing
This is working as intended. If we were to change the implementation to your suggestion then we would also get a bug report for not being able to just export the parent block. It sounds like you want multiple specific blocks on a page to be exported which isn't supported yet. We could implement this by having a command which exports all the highlighted blocks. You could highlight all the children of a block with a keystroke, shift-arrow-down, and then run this command. If that sounds like something that'd be useful I can implement that soon
donalmacanri commentedon Mar 18, 2025
That makes sense. And yes, that would be very useful. I think it would also be useful for other export formats (such as export to markdown).
I just tried to reproduce this, and I wasn't able to either. Feel free to close, I'll let you know if you run into it again.
[-]Export page/block EDN data does not export nested blocks[/-][+]Export multiple highlighted blocks as EDN data[/+]enhance: add export+import of selected nodes
logseq-cldwalker commentedon Apr 4, 2025
When you select multiple blocks, there's now a bulk action header that pops up. If you click on the the three dots menu and select
Copy/ export as, a dialog pops up for different ways to export. In about 10 min on test.logseq.com, there will be an EDN button which handles this issue and guarantees a full export of the selected blocksIn this same dialog you can already do this with the
Textbuttonlogseq-cldwalker commentedon Apr 15, 2025
Closing as I haven't heard back. Feel free to let me know if it doesn't work
donalmacanri commentedon Nov 3, 2025
Sorry, I didn't see this after - this works nicely now, thank you.
enhance: add export+import of selected nodes