Title: Resizable Code Preview Window
Last modified: August 24, 2022

---

# Resizable Code Preview Window

 *  Resolved [PumpaXXL](https://wordpress.org/support/users/pumpaxxl/)
 * (@pumpaxxl)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/resizable-code-preview-window/)
 * Hi, snippet plugins are essential to us, we use them extensively in many projects.
   I have just discovered WPCode and I can just say… wow!
 * There is one thing that is still making us to use another plugin though and it
   is the size of the Code Preview window. It is very small and not resizable. It
   is practically impossible to edit code there. This looks like a small thing but
   it is actually deal breaker if you are serious about snippets. If there is any
   way how to change it, please let me know. Would be great to get it in a new version
   but maybe you let me know about a code snippet to help with this?
 * Thanks,
    Pavel.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/resizable-code-preview-window/#post-15948018)
 * Hi [@pumpaxxl](https://wordpress.org/support/users/pumpaxxl/),
 * Thank you for your feedback, happy to hear you like the plugin.
 * Regarding the code editor, you can use the following snippet to adjust the code
   editor height, set it to Auto-Insert “Admin-Only” & activate.
 *     ```
       add_action( 'wpcode_admin_page_content_wpcode-snippet-manager', function() {
       	echo '<style>.CodeMirror {height: 800px;}</style>';
       });
       ```
   
 * Change 800px to whatever works for you.
 *  Thread Starter [PumpaXXL](https://wordpress.org/support/users/pumpaxxl/)
 * (@pumpaxxl)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/resizable-code-preview-window/#post-15948241)
 * This is perfect, thanks for the quick reply.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Resizable Code Preview Window’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [PumpaXXL](https://wordpress.org/support/users/pumpaxxl/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/resizable-code-preview-window/#post-15948241)
 * Status: resolved