Add an alwaysInsertAfter option on the editor to always force content to be injected after a targeted line to avoid pushing the current last line to the end of the document. Fixes #1967