[Feature] Detect local file access problems #78
Labels
documentation
Improvements or additions to documentation
embedding
Issues with using KiCanvas in other pages
feature request
New feature or request
Is your feature request related to a problem? Please describe.
When using KiCanvas as an embedding and loading the HTML from a local file system the user will most probably get an empty screen, wondering what was wrong.
Describe the solution you'd like
It would be nice if KiCanvas could just inform the problem.
I'm not a Java Script guru, but here is a probe of concept showing how to inform the problem:
Here '1.kicad_sch' is just one of the sources. Then in the HTML I have:
Here is a working example: example.zip
I think a similar mechanism should be inside kicanvas.js, perhaps with an option to disable it, just in case the user wants to make it in a different way.
The text was updated successfully, but these errors were encountered: