BeforeTransformTextForRichTextEditorEvent

Modify data when retrieving content from the database and pass to the rich-text-editor (RTE). As opposed to AfterTransformTextForRichTextEditorEvent this event is executed before TYPO3 applied any kind of internal transformations like for links.

For a detailed description on how to use this event, see the corresponding after event: AfterTransformTextForRichTextEditorEvent.

For an example see Example: Transform a text before saving to database.

API of BeforeTransformTextForRichTextEditorEvent

class BeforeTransformTextForRichTextEditorEvent
Fully qualified name
\TYPO3\CMS\Core\Html\Event\BeforeTransformTextForRichTextEditorEvent

Event that is fired before RteHtmlParser modified the HTML input from the database to the RTE editor (for example transforming linebreaks)

getHtmlContent ( )
Returns
string
setHtmlContent ( string $htmlContent)
param $htmlContent

the htmlContent

getInitialHtmlContent ( )
Returns
string
getProcessingConfiguration ( )
Returns
array