• Resolved PumpaXXL

    (@pumpaxxl)


    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

    (@gripgrip)

    Hi @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

    (@pumpaxxl)

    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.