Problem with Tinymce AutoResize

I am using tinymce 3.5 with the autoresize plugin. The plugin works fine for me as long as the user adds the content, but then I serialize this content to allow it to be edited later. The problem is that after deserializing the content, the autoresize plugin does not start. I tried to execute tinymce.activeEditor.execCommand('mceAutoResize'); in onInit, onPostRender, etc. callbacks, but it's useless - my content is cropped to the initial height of the text area. After entering some text, the problem disappears. Is there a way that I am not aware of manually calling the autoresize plugin. Thanks in advance.!

+3
source share
1 answer

Have you tried to manually cause the resize to init_instance_callback?

You can find an example here.

+1
source

All Articles