Cologler / logseq-sort-blocks-typescript

logseq plugin for sort blocks
MIT License
3 stars 1 forks source link

Feature Request - Allow sorting selected blocks #3

Open Gibado opened 8 months ago

Gibado commented 8 months ago

Just found this plugin and it does sort the top level blocks on the page. It would be awesome if I could select a group of same level blocks, right click, and select sort. I currently use the top level blocks as headers and wished to sort the content under the header.

I have some experience with javascript so I might be able to help with this.

Cologler commented 8 months ago

I had registered PageMenuItem and BlockContextMenuItem for sorting.

I also checked https://plugins-doc.logseq.com/, and there is no ContextMenuItem API for selected blocks.