Allow loading a drawing from URL
See original GitHub issueI saw this tweet and like the idea that Excalidraw can actually be used as an open “drawing” format by other apps.
It would be nice if apps could “export to Excalidraw” using a simple link, something like:
https://excalidraw.com/?load=[url-encoded json payload here]
A big drawing might quickly reach the max standard length of an URL, but if it’s only loaded on the client side, it might work fine?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:16
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Load image from url and draw to HTML5 Canvas
Simple, just create an image object in JavaScript, set the src , and wait for the load event before drawing. Working Example: var...
Read more >Allowing cross-origin use of images and canvas - HTML
The key is to use the crossorigin attribute by setting crossOrigin on the HTMLImageElement into which the image will be loaded. This tells...
Read more >Export and share draw.io diagrams as URL
The process is simple. Just select File > Export > Export as URL to create the link (and make some adjustments like a...
Read more >Drawing Library | Maps JavaScript API
Load using the &libraries=drawing URL parameter. See Libraries in the Maps JavaScript API. When using v=beta , can be accessed by calling const...
Read more >FeatureLayer | API Reference - ArcGIS Developers
Server-side and client-side feature tile caching allow features to load ... featurelayer from feature service const layer = new FeatureLayer({ // URL to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gaelduplessix this is exactly the feature I’m interested in. I’m using excalidraw to create sketches on top of documentation and right now I’m storing exports next to MD files in case I need to edit them. What would be cool, is to have some way how to generate images based on the URL data provided and at the same time be able to just drop some route parameter to open excalidraw for editing
I wonder how we should address the fact we don’t yet have a JSON spec, and that it’s changing quite often still (it’s giving us problems to migrate imported files, and there we have some sort of a control over, in terms of expectations).