Issue #2187✓ SolvedOpened August 7, 2019by Chaitwo3 reactions

How to change the title for Image component on Hover?

Quick answerby zgover2

Set the 'custom-name' attribute on the component.

Read full answer below ↓

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:

image

Thanks!

Answers (3)

👍 Most helpfulzgoverAugust 8, 2019

Set the 'custom-name' attribute on the component.

artfAugust 9, 2019

custom-name is deprecated, use name instead

ChaitwoAugust 10, 2019

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.

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.