---
title: Getting and Setting HTML Content
description: 'Get started with the KendoReact Editor and get and set its HTML content.'
components: ["editor"]
slug: content_editor
position: 3
---
# Getting and Setting HTML Content
The React Editor, part of KendoReact, enables you to programmatically get the HTML content of the Editor and set an updated version back.
The following example demonstrates how to achieve the suggested scenario by using the `getHtml` and `setHtml` functions.
{% meta height:490 %}
{% embed_file gets-and-sets-html/func/app.tsx preview %}
{% embed_file gets-and-sets-html/func/main.tsx %}
{% endmeta %}
## Suggested Links
- [React Rich Text Editor](slug://overview_editor)
- [API Reference of the Editor]({% slug api_editor_editor %})