diff --git a/src/plugins/image.ts b/src/plugins/image.ts index 4784f1f9..21cd4979 100644 --- a/src/plugins/image.ts +++ b/src/plugins/image.ts @@ -30,6 +30,7 @@ class ImageRezieView { img.setAttribute('alt', node.attrs.alt ?? ''); img.setAttribute('title', node.attrs.title ?? ''); img.style.width = '100%'; + img.style.height = '100%'; const handleBottomRight = createHandle('BR'); const handleTopRight = createHandle('TL');