Extracting `typing.js` (tab, insertParagraph) from `Editor.js`