Bring new template file creation to public share links #48064
Labels
1. to develop
Accepted and waiting to be taken care of
31-feedback
bug
feature: sharing
feature: templates
regression
With the merge of #45652 we noticed that text and office no longer support creating new files as a legacy files plugin was used to extend the new files menu. While we could implement this in each app using
addNewFileMenuEntry
we would duplicate lots of efforts in implementing the modal to pick the name and handle file creation.Instead it would be better if we'd extend the existing backend mechanism to create new files from templates to also work on public pages. In that each app just registers a TemplateFileCreator that will then be picked up by the files app with a list of available templates and show the file name picker and template picker.
As discussed with @elzody
cc @mejo- @max-nextcloud as text is also affected
Would resolve nextcloud/richdocuments#3170
The text was updated successfully, but these errors were encountered: