 
 class InsertMediaSettingsTableViewController: UITableViewController {
     private let image: UIImage
-    private let searchResult: InsertMediaSearchResult
+    let searchResult: InsertMediaSearchResult
 
     private var textViewHeightDelta: (value: CGFloat, row: Int)?
     private var textViewsGroupedByType = [TextViewType: UITextView]()

                case none
            }

            enum ImageType {
                case thumbnail
                case border
                case frameless
                case frame
            }

            enum ImageSize {
                case upright
            }


    struct Settings {
        let caption: String?
        let alternativeText: String?
        let advanced: Advanced

        struct Advanced {
            let wrapTextAroundImage: Bool
