diff --git a/core/editable.js b/core/editable.js
a
|
b
|
|
580 | 580 | // Prevent the browser opening read-only links. (#6032) |
581 | 581 | this.attachListener( this, 'click', function( ev ) { |
582 | 582 | ev = ev.data; |
583 | | var target = ev.getTarget(); |
584 | | if ( target.is( 'a' ) && ev.$.button != 2 && target.isReadOnly() ) |
| 583 | var target = ev.getTarget(), |
| 584 | link = new CKEDITOR.dom.elementPath( target ).contains( 'a' ); |
| 585 | |
| 586 | if ( link && ev.$.button != 2 && link.isReadOnly() ) |
585 | 587 | ev.preventDefault(); |
586 | 588 | } ); |
587 | 589 | |