change palette in an eventlistener
fritzmg opened this issue · 3 comments
fritzmg commented
If an extension provides an additional module or content element and it is loaded after this extension, then the palette changes won't be applied to those, since the palette does not exist yet.
Thus it would be better to use an eventlistener with a very low priority to ensure that you can apply the palette changes to all modules and content elements.
richardhj commented
Like the onload_callback?
fritzmg commented
Yeah, but you would have to register that for all tables, which then again depends on the loading order...