Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Feb 25, 2025
1 parent 5e65e3f commit fd97ddf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/classic-ui/tinymce-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,13 @@ See [`sandbox_iframes_exclusions`](https://www.tiny.cloud/docs/tinymce/latest/co

## Insert preconfigured HTML blocks

You can add custom HTML blocks in TinyMCE and they can be inserted in your content using the TinyMCE insert template menu option.
You can add custom HTML blocks in TinyMCE.
You can insert them in your content using the TinyMCE insert template menu option.

This option is best for system administrators and developers who write their own add-ons to ease reproducibility.

You can add a GenericSetup configuration file to your add-on, such as {file}`profiles/default/registry/tinymce.xml`, with the configuration of the HTML blocks.
The following example adds three HTML files, each of which contains its custom HTML block.

```xml
<registry>
Expand All @@ -194,9 +196,5 @@ You can add a GenericSetup configuration file to your add-on, such as {file}`pro
]
</value>
</record>

</registry>
```

In this example, we are adding 3 HTML files that contain the a custom HTML.

0 comments on commit fd97ddf

Please sign in to comment.