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

Div wrapper of image wraps editor text and doesn't move with image #2876

Open
viveksharma0906 opened this issue Nov 19, 2024 · 0 comments
Open
Assignees

Comments

@viveksharma0906
Copy link

viveksharma0906 commented Nov 19, 2024

Describe the bug
I have an image inserted in editor(v9.11.0) with a div wrapper around it. Div has an id "QRcode". This div wraps the inline text as well along the image and applies the same style i.e margin to that text too. This screenshot shows the behavior where text "second" is also wrapped around image. I am using imageResize plugin and that may be the reason here.
Image

when i move the image from second to first. Original div with id "QRcode" stayed on second line, while image moved to first. Expected behavior is my div with id "QRcode" shall always encompass image when moved and shall not contains anything other than the image.
Image

Note : Since div id is not preserved by default in newer version. I am using format parsers & appliers to keep div id intact.

To Reproduce
Steps to reproduce the behavior:

  1. Preserve div id with format parsers & appliers.
  2. add an image within a div with id
  3. Move image to different lines & observe.

Expected behavior
Expected behavior is my div with id "QRcode" shall always encompass image when moved and shall not contains anything other than the image.

@juliaroldi juliaroldi self-assigned this Nov 19, 2024
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

2 participants