Issue #2356Opened October 29, 2019by luvcharan6 reactions

Add link on image in grapsjs editor

Question

Hi,
Add link (href) to image in grapesjs .

First we add image in grapesjs and then add link to that image, its shows " Link " text next to that image, but i was unable to add link to that image. here i am adding screenshot below, can you please help me out , how to add link in image

grapesjsLinkIssue

Answers (3)

pouyamiralayiOctober 29, 20194 reactions

@luvcharan reference from the demo: image

pouyamiralayiOctober 29, 20191 reactions

Hi @luvcharan you must use Link Block not Link.

  1. first add the link block.
  2. then drop your image inside link block.
  3. specify href for link block. cheers!
ck1ldnJuly 24, 20211 reactions

Hi Do the links not work in a demo, unpublished template. I've been trying this and it's not working in preview image

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.