nytimes / ice

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

The Tracking plugin class 'ICE-Tracking' is not removed from container element upon editor destroy #108

Open vasilake-v opened 10 years ago

vasilake-v commented 10 years ago

The Tracking plugin class 'ICE-Tracking' is not removed from container element upon editor destroy. One should manually do that with something like:

editor.element.setAttribute('class', editor.element.getAttribute('class').replace('ICE-Tracking',''));