Issue #2794💬 AnsweredOpened May 21, 2020by AndiswamyDev0 reactions

Assset Image onclick customization

快速解答by artf

Refer to this part https://grapesjs.com/docs/modules/Assets.html#extend-asset-types

Read full answer below ↓

Question

Can I customize the asset image click event, so that I can stop auto updating image source on a single click. Is there any way to say the target.set() to the default source of an image component?

Iam customizing asset image onclicking property. What's happening by default grapesJS is onclicking  the image from an asset, the source url will be auto updating to the selected image component from the editor.

What am looking for is, Iam gonna click the asset image and it willl preventing grapesjs property. I am trying thi sby achieving via JQuery. I refered our Docs and API docs, couldn't get things related to asset image click and updating source in it.

Need your help ASAP guys. @artf

Answers (1)

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.