nytimes / ice

track changes with javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

opened this issue · comments

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.

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?

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