-
Notifications
You must be signed in to change notification settings - Fork 5
Upgrade Excalidraw to the latest version #7
Comments
This is the forked repo being used internally - https://github.com/brijeshb42/excalidraw |
Thanks, do you mean this commit, specifically? brijeshb42/excalidraw@8c7c7e5 |
Yes. That is the only commit on top of the excalidraw repo. |
What do you think about use https://www.npmjs.com/package/@excalidraw/excalidraw instead patched version? Code sandboxbox example https://codesandbox.io/s/excalidraw-ehlz3?fontsize=14&hidenavigation=1&theme=dark |
I re-started working on this. The only problem I am facing is the keyboard events. Excalidraw has a lot of keyboard shortcuts and it is great when a standalone web app, but in context of vscode, these keyboard events should ideally originate from vscode and should be message passed to excalidraw webview, otherwise, these shortcuts will collide between vscode and excalidraw and will not be a great experience for user. For ex, |
Yes, I understand. I created a PoC and sometimes webview lost focus (?) And excalidraw shortcuts and keyboard doesn't work. but the starting point is not so bad |
@brijeshb42 thank you for creating this extension, it's been a great experience so far!
I had a similar issue in vscode-live-frame, where the website you run in an iframe doesn't handle command keys correctly. Here's a workaround that I recommend for my users: Not sure if this solves your problem or if it's a different issue, but hope it helps! |
The latest version of Excalidraw has a lot of great new features (such as aligning/grid, etc). I understand that this extension is running a slightly modified version of the tool, so it might be not so trivial to upgrade it.
How difficult would it be to upgrade it? Alternatively, would you mind sharing what are the customisations you have made, so I can try and upgrade it myself?
The text was updated successfully, but these errors were encountered: