Skip to content
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

Load Excalidraw dependency component from web ? #126

Open
xuanswe opened this issue Feb 27, 2023 · 2 comments
Open

Load Excalidraw dependency component from web ? #126

xuanswe opened this issue Feb 27, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@xuanswe
Copy link

xuanswe commented Feb 27, 2023

Thanks for creating this cool plugin!
I don't know the implementation.
But it would be nice if the features of the editor area are in sync with the webapp https://excalidraw.com.
Maybe just embed the webapp inside the editor area?

This is the plugin:

image

This is the web app:

image

@xuanswe
Copy link
Author

xuanswe commented Feb 27, 2023

I guess I know how it works: https://github.com/excalidraw/excalidraw/tree/master/src/packages/excalidraw

In the link above, there's an example https://codesandbox.io/s/excalidraw-ehlz3 and the example is in synced with the web app.
So, my question is, why the plugin is not quite up-to-date with the webapp?

@bric3
Copy link
Owner

bric3 commented May 9, 2023

why the plugin is not quite up-to-date with the webapp?
Because this plugin has been designed to work offline. Also at the time this project was home brewed Excalidraw lacked various APIs, that needed custom piggybacking. Most have been removed, but there's likely some work.

Also I don't have time in my private life to focus on this project to even fix bugs ; so I cannot even commit to even design a soft transitions between offline and webapp at this time.

I recognize this would be nice though, but there are challenges ahead, like what if the pulled JS is incompatible in API or in behavior ?

@bric3 bric3 added the enhancement New feature or request label May 9, 2023
@bric3 bric3 changed the title Is there a way to make the features in the editor area always in sync with the current web app? Load Excalidraw dependency component from web ? May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants