Mozilla editor links (for my reference)

Current problem: using the Home or End keys then typing will, after the first character is added, place the cursor on the wrong side of that first character. That is, pressing Home then typing Hello will enter elloH in the document, because the cursor is before the H after it's typed rather than after.