             attachment.delegate = self
         }
 
+        textStoreString = textStore.string
+
         edited([.editedAttributes, .editedCharacters], range: NSRange(location: 0, length: originalLength), changeInLength: textStore.length - originalLength)
     }
 }

    // MARK: - Calculated Properties

    override open var string: String {
        return textStore.string
    }

    open var mediaAttachments: [MediaAttachment] {


    fileprivate var textStore = NSMutableAttributedString(string: "", attributes: nil)

    fileprivate var textStoreString = ""


    // MARK: - Delegates

