 
   resize: (event) ->
 
+    return  unless @_clone
+
     @_clone.appendTo 'body' unless document.body.contains @_clone[0]
     val = @getElement().value.replace(/\n/g,'\n&nbsp;')
     safeValue = Encoder.XSSEncode val



  _resizeVertically: (event) ->

    return  unless @_clone

    height = @_clone.height()



  _resizeHorizontally: (event) ->

    width = @_clone.width()

    if @$().css('boxSizing') is 'border-box'
