embedded-emacs
embedded-emacs copied to clipboard
Restore textarea focus after editor exits
The focus should move back from plugin to textarea after emacs has been closed. Unfortunately, just calling focus() on the element doesn't seem to work from the content script, so I'm not sure what's going on there.
Possibly that a content script isolated world is just not allowed to set DOM focus.