---
title: "TinyMCE Model options"
description: "Configure the editor's content model."
canonical_url: "https://www.tiny.cloud/docs/tinymce/latest/editor-model/"
md_url: "https://www.tiny.cloud/docs/tinymce/7/editor-model/index.md"
version: "7"
last_updated: "2024-02-25T22:59:52Z"
tokens: 320
---
Important This page documents TinyMCE 7. For new projects, Tiny recommends using the latest, most up-to-date version. [See TinyMCE 8 documentation](../../latest/editor-model/).
# TinyMCE Model options

> **Warning:** TinyMCE model configuration is a future feature. The only supported model is the default (`dom`) feature. This option exist only for use in scenarios where the `dom` model cannot load automatically.

## `model`

This option allows configuring which model TinyMCE should use. The default model included with TinyMCE is **dom**. Custom models are not supported at this time.

The name of the model should match the name of the folder within the models directory of TinyMCE. If the specified model is not found, TinyMCE will not load.

**Type:** `String`

**Default value:** `'dom'`

### Example: using `model`

```js
tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  model: 'dom'
});
```

## `model_url`

This option allows specifying the location of the `dom` model file. This is useful when loading TinyMCE from one URL e.g. a CDN, while loading the model from another e.g. a local server.

**Type:** `String`

### Example: using `model_url`

```js
tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  model_url: '/mymodel/mymodel.js'
});
```
