WordPress.org

Ready to get started?Download WordPress

Forums

Front-end Editor
[resolved] Resize text input area (9 posts)

  1. Skinny_Latte
    Member
    Posted 3 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

  2. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    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.

  3. Skinny_Latte
    Member
    Posted 3 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

  4. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    Here's a screenshot: http://i.imgur.com/mvQP9.png

    Notice the three subtle little dots (that's in Firefox).

  5. Skinny_Latte
    Member
    Posted 3 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

  6. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    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' );
  7. Skinny_Latte
    Member
    Posted 3 years ago #

    Sorry to keep bothering you but that link gives me a 404...

  8. scribu
    Member
    Plugin Author

    Posted 3 years ago #

  9. Skinny_Latte
    Member
    Posted 3 years ago #

    That's great, thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic