(function($) { $.Redactor.prototype.source = function() { return { init: function() { var button = this.button.addFirst('html', 'HTML'); this.button.setIcon(button, ''); this.button.addCallback(button, this.source.toggle); var style = { 'width': '100%', 'margin': '0', 'background': '#1d1d1d', 'box-sizing': 'border-box', 'color': '#ccc', 'font-size': '15px', 'outline': 'none', 'padding': '20px', 'line-height': '24px', 'font-family': 'Consolas, Menlo, Monaco, "Courier New", monospace' }; this.source.$textarea = $('