Hi,
I am new on bpmn.io
I will appreciate your help.
I implemented the library following the default modeler example. I am still doing some tests. I noticed that when I try to add a new element the canvas becomes red and the element is not added. In the image below the element disappears after I click off the canvas :
Is there any missing paramater I should be aware of?
CSS
html, body, #container_1 {
height: 800px;
padding: 0;
margin: 0;
}
.diagram-note {
background-color: rgba(66, 180, 21, 0.7);
color: White;
border-radius: 5px;
font-family: Arial;
font-size: 12px;
padding: 5px;
min-height: 16px;
width: 50px;
text-align: center;
}
.needs-discussion:not(.djs-connection) .djs-visual > :nth-child(1) {
stroke: rgba(66, 180, 21, 0.7) !important; /* color elements as red */
}
#save-button {
position: fixed;
bottom: 20px;
left: 20px;
}