Explicitly insert transclusion as inline

This keeps the insertTransclusionNode method in synchronous mode.

Logically depends on Ibc2fc66e68 but should be merged before it.

Change-Id: Iec17ea65d38fec7ca7ffcf81032c7346635218d9
This commit is contained in:
Ed Sanders 2016-05-15 12:16:51 +01:00
parent 06376669d9
commit 24939dd424

View file

@ -202,7 +202,8 @@ ve.ui.MWCitationDialog.prototype.getActionProcess = function ( action ) {
// first (and empty) child
dialog.getFragment().clone(
new ve.dm.LinearSelection( doc, item.getChildren()[ 0 ].getRange() )
)
),
'inline'
);
}
}