For some days I was trying to research and create a new element using moddle and add the button in the palette.
I started looking into the Model Extension (https://github.com/bpmn-io/bpmn-js-example-model-extension) but also having the idea to add the icon into the palette (following the example: https://github.com/bpmn-io/bpmn-js-example-custom-elements).
But my main problem is that I want to create a custom prefix ‘my:Task’ that inherit from Task (so, rendering the same and have the same properties), but I didn’t find any example that work well.
Also thinking about this, I went to the Camunda github, and if I want to add use this prefix into my bpmn app(github/camunda/camunda-bpmn-moddle/blob/master/resources/camunda.json) only adding the ‘moddleExtensions’ prop didn’t work.
Anyone can help me on this?