-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Steps to reproduce
- Create a new drawing on excalidraw.com (or another excalidraw-based application)
- Upload the
.excalidrawfile to nextcloud - Open the file and save it
- Download the changed file
- Attempt to open the file via excalidraw.com
Why is this a problem
It sometimes makes sense to use Nextcloud to save excalidraw files wile editing them elsewhere (example obsidian, excalidraw.com, etc.)
Opening these files on the nextcloud web-ui, whether to edit them or by mistake, "corrupts" the file so it can no longer be opened elsewhere. This makes it impossible to use both to edit files depending on the situation, and makes it easy for users to break their drawings in a way that requires tinkering to fix.
Workaround and possible fix
A downloaded .excalidraw file can easily be fixed by prepending the following JSON values:
{
"type": "excalidraw",
"version": 2,
"source": "https://<my-nextcloud-domain>",
}Afterwards, both whiteboard and other tools can open the file again, unless it is saved by whiteboard and broken again.
Metadata
Metadata
Assignees
Labels
No labels