bric3 / excalidraw-jetbrains-plugin

Create or edit Excalidraw files within Jetbrains IDEs (IntelliJ, CLion, Webstorm, Goland, ...)
https://plugins.jetbrains.com/plugin/17096-excalidraw-integration/
MIT License
76 stars 11 forks source link

Load Excalidraw dependency component from web ? #126

Open xuanswe opened 1 year ago

xuanswe commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 ?