mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 02:51:50 +00:00
9b99962215
Due to Firefox' Ctrl-A creating an outer selection (0,len) as opposed to inner select like in Chrome (1,len-1), deleting leaves the document completely empty (with no cursor anywhere in the document). However, setupSlugs() wasn't inserting a slug because the internal list still existed (so this.model.length !== 0). Using this.$.children().length instead. Bug: 50947 Change-Id: I1517ebcc5b31e2544559b851174482b0c872b24b |
||
---|---|---|
.. | ||
annotations | ||
nodes | ||
styles | ||
ve.ce.Annotation.js | ||
ve.ce.AnnotationFactory.js | ||
ve.ce.BranchNode.js | ||
ve.ce.ContentBranchNode.js | ||
ve.ce.Document.js | ||
ve.ce.DomRange.js | ||
ve.ce.FocusableNode.js | ||
ve.ce.js | ||
ve.ce.LeafNode.js | ||
ve.ce.Node.js | ||
ve.ce.NodeFactory.js | ||
ve.ce.ProtectedNode.js | ||
ve.ce.RelocatableNode.js | ||
ve.ce.ResizableNode.js | ||
ve.ce.Surface.js | ||
ve.ce.SurfaceObserver.js | ||
ve.ce.View.js |