Separate style manager #4290
Unanswered
khanhleemtp
asked this question in
Q&A
Replies: 2 comments
-
You can replace the default Style Manager UI with your own implementation https://grapesjs.com/docs/modules/Style-manager.html#custom-style-manager |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've separated them by defining different Style Manager configs for each section, then switching between them when a tab is selected: switch (type) {
case 'basic':
stm.getSectors().reset(basicSector);
break;
case 'advanced':
stm.getSectors().reset(advancedSector);
break;
default:
break;
}
editor.trigger('component:toggled');
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i want to separate style in two part. Advance and Normal. How to separate style manager
Beta Was this translation helpful? Give feedback.
All reactions