Back to Devexpress

ASPxClientHtmlEditor.SetHtml(html) Method

aspnet-js-aspxclienthtmleditor-dot-sethtml-x28-html-x29.md

latest623 B
Original Source

ASPxClientHtmlEditor.SetHtml(html) Method

Sets the HTML markup that represents the editor’s content.

Declaration

ts
SetHtml(
    html: string,
    clearUndoHistory?: boolean
): void

Parameters

NameTypeDescription
htmlstring

A string value that specifies the HTML markup.

| | clearUndoHistory | boolean |

true to clear the undo stack; otherwise, false.

|

See Also

HTML Editor

ASPxClientHtmlEditor Class

ASPxClientHtmlEditor Members