Open ibnpetr opened 3 months ago
@tbsbdr @AlexAndBear IMHO this is solved in a different way.
@dj4oC From our POV, this requirement is already fulfilled and needs no "custom" integration inside the OnlyOffice UI.
Was just working on the same and came to a similar clue. Can we add/enable a "new" button to the embedded web view? Then everything would be fine.
@micbar any progress on this item?
@tbsbdr @kulmann is that on your radar?
Open a new file without leaving the editor.
✅ fulfilled via 3-dots menu -> open
Create a new file without leaving the editor.
@AlexAndBear can we add the New
button in the filepicker? I think it makes sense to have it.
@tbsbdr Technically yes, but since this action is inside the iframe, we need to discuss what should happen when the file is created. We might also limit the file types that can be created, since you can't open odt files for example out of the text editor app
We need to check, but this can be an new ticket for the next sprint 👍
We can also think about having a new button in the top bar instead having it in the file picker
The main idea:
Allow the user to:
Open a new file without leaving the editor.
Create a new file without leaving the editor.
Flow:
Add “Open” and “Create” buttons to the File menu of OO to open the file selection dialog.
The buttons will appear in the OO interface when the flags OpenDocumentPostMessage and CreateFilePostMessage are enabled, similar to other XXX-PostMessage flags.
When the button is clicked, ONLYOFFICE will send a PostMessage: UI_OpenDocument and UI_CreateFile. (not based on the WOPI standard, but rather on an extension of Collabora's format.
OC will handle these messages, display the file selection dialog, and open the file in a new tab.