     open func removeLink(inRange range: NSRange) {
         let formatter = LinkFormatter()
         formatter.toggle(in: storage, at: range)
-        delegate?.textViewDidChange?(self)
+        textViewDidChange()
     }
 
 

        })

        storage.replaceCharacters(in: range, with: NSAttributedString(string: "", attributes: typingAttributes))
        delegate?.textViewDidChange?(self)
    }

    /// Removes all of the text attachments contained within the storage
    ///
    open func removeMediaAttachments() {
        storage.removeMediaAttachments()
        delegate?.textViewDidChange?(self)
    }

    /// Replaces a Video attachment at the specified range

            typingAttributes = storage.attributes(at: selectedRange.location, effectiveRange: nil)
        }

        textViewDidChange()
        formattingDelegate?.textViewCommandToggledAStyle()
    }

