                 node = @refs.html?.getDOMNode()
                 if not node?
                     return
-                setTimeout ->
-                    jQuery(node).focus()
-                , 0
+                document.querySelector(".rt-editor").focus()
                 if not @props.settings.get 'composeOnTop'
                     node.innerHTML += "<p><br /></p>"
                     node = node.lastChild

                              document.documentElement.msMatchesSelector

                        target = document.getSelection().anchorNode
                        if not target?
                            return
                        if matchesSelector? and not matchesSelector.call(target, '.rt-editor blockquote *')
                            # we are not inside a blockquote, nothing to do
                            return

                        if target.lastChild
                            target = target.lastChild.previousElementSibling
                        parent = target

                        # alternative 1

                        s.removeAllRanges()
                        s.addRange(r)
                        document.execCommand('delete', false, null)
                        node.focus()

            # Some DOM manipulation when replying inside the message.
            # When inserting a new line, we must close all blockquotes,
