Skip to content
Permalink
Browse files

Merge branch 't/11487'

  • Loading branch information...
mlewand committed Feb 17, 2014
2 parents a335dad + ed10504 commit c018e2daa1dcff1338d4b3bdbbe0dd92ba692141
Showing with 5 additions and 0 deletions.
  1. +1 −0 CHANGES.md
  2. +4 −0 plugins/widget/plugin.js
@@ -5,6 +5,7 @@ CKEditor 4 Changelog

Fixed Issues:

* [#11487](http://dev.ckeditor.com/ticket/11487): Moving mouse over [Enhanced Image](http://ckeditor.com/addon/image2) widget will no longer change value returned by [`Editor.checkDirty`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-checkDirty) method.
* [#8673](http://dev.ckeditor.com/ticket/8673): Fixed: Webkit browsers - cannot select and remove Page Break (pagebreak).
* [#11413](http://dev.ckeditor.com/ticket/11413): Fixed: Wrong execCommand behavior.
* [#11438](http://dev.ckeditor.com/ticket/11438): Splitting table cells vertically is no longer chnaging table structure.
@@ -1152,12 +1152,16 @@
if ( oldPos && newPos.x == oldPos.x && newPos.y == oldPos.y )
return;

// We need to make sure that dirty state is not changed (#11487).
var initialDirty = editor.checkDirty();

editor.fire( 'lockSnapshot' );
this.dragHandlerContainer.setStyles( {
top: newPos.y + 'px',
left: newPos.x + 'px'
} );
editor.fire( 'unlockSnapshot' );
!initialDirty && editor.resetDirty();

this._.dragHandlerOffset = newPos;
}

0 comments on commit c018e2d

Please sign in to comment.
You can’t perform that action at this time.