When changing the position of an image (left, right, center), the hidden input which holds the data for the field is not updated. This causes the position change not to be saved when submitting if it is the last thing that was changed. Changing anything else like the scale of the image, or anything to do with the text, fixes the issue and updates the image data properly.
Steps to reproduce:
Open a form containing a django-quill-editor field in your browser of choice
Insert any image
Open inspect element and find the hidden input element which holds the field data. (helpful query selector: input[name=INSERT_FIELD_NAME])
Alternatively post the form and check the output
Select the image and change the position using the floating left, right, center, revert buttons
See that the value of the hidden input element doesn't change
When changing the position of an image (left, right, center), the hidden input which holds the data for the field is not updated. This causes the position change not to be saved when submitting if it is the last thing that was changed. Changing anything else like the scale of the image, or anything to do with the text, fixes the issue and updates the image data properly.
Steps to reproduce:
input[name=INSERT_FIELD_NAME]
)django-quill-editor version: 0.1.40