我合理的猜想掘金是通过dom操作来插入表情的,然后是记录了插入之前的 range 对象,在插入之后还原 range ... range.setStartAfter(lastNode). range.collapse(true).
確定! 回上一頁