• Resolved Paul Vek

    (@paulvek)


    Your plugin is amazing. It just needs a small change in the admin section.
    The place to write the code in your plugin is very small and it is difficult to see more than a few lines and you have to scroll constantly.
    Just include this small code in the plugin itself to see what a small but big change is made!

    .CodeMirror {
        resize: vertical;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi Paul,

    There is an option on the Settings page of WPCode to adjust the height of the editor or make it auto-grow with your code.

    Thread Starter Paul Vek

    (@paulvek)

    Hi mircea and thanks for your response

    but there is no such option in the settings. There is actually an option in the settings to set the default size.

    There is another option called auto, if it is active, the size (height) of the editor will be the size of all lines of code. If it is 1000 lines, we will have a long very long editor without the ability to change the size, which is not beautiful for many codes, and it is possible. Make it a little harder.

    But the code I posted adds flexibility. Everyone can set whatever size they like while typing. This can also be in the form of a new option in the plugin settings, such as setting the default height and setting it automatically.

    Plugin Author Mircea Sandu

    (@gripgrip)

    Hi Paul,

    I see the difference now. I made a note about your feature request and we’ll consider it for a future version.

    We did not include this option until now since the editor’s height will reset each time you update and that can become confusing in terms of finding where you last made an edit. In the current version, WPCode keeps the cursor position of your last edit when you update in order to make it easier to follow.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Increasing the size of the text area (code writing section in the plugin editor)’ is closed to new replies.