Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

selection-extra

yunsii12MIT0.0.6TypeScript support: included

NPM version

caret, selection, getSelection, createRange, document, browser

readme

selection-extra

NPM version

Principle

  • window.getSelection
  • document.createRange

Build & Publish

  • npm run build
  • npx changeset
  • npx changeset version
  • git commit
    • gaa
    • gc
  • npx changeset publish
  • git push --follow-tags
    • gpoat

changeset prerelease doc

License

MIT License © 2022 Yuns

changelog

selection-extra

0.0.6

Patch Changes

  • 📦 refactor: rename common to utils

0.0.5

Patch Changes

  • 🐛 fix: selection change of non-contenteditable

0.0.4

Patch Changes

  • ✨ feat: drop mark logic

0.0.3

Patch Changes

  • ✨ feat: try gc
  • 📚 docs: polish selectNode description
  • 🐛 fix: peerDependencies

0.0.2

Patch Changes

  • feat: add keywords

0.0.1

Patch Changes

  • feat: initial project