focus editor before inserting HTML