bpmn-io / bpmn-js-properties-panel

A properties panel for bpmn-js.
MIT License
292 stars 196 forks source link

Apply default template on initial creation only #877

Closed nikku closed 1 year ago

nikku commented 1 year ago

Before this PR we did not properly account for the createElementBehavior=false hint that is provided whenever shape creation should be side-effect free ("as is"), i.e. during paste. See also https://github.com/camunda/camunda-modeler/issues/3235#issuecomment-1424188942.

This PR fixes that behavior, and also addresses https://github.com/camunda/camunda-modeler/issues/3235 in the process.