---
title: getHtml
description: "Learn how to build custom functionality when working with the React Editor by Kendo UI with the help of the getHtml."
api_reference: true
type: inner_api
slug: api_editor_gethtml
---
# getHtml
A function that serializes the Editor State content as HTML string.
#### Parameters
##### state
EditorState | { doc: Node; }
The Editor State
#### Returns
string
- The serialized content