diff --git a/app/custom-modeler/custom/CustomElementFactory.js b/app/custom-modeler/custom/CustomElementFactory.js index f6a688c..9196494 100644 --- a/app/custom-modeler/custom/CustomElementFactory.js +++ b/app/custom-modeler/custom/CustomElementFactory.js @@ -30,7 +30,7 @@ export default function CustomElementFactory(bpmnFactory, moddle) { var type = attrs.type; if (elementType === 'label') { - return self.baseCreate(elementType, assign({ type: 'label' }, DEFAULT_LABEL_SIZE, attrs)); + return self._baseCreate(elementType, assign({ type: 'label' }, DEFAULT_LABEL_SIZE, attrs)); } // add type to businessObject if custom