Unclear if this is possible.
Is there any API or approach for opening a screen plugin via code, like the media manager?
Unclear if this is possible.
Is there any API or approach for opening a screen plugin via code, like the media manager?
For the media manager you can call cms.media.open
but other screen plugins in general don’t have an open
method from what I can see.
It’s not currently possible to do this. Technically, the media manager isn’t a screen plugin.
The active screen is currently managed entirely within the sidebar component. The sidebar queries all screen plugins, shows the menu, and internally manages which screen is active.
The toolbar does the same thing, independently! this is clearly a problem on its own.
Screen plugins predate the event bus; there’s definitely some refactoring to be done here.