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

Inserted images in Quill Editor are treated as inline text, causing scrolling issues #2184

Open
1 task done
TuanFaied opened this issue Sep 4, 2024 · 0 comments
Open
1 task done
Labels
help wanted Extra attention is needed

Comments

@TuanFaied
Copy link

Is there an existing issue for this?

The question

Description:
When inserting an image in the Quill Editor, the image is recognized as a line of text, but its height isn't accounted for in the scrolling behavior of the text field. This results in new text entered after the image not scrolling into view properly. The editor treats the image as a standard line without considering its actual dimensions, leading to text being hidden behind the image.

Expected Behavior:
The editor should account for the image's height and scroll accordingly so that any new text entered after the image is visible and not hidden behind the image.

Actual Behavior:
The editor scroll behavior treats the inserted image as a single line of text, disregarding the image's height. This causes the text typed after the image to be hidden behind it, and the scroll controller does not scroll down to accommodate the new text.

Video:

asd.mp4
@TuanFaied TuanFaied added the help wanted Extra attention is needed label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant