mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
b7ee30d4e4
* Replace surface 'transact' event with 'documentUpdate' event * Have surface listen for all document transactions and update selection as appropriate (as well as emitting 'documentUpdate') * Implement change() in terms of setSelection() ** Queue 'contextChange' events so contextChange is only emitted once ** Use this.transacting flag to prevent setSelection() (which is called because the model emits transact events) from doing too much ** Behavioral change: lock/unlock now emitted separately for transaction and selection changes Change-Id: I44425d260ec70758f99d13f99e41f5c993d260c2 |
||
---|---|---|
.. | ||
ve.init.mw.ViewPageTarget.init.js | ||
ve.init.mw.ViewPageTarget.js |