You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Multiple undo can delete document content
To Reproduce
Steps to reproduce the behavior:
Go to 'Collectives App' / configured with "Open Pages in View Mode"
open a page
enter edit mode
type text, eg. "abc"
type "ctrl+Z" multiple times
not only "abc" is deleted, but the content is deleted completely
type "ctrl+R" , this will reload the page in Firefox
i. if document is opened from the files-app, an empty document is opened in edit mode
ii. if document is opened in Collectives, the version from step 2. is shown. but changing to edit mode also shows empty document
Expected behavior
in step 5. only delete "abc" no matter how often "crtrl+z" is pressed
Server details:
Nextcloud version: 27.1.2
Client details:
Browser: Firefox
Browser version: 115.3esr
The text was updated successfully, but these errors were encountered:
I can reproduce this. Probably the first step that sets the dav content is in the undo history.
@juliushaertl@max-nextcloud do you have good ideas how to solve this? Maybe we can set the dav content as a step that is not pushed to the undo history?
Describe the bug
Multiple undo can delete document content
To Reproduce
Steps to reproduce the behavior:
ii. if document is opened in Collectives, the version from step 2. is shown. but changing to edit mode also shows empty document
Expected behavior
in step 5. only delete "abc" no matter how often "crtrl+z" is pressed
Server details:
Client details:
The text was updated successfully, but these errors were encountered: