It appears that the latest gutenberg editor supports direct links to blocks added to a post as mentioned here. How do I get the block link? I need to extract it programmatically but it's not saved in the post's markup as I've discovered.

1 Answer 1


It’s just an anchor link, so it will be the URL of the post plus the ID you gave it, preceded by a hash.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.