Skip to content

Commit

Permalink
fix: broken image placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Jan 11, 2021
1 parent ee0556c commit e2ae5e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit e2ae5e7

Please sign in to comment.