mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "Comment Parsoid hacks as such"
This commit is contained in:
commit
82355461fe
|
@ -20,6 +20,7 @@ ve.ce.MWExternalLinkAnnotation = function VeCeMWExternalLinkAnnotation() {
|
|||
ve.ce.MWExternalLinkAnnotation.super.apply( this, arguments );
|
||||
|
||||
// DOM changes
|
||||
// TODO: Remove when fixed upstream in Parsoid (T58756)
|
||||
this.$anchor.addClass( 'external' );
|
||||
};
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@ ve.ce.MWNumberedExternalLinkNode = function VeCeMWNumberedExternalLinkNode() {
|
|||
this.$link = $( '<a>' )
|
||||
// CSS for numbering needs rel=mw:ExtLink
|
||||
.attr( 'rel', 'mw:ExtLink' )
|
||||
// TODO: Remove when fixed upstream in Parsoid (T58756)
|
||||
.addClass( 'external' )
|
||||
.appendTo( this.$element );
|
||||
|
||||
|
|
Loading…
Reference in a new issue