seafile icon indicating copy to clipboard operation
seafile copied to clipboard

Markdown editor deleting embeded image link

Open pandiloko opened this issue 3 years ago • 1 comments

Hello,

We run Seafile in a Docker container using the docker-compose template. We have upgraded from 7.1.5 to 8.0.7. The described issues happen with 8.0.7.

We make extensive use of the online Markdown editor and after upgrading from 7 to 8 we encountered a couple of problems.

  • SVG support and relative paths: in version 7 we could link to svg images using relative paths. This doesn't work anymore. Neither relative paths for any kind of image nor SVG support.
  • We found a strange condition where an embedded image is deleted after clicking on save or switching from rich to plain text editor. To reproduce:
    • Create a new markdown file with following text:
# First title

> this is a test 

---

# Second title

asdf
  • In the rich text editor try to add an image from library right after this is a test line:
  • Either save or change to plain-text editor. If saved, check on history: it hasn't been saved. If changed to plain-text the image is not there.

Please give some love to the Markdown editor. I think it is a great feature and we are in fact backrolling to version 7 only because of these problems. Hopefully version 9 can fix them. Otherwise congratulations for a great project and please keep up the good work.

pandiloko avatar Nov 17 '21 11:11 pandiloko

On mine it would seem that images disappear when i open the document on the phone or a different place. Then I insert them again and they disappear again. I understand why if I rename a folder but I don't in my situation.

GogoFC avatar Jan 20 '22 16:01 GogoFC