fix: render Images in preview and link share editor
Fix #296 (closed).
Provide fileId to ReadOnlyEditor and shareToken via hidden input
From @nextcloud/text 0.1.0-beta4 on ReadOnlyEditor falls back to preview urls if no session is established. The fileId is needed to compute the attachment path leading to the images.
The embedded editor component expects to find a shareToken element in the page that holds the token to the share that grants access to the current file. This token is used to retrieve images from the text images endpoint.
Edited by max-nextcloud