-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
Global linking blocks #294
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. |
@admiraldus this would be soo nifty! thank you! |
|
Hey, seems perfect! I see you thought about global links for pages and blocks which awesome! Can't wait for the release! |
|
problem
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.The text was updated successfully, but these errors were encountered: