mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +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 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
init | ||
test | ||
ui | ||
ve.BranchNode.js | ||
ve.debug.js | ||
ve.Document.js | ||
ve.Element.js | ||
ve.EventEmitter.js | ||
ve.Factory.js | ||
ve.js | ||
ve.LeafNode.js | ||
ve.NamedClassFactory.js | ||
ve.Node.js | ||
ve.Range.js | ||
ve.Registry.js |