how to disable gjs-hoverable class from elements
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)
@Abhisheknanda1344463 if you see "yellow area" probably because you're using showOffsets: true in your configurations (default is false)
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.
Issue #814
[QUESTION] Disable selectable, hoverable and editable options when Mobile view is on.
Hi, I want to disable to select, hover or edit the components of the editor when the Mobile view is on. I have tried using below code. But...
Issue #1322
Disable editing in Preview Mode.
@artf How can we disable editing in the preview mode and re-enable it when preview mode off. I want to remove editor and hide toolbar in th...
Issue #1602
[QUESTIONS] - Panel visibility
Hey @artf , How have you been? Quick question: a Panel has a property called visible. I'm trying to set it to false but nothing happens. I'...
Issue #1245
How to set slider in margin-top property
Hi @artf, Can you please let me know how we can set the slider in margin-top property.I am setting with the below code but slider is moving...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.