Skip to content

Commit

Permalink
Merge pull request #12109 from owncloud/feat(web-pkg)/add-file-extens…
Browse files Browse the repository at this point in the history
…ion-custom-handler

feat(web-pkg): add file extension custom handler
  • Loading branch information
LukasHirt committed Jan 23, 2025
1 parent 85c0460 commit adf0e15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions extension-system/viewer-editor-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,10 @@ interface ApplicationFileExtension {
mimeType?: string
newFileMenu?: { menuTitle: () => string }
routeName?: string
customHandler? (
fileActionOptions: FileActionOptions,
extension: string,
appFileExtension: ApplicationFileExtension
) => Promise<void> | void
}
```

0 comments on commit adf0e15

Please sign in to comment.