dokuwiki-plugin-prosemirror icon indicating copy to clipboard operation
dokuwiki-plugin-prosemirror copied to clipboard

Height value moves into Width field when re-opening an image with width = 0

Open Saturo78 opened this issue 2 months ago • 1 comments

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 |

Saturo78 avatar Sep 25 '25 15:09 Saturo78