Index: /CKEditor/tests/tt/4385/1.html
===================================================================
--- /CKEditor/tests/tt/4385/1.html	(revision 4277)
+++ /CKEditor/tests/tt/4385/1.html	(revision 4278)
@@ -4,5 +4,5 @@
 <head>
 	<title>Ticket: #4385</title>
-	<meta name="tags" content="editor,unit,all">
+	<meta name="tags" content="editor,unit,stable">
 	<script type="text/javascript" src="../../cktester/cell.js"></script>
 	<script>
Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 4277)
+++ /CKEditor/trunk/CHANGES.html	(revision 4278)
@@ -69,4 +69,5 @@
 		<li><a href="http://dev.fckeditor.net/ticket/4387">#4387</a> : Right clicking in Kama skin can lead to a javascript error.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/4397">#4397</a> : Wisiwig mode will cause the host page scroll.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4385">#4385</a> : Fixed editor's auto adjusting on DOM structure were confusing the dirty checking mechanism.</li>
 	</ul>
 	<h3>
Index: /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 4277)
+++ /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 4278)
@@ -135,5 +135,6 @@
 			range = selection.getRanges()[0],
 			body = editor.document.getBody(),
-			enterMode = editor.config.enterMode;
+			enterMode = editor.config.enterMode,
+			isDirtyBeforeFix = editor.checkDirty();
 
 		// When enterMode set to block, we'll establing new paragraph only if we're
@@ -199,4 +200,8 @@
 			body.append( paddingBlock );
 		}
+
+		// DOM modification here should not bother dirty flag.(#4385)
+		if( !isDirtyBeforeFix )
+			editor.resetDirty();
 	}
 
