Skip to content
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

Add a link preview block #53953

Open
peroyomas opened this issue Aug 25, 2023 · 1 comment
Open

Add a link preview block #53953

peroyomas opened this issue Aug 25, 2023 · 1 comment
Labels
New Block Suggestion for a new block [Type] Enhancement A suggestion for improvement.

Comments

@peroyomas
Copy link

What problem does this address?

Considering that «link» is one of WordPress' fixed post formats, something that could streamline a lot the visual experience is taking cues from a staple in various social networks: when you add a link in a post, by default it generates a clickeable preview with an image and text grabed from the site you link to. It obviously will look better if the linked site has the right SEO enhancements. Tumblr has an option for that (where it's also presented as its own «post format» in the UI) where this is also treated as an stand alone block and you can add more than one per post (unlike most social networks where this is more of a fixed attachment, like with photos and video). An example of this in a Facebook post:
{A1B54DCC-33CD-4871-A23D-F1E9F1788D1C}

What is your proposed solution?

I think it could be nice to have a block that generates a preview out of a given link and the whole block becomes clickeable for said link. Not sure if it needs to be that customizable (if one want to edit the preview image and text, for example), but its default looking «template» can change with styles.

@t-hamano t-hamano added the New Block Suggestion for a new block label Aug 25, 2023
@jordesign jordesign added the [Type] Enhancement A suggestion for improvement. label Aug 28, 2023
@kohheepeace
Copy link

kohheepeace commented Sep 29, 2023

+1 for this issue. Also I think there is already a PR for this issue. (though it is currently pending...)

@peroyomas Please correct me if I have misunderstood your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Block Suggestion for a new block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants