Fix typo in comment
Improve remove formatting: focus editor and use "selectInserted" option