Skip to content

1.2.0

Latest
Compare
Choose a tag to compare
@timdown timdown released this 01 Dec 00:04
· 5 commits to master since this release

This version includes an internal change to methods that change the textarea or input's value: deleteText, deleteSelectedText, extractSelectedText, insertText, replaceSelectedText and surroundSelectedText. The change allows the browser's built-in undo and redo functions to work flawlessly in WebKit-based browsers when calling one of these methods. Behaviour in other browsers is unchanged from previous versions of Rangy Inputs: in Firefox (version 33.1.1 at time of writing), undo/redo works but messes up the user's selection. In IE, using one of these methods clears the undo stack. I have been so far unable to find a viable way to correct these problems.

There is no change to the API.