Issue #1463Opened September 27, 2018by Abhisheknanda13444630 reactions

how to disable gjs-hoverable class from elements

Question

Code SnippetTEXT
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
![screen shot 2018-09-27 at 11 35 31 am](https://user-images.githubusercontent.com/20657737/46126315-6274f280-c24a-11e8-91c8-a6c2ea07c5f5.png)

Answers (2)

artfSeptember 29, 20180 reactions

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

lock[bot]September 29, 20190 reactions

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

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.