Exalidraw Plugin: Content is not saved
Great library! I really enjoy the scaffolding aspect from shadcn. Thanks to all maintainers for their great work.
I noticed following bug with the exalidraw integration:
Description
The contents of the excalidraw plugin are not persisted in the editor state.
Steps to Reproduce
- Create an editor that supports excalidraw
- add an excalidraw block, draw something in it
- Observe how now data is stored insider the children nodes / the "editor data" that is returned by the onChange handler of plate
The official playground of plate displays an excalidraw block. This should serve well as the playground / sandbox for this issue. Please let me know if I can provide further information on this topic.
Expected Behavior
The exalidraw data is added to the editor state content, otherwise we cant save it possibly
With best regards, Leon Müller
Funding
- You can sponsor this specific effort via a Polar.sh pledge below
- We receive the pledge once the issue is completed & verified
I think this is not a bug but a missing implementation from the library. I found the related issue https://github.com/udecode/plate/issues/2685