question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow loading a drawing from URL

See original GitHub issue

I 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:open
  • Created 3 years ago
  • Reactions:16
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
svrcekmichalcommented, Apr 3, 2020

@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

3reactions
dwellecommented, Mar 27, 2020

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found