       onChange: @onChange
       rows: 1
       style: _.extend( {padding: '4px 8px'}, (@props.style || {}), {height: @local.height} )
+      ref: 'input'
 
 
 window.CharacterCountTextInput = ReactiveComponent

    @props.onChange?(e)
    @checkAndSetHeight()

  componentDidMount : -> @checkAndSetHeight()
  componentDidUpdate : -> @checkAndSetHeight()

  checkAndSetHeight : ->

              'aria-orientation': if toolbar_horizontal then 'horizontal' else 'vertical'
              id: 'toolbar'
              tabIndex: 0
              style: _.defaults {}, @props.toolbar_style, 
                position: 'absolute'
                width: if !toolbar_horizontal then 30
                left: if !toolbar_horizontal then -32
                top: if toolbar_horizontal then -25 else 0
                display: 'block'
                visibility: if wysiwyg_editor.showing != @props.key then 'hidden'

