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

[Angular 18] [ngx-quill: 26.0.10] [resizeImage module]: editor-resizer position issue on bullet/numbered list on clicking the image #10

Open
so-amuk opened this issue Jan 31, 2025 · 0 comments

Comments

@so-amuk
Copy link

so-amuk commented Jan 31, 2025

When we add a bullet or numbered list and then insert an image in the Quill editor, On clicking the image, the position of the editor resizer does not work as expected. However, without a numbered or bulleted list, it functions perfectly.

We are using the resizeImage module in the Quill editor. Below are the versions we are currently using:

"ngx-quill": "^26.0.10",
"quill-delta": "^5.1.0",
"quill-mention": "^6.0.2",
"quill-resize-image": "^1.0.5"

Quill.register('modules/resizeImage', ResizeImage);

toolbar: {
[
....
      ['image']
...
],
resizeImage: {
        modules: ['Resize', 'DisplaySize', 'Toolbar'],
      },
}

editor-resizer is the shadow element of the image resizer which is not working fine when image is placed in bullet or numbered list.

quill-resize-image module:
https://www.npmjs.com/package/quill-resize-image

Attached following screenshot, issue that we are facing here:

Image

Image

In the below screenshot you can see that css "top" and "left" is dynamic, which should be expected here:

Image

In the below screenshot you can see that css "top" is 0 always which is wrong, as well as "left" value is also wrong, how to fix it?

Image

Any suggestion or solution will help. Thanks in advance!

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