Issue #1463πŸ’¬ AnsweredOpened September 27, 2018by Abhisheknanda13444630 reactions

How to disable gjs-hoverable class from elements

Quick answerby artf

@Abhisheknanda1344463 if you see "yellow area" probably because you're using showOffsets: true in your configurations (default is false)

Read full answer below ↓

Question

hi @artf i am using your boilerplate plugin and i want to disable hoverable property from all the elements as screenshot below yellow area appearing on hover i tried to do this const updateAll = model => { model.set({hoverable:false}); model.get('components').each(model => updateAll(model)); } updateAll(editor.DomComponents.getWrapper()); It stops hoverable property only for wrapper. Can you tell me how to stop that property for all the elements ? Thanks

Answers (2)

artfβ€’ September 29, 2018

@Abhisheknanda1344463 if you see "yellow area" probably because you're using showOffsets: true in your configurations (default is false)

lock[bot]β€’ September 29, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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.