Skinny_Latte
Member
Posted 2 years ago #
Hello,
Is it possible to make the input area bigger after double clicking an editable area? I use this plugin to edit loads of stuff on my site but would like to be able to resize it so I can see more of the content I'm editing.
If not, is it possible to make the default input area bigger through css?
Thanks
Previous version of the plugin had an auto-resize mechanism, but it didn't work out so well.
If you're using the Chrome browser or Firefox 4, you can automatically resize any textarea.
Skinny_Latte
Member
Posted 2 years ago #
Hi Scribu,
I have the latest versions of both browsers but can't see any way to resize the input areas in either :S
Here's a screenshot: http://i.imgur.com/mvQP9.png
Notice the three subtle little dots (that's in Firefox).
Skinny_Latte
Member
Posted 2 years ago #
Yes I see those on all textareas using firefox, but not when I edit using the front end editor. I think maybe one of my addons is disabling it.
Thanks anyway, great plugin
Ah, I think you're refering to the rich editor, which isn't a textarea at all: it's an iframe. So yeah, it doesn't have a resize handle.
Download the development version (1.9.4-alpha) and add the following code to your functions.php theme file:
function fee_cleditor_height() {
return 500; // number of pixels
}
add_filter( 'fee_cleditor_height', 'fee_cleditor_height' );
Skinny_Latte
Member
Posted 2 years ago #
Sorry to keep bothering you but that link gives me a 404...
Skinny_Latte
Member
Posted 2 years ago #
That's great, thanks for your help!