mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
Merge "ve.init.mw.DesktopArticleTarget: Fix double <div class="mw-parser-output"> after saving"
This commit is contained in:
commit
2cbf2470dd
|
@ -1251,8 +1251,8 @@ ve.init.mw.DesktopArticleTarget.prototype.replacePageContent = function (
|
|||
) );
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-jquery/no-html
|
||||
this.$editableContent.find( '.mw-parser-output' ).first().html( html );
|
||||
// eslint-disable-next-line no-jquery/no-append-html
|
||||
this.$editableContent.find( '.mw-parser-output' ).first().replaceWith( html );
|
||||
mw.hook( 'wikipage.content' ).fire( this.$editableContent );
|
||||
if ( displayTitle ) {
|
||||
// eslint-disable-next-line no-jquery/no-html
|
||||
|
|
Loading…
Reference in a new issue