mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-03 18:36:20 +00:00
8a2c9431e6
Fixes (follows-up I1b48ef5240, I6daff5c596): * Invalid html passed to jQuery constructor. * Use prop() instead of attr() for boolean values. * Use append() instead of html() when appending nodes instead of parsing html. * Rename shadowed variable name clash 'mw' to 'mwData'. * Fix odd construction where we parse '{}' to create an empty object. * Have ve.ce.MWReferenceListNode#update perform changes off-document in a detached tree. * Fix deep property access that can fail. mwData is set to either JSON parse of data-mw attr or empty object. Accessing mwData.attrs.group needs to be guarded by whether mw.attrs is indeed set. * Have `mw` and `about` attribtue in references list roundtrip (especially mw which can data we aren't editing/re-creating). * Add missing 'refGroup' property to MWReferenceListNode's data element (similar to what MWReferenceNode already has). Change-Id: I67e4f378ccd04e97361d8e58ae57db5353075756 |
||
---|---|---|
.. | ||
ve.dm.AlienNode.js | ||
ve.dm.BreakNode.js | ||
ve.dm.CenterNode.js | ||
ve.dm.DefinitionListItemNode.js | ||
ve.dm.DefinitionListNode.js | ||
ve.dm.DivNode.js | ||
ve.dm.DocumentNode.js | ||
ve.dm.GeneratedContentNode.js | ||
ve.dm.HeadingNode.js | ||
ve.dm.ImageNode.js | ||
ve.dm.InternalItemNode.js | ||
ve.dm.InternalListNode.js | ||
ve.dm.ListItemNode.js | ||
ve.dm.ListNode.js | ||
ve.dm.MWBlockImageNode.js | ||
ve.dm.MWEntityNode.js | ||
ve.dm.MWHeadingNode.js | ||
ve.dm.MWImageCaptionNode.js | ||
ve.dm.MWInlineImageNode.js | ||
ve.dm.MWPreformattedNode.js | ||
ve.dm.MWReferenceListNode.js | ||
ve.dm.MWReferenceNode.js | ||
ve.dm.MWTransclusionNode.js | ||
ve.dm.ParagraphNode.js | ||
ve.dm.PreformattedNode.js | ||
ve.dm.TableCaptionNode.js | ||
ve.dm.TableCellNode.js | ||
ve.dm.TableNode.js | ||
ve.dm.TableRowNode.js | ||
ve.dm.TableSectionNode.js | ||
ve.dm.TextNode.js |