javascript - How to make TinyMCE to fit content height when it's read only? -


please because i'm stuck hours. have multiple count of text areas in 1 page. each text area has different content inside makes different height. when init tinymce this:

 tinymce.init({         mode: "textareas",         theme: "advanced",         width: "870",         readonly: true,         theme_advanced_path: false,         theme_advanced_resizing: true,         theme_advanced_resize_horizontal: false,         auto_resize: true     }); 

all text areas same height , of them have more content has scroll inside. ideas how rid of scrolls , make text area height as content inside ?

have @ function resizeiframe in this thread. need issue code after readonly editors have been initialized.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -