Issue Description
I’m using DokuWiki with the ProseMirror plugin. When inserting an image, if I set the width = 0 and enter my desired height, the image is displayed proportionally as expected (automatic width calculation).
However, when I later re-open the editor and edit the same image again, the height I originally entered appears in the Width field, and the Height field is empty. This makes it difficult to adjust the height again without re-entering both values correctly.
- Steps to reproduce:
- Insert or edit an image in the ProseMirror editor
- In the dialog set “Width” = 0 and “Height” = e.g. 200
- Save
- Re-open the editor and edit the same image
- Observe: The dialog now shows 200 in the Width field and the Height field is empty
it inserts x500 | but should insert 0x500 |