-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML validation errors #2179
Comments
@boris-petrov Please share additional details on your setup:
|
Yes, this is related to the latest changes. We have 2 issues here:
|
Closed via #2181. |
Hi, thanks for the quick fix and sorry I didn't provide enough detail. I tried updating to <div class="canvas"></div>
<div class="properties"></div> this.modeler = new BpmnModeler({
container: $('.canvas').get(0)!,
keyboard: {
bindTo: document,
},
propertiesPanel: {
parent: $('.properties').get(0),
},
bpmnRenderer: {
defaultFillColor: 'var(--bs-body-bg)',
defaultStrokeColor: 'var(--bs-body-color)',
},
}); Let me know if that helps or you need more information? |
The duplicated markers come from the minimap. Seems like it copies the SVG and only strips the root |
Correction, we simply clone everything in the we need to strip or change the markers there. Will look into this tomorrow |
Given the issues we are facing in multiple sections of our code, I'll also evaluate if there are other solutions than rendering as part of |
Discussed with @nikku today:
|
Describe the Bug
Using the newest version, I get a lot of errors from my HTML validator like
Duplicate ID “marker-dgx997t15d1210s2srnctq0ez”
. Indeed, in the HTML I see two of that ID (and all the rest that the validator complains about). I'm not sure which version introduced that but it's recent - in the past week or two. I guess the problem might be here somewhere.Steps to Reproduce
Just render any diagram in the modeler.
Expected Behavior
No HTML-validation errors.
Environment
Depends on bpmn-io/diagram-js#909.
The text was updated successfully, but these errors were encountered: