             toggleEditingMode()
         case .header, .header1, .header2, .header3, .header4, .header5, .header6:
             toggleHeader()
+        case .more:
+            insertMoreAttachment()
         }
 
         updateFormatBar()

            FormatBarItem(image: Gridicon.iconOfType(.quote), identifier: .blockquote),
            FormatBarItem(image: Gridicon.iconOfType(.listUnordered), identifier: .unorderedlist),
            FormatBarItem(image: Gridicon.iconOfType(.listOrdered), identifier: .orderedlist),
            FormatBarItem(image: Gridicon.iconOfType(.link), identifier: .link)
        ]
    }


        showLinkDialog(forURL: linkURL, title: linkTitle, range: linkRange)
    }

    func insertMoreAttachment() {
        let position = richTextView.selectedRange.location
        richTextView.insertMoreAttachment(at: position)
    }

    func showLinkDialog(forURL url: URL?, title: String?, range: NSRange) {

        let isInsertingNewLink = (url == nil)
