mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
a97f777685
* Introduce context object as specified for ve.dm.Node.static.toDataElement() * Remove wrapping variable in favor of context.wrapping * Remove wrappingIsOurs in favor of context.canCloseWrapper * Introduce originallyExpectingContent and use it to repopulate context.expectingContent after closing a wrapper * Replace most uses of branchHasContent with context.expectingContent ** Except for two cases where we need originallyExpectingContent These changes fix a case where a metaBlock was generated in an inline position. Updated the tests to reflect this. Change-Id: I6baf6053f8a3a0b7d91487f812b9235a7b2b3db1 |
||
---|---|---|
.. | ||
nodes | ||
ve.dm.BranchNode.test.js | ||
ve.dm.Converter.test.js | ||
ve.dm.Document.test.js | ||
ve.dm.DocumentSynchronizer.test.js | ||
ve.dm.example.js | ||
ve.dm.LeafNode.test.js | ||
ve.dm.ModelRegistry.test.js | ||
ve.dm.Node.test.js | ||
ve.dm.NodeFactory.test.js | ||
ve.dm.Surface.test.js | ||
ve.dm.SurfaceFragment.test.js | ||
ve.dm.Transaction.test.js | ||
ve.dm.TransactionProcessor.test.js |