﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12061	CKEditor loses event handlers attached to DOM nodes when performing an Undo/Redo operation	Christophe Guillou		"
Steps to reproduce
1. Open a CKEditor with HTML Source plugin
2. Switch to HTML Source view
3. Paste this snippet:

<a id=""link1"" href=""javascript:;"">Hover me!</a>

4. Switch to Rich Text view
5. Observe the hyperlink is created and has no action on hover
6. From the console, type:

window.frames[0].document.getElementById('link1').addEventListener('mouseover', function(){alert('Hello!');});

This will add an onmouseover event listener to the hyperlink;

7. Hover the hyperlink
8. Observe an alert dialog pops up with the message Hello!
9. Type some text after the hyperlink, e.g. aaa
10. Hit Undo or type Ctrl+Z
11. Hover the hyperlink again

Expected result
The alert dialog pops up with the message Hello! again

Actual result
Nothing happens

This defect can be reproduced on the CKEditor 4.4.2 nightly

http://nightly.ckeditor.com/14-06-03-06-06/full/samples/replacebyclass.html


Looks related to : https://dev.ckeditor.com/ticket/11677"	Bug	closed	Normal		General		wontfix	IBM	Irina Satya Minnekanti Piotrek Koszuliński
