#92749Add data to HtmlViewHelper
Description
Hello Core-Team,
we have added some if-conditions into lib.parseFunc_RTE to change link-color for different colPos.
We are using the default Text.html Template of fluid_styled_content:
<f:format.html>{data.bodytext}</f:format.html>
This ViewHelper creates a new ContentObjectRenderer and initializes it with an empty data argument:
$contentObject = GeneralUtility::makeInstance(ContentObjectRenderer::class); $contentObject->start([]);
As $cObj->data is empty now, our TS if-condition on field=colPos will never match.
I prefer to add a new property to HtmlViewHelper to get if-conditions in TS works again.
Stefan