https://discord.umbraco.com logo
#help-with-umbraco
Edit selected nodes in `contentPicker()`
# help-with-umbraco
g

gregor.tusar

10/09/2023, 8:07 AM
I am creating a custom property editor, that has an option to select some content nodes as configuration of the property. I try to use
editorService.contentPicker
editor for that job. There are two issues with it: 1.
submit
function parameter contains
selected
array, but it always includes only the clicked item and not the whole selection, so I should keep track of actually selected items manually 2. there is no option to pass already selected nodes to the editor to be able to edit the selection https://apidocs.umbraco.com/v10/ui/#/api/umbraco.services.editorService Is there any other more suitable editor for that ?