     else
       if nextCharacter is "\n"
         range = [position - 1, position + 1]
-      else if block.getConfig("breakOnReturn")
-        range = [position + 1, position + (block.getLength() - offset) ]
-        fullDocument = document.insertBlockBreakAtRange([position, position])
-        fullDocument = fullDocument.removeAttributeAtRange(block.getLastAttribute(), range)
-        position += 1
       else if offset - 1 isnt 0
         position += 1
 
     newDocument = new Trix.Document [block.removeLastAttribute().copyWithoutText()]
-    @setDocument(fullDocument or document.insertDocumentAtRange(newDocument, range))
+    @setDocument( document.insertDocumentAtRange(newDocument, range))
     @setSelection(position)
 
   insertLineBreak: ->

    utf16string = @document.toUTF16String()
    utf16position = utf16string.offsetFromUCS2Offset(position)
    utf16string.offsetToUCS2Offset(utf16position + offset)

    block = @document.getBlockAtIndex(endLocation.index)
    breaksOnReturn = block.breaksOnReturn()
    previousCharacter = block.text.getStringAtPosition(endLocation.offset - 1)
    nextCharacter = block.text.getStringAtPosition(endLocation.offset)

    if @returnShouldDecreaseListLevel()
      @decreaseListLevel()
      @setSelection(startPosition)
    else if @returnShouldPrependListItem()
      document = new Trix.Document [block.copyWithoutText()]
      @insertDocument(document)
    else if @returnShouldInsertBlockBreak()
      @insertBlockBreak()
    else if @returnShouldRemoveLastBlockAttribute()
      @removeLastBlockAttribute()
    else if @returnShouldBreakFormattedBlock()
      @breakFormattedBlock()
    else
      @insertString("\n")

