How to change the title for Image component on Hover?
Question
Hello @artf ,
How can I change the title for my image component when I hover on it?
LIke the highlighted text on this image:

Thanks!
Answers (3)
Set the 'custom-name' attribute on the component.
custom-name is deprecated, use name instead
Thanks a ton @Zachary1748 and @artf for the help, it worked like a charm.
I've updated the getName function and changed the name attribute for images.
name = name == 'image' ? 'image (Double Click to upload Images)' : name;
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3328
How can I update the nodeValue (text value) of components by inputs forms
Hello. Grapesjs is a great tool. Thanks for it. I want to update the text value of a component by inputs, how can I do that?? if a user fil...
Issue #1723
[QUESTION] replacing particular text in dropped component
Hi, I get the value from custom traits from what I entered but I don't know how to change the particular value in dropped component and ren...
Issue #417
Add Setting button to custom component.
Hello, How can I create a setting or you can say edit button for my custom component? LIke 4th option on this image:
Issue #1780
How to change extra dropdown for link change trait
Hello @artf , I want to give one more functionality to user like user can change any link with default links drop down. In above image i wa...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.