I created a page through linking while I was in a paragraph, but then it occured to me that the page was better suited as a node/block inside another page. I can’t find a way to move it to that page or to drag and drop it.
Also, related but maybe worthy of another question (tell me, in case): is it possible to create a new block in another page directly through linking (something akin to Notion “create subpage in…” while mentioning).
You can use the “Move block” command. Place your cursor on the title of the page (this works for any block you want to move) and press Ctrl+Shift+m. This should open a dialog where you can search for your target page, then press Enter.
As for your 2nd question, there isnt a command for that, no. The closest thing we have is that you can use namespaces directly when creating a page through linking. So for example, say you have a page “Home”, and in your journal you type [[Home/Health]], this will create Health as a page inside Home and link to it (you can do the same thing via the Cmd+k menu)
Thank you, you understood exactly what I was asking for.
Regarding point one, the only drawback I find is that I cannot create a new page when moving a block that way (I can only move to an existing page). That would be useful.
Regarding point two, the path syntax works but it seems that I didn’t get the difference between a block and a page (I though there were only nodes in the app). This doc (I don’t know how much up-to-date) helped me.
There’s something I found while trying out these things that I don’t know how to feel about.
If I delete a page within a page it only deletes the block (as the command “Delete selected blocks” says); the page still exists but is now parentless (so to speak). I assumed that deleting the block would also delete the page.
Is there a command to delete both at once?
I hadnt thought about that, might be a nice feature
What are you having trouble with? Both blocks and pages are nodes as you said
Yes, that is currently how it works. Both the Library and Namespaces are features that need some polishing in the DB version. When you delete a page as a block, it only removes it from the parent namespace, but the page still exists, which I agree is a little confusing. I dont know of any command to delete a page, I only delete them by right clicking on their title and selecting Delete page
Regarding blocks and pages there’s no issue, it’s just that I thought there were only nodes in this new version, with no further distinction (and “pages” would just be nodes without a parent).
Maybe this doesn’t have many repercussions, aside from graph view, icons etc (important features such as tags apply to both, for what I’m seeing).