   deleteByDrag: (event) ->
 
   deleteCompositionText: (event) ->
+    @composition = ""
 
   deleteContent: (event) ->
 

{objectsAreEqual, compact, summarizeStringChange} = Trix

class Trix.Level2InputController extends Trix.AbstractInputController
  mutationIsExpected: (mutationSummary) ->
    result = objectsAreEqual(mutationSummary, @inputSummary)
    console.log("[mutation] [#{if result then "expected" else "unexpected"}] #{JSON.stringify({mutationSummary})}")

  historyUndo: (event) ->

  insertCompositionText: (event) ->
    @composition = event.data

  insertFromComposition: (event) ->
    delete @composition
    @insertReplacementText(event)

  insertFromDrop: (event) ->

