How to customize and selectively disable the edit tools on bpmn modeller diagram

Hi @rahulranjan, welcome!

What component are you referring to? The palette

or the context pad?

image

Both can be disabled by simply overriding the modules.

const modeler = new Modeler({
  container,
  keyboard: {
    bindTo: document
  },
  additionalModules: [
    {
      contextPad: ["value", {}],
      contextPadProvider: ["value", {}],
      palette: ["value", {}],
      paletteProvider: ["value", {}]
    }
  ]
});