selectionx
v0.1.3
Published
DOM selection manipulation in contenteditable components and text inputs/widgets.
Readme
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