HomePhabricator

Add an inDialog config option in ve.ui.Surface

Authored by Mooeypoo.

Description

Add an inDialog config option in ve.ui.Surface

When creating a surface, allow for setting a property for which
dialog the surface is in.

This is mostly helpful for certain tools that require
different operation when they are applied on the main surface
rather than a dialog surface. The best example of those is the
citation tools, which require a different operation when they
are activated within the reference dialog.

Bug: T94621
Change-Id: I709eeb0de47562990e709ba9d36ea0c5bd479ff6

Details