                 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

                    header = jQuery('.rt-editor blockquote').eq(0).prev()
                    header.text(header.text().replace('…', ''))
                    header.append('<span class="originalToggle">…</>')
                catch e
                    console.log e
            jQuery('.rt-editor .originalToggle').on('click', ->
                console.log 'click'
                jQuery('.rt-editor').toggleClass('folded')
            )
        else
            # Text message
            if @props.focus

                              document.documentElement.msMatchesSelector

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

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

                        # alternative 1
