jsreport-core Watermark
-
Dears,
i tried following this example https://playground.jsreport.net/studio/workspace/B1c8HcCix/229 but on jsreport-core nodejs, but it doesnt seem to work.1- I am not able to read and execute the watermark.js file via {#asset {{watermark.js}}}
2- I tried to call this functionality inside watermark.js as a helper {{myWatermark}}, but since its a backend server rendering, the error was "document.height" document wasnt defined.
Any guidance please?