@media print, pagedjs-ignore
Hello !
Maybe it's more a feature request than it is an issue, but here it goes:
With @julientaq, we discovered yesterday that the media query @media print, pagedjs-ignore
will be taken into account in both the preview and the PDF export.
At first, I thought that this media query would be processed only for the PDF export, but not in the pagedjs' preview. I tried to use it to apply display: none
on an interface that I want to be visible just in the preview.
Later, we realized that we could look at it from another angle. The solution was to use @media screen
and make it visible there, with a display: none
outside of this particular query.
Maybe both options should be possible?
Have a good day!
Yann