Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: changing image position is not saved #124

Open
CheesyPhoenix opened this issue Oct 17, 2023 · 0 comments
Open

Bug: changing image position is not saved #124

CheesyPhoenix opened this issue Oct 17, 2023 · 0 comments

Comments

@CheesyPhoenix
Copy link

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:

  1. Open a form containing a django-quill-editor field in your browser of choice
  2. Insert any image
  3. 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
  4. Select the image and change the position using the floating left, right, center, revert buttons
  5. See that the value of the hidden input element doesn't change

django-quill-editor version: 0.1.40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant