         super.init(frame: .zero, configuration: SectionEditorWebViewConfiguration())
         loadHTMLFromAssetsFile(codeMirrorIndexFileName, scrolledToFragment: nil)
         config.selectionChangedDelegate = self
+        scrollView.keyboardDismissMode = .interactive
     }
 
     required init?(coder: NSCoder) {

            return
        }

        guard let getter = class_getInstanceMethod(SectionEditorWebView.self, #selector(getter: SectionEditorWebView.customInputAccessoryView)) else {
            assertionFailure("Couldn't get instance method")
            return
        }

        class_addMethod(newClass, #selector(getter: SectionEditorWebView.inputAccessoryView), method_getImplementation(getter), method_getTypeEncoding(getter))
        objc_registerClassPair(newClass)
        object_setClass(wkContent, newClass)
    }

    @objc private var customInputAccessoryView: UIView? {
        var view: UIView? = self
        while (view != nil) && !(view is WKWebView) {
            view = view?.superview
        }
        guard let webView = view else {
            return nil
        }
        let customInputAccessory = objc_getAssociatedObject(webView, &SectionEditorWebView.customInputAccessoryViewKey)
        return customInputAccessory as? UIView
    }
}


    func highlightRedoButton() {
        //
    }
}
