Ticket #7783: 7783.patch
File 7783.patch, 1.8 KB (added by , 13 years ago) |
---|
-
_source/plugins/link/dialogs/anchor.js
50 50 // Empty anchor 51 51 if ( range.collapsed ) 52 52 { 53 if ( CKEDITOR. env.ie && CKEDITOR.env.version < 9)54 attributes[ 'class'] = 'cke_anchor_empty';53 if ( CKEDITOR.plugins.link.synAnchorSelector ) 54 attributes[ 'class' ] = 'cke_anchor_empty'; 55 55 56 if ( CKEDITOR. env.ie && CKEDITOR.env.version < 8)56 if ( CKEDITOR.plugins.link.emptyAnchorFix ) 57 57 { 58 58 attributes[ 'contenteditable' ] = 'false'; 59 59 attributes[ 'data-cke-editable' ] = 1; -
_source/plugins/link/plugin.js
47 47 // Show the arrow cursor for the anchor image (FF at least). 48 48 'cursor:auto;' + 49 49 '}' + 50 ( ( CKEDITOR.env.ie && CKEDITOR.env.version > 8 ) ? 'a[name]:empty,' : '' ) + 51 'a.cke_anchor_empty' + 50 ( CKEDITOR.plugins.link.synAnchorSelector ? 'a.cke_anchor_empty' : 'a[name]:empty,' ) + 52 51 '{' + 53 52 // Make empty anchor selectable on IE. 54 53 'display:inline-block;' + … … 275 274 // elements must be used for them. 276 275 fakeAnchor : CKEDITOR.env.opera || CKEDITOR.env.webkit, 277 276 278 // For browsers that don't support CSS3 a[name]:empty() .279 synAnchorSelector : CKEDITOR.env.ie && CKEDITOR.env.version < 9,277 // For browsers that don't support CSS3 a[name]:empty(), note IE9 is included because of #7783. 278 synAnchorSelector : CKEDITOR.env.ie, 280 279 281 280 // For browsers that have editing issue with empty anchor. 282 281 emptyAnchorFix : CKEDITOR.env.ie && CKEDITOR.env.version < 8,