Closed mickeyDominic closed 2 years ago
@mickeyDominic you're placing all the default panels under the same object
panels: {
defaults: [{
id: 'layers',
el: '.panel__right',
// ...
id: 'panel-switcher',
el: '.panel__switcher',
}]
}
Where it should be one object per panel
panels: {
defaults: [
{
id: 'layers',
el: '.panel__right',
// ...
}, {
id: 'panel-switcher',
el: '.panel__switcher',
// ...
}
]
}
Thank you @artf.
Silly me :)
GrapesJS version
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?
What is the expected behavior? 'panel-devices' and 'panel-switcher' should appear side by side without fault
What is the current behavior? 'panel-devices' and 'panel-switcher'do NOT should appear side by side without fault
If is necessary to execute some code in order to reproduce the bug, paste it here below:
This is what is expected
And this is the current result
Code of Conduct