mediawiki-extensions-Visual.../modules/ve/dm
Ed Sanders 62e9b6a939 Prevent content selections ending up inside handlesOwnChildren nodes
The delete logic sees the caption inside the image as a valid place to
put a cursor and therefore a valid range to delete up to. This means
paragraphs can be merged into image captions by backspacing them in.

Add in a flag that keeps track of whether we are in a handlesOwnChildren
node so we can skip over them.

Bug: 57927
Change-Id: I19e91d2d3a871806d207cbd419f4a45e41d69dc0
2013-12-05 16:45:28 +00:00
..
annotations Get rid of dmRendering hack in ve.ce.MWInternalLinkAnnotation 2013-10-28 15:49:08 +00:00
lineardata Prevent content selections ending up inside handlesOwnChildren nodes 2013-12-05 16:45:28 +00:00
metaitems Remove ve.{inheritClass,mixinClass} and use OO instead 2013-10-18 18:58:08 +02:00
nodes doc: Adding missing @static to a static dm.GeneratedContentNode method 2013-10-23 22:08:47 +02:00
ve.dm.Annotation.js doc: Get rid of 'static' property container in jsduck index 2013-11-19 10:21:39 +00:00
ve.dm.AnnotationFactory.js Remove ve.Factory and ve.Registry and use oojs instead 2013-10-22 19:15:18 +00:00
ve.dm.AnnotationSet.js Remove simpleArray utilities from ve.js and use oojs instead 2013-10-23 03:26:53 +02:00
ve.dm.BranchNode.js Rename @emits to @fires so we're forward compatible with JSDuck 5 2013-10-22 19:11:16 +00:00
ve.dm.Converter.js Store inner whitespace of the body and compare it on conversion 2013-10-31 17:09:06 +01:00
ve.dm.DataString.js Remove ve.{inheritClass,mixinClass} and use OO instead 2013-10-18 18:58:08 +02:00
ve.dm.Document.js Rich paste 2013-11-26 18:23:12 +00:00
ve.dm.DocumentSlice.js Rich paste 2013-11-26 18:23:12 +00:00
ve.dm.DocumentSynchronizer.js Remove ve.getHash and use getHash from oojs instead 2013-10-22 19:14:23 +00:00
ve.dm.IndexValueStore.js Remove ve.getHash and use getHash from oojs instead 2013-10-22 19:14:23 +00:00
ve.dm.InternalList.js Resolve rendered URLs according to the provided <base> 2013-10-28 15:16:05 +00:00
ve.dm.js
ve.dm.LeafNode.js Remove ve.{inheritClass,mixinClass} and use OO instead 2013-10-18 18:58:08 +02:00
ve.dm.LinearData.js Plain text paste with paste special 2013-11-26 18:23:58 +00:00
ve.dm.MetaItem.js doc: Get rid of 'static' property container in jsduck index 2013-11-19 10:21:39 +00:00
ve.dm.MetaItemFactory.js Remove ve.Factory and ve.Registry and use oojs instead 2013-10-22 19:15:18 +00:00
ve.dm.MetaList.js Merge "Fix reference to insertItem() in MetaList, was renamed to insertMeta()" 2013-11-20 11:31:37 +00:00
ve.dm.Model.js doc: Get rid of 'static' property container in jsduck index 2013-11-19 10:21:39 +00:00
ve.dm.ModelRegistry.js dm.ModelRegistry: Fix documentation for #addType 2013-10-31 01:30:07 +01:00
ve.dm.Node.js Rich paste 2013-11-26 18:23:12 +00:00
ve.dm.NodeFactory.js Remove ve.Factory and ve.Registry and use oojs instead 2013-10-22 19:15:18 +00:00
ve.dm.Surface.js Remove SurfaceObserver locking (unused) 2013-10-25 18:29:49 +01:00
ve.dm.SurfaceFragment.js .change( null, foo ) -> .setSelection( foo ) 2013-10-25 18:29:49 +01:00
ve.dm.Transaction.js Fix JS errors when inserting references 2013-12-02 11:35:00 -08:00
ve.dm.TransactionProcessor.js Get rid of 'reversed' flag on transactions 2013-10-02 19:37:08 -07:00