 	init: ()->
 		self = @
 		$('#editor').html '<p><br></p>' if @status.new
-		$('#editor').children().each ->
-			self.bindTo $(@)
+		# $('#editor').children().each ->
+		# 	self.bindTo $(@)
 		@update()
 		@checkTitleEmpty()
 		@checkEmpty()

		@displayPrompt() if @status.empty
		@bindEditorTitleEvents()
		@bindEditorEvents()

	bindEditorTitleEvents:->
		$('#editor-title').on 'keydown', (e)=>

		$('#insertion').addClass 'hidden'
	setInsertionTop: (top)->
		$('#insertion').css 'top', top
	delegateEvents: ()->
		self = @
		$('#editor').delegate 'h1,h2,p,pre,code', 'mousemove', (e)->
			parentOffset = $(@).parent().offset()
			thisOffset = $(@).offset()
			height = $(@).outerHeight()
			if height >= 30
				if thisOffset.top + height - e.pageY < 30 && thisOffset.top + height - e.pageY > 0
					self.showInsertion()
					self.setInsertionTop thisOffset.top - parentOffset.top + height - 15
				else
					self.hideInsertion()
			else
				self.showInsertion()
	bindTo: (jqel)->
		self = @
		jqel.on 'mousemove', (e)->
			parentOffset = $(@).parent().offset()
			thisOffset = $(@).offset()
			height = $(@).outerHeight()
			if height >= 30
				if thisOffset.top + height - e.pageY < 30 && thisOffset.top + height - e.pageY > 0
					self.showInsertion()
					self.setInsertionTop thisOffset.top - parentOffset.top + height - 15
				else
					self.hideInsertion()
			else
				self.showInsertion()
	update: ->
		self = @
		# giving names
