mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
e6c7aa4275
When you typed after a ProtectedNode that was previously at the end of a paragraph, then moved the mouse, you'd get a JS error. What happened was the typing caused a new TextNode to be created after the ProtectedNode, which caused the ParagraphNode to be rebuilt, detaching the original ProtectedNode and creating a new one. The detached ProtectedNode was still bound to mousemove on the body, and when that event fired it would try to remove its phantoms from the surface and fail because detached nodes can't get to the surface. Change-Id: I9f38776f0267645b14d7b26e2a25007cf3be8ec7 |
||
---|---|---|
.. | ||
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 |