Can we have multiple palette providers?


I am looking for a way to separate the tools from the palette. I wrote a custom palette provider and could handle what is to be shown in the palette - like removing the hand tool, lasso tool etc. But now I need to add these tools as a separate section in the canvas.


Thanks in advance.

You will have to create your own component as an extension to work with diagram-js or bpmn-js. The Palette itself can be a good example on how to do it. Which actions are used, if you need them for your component, can be found inside the PaletteProvider