Issue #2356✓ SolvedOpened October 29, 2019by luvcharan6 reactions

Add link on image in grapsjs editor

Quick answerby pouyamiralayi4

@luvcharan reference from the demo:

Read full answer below ↓

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)

👍 Most helpfulpouyamiralayiOctober 29, 2019

@luvcharan reference from the demo: image

pouyamiralayiOctober 29, 2019

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, 2021

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.