Skip to content

Conversation

pbirrer
Copy link

@pbirrer pbirrer commented Aug 22, 2025

This PR integrates the new attachment support from nextcloud/text into nextcloud-drawio.

Changes

  • Attachment support:
    • Adapted nextcloud-drawio to work with the new Text editor attachment feature
    • Enables inserting .drawio files directly from the Text editor as attachments.
  • File previews:
    • Added a preview image that will be displayed inside Nextcloud Text when referencing a draw.io file.
  • Mimetype registration:
    • Updated the way draw.io files register their mimetype to be available to other nextcloud apps via template manager.

@davidjgraph
Copy link
Contributor

Please confirm this is manually written code, not AI generated.

@pbirrer
Copy link
Author

pbirrer commented Aug 22, 2025

Hey @davidjgraph, yes, this is indeed manually written code and may need some refinement 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants