﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10301	[IE9-10] - Undo fails after 3+ consecutive paste actions with JS Error.	Joel	Piotrek Koszuliński	"The undo function breaks after three or more consecutive paste actions when pasting as the last characters in a paragraph. Reproducible in [ckeditor.com/demo the demo] and in [http://nightly.ckeditor.com/13-04-04-14-51/standard/samples/replacebyclass.html nightly].

Steps:
1. Go to ckeditor.com/demo
2. Click to focus to the editor
3. Ctrl+A and Del to clear editor
4. Copy some simple text, for example the URL of the page
5. Paste the text three times in a row
6. Ctrl+Z or click the undo icon --> Error

Error in Console (nightly): DOM Exception: INDEX_SIZE_ERR (1) ckeditor.js, rivi 339 merkki 374

If you type something after the pastes, undo works fine until it hits the pasted text, then the error is thrown.

BUT! If there is something after the caret when pasting it doesn't fail. For example after step 3, if you type in ""foo"" and move the caret to ""|foo"" or ""fo|o"" and then paste three times, undo keeps working fine and no errors."	Bug	closed	Normal	CKEditor 4.2.1	General	4.0	fixed	IE oracle	
