EpicEditor icon indicating copy to clipboard operation
EpicEditor copied to clipboard

Preview with auto grow breaks when using images

Open xPaw opened this issue 10 years ago • 2 comments

  1. Go to epiceditor.com
  2. Insert ![](http://placekitten.com/200/2000) into the editor
  3. Press preview
  4. Image is cut off

This only seems to happen if it takes some time to load the image.

xPaw avatar Mar 12 '14 17:03 xPaw

We dont really do anything with images at all. Just create and img tag with the given as a source. Dont add widths or heights or anything. Could you inspect that element and send what you see? As in, is there CSS being applied or html attributes?

OscarGodson avatar Mar 12 '14 17:03 OscarGodson

I only see height: 356px; on the iframe it self. Also worth nothing that it grows correctly if the image is loaded fast enough (e.g cached).

xPaw avatar Mar 12 '14 17:03 xPaw