Editor API / Add button to hierarchy context menu

Hey I’ve extended the editor with a custom chrome extension by following this documentation

However instead of adding a button to the viewport, I’d love to extend the context menu of the entity hierarchy. Is this possible?

Also I couldn’t get the editor ‘load’ event to work.
I think the problem is the following:
By the time I subscribe to the load event, the editor is already loaded which means the callback isn’t executed.

@KPal might have some ideas here

We have internal editor events that are used to retrieve specific UI elements in the editor but these are not official supported and subject to change

So is this generally possible? I don’t mind if there are changes in the future and it might break.

I do understand if you don’t want to share, as this is no official supported way.

It will be possible in the future as we are looking to integrate Editor Extensions for an officially supported solution

1 Like