Index: _source/plugins/link/dialogs/link.js
===================================================================
--- _source/plugins/link/dialogs/link.js	(revision 7031)
+++ _source/plugins/link/dialogs/link.js	(working copy)
@@ -254,6 +254,18 @@
 			anchors[ i ] = { name : item.getAttribute( 'name' ), id : item.getAttribute( 'id' ) };
 		}
 
+		// For some browsers we set contenteditable="false" on anchors, making document.anchors not to include them, so we must traverse the links manually (#7893).
+		if ( CKEDITOR.plugins.link.emptyAnchorFix )
+		{
+			var links = editor.document.getElementsByTag( 'a' ), link;
+			for ( i = 0, count = links.count(); i < count; i++ )
+			{
+				link = links.getItem( i );
+				if ( !link.getChildCount() && link.hasAttribute( 'name' ) )
+					anchors.push( { name : link.getAttribute( 'name' ), id : link.getAttribute( 'id' ) } );
+			}
+		}
+
 		if ( CKEDITOR.plugins.link.fakeAnchor )
 		{
 			var imgs = editor.document.getElementsByTag( 'img' ), anchor;
