diff --git a/src/app/editor.coffee b/src/app/editor.coffee index e05537d6f..9397339d3 100644 --- a/src/app/editor.coffee +++ b/src/app/editor.coffee @@ -31,7 +31,9 @@ class Editor extends View ### @content: (params) -> - @div class: @classes(params), tabindex: -1, => + attributes = { class: @classes(params), tabindex: -1 } + _.extend(attributes, params.attributes) if params.attributes + @div attributes, => @subview 'gutter', new Gutter @input class: 'hidden-input', outlet: 'hiddenInput' @div class: 'scroll-view', outlet: 'scrollView', =>