mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
cb4877b0d0
Detecting contextChange events was making assumptions about the previous state, and causing a mess of problems. Solution: detect contextChange events in a smarter way. We also now emit contextChange event when moving to a different node. This helps fix other issues because it's possible for the selection to be the same, but the node at that range to change, and that's a context change for sure. Example would be changing the heading level. Change-Id: I99d6fa94fae76aa940077abc9b5beacd38eb7b0b |
||
---|---|---|
.. | ||
jquery | ||
qunit | ||
rangy | ||
ve |