 @Editor = class Editor
-	promptMessage: 'Type your article here'
+	promptMessage: '<span class="prompt">Type your article here</span>'
 	status:
 		cmd: false
 		ctrl: false

		.on 'mouseup', (e)=>
			@selection()
		.blur =>
			@displayPrompt()
			@clearStatus()
		.focus =>
			@hidePrompt()
			@update()
			@clearStatus()
		$('p,h1,h2,pre').not('[name]').each ->
			$(@).attr 'name', self.rand()
		$('#debug').text $('#editor').html()
	checkEmpty: ->
		@status.empty = $('#editor').text() == '' || $('#editor').html() == @promptMessage
	toggleFormatBlock: (tag)->
		el = @getSelectedElement()
		if el.attr 'name'
