New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support embedded scene in png #10
Comments
Sadly this feature is not available in the npm package :/ |
Looks like embedded scene support is included in latest version of the plugin (not yet in VsCode extensions marketplace). |
@pomdtr Do you know when a new version will be released in the VsCode marketplace? |
Yeah I'm a bit lost in refactoring hell right now, I'll try to merge my changes this weekend 😅 You're looking at the wrong file for the export function, the utility available in the API is https://github.com/excalidraw/excalidraw/blob/1c11df011a2f1eaf7f1164f475c94fc3ebe9f36b/src/packages/utils.ts#L51 |
:woah: If the vscode plugin had the capability to also open a png with an embedded excalidraw scene, and then save directly back to the png, that would make for an amazing workflow since all diagrams could live in git repos as PNGs only. This would bring the plugin in line with the draw.io vscode plugin that also supports editing and saving back directly to .drawio.png files. |
This looks achievable with the latest version of the excalidraw library. However, I would need to implement a |
I believe the workflow with the plugin currently requires having a separate excalidraw file per exported png. Would it be possible to take advantage of excalidraw's embedded schene in png feature?
The text was updated successfully, but these errors were encountered: