如果選擇的是“awesome”,那麼 anchorNode. 所以我們還需要遍歷兄弟和父節點來獲取完整的句子。 ... getSelection() const selectedText = selection.
確定! 回上一頁