     caption = """<figcaption>#{attrs.filename}<span class="size">#{attrs.filesize}</span></figcaption>"""
     figure.innerHTML = caption
 
-    html: """<div>#{blockComment}#{link.outerHTML}</div>"""
+    html: """<div>#{blockComment}#{cursorTarget}#{link.outerHTML}#{cursorTarget}</div>"""
     document: new Trix.Document [new Trix.Block text]
 
   "nested quote and code formatted block":

    figure.setAttribute("contenteditable", false)
    figure.appendChild(image)

    html: "<div>#{blockComment}#{figure.outerHTML}</div>"
    document: new Trix.Document [new Trix.Block text]

  "file attachment": do ->

    figure.setAttribute("contenteditable", false)
    figure.appendChild(image)

    html: "<div>#{blockComment}#{cursorTarget}#{figure.outerHTML}#{cursorTarget}</div>"
    document: new Trix.Document [new Trix.Block text]

  "image attachment without dimensions": do ->
