http://img218.imageshack.us/img218/5765/45696158.jpg Having problem with tinyMCE's autoresize plugin... Is this correct behaviour or not?
The TinyMCE editor can be made responsive by using css media queries. Simply add css rules that set the width property of table. mceLayout and the tinyMCE textareas. You will need to enforce these css rules using !
max_width. This option sets the maximum width that a user can stretch the entire TinyMCE interface (by grabbing the draggable area in the bottom right of the editor interface). This behavior is different than the autoresize plugin, which controls the resizing of the editable area only, not the entire editor.
Use the branding option to disable the “Powered by Tiny” link displayed in the status bar for product attribution.
By default, it has basic markdown patterns.
Without a specified height and width to use, the autoresize plugin will decrease the height of the element. (it is increased as you type)
With a height specified, the initial display should keep that height.
Without seeing your code, it is hard to give more information.
Like Rob said you need to specify the start height.
Like this:
tinyMceInit: function() {
$('textarea.tinymce').tinymce({
....
width : 600,
**height : 90,**
theme_advanced_resizing_min_height : 90,
theme_advanced_resizing_max_height : 180,
....
});
},
If you got resizing enabled you can limit it with max and min height!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With