When trying to generate the alternativeText for an image element, like described in the readme, the ui plugin generates uris to the renderPreviewPageAction with the currently selected node, which is not a document.
This leads to a rendering error, as Fusion cannot resolve the document.
This needs to be either fixed in
|
$this->forward('preview', 'Frontend\Node', 'Neos.Neos', [ |
by traversing up to the closest document node, or in the ui plugin by providing the correct nodeUri.
Though in this case the controller should still check what kind of node it tries to render.
When trying to generate the
alternativeTextfor an image element, like described in the readme, the ui plugin generates uris to therenderPreviewPageActionwith the currently selected node, which is not a document.This leads to a rendering error, as Fusion cannot resolve the document.
This needs to be either fixed in
JvMTECH.AIToolkit/Classes/Controller/PageController.php
Line 17 in e6831ac
by traversing up to the closest document node, or in the ui plugin by providing the correct nodeUri.
Though in this case the controller should still check what kind of node it tries to render.