Hi there,
in the source file for the Modeler
, there is an example on how to override all entries in the context pad: https://github.com/bpmn-io/bpmn-js/blob/master/lib/Modeler.js#L77.
But I don’t get why this works. Shouldn’t the ContextPad
iterate over all context pad providers and merge their entries? I have this from the source files, as well. https://github.com/bpmn-io/diagram-js/blob/master/lib/features/context-pad/ContextPad.js#L106.
For me, this is not about overriding context pad entries solely. I’d like to understand the dependecy injection features in general and I struggled to understand this point.
Thanks for any help!
Best regards
Felix