• Resolved stevenmatts

    (@stevenmatts)


    Hi, I was wondering if its possible that you implement option to resize the textarea where we type our snippets. Sometimes i write large js files and its possible to get lost on the way, because of areas height. Awesome plugin by the way!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @stevenmatts,

    Thank you for your message, we’re happy to hear you are enjoying WPCode!

    Regarding the code area height, you can add a snippet to adjust that, just use the following code:

    
    add_action( 'wpcode_admin_page_content_wpcode-snippet-manager', function() {
    	echo '<style>.CodeMirror {height: 800px;}</style>';
    });

    Please set the code type to “PHP” and use Admin-only for the Auto-insert location.

    You can also adjust the 800px to whatever fits your needs.

    Thread Starter stevenmatts

    (@stevenmatts)

    Thanks a lot! My life just became much easier. Did you consider adding that feature in a “settings” tab?

    Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @stevenmatts,

    Yes, we have this on our list for the future to add options to the code editor.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ability to change a height of a textarea.’ is closed to new replies.