         return richTextView
     }
 
-    func createTextViewWithContent() -> Aztec.TextView {
+    func createTextViewWithContent() -> TextView {
         let paragraph = "Lorem ipsum dolar sit amet.\n"
         let richTextView = Aztec.TextView(defaultFont: UIFont.systemFont(ofSize: 14), defaultMissingImage: UIImage())
         richTextView.textAttachmentDelegate = attachmentDelegate


    // MARK: - TextView construction

    func createEmptyTextView() -> Aztec.TextView {
        let richTextView = Aztec.TextView(defaultFont: UIFont.systemFont(ofSize: 14), defaultMissingImage: UIImage())
        richTextView.textAttachmentDelegate = attachmentDelegate
        richTextView.registerAttachmentImageProvider(attachmentDelegate)
        return richTextView
    }

    func createTextView(withHTML html: String) -> Aztec.TextView {
        let richTextView = Aztec.TextView(defaultFont: UIFont.systemFont(ofSize: 14), defaultMissingImage: UIImage())
        richTextView.textAttachmentDelegate = attachmentDelegate
        richTextView.setHTML(html)

        
        return richTextView
    }

    func createTextViewWithSampleHTML() -> TextView {
        return createTextView(withHTML: loadSampleHTML())
    }


    // MARK: - Sample HTML Retrieval

    func loadSampleHTML() -> String {
        guard let path = Bundle(for: type(of: self)).path(forResource: "content", ofType: "html"),
            let sample = try? String(contentsOfFile: path)
        else {
            fatalError()
        }

        return sample
    }


    // Confirm the composed textView is property configured.

