Issue #2677Opened March 23, 2020by verloka5 reactions

[QUESTION] How to delete a list with devices

Question

How to delete a list with devices?

Аннотация 2020-03-23 170147

Answers (3)

teawithfruitMarch 23, 20203 reactions
editor.on('load', () => {
  editor.Panels.removePanel('devices-c')
})

Next time you can try to use the search function... ;) #875

verlokaMarch 23, 20202 reactions
editor.on('load', () => {
  editor.Panels.removePanel('devices-c')
})

Next time you can try to use the search function... ;) #875

thx

teawithfruitMarch 23, 20200 reactions

You have to set a custom device manager configuration in your init block. https://grapesjs.com/docs/api/device_manager.html

With this snippet you can clear the list.

const editor = grapesjs.init({
  deviceManager: []
})

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.