Deactivate Direct Editing when user appends a task

Is it possible to deactivate the Direct-Editing Feature when the User clicks on the “Append Task” menu entry in the Context Menu?

Sorry, there is already a similar topic …

Go to https://forum.bpmn.io/t/deactivate-directediting-when-shape-add/2731