---
title: "TinyMCE 5.1.6"
description: "Release notes for TinyMCE 5.1.6"
canonical_url: "https://www.tiny.cloud/docs/tinymce/5/release-notes516/"
md_url: "https://www.tiny.cloud/docs/tinymce/5/release-notes516/index.md"
version: "5"
last_updated: "2024-04-09T10:06:54Z"
tokens: 1226
---
Important This page documents TinyMCE 5. For new projects, Tiny recommends using the latest, most up-to-date version. [See TinyMCE 8 documentation](../../latest/).
# TinyMCE 5.1.6

## Overview

TinyMCE 5.1.6 was released for TinyMCE Enterprise and Tiny Cloud on Wednesday, February 5 th, 2020. It includes TinyMCE 5.1.6 and additional changes to premium plugins. These release notes provide an overview of the changes for TinyMCE 5.1.6, including:

- [General bug fixes](#general-bug-fixes)
- [Security fixes](#security-fixes)
- [Premium Plugin changes](#premiumpluginchanges)

> **Note:** This is the Tiny Cloud and TinyMCE Enterprise release notes. For information on the latest community version of TinyMCE, see: [TinyMCE Changelog](../changelog/).

## General bug fixes

TinyMCE 5.1.6 provides the following bug fixes:

- When the editor is in `readonly` mode, it will now ensure links are properly blocked when clicked.
- The `FontSize` query value command now calculates legacy font sizes consistently with CSS font sizes.
- Changing a tables row type from `Header` to `Body` no-longer incorrectly moves the row to the bottom of the table.
- Context menus now open correctly on hybrid devices that support both touch and mouse input.
- Context menus no longer open in the wrong location when the target was the editor body.
- The `image` plugin now respects the [`automatic_uploads`](../file-image-upload/#automatic_uploads) setting when uploading local images.

## Security fixes

TinyMCE 5.1.6 provides fixes for the following security issues:

- CDATA parsing and sanitization has been improved to address a cross-site scripting (XSS) vulnerability.

## Premium Plugin changes

### Advanced Code Editor

The TinyMCE 5.1.6 release includes **Advanced Code Editor** 2.0.3.

**Advanced Code Editor** 2.0.3 provides the following bug fixes:

- The code editor gutter will no longer render on top of the content in TinyMCE 4.
- The code editor dialog will now resize responsively based on the window size in TinyMCE 5.

### Enhanced Media Embed

The TinyMCE 5.1.6 release includes **Enhanced Media Embed** 2.2.5.

**Enhanced Media Embed** 2.2.5 provides the following bug fixes:

- The [`mediaembed_max_width`](../introduction-to-mediaembed/#mediaembed_max_width) setting will now constrain the max width correctly on Internet Explorer 11.

## Upgrading to the latest version of TinyMCE 5

The procedure for upgrading to the latest version of TinyMCE 5 depends on the deployment type.

- [Upgrading Tiny Cloud](#upgradingtinycloud).
- [Upgrading TinyMCE Self-hosted manually](#upgradingtinymceself-hostedmanually).

### Upgrading Tiny Cloud

Tiny Cloud provides the latest enterprise version of TinyMCE. For information on configuring Tiny Cloud, see: [the Cloud deployment guide](../cloud-deployment-guide/).

### Upgrading TinyMCE Self-hosted manually

To upgrade to TinyMCE 5.10 using a manually downloaded package:

1. Backup the `tinymce/` directory so any customizations can be restored after the upgrade.

Customizations for TinyMCE are typically stored in the following directories:

```sh
tinymce/
├── icons/
├── langs/
├── plugins/
├── skins/
│   ├── content/
│   └── ui/
└── themes/
```
2. Download the latest version of TinyMCE.

  - For the TinyMCE Community Version, download `tinymce_<VERSION>.zip` from [Get TinyMCE - Self-hosted releases](/get-tiny/self-hosted/), where `<VERSION>` is the latest version of TinyMCE.
  - For the TinyMCE Enterprise Version, download the **TinyMCE Enterprise Bundle** from [Tiny Account > Downloads](/my-account/downloads/). The downloaded file will be named `enterprise_latest.zip`.
3. Extract the downloaded `.zip` file to a temporary location.
4. (If required) Install the latest language packs from [Get TinyMCE - Language Packages](/get-tiny/language-packages/).
5. Copy customizations to the new `tinymce/` directory. Ensure that *only custom changes* are added the new `tinymce/` directory, such as:

  - Custom icons packs
  - Custom plugins
  - Custom skins
  - Custom themes
6. Delete the existing `tinymce/` directory and replace with the new `tinymce/`.

> **Note:** To simplify the upgrade process to future versions of TinyMCE:
> 
> 1. Host the TinyMCE customizations outside of the `tinymce/` directory.
> 2. Update your TinyMCE configuration as required:
> 
> - Set the location of content CSS customizations using [`content_css`](../content-appearance/#content_css).
> - Set the location of custom plugins using [`external_plugins`](../integration-and-setup/#external_plugins).
> - Set the location of custom icon packages using [`icons_url`](../editor-appearance/#icons_url) instead of `icons`.
> - Set the location of custom localization packages using [`language_url`](../content-localization/#language_url) instead of `language`.
> - Set the location of custom skin packages using [`skin_url`](../editor-appearance/#skin_url) instead of `skin`.
> - Set the location of custom themes using [`theme_url`](../editor-appearance/#theme_url) instead of `theme`.
