> For the complete documentation index, see [llms.txt](https://aptitude.gitbook.io/zaubercms/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aptitude.gitbook.io/zaubercms/creating-a-website/current-content-properties/text-editor-tinymce.md).

# Text Editor (TinyMCE)

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

Please note that TinyMCE editors requite an API key. It's free to register for one, and you can do that below

{% embed url="<https://www.tiny.cloud/blog/how-to-get-tinymce-cloud-up-in-less-than-5-minutes/>" %}
How to get a TinyMCE api key
{% endembed %}

Once you have your API key, just add it to the Api Keys in the Settings section (Under General Tab), making sure your key name is **TinyMCE.** Like shown below

<figure><img src="/files/rUyC25sedejDdSSCqnAf" alt=""><figcaption><p>TinyMCE Api Key added</p></figcaption></figure>

### Settings

You can optionally choose which menu items and tool bars to show to the editor on the property settings when you have added it to the content type

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

#### Example of getting value on page

```csharp
@((MarkupString)(Content!.GetValue<string>("PropertyAliasHere") ?? string.Empty))
```

We have to use the `(MarkupString)` on HTML content in Blazor


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://aptitude.gitbook.io/zaubercms/creating-a-website/current-content-properties/text-editor-tinymce.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
