Open .drawio.png and .drawio.svg files directly
Saving diagrams as png or svg file with the embedded diagram is often very useful, since it allows an easy preview in other programs. This is already possible using the drawio-nextcloud plugin, but in order to edit such a file one has to
- download the file from Nextcloud
- open the editor
- open the file
- edit it
- re-export as .drawio.png
- re-upload to Nextcloud
Would it be possible to open such files directly from the Nextcloud files app? In that case the save button should re-export it to the same file that was opened originally.
I tried the following simple approach with not luck :-( .
Changing the mime mapping: in config/mimetypemapping.json
like:
{
"drawio": [
"application/x-drawio"
],
"png": [
"application/x-drawio"
]
}
Will not work.
The file remains to be opened with the image viewer.
Just fyi. Feedback is welcome.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.