Issue #1176💬 AnsweredOpened June 6, 2018by Abhisheknanda13444631 reactions

Style Sectors

Quick answerby artf1

Sorry but there is no built-in configuration for such a thing, the only thing I can suggest is to start with this listener

Read full answer below ↓

Question

hi @artf is there any way to setup style sectors for different devices mobile and desktop i want to disable style sectors in Desktop if style is setup from mobile and other thing as you can see my screenshot i add new button in panel 'view' i m trying to append diff style sectors in this button please help me out @artf .Thanks screen shot 2018-06-06 at 2 58 29 pm

Answers (3)

artfJune 8, 2018

Sorry but there is no built-in configuration for such a thing, the only thing I can suggest is to start with this listener

editor.on('change:device', () => {
	console.log('new device', editor.getDevice());
})
Abhisheknanda1344463June 11, 2018

okie @artf thanks for your suggestion :)

lock[bot]September 17, 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.