contao/core — comment on commit 19c37fdca3fe6bc49d69185178a0a6b5d4af70e4
File: contao/contao-uncompressed.js line 490
By aschempp:

Why don't you use the "subpalette" event?