I’m working on a Neos setup including multiple sites where I want my editors to be able to link between the different sites. For properties of type reference this can be accomplished by setting editorOptions.startingPoint . Shortcuts, however, use the LinkEditor, not the ReferenceEditor, where this setting is not available. Instead, in the query function in LinkEditor.js the parameter contextNode is set to $('#neos-document-metadata').data('neos-site-node-context-path'), so I’m stuck inside the current site.
I could q&d work around this by setting simply setting the parameter to '/sites', but I wonder what a more elegant solution could be? Any hints are welcome
To my knowledge there isn’t really any easy one at the moment. Closest would be to write your own inspector editor, perhaps by extending the existing one to work around this issue. However the problem is that linking to other sites has only been added in the latest version, but is still a fairly hacky solution due to limitations in the Flow routing.