TinyMCE 6.0.3

These are the Tiny Cloud and TinyMCE Enterprise release notes. For information on the latest community version of TinyMCE, see the TinyMCE Changelog.

Overview

TinyMCE 6.0.3 was released for TinyMCE Enterprise and Tiny Cloud on Wednesday, June 1st, 2022. It includes TinyMCE 6.0.3. These release notes provide an overview of the changes for TinyMCE 6.0.3:

General bug fixes

TinyMCE 6.0.3 provides fixes for the following bugs:

When multiple cells were selected, removing values in the cell properties dialog did not work

Previously, when dealing with TinyMCE tables with two or more cells, the cell properties dialog box did not honour deleting values when multiple cells were selected.

If multiple table cells were selected in a TinyMCE table with two or more columns and the cell properties dialog was invoked, deleting, for example, the height value in the dialog box had no effect. However, if each cell was selected individually, invoking the cell properties dialog and deleting the height value worked as expected.

With this update, selecting multiple cells, invoking the cell properties dialog, and removing height values across the selected cells works as expected, with all cell heights deleted at once.

When multiple rows were selected, removing values in the row properties dialog did not work

Previously, when dealing with TinyMCE tables with two or more rows, the row properties dialog box did not honour deleting values when multiple rows were selected.

If multiple table rows were selected in a TinyMCE table and the row properties dialog was invoked, deleting, for example, the height value in the dialog box had no effect. However, if each row was selected individually, invoking the row properties dialog and deleting the height value worked as expected.

With this update, selecting multiple rows, invoking the row properties dialog, and removing height values across the selected rows works as expected, with all row heights deleted at once.

This is related to the near-equivalent bug regarding cell properties deletion not being honored when multiple cells were selected. The two, slightly different, behaviors are being documented separately for clarity’s sake, and because some people only encountered one or other errant behavior.

format_empty_lines did not work as documented

Previously, when format_empty_lines was set to true, lines that included no text (ie, a line consisting of just a Return) did not preserve inline formatting when saved.

So, for example, a line

<p>
<em>
<strong>
<span style="font-family: arial, helvetica, sans-serif;" ><br /></span>
</strong>
</em>
</p>

when saved, became

<p>
&nbsp;
</p>

That is, the line was preserved, but the formatting was not.

With this update, format_empty_lines: true behaves as it should (and as advertised), and formatting added to an otherwise empty line is preserved when saved.

by default format_empty_lines is set to false.

Some inline elements specified by the TinyMCE schema were not removed by default when empty

By default, the TinyMCE schema removes empty inline html elements.

Previously, however, some inline html elements — including s, u, var, cite, dfn, code, mark, q, sup, sub, and samp — were not removed when they were present but empty.

With this update, inline html elements such as those noted above will have the removeEmpty schema flag set, as expected.

The default TinyMCE schema did not include the <s> element

Previously, the default TinyMCE schema did not include the <s> element in the text inline elements section of the schema. The element was included in the full element list, however.

Consequently, although strike-through elements rendered as expected, anything that relied on the schema.getTextInlineElements() API may not have handled the <s> element correctly.

This update corrects the omission in the TinyMCE schema and <s> element is now correctly returned by the schema.getTextInlineElements() API.

Known issues

This section describes issues that users of TinyMCE 6.0.3 may encounter and possible workarounds for these issues.

There are no new known issues affecting TinyMCE 6.0.3.