Update editor.js

Change `splitLine()` to `insert("\n")`.