   getPane: ->
     @parent('.item-views').parents('.pane').view()
 
-  focus: ->
-    if @component?
-      @component.onFocus()
-    else
-      @focusOnAttach = true
-
   hide: ->
     super
     @pollComponentDOM()

  @content: (params) ->
    attributes = params.attributes ? {}
    attributes.class = 'editor react editor-colors'
    @div attributes

  focusOnAttach: false

        lines.addClass(klass)
        lines.length > 0

    @on 'focus', =>
      if @component?
        @component.onFocus()
      else
        @focusOnAttach = true

  getEditor: -> @editor

