mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Fix transaction bug with Roans help.
Fixes (Bug 40339) Change-Id: Ice26bf08071cba5c5500aa9196ade169381a9aea
This commit is contained in:
parent
1ab5fac1aa
commit
3a48860602
|
@ -272,6 +272,8 @@ ve.dm.Transaction.newFromContentBranchConversion = function ( doc, range, type,
|
|||
// Add attributes to opening if needed
|
||||
if ( ve.isPlainObject( attr ) ) {
|
||||
opening.attributes = attr;
|
||||
} else {
|
||||
attr = {};
|
||||
}
|
||||
// Replace the wrappings of each content branch in the range
|
||||
for ( i = 0; i < selection.length; i++ ) {
|
||||
|
|
Loading…
Reference in a new issue