mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +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 |
||
---|---|---|
.. | ||
annotations | ||
nodes | ||
ve.dm.Annotation.js | ||
ve.dm.AnnotationFactory.js | ||
ve.dm.BranchNode.js | ||
ve.dm.Converter.js | ||
ve.dm.Document.js | ||
ve.dm.DocumentSlice.js | ||
ve.dm.DocumentSynchronizer.js | ||
ve.dm.js | ||
ve.dm.LeafNode.js | ||
ve.dm.ModelRegistry.js | ||
ve.dm.Node.js | ||
ve.dm.NodeFactory.js | ||
ve.dm.Surface.js | ||
ve.dm.SurfaceFragment.js | ||
ve.dm.Transaction.js | ||
ve.dm.TransactionProcessor.js |