fix: print pdf feature
This commit is contained in:
parent
64b3319520
commit
cf18942981
|
|
@ -373,6 +373,10 @@ export default function AssessmentResultPage() {
|
||||||
scale: 2,
|
scale: 2,
|
||||||
width: 1510,
|
width: 1510,
|
||||||
height: pdfContainer.scrollHeight,
|
height: pdfContainer.scrollHeight,
|
||||||
|
ignoreElements: (element: { tagName: string; }) => {
|
||||||
|
// Abaikan elemen <header> dalam pdfContainer
|
||||||
|
return element.tagName === 'HEADER';
|
||||||
|
},
|
||||||
},
|
},
|
||||||
jsPDF: {
|
jsPDF: {
|
||||||
unit: 'pt',
|
unit: 'pt',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user