makes text searchable
This commit is contained in:
parent
9e6fcfaf13
commit
ef93a17710
|
@ -79,4 +79,11 @@ class SimpleMDText extends AbstractBlockLayout
|
||||||
'html' => $parsedown->text($block->dataValue('markdown_text'))
|
'html' => $parsedown->text($block->dataValue('markdown_text'))
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getFulltextText(PhpRenderer $view, SitePageBlockRepresentation $block)
|
||||||
|
{
|
||||||
|
return strip_tags($this->render($view, $block));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue