change the height of the field editor tinymce?
- Single Page
Posted 03 April 2012 - 07:14 AM
how do I change the height of the field editor tinymce?
D.
Posted 03 April 2012 - 08:03 AM
//CALLBACK
$this->grocery_crud->callback_add_field('address',array($this,'add_field_callback_1'));
//CALLBACK FUNCTION
function add_field_callback_1()
{
return '<textarea name="address" class="texteditor" style="height: 400px;"></textarea>';
}
Just change your height and voila!!
Posted 03 April 2012 - 08:23 AM
The field is height: 400px but I don't see the editor!
Is there a way to change all text area of the project?
Thanks a lot
D.
Posted 03 April 2012 - 17:50 PM
$('textarea.texteditor').tinymce({
height : "480",
...
});
Posted 03 April 2012 - 18:31 PM