Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 583 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 583 Bytes

SelectionX

NPM Module for browser selection object manipulation to enable enhanced contenteditable functionality for smart editors.

Loosely based on selection, with code from this StackOverflow question.

Updated by @razzed to work with various browsers.

Uses the MIT License.

Usage

var Selection = require("selectionx");

var sel = Selection(document.getElementById('div'));
TODO