Changeset 6960 for CKEditor/trunk
- Timestamp:
- 05/24/11 15:54:36 (2 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/link/dialogs/link.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r6958 r6960 75 75 <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> 76 76 <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> 77 <li><a href="http://dev.ckeditor.com/ticket/7893">#7893</a> : [Webkit, Opera] It was impossible to link to anchors in the document.</li> 77 78 <li>Updated the following language files:<ul> 78 79 <li><a href="http://dev.ckeditor.com/ticket/7834">#7834</a> : Dutch;</li> -
CKEditor/trunk/_source/plugins/link/dialogs/link.js
r6923 r6960 253 253 item = anchorList.getItem( i ); 254 254 anchors[ i ] = { name : item.getAttribute( 'name' ), id : item.getAttribute( 'id' ) }; 255 } 256 257 if ( CKEDITOR.plugins.link.fakeAnchor ) 258 { 259 var imgs = editor.document.getElementsByTag( 'img' ), anchor; 260 for ( i = 0, count = imgs.count(); i < count; i++ ) 261 { 262 if ( ( anchor = CKEDITOR.plugins.link.tryRestoreFakeAnchor( editor, imgs.getItem( i ) ) ) ) 263 anchors.push( { name : anchor.getAttribute( 'name' ), id : anchor.getAttribute( 'id' ) } ); 264 } 255 265 } 256 266
Note: See TracChangeset
for help on using the changeset viewer.
