mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-13 17:48:17 +00:00
0ba7480901
This comes with a few significant changes: * A whole bunch of places in the code that focus and highlight an element in the old sidebar consider the new sidebar now. * Same when e.g. the toolbar at the bottom needs to know which part is selected. This is read from the new sidebar now. * To make this possible I had to merge the small helper class we introduced in I7bc73cc back into the dialog. It's helpful to understand how the event flow works: * You click a template name. This does nothing (does not select the element). It only triggers an event. * The event is catched by the outer container that manages all parts. From there all elements are unselected, and one selected. This call is internal and should not trigger another event. Bug: T285323 Bug: T288827 Bug: T289043 Change-Id: I4a2d2b83cf2691423d4b0e6f4487228fa3c7b56d |
||
---|---|---|
.. | ||
categories.json | ||
CustomTags.rb | ||
eg-iframe.html | ||
eg-iframe.html.template | ||
external.js | ||
mw-categories.json |