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
- Go to https://codesandbox.io/p/sandbox/jj4-raster-bug-y9v98v?file=%2Fsrc%2Findex.mjs%3A14%2C29
- Wait a couple of seconds and a popup will open (chrome might block the popup)
- Compare the image in the popup with the paper
Version
4.0.3
What browsers are you seeing the problem on?
Chrome, Safari
What operating system are you seeing the problem on?
Mac