Custom Style Manager
You have to use the list property to define your options. Inside the radio option objects, it should read name instead of title. ```javascript const styleManager = editor.StyleManager; styleManager.addSector('div-only-sector', { name: 'Setting', open: true, buildProps: ['width', 'height'], properties: [{ name: 'Visibi...
Read full answer below ↓Question
Hi @artf I am trying to change the type and input values of display property like this way -: But on style-manager Button are not visible. How can we customize the display property Demo -: https://codepen.io/abhi_punk81/pen/MWbWzaq?editors=0010 Could you Please Help @artf ? Thanks
Answers (3)
You have to use the list property to define your options. Inside the radio option objects, it should read name instead of title. ```javascript const styleManager = editor.StyleManager; styleManager.addSector('div-only-sector', { name: 'Setting', open: true, buildProps: ['width', 'height'], properti...
Thanks A lot @nilchu for your help.
Thanks for reporting this, @Abhisheknanda1344463. Great question about Custom Style Manager. The recommended approach with StyleManager is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listener method Most operations can b...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3600
[Question]: Event listener to visibility(eye) icon in the Layer Manager
I would like to listen to the eye icon in the layer manager from the editor, based on which, I need to write the custom styles. Is there an...
Issue #3453
FEAT: how to resize start/end in absolute mode?
Hello, dear i'm trying something like "resize:start/end" in absoluteMode with styleable:change:width/height. can you help me?
Issue #3304
How I can customize the UI of Grapesjs?
I want to customize the ui of Grapesjs but the js and css files are minified.Please tell me how can I do this? I just want to keep some spe...
Issue #3408
[QUESTIONS] How to changes styles of devices, view code and fullscreen
Currently we have this GrapesJs style: But, we are looking to have this GrapesJs style: My questions are: 1- - how we can change the format...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →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.