When using component slots and wrapping elements (e.g. as block), in most cases the element disappears. And when reloading the editor, the “orphaned elements” message appears. In some rare cases the block was created, but always as last item of the slot.
Unwrapping the elements also make them disappear but this time, saving and reloading the editor, no “orphaned elements” message appears.
Steps to reproduce:
Create component with slot
Edit the instance by adding elements to the slot
Try to wrap elements within the slot
Notice they are disappeared
Save and refresh Editor
Get message “orphaned elements”
To unwrap elements, manually add a block to the slot and drag an element into it.