mediawiki-extensions-Visual.../modules/ve/test/dm
Catrope bf7b243627 (bug 42121) Change markers lost for first paragraph on new page
When editing a new page, or loading an empty page into the editor, the
converter generates a paragraph so the document isn't completely empty.
This paragraph is then unwrapped on the way out, potentially destroying
change markers and generally producing strange HTML output.

Mark this paragraph with generated=empty rather than generated=wrapper,
and only unwrap it on the way out if it's still empty. This means we
cleanly round-trip empty documents (and empty list items and the like),
but if the user enters text, we create a paragraph like we're supposed
to.

Change-Id: Id0241221a67b769445676b833b5741320d99ea5f
2012-11-21 13:54:52 -08:00
..
nodes Kranitor #1: On-boarding 2012-07-27 14:40:00 -07:00
ve.dm.AnnotationFactory.test.js New annotation API: Annotation and AnnotationFactory classes 2012-10-12 15:07:02 -07:00
ve.dm.BranchNode.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.dm.Converter.test.js (bug 42121) Change markers lost for first paragraph on new page 2012-11-21 13:54:52 -08:00
ve.dm.Document.test.js Introduce meta-linmod 2012-11-02 19:06:49 -07:00
ve.dm.DocumentSynchronizer.test.js Introduce meta-linmod 2012-11-02 19:06:49 -07:00
ve.dm.example.js (bug 42121) Change markers lost for first paragraph on new page 2012-11-21 13:54:52 -08:00
ve.dm.LeafNode.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.dm.Node.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.dm.NodeFactory.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.dm.Surface.test.js Fixing Pre-Annotations 2012-11-19 17:09:08 -08:00
ve.dm.SurfaceFragment.test.js Add change marking for Parsoid's benefit 2012-11-06 10:11:11 -08:00
ve.dm.Transaction.test.js Test: Enforce # of expected assertions. 2012-10-25 22:06:07 +02:00
ve.dm.TransactionProcessor.test.js Add change marking for Parsoid's benefit 2012-11-06 10:11:11 -08:00