> For the complete documentation index, see [llms.txt](https://enhancio.gitbook.io/tinymce-rich-text-editor-for-bubble/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enhancio.gitbook.io/tinymce-rich-text-editor-for-bubble/getting-started/how-to-load-and-save-the-editor-content.md).

# How to Load and Save the Editor Content

You will probably need to save the HTML content from the editor element to the database or using API in your app. Then you will also need to load that content from the database to display it in the editor. We offer two ways how to do that.

### How to configure the editor element to load and save the content:

**Option 1 (suggested):** If you need more control over the content saving/loading and avoid possible unwanted behavior, set-up the following:

* To load the data to the editor, use [Initial content](/tinymce-rich-text-editor-for-bubble/element-reference/fields.md#initial-content) element field action. Alternatively, you can use [Set content](/tinymce-rich-text-editor-for-bubble/element-reference/actions/set-content.md) action.

<figure><img src="/files/0TOxmcu9N3YaedYKtc3R" alt=""><figcaption></figcaption></figure>

* To store editor data, use [content changed](/tinymce-rich-text-editor-for-bubble/element-reference/events.md#content-changed) event and [html content](/tinymce-rich-text-editor-for-bubble/element-reference/states.md#html-content) state in your workflow.

<figure><img src="/files/i25prgUsA6otYPnbTtAy" alt=""><figcaption></figcaption></figure>

**Option 2 (easier):** The easiest way is to use 'Enable auto-binding on parent element's thing' feature. See Bubble documentation for more details.

<figure><img src="/files/kJ8amOdyqknzOq3WQwbc" alt=""><figcaption></figcaption></figure>

***

To display the HTML content created by the TinyMCE plugin outside of the editor, see:

{% content-ref url="/pages/5wzzIVp9pDvpladXqnB9" %}
[Render TinyMCE Content Outside the Editor](/tinymce-rich-text-editor-for-bubble/getting-started/render-tinymce-content-outside-the-editor.md)
{% endcontent-ref %}
