-
Notifications
You must be signed in to change notification settings - Fork 35
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
Can svelte-lexical use excalidraw? #77
Comments
Hi @theslyprofessor , Lexical’s excalidraw plugin is not ported to svelte-lexical yet. All lexical plugins are coded in react and to use them with this project , we have to port it to svelte. If you are willing to work on the port, I can assist you with it. |
Yes! I am definitely interested in helping out. |
Let me know whenever you can the best way that I can help, incorporating it would help me finish my PhD: [email protected] |
Hi @theslyprofessor , I just got the time to look at it in detail. Earlier, I missed the fact that excalidraw is implemented in React. Usually, when we port a plugin from lexical to svelte-lexical, we have to port the plugin code from react to svelte. But in this case, the lexical plugin depends on a package (excalidraw) written in react. So, first, we will have to port it to svelte. This is going to be a huge task I believe. |
Here is a working demo of using There are some libraries which help you with that, i.e. using React components in Svelte: Of course this should only be a workaround until there is a real Svelte port. But I think it's better to use such wrappers instead of having no @umaranis What do you say? |
Hi @YugoCode , |
Hi,
I'm a bit of a beginner here and I'm wondering if this framework is suitable for using lexical with excalidraw?
I saw this article discussing support for lexical with excalidraw: excalidraw/excalidraw#6718
Thanks
The text was updated successfully, but these errors were encountered: