Issue #2971💬 AnsweredOpened August 25, 2020by gunslingor0 reactions

Minor issue in webpage demo Tooltip

快速解答by artf

Can elaborate better on how to reproduce the issue, please?

Read full answer below ↓

Question

webpage demo

Summary: el.setAttribute('title', ''); fails for view panel buttons only (not options panel buttons).

Symptom: You can see the mouse over on the view buttons, they all start with "Open yada yada", the word open should be removed per the array (e.g. ['open-sm', 'Style Manager']).

Cause: Suspect something isn't happening in the right order, probably due to the presets again.

would be nice if orderings were inherently taken care of with a preset =).

Answers (3)

artfAugust 28, 2020

Can elaborate better on how to reproduce the issue, please?

gunslingorAugust 28, 2020
  • Go here: https://grapesjs.com/demo.html
  • Hover over any view icons, notice the tooltip starts with Open
  • If you look a the javascript, in the same area you set the other tooltips your changing these as well to show the name without the word "Open"; I tried to change them to random things but it never took. Not sure if its a preset issue.

Maybe not a big deal since I hope to start making my own plugins soon. I'm just diving deep into grapejs so figured you might wanna know.

artfAugust 28, 2020

Those tooltips are made for the demo purpose, this has nothing to do with the core library... Anyway, the value shown is taken from data-tooltip and not title.

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.