Issue #4455πŸ’¬ AnsweredOpened July 18, 2022by mickeyDominic0 reactions

'panel-devices' and 'panel-switcher' conflicting

Quick answerby artf

@mickeyDominic you're placing all the default panels under the same object Where it should be one object per panel

Read full answer below ↓

Question

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 103.0.5060.114 Reproducible demo link https://codepen.io/Dominic_M/pen/eYMgqyw Describe the bug How to reproduce the bug?Follow GrapesJS "Getting Started" >> https://grapesjs.com/docs/getting-started.htmlContinue with tutorial until "Responsive templates (https://grapesjs.com/docs/getting-started.html#responsive-templates)" where you will realize that after adding a panel for switching between Mobile and Desktop view one panel replaces the other. What is the expected behavior? 'pane...

Answers (3)

artfβ€’ July 19, 2022

@mickeyDominic you're placing all the default panels under the same object Where it should be one object per panel

mickeyDominicβ€’ July 21, 2022

Thank you @artf.

Silly me :)

GJSBlockβ€’ May 17, 2026

Thanks for reporting this, @mickeyDominic. Great question about 'panel-devices' and 'panel-switcher' conflicting. The recommended approach with ProseMirror is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listener method M...

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 β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.