Using echarts to make a graph builder for editors ...
# help-with-umbraco
j
Hello everyone! I want to make a graph builder using blocklist that an editor can add to an article page. But i am having real issue trying to get a working preview in the backoffice adding script tags to the blocklist html doesnt work, cause it just gets ignored. If I add echarts.min.js to package.manifest I get tons of console errors coming from umbraco-backoffice-js I am running out of ideas, so I would be very greatful for some advice https://cdn.discordapp.com/attachments/1236965342258139146/1236965342501146644/image.png?ex=6639ed3f&is=66389bbf&hm=64d0b34fbe3b23e47b7347926098b70f661cf3935e73b020d6bc71804d0afc83&
k
What does "adding script tags to the blocklist html" mean exactly? I think you need a custom property editor for this, and that custom property editor would need to load echarts, but not via the package manifest (since that needs to be Umbraco backoffice-compatible AngularJS scripts afaik) but via the property editor html, the AngularJS view. Also, where exactly do block lists come in?
4 Views