crabbly / crabbly/Print.js

After update, printJS forces styling

Open
#568 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.5k
Forks
688
PR merge metrics
No merged PRs in 30d

Description

We recently updated printJS to 1.6, and now all the printed documents (html) get new forced inline styling from printJS:
![image](https://user-images.githubusercontent.com/52310595/120494606-41321000-c3bc-11eb-9233-af83821bbf86.png)
As you can see, this new styling applies to every single html element.
Our implementation of printJS is quite simple:

`printJS({
printable: this.options.elementId,
type: 'html',
onPrintDialogClose: function () {
resolve();
}
});`

Why is this happening? How do we configure printJS to not apply any of it's own styling at all?
Thank you

EDIT: Can't tell which version were we using before the update to 1.6, but it did not applied any extra styling to printed documents.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.