﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12635	Keyboard triggered snapshot doesn't respect undo lock	Marek Lewandowski		"It seems that if I'll try to lock UndoManager for snapshots, keyboard events will trigger the snapshot anyawy.

1. Open any sample with CKEditor. (i.e. samples/replacebyclass.html)
2. Go to JavaScript console, and enter following code:

{{{
CKEDITOR.instances.editor1.fire( 'lockSnapshot', { dontUpdate: true } );
CKEDITOR.instances.editor1.fire( 'lockSnapshot', { dontUpdate: true } );
}}}

3. That should result with UndoManager lock counter being increased to {{{2}}}, confirm that by evaluating:

{{{
CKEDITOR.instances.editor1.undoManager.locked.level
}}}

4. Type anything in the editable.

**Expected result:**[[BR]]
No snapshot should be created, until we'll unlock the UndoManager.

**Current result:**[[BR]]
Snapshots are created anyway.

Additional info:[[BR]]
1. Good news is that it seems not to be recent regression, as I've checked 4.3.0 and the same error occurs there.
2. Commands do cares about UndoManager being locked, because if you'll perform bold or any other command it will not record snapshot."	Bug	new	Normal		Core : Undo & Redo				
