|
Good point. We could also choose to strip out the usercss but if we leave that in, that might be a way for the user to overide some silly epub backgrounds to allow it to be more easily printable.
So we can use your current webviewprinter for printing Image and AV tabs and then create a second specialized version that uses our ViewPreview widget to create the PrintablePreview.
That second version is where the clean out darkmode code could be and so we just grab the latest html and fileurl fromPreview Window and pass them to this specialized second version to do all the work.
That should help keep PreviewWindow from getting much more complex except for the new icon and handling routine.
Last edited by KevinH; 02-10-2023 at 02:18 PM.
|