   override func insertNewline(sender: AnyObject?) {
     sprint("insertNewLine")
     disableTextField()
-    editing = false
+    link.editing = false
     needsDisplay = true
   }
   

  // MARK: - TextField events
  
  func toggleTextField() {
    if editing {
      enableTextField()
    } else {
      disableTextField()

  init(frame frameRect: NSRect, link: Link, canvas: CanvasView) {
    self.link = link
    self.added = false
    self.canvas = canvas
    self.textField = NSTextField()
    super.init(frame: frameRect)
