Hi all, I have canves need to placed it into custom doctype ,
I did insert html into field type HTML , put when add javascript it’s always converted ‘<’ , ‘>’ to &l.t; and &g.t;
also when I added into asset of website the called it from. this code
frappe.require(“assets/js/canvas.js”);
frappe always place any text from canvas.js with in. < script> so its showing like < script> canvas file contain < /script>
where its not helpful since you have multi open and close tag within canvas.js and I don’t want to rewrite javascript !
this. code for example I need to run it into the erpnext.
how that cab be ?
thanks in advance
Best regards