0
votes

I use tinymce editor with autoresize plugin enabled. It work correctly with text, but when I insert an html content via execCommand, for example

 <div>
     <img src="/path/to/image  width="200px" height="160px"/>
 </div>

and then I delete it by backspace, tinymce remove correctly html node from iframe but autoresize plugin doesn't resize making smaller iframe height, now that it hasn't html content of image.

How can I do?

1

1 Answers

0
votes

Have a look here. There is an answer of mine with a function to adjust the iframe height of tinymce.