     @responder?.insertString("\n")
 
   # insertLink: (event) ->
-  #
-  # insertOrderedList: (event) ->
+
+  insertOrderedList: (event) ->
+    event.preventDefault()
+    @toggleAttributeIfSupported("number")
 
   insertParagraph: (event) ->
     @delegate?.inputControllerWillPerformTyping()

    compositionend: (event) ->
      @composing = false

  # https://www.w3.org/TR/input-events-2/#interface-InputEvent-Attributes

  deleteByComposition: (event) ->

    @responder?.insertString(event.data)

  # insertTranspose: (event) ->

  insertUnorderedList: (event) ->
    event.preventDefault()
    @toggleAttributeIfSupported("bullet")

updateSelectionForEvent = (event) ->
  if domRange = getDOMRangeForEvent(event)
