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
Post a Comment