 			$(@).attr 'name', self.rand()
 		$('#debug').text $('#editor').html()
 	checkNew: ->
-		@status.new = false if $('#editor').text().length > 5
+		if $('#editor').text().length > 5
+			@status.new = false
+			$('#editor').trigger 'askid'
 	checkEmpty: ->
 		@status.empty = $('#editor').text() == '' || $('#editor').html() == @promptMessage
 	toggleFormatBlock: (tag)->

			when 91
				@status.cmd = false
				$('.cmd').addClass('hidden')

	init: ->
		@update()
		@displayPrompt()


@Editor = class Editor
	articleCreateURL: ''
	articleSaveURL: ''
	articleDeleteURL: ''
	id: ''
	promptMessage: '<span class="prompt">Type your article here</span>'
	status:
		cmd: false
