Jump to main content Jump to doc navigation

OnRichTextEditorInit

Other versions: 2.x (current) — Other languages: EN RU — Found a problem? Please edit this page or report an issue.

Event: OnRichTextEditorInit

Renders anytime a Richtext Editor could be used.

Service: 1 - Parser Service Events Group: Richtext Editor

Event Parameters

Name Description
editor The specified editor that the user wants to use.
elements An array of elements to transform into an RTE.

Other properties might be passed, such as:

forfrontend If passed, this will indicate to the plugin that this is to be loaded in a front-end context, not the manager.
width The requested width of the RTE.
height The requested height of the RTE.

See Also