         }
         return newString
     }
-
-    /**
-        Runs some JavaScript on the UIWebView and returns the result
-        If there is no result, returns an empty string
-    
-        :param:   js The JavaScript string to be run
-        :returns: The result of the JavaScript that was run
-    */
-    private func runJS(js: String) -> String {
-        let string = webView.stringByEvaluatingJavaScriptFromString(js) ?? ""
-        return string
-    }
-}
+}

            webView.scrollView.scrollEnabled = scrollEnabled
        }
    }
    
    /**
        Whether or not to allow user input in the view.

    public weak var delegate: RichEditorDelegate?

    /**
        Whether or not scroll is enabled on the view.
    */
    public var scrollEnabled: Bool = true {
