-
Notifications
You must be signed in to change notification settings - Fork 857
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
[Bug]: JJ+ stopped rendering CSS when exporting to PNG (possibly other formats too) #2668
Comments
EDIT: Please ignore this. We have never changed the default. It needs to be investigated.
Dev note: It could be related with jQuery removal
You need to explicitly enable it now. openAsPNG(paper, { useComputedStyles: true }); |
It's a bug. Using Here's a workaround for the time being: openAsPNG(paper, {
grid: true,
stylesheet: `
.joint-grid-layer { display: none; }
`
}); |
I can confirm that the workaround works! |
I can't reproduce it on Safari |
Let me see if I can reliably repro the bug in another machine. Maybe my environment has something buggy |
We are able to reproduce it now. Thank you. We will look into it. |
Current versus expected behaviour
In JJ+3.x I was able to apply CSS styles to my elements and have them exported to PNG, but this doesn't seem to be working in JJ+4.x
Steps to reproduce
Version
4.0.3
What browsers are you seeing the problem on?
Chrome, Safari
What operating system are you seeing the problem on?
Mac
The text was updated successfully, but these errors were encountered: