Global linking blocks
See original GitHub issueproblem When copying a link of a block, if we paste it on another page, we will just get a link to that page (maybe if to that block). What I want is an additional button that enable us to copy the global link of a block?
What is a global link? It’s a block that can be shown on multiple pages and when modified, it will be reflected on all the pages that contains that global linking block.
For now the solution is to copy the link block URL (https://www.notion.so/<url_to_remove>#<id_to_keep>). And then remove everything between the “www.notion.so/” and the # (including the #). Thus the new URL will be https://www.notion.so/<id_block>. Now we can copy this URL and then past it using ctrl+maj+v, then click on link page. This way, it gives the preview of the block and not just the link.
solution
I think the best way to implement this would be to add a button under “copy link” of the block. This button would take the same argument as the copy link and just apply a regex filter (^https://.*\#
with substitution https://www.notion.so/) on it. For the last part when pasting the link as preview, I don’t know if there is a way to bypass that we need to use maj to past it. However having that URL directly available would be a great plus.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:6 (3 by maintainers)
Top GitHub Comments
i’m developing a module for this, don’t worry.
Oh nice, good to know, was on the brink of trying to implement it myself.