`window.scribe.insertPlainText` might be better here.