Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn off HTML element message on hover #374

Open
yasmagic opened this issue Aug 21, 2024 · 2 comments
Open

Turn off HTML element message on hover #374

yasmagic opened this issue Aug 21, 2024 · 2 comments

Comments

@yasmagic
Copy link

Hello team,

How do we turn off the tooltip and HTML element types on hover, such as DIV, IMG, etc.? Some users find it annoying, and perhaps they need a simpler way to select objects only.

image

@givanz
Copy link
Owner

givanz commented Aug 21, 2024

Hi

The easiest method is to hide the highlight name element with

#vvveb-builder #highlight-name {
  display:none !important;
}

Or you can delete the code

https://github.com/givanz/VvvebJs/blob/master/scss/_builder.scss#L1396-L1413

https://github.com/givanz/VvvebJs/blob/master/editor.html#L498-L501

https://github.com/givanz/VvvebJs/blob/master/libs/builder/builder.js#L1299-L1300

The tooltip is shown by the browser when an element has title attribute, you will need to remove title attributes from the section elements.

title

@yasmagic
Copy link
Author

Perfect, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants