Sorry, there is already a similar topic …
Go to https://forum.bpmn.io/t/deactivate-directediting-when-shape-add/2731