When using a virtual page and adding (image: ) inside e.g. textarea field and output it via kt() in my template, it seems the URL from the image is starting from the root url instead of the parent (not virtual) page.
return new Page([
'slug' => $page->uri().DS.$id, // $id is defined in the route
'parent' => $page,
'template' => 'landingvirtual-page',
'content' => [
'text' => $text,
]
]);
can that be fixed from within the route/virtual new page generation?