mediawiki-extensions-Visual.../modules/ve
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
..
actions Fixed inspector behavior 2012-11-21 12:01:14 -08:00
ce Make entity nodes work in CE 2012-11-21 12:04:31 -08:00
dm (bug 42121) Change markers lost for first paragraph on new page 2012-11-21 13:54:52 -08:00
init (Bug 42335) Adding IE to the browser blacklist for the December release 2012-11-21 12:30:14 -08:00
test (bug 42121) Change markers lost for first paragraph on new page 2012-11-21 13:54:52 -08:00
ui Fixed inspector behavior 2012-11-21 12:01:14 -08:00
ve.Action.js Mapped tab key to indentation action 2012-11-07 16:26:13 -08:00
ve.ActionFactory.js Add ve.Action, ve.ActionFactory, subclasses 2012-10-26 14:44:17 -07:00
ve.AnnotationSet.js Fix UI for annotation API changes 2012-10-12 17:53:42 -07:00
ve.BranchNode.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Command.js Added some more key bindings for IE and Mozilla support 2012-11-07 16:49:34 -08:00
ve.CommandRegistry.js Mapped tab key to indentation action 2012-11-07 16:26:13 -08:00
ve.debug.js Setup variable ve.debug to true when ve.debug.js is loaded. 2012-10-03 18:02:31 -07:00
ve.Document.js Standards: Fix global variables and pass JSHint. 2012-10-23 00:53:48 +02:00
ve.EventEmitter.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.Factory.js Refactored commands into a registry 2012-11-07 15:52:30 -08:00
ve.js <br> isn't a block element 2012-11-14 11:27:49 -08:00
ve.LeafNode.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.Node.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.OrderedHashSet.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Position.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.Range.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Registry.js Refactored commands into a registry 2012-11-07 15:52:30 -08:00
ve.Surface.js (bug 42134) Add shields after node is attached to the live DOM 2012-11-15 14:17:12 -08:00