Hello,
sorry for my bad english :-)
I'll try to explain again.
By "teaser," I mean the intro text of the article. We're using the "Insert Read More" function here so we have an introductory text and the content. In the introductory text, we use list elements (<ul><li></li></ul>), which we'd like to display in the grid.
Unfortunately, this isn't currently possible.
Exactly, by "raw," I meant the unformatted output. Furthermore, all HTML tags are removed.
You could possibly solve this in JFiltersItemType.php like this:
'teaser' => [
'type' => 'String',
'metadata' => [
'label' => trans('Teaser'),
'filters' => ['limit'],
],
'extensions' => [
'call' => __CLASS__ . '::teaser',
],
],
and
public static function teaser($item)
{
$introtext = $item->getElement('introtext');
if ($introtext) {
return $introtext;
}
$summary = $item->getElement('summary');
if ($summary) {
return $summary;
}
return '';
}