nextcloud / whiteboard

Create & collaborate on an infinite canvas!
https://apps.nextcloud.com/apps/whiteboard
GNU Affero General Public License v3.0
48 stars 4 forks source link

Add support for .excalidraw files to add a custom mimetype #6

Closed juliusknorr closed 3 months ago

juliusknorr commented 5 months ago

Currently Nextcloud is not aware of .excalidraw files as a filetype. We should add support for it. Currently there is no API to do that as an app, so it would need to be done in server

https://github.com/nextcloud/server/pull/35176 can be seen as a reference.

Once done there is a small frontend change required to adapt the mimetype in the viewer app integration here to it https://github.com/nextcloud-gmbh/whiteboard/blob/main/src/main.tsx#L67

grnd-alt commented 4 months ago

PR by @hweihwang for reference: https://github.com/nextcloud/server/pull/45353