how can I delete default Icons in the entry group and context pad?
I mean these::
In order to edit the palette and context pad entries, you need to add custom Palette and ContextPad providers that override existing entries.
Your providers should do something like this:
getPaletteEntries(element) {
return function (entries) {
entries.delete['entry-id'];
return entries;
}
For a full example, please have a look at this
1 Like
@beatriz.mendes where should I import custom Palette and Context Pad providers?
I’ll check it thanks so much and will write my result back here
You can include them as additionalModules
like:
const modeler = new BpmnJS({
additionalModules: [
CustomPaletteProvider,
CustomContextPadProvider
],
...
});
1 Like
Thanks so much I’ll do your solution
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.