editor-js / image

Image Block for Editor.js
MIT License
234 stars 282 forks source link

Add link to image (make image a clickable link) #244

Open collimarco opened 4 months ago

collimarco commented 4 months ago

It would be useful to have the ability to add a link to the image.

When the user clicks the image, that link is then opened.

donnfelker commented 4 months ago

I forked the project and implemented a simple naive solution here: https://github.com/donnfelker/editor-js-image#readme

on NPM: https://www.npmjs.com/package/@donnfelker/editor-js-image