Angular HtmlEditor - converter
Allows you to convert an HTML Editor value between different markups.
Type: | undefined
Default Value: undefined
app.component.ts
app.component.html
- export class AppComponent {
- toHtml(value) {
- const result = */ Convert the value and return a string */
- return result;
- }
- fromHtml(value) {
- const result = /* Convert the value and return a string */
- return result;
- }
- }
- <dx-html-editor>
- <dxo-html-editor-converter
- (toHtml)="toHtml"
- (fromHtml)="fromHtml"
- >
- </dxo-html-editor-converter>
- </dx-html-editor>