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

Big images in editor can overflow out of editor's container #135

Open
EvitanRelta opened this issue Jul 10, 2022 · 0 comments
Open

Big images in editor can overflow out of editor's container #135

EvitanRelta opened this issue Jul 10, 2022 · 0 comments
Labels
bug Something isn't working tiptap Related to TipTap editor

Comments

@EvitanRelta
Copy link
Owner

EvitanRelta commented Jul 10, 2022

When the markdown is hidden, and u load in big images, they fit within the editor's container as expected.
However, when u then show the markdown (and thus potentially halfing the editor's width), the image does not resize to fit within the container (potentially overflowing into the markdown on the right).

Now with #129 implemented, reloading while the markdown is shown will keep it open. And the image will resize to fit the halfed container, but upon closing the markdown, the image doesn't resize to fit the now bigger container:

image overflow

@EvitanRelta EvitanRelta added bug Something isn't working tiptap Related to TipTap editor labels Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tiptap Related to TipTap editor
Projects
None yet
Development

No branches or pull requests

1 participant