API for Extension Authors #212
AdamRaichu
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
I think you can achieve this already by opening a data URI of the image as that should be routed to open using the correct custom editor. Have you tried that and it didn't work? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I love your extension, and use it regularly.
I would love it if your extension could return an API. I am the author of this extension which is for previewing the contents of zip files. It would be great if I could use an API from your extension to open your editor with the image from my zip file. Most importantly though, the image would not exist on the filesystem unless the user saved.
In short, my request is that you would return a function from your
exports.activate
that takes a Uint8Array (the image contents) and opens your editor with it.I would be happy to help contribute to this, (and already would've started if it wasn't closed source).
Beta Was this translation helpful? Give feedback.
All reactions