Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 6959)
+++ /CKEditor/trunk/CHANGES.html	(revision 6960)
@@ -75,4 +75,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/7192">#7192</a> : [IE] Selecting paragrpah format in an empty editor without focus didn't bring focus into editor body.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/7158">#7158</a> : Width and height fields in the iframe dialog are now synchronized with the style field.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/7893">#7893</a> : [Webkit, Opera] It was impossible to link to anchors in the document.</li>
 		<li>Updated the following language files:<ul>
 			<li><a href="http://dev.ckeditor.com/ticket/7834">#7834</a> : Dutch;</li>
Index: /CKEditor/trunk/_source/plugins/link/dialogs/link.js
===================================================================
--- /CKEditor/trunk/_source/plugins/link/dialogs/link.js	(revision 6959)
+++ /CKEditor/trunk/_source/plugins/link/dialogs/link.js	(revision 6960)
@@ -253,4 +253,14 @@
 			item = anchorList.getItem( i );
 			anchors[ i ] = { name : item.getAttribute( 'name' ), id : item.getAttribute( 'id' ) };
+		}
+
+		if ( CKEDITOR.plugins.link.fakeAnchor )
+		{
+			var imgs = editor.document.getElementsByTag( 'img' ), anchor;
+			for ( i = 0, count = imgs.count(); i < count; i++ )
+			{
+				if ( ( anchor = CKEDITOR.plugins.link.tryRestoreFakeAnchor( editor, imgs.getItem( i ) ) ) )
+					anchors.push( { name : anchor.getAttribute( 'name' ), id : anchor.getAttribute( 'id' ) } );
+			}
 		}
 
