       @options = $.extend {}, @options, options
       @textArea = @createTextArea()
       @switchViews = @createSwitchViews() if @options.switchViews
+      @clearDiv = @createClearDiv() if @options.switchViews
       @done = @createDone()
       @content = @getContent()
       @editing = false

        @content = @textArea._justGetCode()
        @textArea.val @content
        @el.html @content
      @el.insertBefore @textArea
      @textArea._removeEditor()
      @textArea.detach()
      @switchViews.detach() if @options.switchViews
      @done.detach()
      # so tiny doesn't hang on to this instance
      @textArea.attr 'id', ''

        $(e.currentTarget).siblings('a').andSelf().toggle()
      return $switchViewsContainer

    ##
    # create the switch views links to go between rich text and a textarea
    # @api private
    createClearDiv: ->
      return $('<div/>', class: "clear")

  _.extend(EditorToggle.prototype, Backbone.Events)

