rangyinputs icon indicating copy to clipboard operation
rangyinputs copied to clipboard

Rangy Inputs

Results 9 rangyinputs issues
Sort by recently updated
recently updated
newest added

We use rangyinputs in a Chrome extension, and many times the line getBody().appendChild(testTextArea); throws Cannot read property 'appendChild' of undefined Probably in pages where they don't have a proper "body".

As title, I tried to use this plugin before document.ready and got TypeError: $(...).getSelection is not a function

Would be useful to have this published as an NPM module. It's convenient when using webpack and not having to rely on bower.

Fixes https://github.com/timdown/rangyinputs/issues/12 @timdown You would still need to `npm publish` to the registry yourself. Thanks!

Please [add](https://github.com/cdnjs/cdnjs/blob/master/CONTRIBUTING.md#b-request-a-new-library) this library to cdnjs.

Use `dispatchEvent('input')` when text is manipulated in the textarea so other plugins can detect this.

It would be nice if the Start argument in insertText() and related functions was optional and defaulted to .getSelection()['start'] So one would not have to do `$('#foo').insertText('Bar', $('#foo').getSelection()['start']);` but simply...

Hi Tim. I have made some changes to your code that allow RangyInputs to be used in scenarios where JQuery is not loaded. When JQuery is loaded, everything works as...

Firstly, thanks this awesome tool helping my day. Here is a bug report, hopes it can help others. In IE 8, the return object of `$().getSelection().text` is buggy. I found...