Home > @activeviam/activeui-sdk > HtmlRendererImplementationProperties
HtmlRendererImplementationProperties interface
Responsible for converting plain text to HTML.
Signature:
export interface HtmlRendererImplementationProperties
Properties
Property | Type | Description |
---|---|---|
getPlaceholder | () => ReactTranslationPayload | Returns a text to be translated and used to explain the features of the renderer. |
toHtml | (plainText: string) => string | Converts the plain text to HTML and must handle escaping so that custom JavaScript cannot be injected. |