mediawiki-extensions-Visual.../modules/ve/dm
Catrope 57ad316988 Fix bug where inline nodes didn't trigger wrapping
When encountering an inline node (i.e. content node that's not a text
node) within a branch node that's not a content branch node, the
converter should start a wrapper. But it doesn't do this, it only opens
wrappers for text nodes and annotations.

Fixed this in the converter, added a test for it, and fixed an existing
test that asserted the broken behavior.

Change-Id: I6e143e21e68b68f0d85b8772e24a2d3a5d465410
2013-02-01 16:06:17 -08:00
..
annotations Added support for passing data into annotation constructors 2013-01-28 11:01:52 -08:00
nodes Hybrid-ify MetaBlock/MetaInline 2013-01-31 15:00:00 -08:00
ve.dm.Annotation.js Added support for passing data into annotation constructors 2013-01-28 11:01:52 -08:00
ve.dm.AnnotationFactory.js Move matching code from AnnotationFactory to ModelRegistry 2013-01-22 15:51:37 -08:00
ve.dm.BranchNode.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.dm.Converter.js Fix bug where inline nodes didn't trigger wrapping 2013-02-01 16:06:17 -08:00
ve.dm.Document.js Added tests and fixed inconsistencies for empty text node handling 2013-01-29 15:13:17 -08:00
ve.dm.DocumentSlice.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.dm.DocumentSynchronizer.js Automatically prune empty text nodes 2013-01-28 17:09:56 -08:00
ve.dm.js Move matching code from AnnotationFactory to ModelRegistry 2013-01-22 15:51:37 -08:00
ve.dm.LeafNode.js Convert node rules to static properties 2013-01-18 14:51:40 -08:00
ve.dm.ModelRegistry.js Fixed documentation warning 2013-01-30 12:52:03 -08:00
ve.dm.Node.js Specify (but do not implement) the context parameter to toDataElement() 2013-01-31 14:59:59 -08:00
ve.dm.NodeFactory.js Make defaultAttributes a static property as well 2013-01-18 14:51:40 -08:00
ve.dm.Surface.js Remove range.normalize (not needed), use range.isCollapsed more often 2013-01-16 15:38:07 -08:00
ve.dm.SurfaceFragment.js Added support for passing data into annotation constructors 2013-01-28 11:01:52 -08:00
ve.dm.Transaction.js Inline ve.dm.Document.offsetContainsAnnotation 2013-01-17 12:07:14 -08:00
ve.dm.TransactionProcessor.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00