Description
Describe the bug
I see some closed issues about this, but maybe it worths to reopen it.
I suggested to a friend to use etherpad for a collaboration work. After few days and many modifications, she wanted to import an inline image in the text. She clicked on "Import/Export", picked an image file and didn't care about the warning... Of course the pad was scrambled by a binary text, and the image was not inserted inline as expected by the user. The problem is that now the historic does not show the revisions any more. The revisions are browsable with the slider, but current content only is displayed. All previous revisions seems recorded as usual, but not available.
I tested this on https://framapad.org/fr/ . I don't know what version of etherpad they use.
To Reproduce
Steps to reproduce the behavior:
- Write/modify some text, in order to create some revisions.
- Click on 'Import/Export'.
- Pickup a binary image file (ex. png/jpg)
- Import it, acknowledge the warning.
- The binary data replace the text. Eventually: erase it and add some text.
- Look at the history to see if previous revisions are still displayed.
Expected behavior
It's not a problem if binary data erase the current version, but at least it should be possible to retrieve the previous content of the pad.
Maybe the GUI should be more careful with import. A mandatory checkbox could make the user aware that all the content will be replaced, instead of a simple button.
Server (please complete the following information):
- Etherpad version: ?
- Here: https://framapad.org/