I have recently started using grapeJs and found it awesome.
Can you please help me on How can I add dropdown(select) with optgroup inside trait.
Or is there any custom option available like 'html' where I can add my own html
traits: [{
label: 'PartialName',
name: 'selectPartial',
type: 'select',
changeProp: 1,
html: 'custom html' // e.g., for custom html
}],
Hello @artf
I have recently started using grapeJs and found it awesome.
Can you please help me on How can I add dropdown(select) with optgroup inside trait. Or is there any custom option available like 'html' where I can add my own html traits: [{ label: 'PartialName', name: 'selectPartial', type: 'select', changeProp: 1, html: 'custom html' // e.g., for custom html }],
Thanks