I don’t need textAnnotaion and and endEvent here. how to remove these?
Here you go: https://github.com/bpmn-io/bpmn-js-examples/tree/master/custom-elements#customize-editor-controls