Issue #2971Opened August 25, 2020by gunslingor0 reactions

BUG: Minor issue in webpage demo Tooltip

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, 20200 reactions

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

gunslingorAugust 28, 20200 reactions
  • 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, 20200 reactions

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

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.