function PanelCollection(options) {
        this.preview = doc.getElementsByClassName(options.preview_class)[0];
        this.input = doc.getElementsByClassName(options.input_class)[0];

        this.buttonBar = doc.createElement("div");
        this.buttonBar.className = "wmd-button-bar";
        this.input.parentNode.insertBefore(this.buttonBar, this.input);
    }
// normally since the focus never leaves the textarea.

normally since the focus never leaves the textarea.
normally since the focus never leaves the textarea .
function PanelCollection(options) {
        this.preview = doc.getElementsByClassName(options.preview_class)[0];
        this.input = doc.getElementsByClassName(options.input_class)[0];
        this.buttonBar = doc.createElement("div");
        this.buttonBar.className = "wmd-button-bar";
        this.input.parentNode.insertBefore(this.buttonBar, this.input);
    }
function PanelCollection ( options ) { this . preview = doc . getElementsByClassName ( options . preview_class ) [ 0 ] ; this . input = doc . getElementsByClassName ( options . input_class ) [ 0 ] ; this . buttonBar = doc . createElement ( "div" ) ; this . buttonBar . className = "wmd-button-bar" ; this . input . parentNode . insertBefore ( this . buttonBar , this . input ) ; }
normally since the focus never leaves the textarea.
normally since the focus never leaves the textarea .