question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Global linking blocks

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
admiralduscommented, Nov 29, 2020

i’m developing a module for this, don’t worry.

3reactions
haroldsnyerscommented, Nov 29, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linking Blocks: Hands-On English
A New & Engaging Way to Teach English Grammar. Linking Blocks makes grammar visual, representing parts of speech with colored blocks. Combine multi-sensory ......
Read more >
linking blocks - Amazon.com
LEARNING ADVANTAGE Transportation Linking Blocks - Set of 36 - Ages 18m+ - Connecting Blocks for Toddlers - Early Construction, Sorting and Fine...
Read more >
Snap Linking Blocks, Set of 100 - Walmart.com
Includes 100 blocks. To stimulate participation in sorting, counting, basic operations and problem solving activities; Snap Blocks can be used in several ...
Read more >
Link Worldwide : Building Blocks & Sets - Target
Target/Toys/Link Worldwide : Building Sets & Blocks (7)‎. How are you shopping today? Picking up. In-store pickup, ready within 2 hours. Same Day...
Read more >
How to Use Block Linking - Stackable
You can enable Block Linking in the Stackable Settings in your WordPress dashboard. Just navigate to the Editor Settings, and then toggle on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found