TinyMCE 5.4.2

Overview

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

This is the Tiny Cloud and TinyMCE Enterprise release notes. For information on the latest community version of TinyMCE, see: TinyMCE Changelog.

General bug fixes

TinyMCE 5.4.2 provides fixes for the following bugs:

  • Fixed the editor not resizing when resizing the browser window in fullscreen mode.

  • Fixed clicking on notifications causing inline editors to hide.

  • Fixed an issue where link URLs could not be deleted or edited in the link dialog in some cases.

  • Fixed a regression where setting the anchor_top or anchor_bottom options to false was not working.

  • Fixed the anchor plugin not supporting the allow_html_in_named_anchor option.

  • Fixed an exception thrown when removing inline formats that contained additional styles or classes.

  • Fixed an exception thrown when positioning the context toolbar on Internet Explorer 11 in some edge cases.

  • Fixed inline formats not removed when more than one removeformat format rule existed.

  • Fixed an issue where spaces were sometimes removed when removing formatting on nearby text.

  • Fixed the list toolbar buttons not showing as active when a list is selected.

  • Fixed an issue where the UI would sometimes not be shown or hidden when calling the show or hide API methods on the editor.

  • Fixed the list type style not retained when copying list items.

  • Fixed the Paste plugin converting tabs in plain text to a single space character. A paste_tab_spaces option has been included for setting the number of spaces used to replace a tab character.

Accompanying Premium Plugin changes

The following premium plugins updates were released alongside TinyMCE 5.4.2.

PowerPaste 5.3.2

The TinyMCE 5.4.2 release includes an accompanying release of the PowerPaste premium plugin.

PowerPaste 5.3.2 provides the following bug fixes:

  • Fixed an exception thrown on IE 11 due to using String.startsWith.

  • Fixed an issue where lists would become corrupt on IE 11 due to invalid empty font elements.

  • Fixed multiple new lines collapsing into a single new line when pasting plain text.

  • Fixed cut and copy not working with table selections.

  • Fixed the PowerPaste plugin converting tabs in plain text to a single space character. A paste_tab_spaces option has been included for setting the number of spaces used to replace a tab character.

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

Tiny Cloud provides the latest enterprise version of TinyMCE. For information on configuring Tiny Cloud, see: the 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:

    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, where <VERSION> is the latest version of TinyMCE.

    • For the TinyMCE Enterprise Version, download the TinyMCE Enterprise Bundle from Tiny 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.

  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/.

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.

    • Set the location of custom plugins using external_plugins.

    • Set the location of custom icon packages using icons_url instead of icons.

    • Set the location of custom localization packages using language_url instead of language.

    • Set the location of custom skin packages using skin_url instead of skin.

    • Set the location of custom themes using theme_url instead of theme.