Fandom Developers Wiki
Advertisement

Resizable Code Mirror is a simple script that adds a few (configurable) editor resize buttons to Code Mirror, also known as the legacy/2010 source editor.

Installation

Configuration

The following configuration is optional; default values are shown here. You can have as many or as few size configurations as you want. However, too many buttons may overflow.

window.dev = window.dev || {};    // Create Window.dev if it doesn't exist already
window.dev.resizableCM = {        // Create configuration
    "S": "300px",                 // Set "S" button to a height of 300px
    "M": "525px",                 // "M" is the UI default 525px
    "L": "625px", 
    "XL": "800px"
};
Text above can be found here (edit)
Advertisement