focus editor before calling execCommand(), fixes #17195 on 1.9