nytimes / ice

track changes with javascript
Other
1.71k stars 194 forks source link

Pressing Delete (not backspace) at end of text throws Exception #106

Open ghost opened 10 years ago

ghost commented 10 years ago

If you press the delete key (not the backspace key) at the very end of the text, an eception is thrown:

Unable to get property 'nodeType' of undefined or null reference

Note: We're using ICE as a TinyMCE plugin. This happens in Chrome and IE10 so likely in all browsers.

delambo commented 10 years ago

I think this was a known bug but de-prioritized because it doesn't cause a problem, just throws an error, since there is nothing to delete at the end of the text. Is that what you are seeing?

ghost commented 10 years ago

Largely, yes, but IIRC the editor in some browsers then doesn't work properly. I retest it and try and provide more details.