Skip to content

Would it be possible to allow clickable images? #306

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

Closed
vader1359 opened this issue Jun 19, 2022 · 2 comments
Closed

Would it be possible to allow clickable images? #306

vader1359 opened this issue Jun 19, 2022 · 2 comments

Comments

@vader1359
Copy link

I know that Notion does not have this option. But as react-notion-x can replace the original image with next/image, is it possible to wrap the image with a hyperlink (for example, based on the caption)?

@vader1359
Copy link
Author

I just realized that this feature has already existed.

@transitive-bullshit
Copy link
Member

You can set a URL as the image's caption, and instead of showing the caption as it does in Notion, the resulting image will be clickable to open a new tab in the caption's URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants