so I use UI template node to load External SVG file
because when copy ths code in template node directly
I cant depoly my change I see error The size of code its big .
now this file loaded and work in dashboard
but I need accesse to DOM
but not work
also i use window loaded event and not work too
problem it grab the content of the file for another domain
so has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
I make GET http node to fatch external url
and load the content in internal path
127.0.0.1:1880/svg -> return content of http://127.0.0.1:8887/inlineCss_header.svg
and its work
so to fix that
fatch extarnet link and injected to div in UI template node
and manupulat the dom