🔤 Text selection

👋 FYI, this note is over 6 months old. Some of the content may be out of date.
const selection = window.getSelection()
const selectedText = selection.toString()

← Back home