mediawiki-extensions-Visual.../modules/ve/ce
Catrope e6c7aa4275 Clear phantoms on teardown in ProtectedNode
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
2013-05-26 12:23:55 +02:00
..
annotations ve.Element refactor 2013-05-14 19:47:32 +00:00
nodes The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
styles Wrap pre-formatted nodes at word boundaries, not window width 2013-05-24 22:44:44 +02:00
ve.ce.Annotation.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.AnnotationFactory.js
ve.ce.BranchNode.js Introduction of setup and teardown events for ve.ce.View nodes 2013-05-14 19:47:40 +00:00
ve.ce.ContentBranchNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.Document.js Merge "Store multi byte characters as one element" 2013-05-25 09:00:49 +00:00
ve.ce.DomRange.js
ve.ce.FocusableNode.js ve.ui.Context: Add embedding feature 2013-05-16 11:23:59 -07:00
ve.ce.js Store multi byte characters as one element 2013-05-25 00:50:11 +02:00
ve.ce.LeafNode.js Introduction of setup and teardown events for ve.ce.View nodes 2013-05-14 19:47:40 +00:00
ve.ce.Node.js Refactor HTML attribute preservation 2013-05-17 20:57:33 -07:00
ve.ce.NodeFactory.js
ve.ce.ProtectedNode.js Clear phantoms on teardown in ProtectedNode 2013-05-26 12:23:55 +02:00
ve.ce.RelocatableNode.js
ve.ce.ResizableNode.js Attach resize handles to $localOverlay 2013-05-24 22:43:15 +02:00
ve.ce.Surface.js Merge "Store multi byte characters as one element" 2013-05-25 09:00:49 +00:00
ve.ce.SurfaceObserver.js Merge "Store multi byte characters as one element" 2013-05-25 09:00:49 +00:00
ve.ce.View.js Remove resize handles on surface teardown 2013-05-24 22:19:18 +02:00