Describe the bug
The embedded editor in preview mode via NcReferenceWidget doesn't know about a fileId and therefore has not AttachmentsResolver. That results in attachments/images not being loaded.
To Reproduce
Steps to reproduce the behavior:
- Create a Text document with an image
- Add the internal link to this document to another Text document or a Talk conversation
- If added to anoter Text document, turn the link into a preview
- See error "Attachment source was not resolved"
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Server details:
- Nextcloud version: 30.0.0rc2