{productname} 5.4 was released for {enterpriseversion} and {cloudname} on Thursday, July 23rd, 2020. It includes {productname} 5.4.1 and additional changes to premium plugins. These release notes provide an overview of the changes for {productname} 5.4, including:
The following new features and enhancements were added for the {productname} 5.4 release.
The {productname} 5.4 release includes the following improvements for the table (table) plugin:
-
Adds: commands, APIs, and icons for; cut, copy, and paste columns.
-
Adds toolbar button icons for the cut, copy, and paste rows.
-
Adds a new
mceTableApplyCellStylecommand for applying selected styles to table cells. -
Adds a new
table_header_typeoption for setting the HTML structure used for table header rows. -
Adds table row, column, and cell type commands and queries.
-
Adds a new
table_sizing_modeoption and a newmceTableSizingModecommand for setting the method for measuring table cell width:fixed,relative, orresponsive. -
Extends the
mceInsertTablecommand for adding tables without the dialog.
For information on the table plugin, see: Table plugin.
For a list of:
-
Menu items, including table-related menu items and menu sections, see: Menu Items Available for {productname}.
-
Available icons, including table-related icons, see: Available icons.
-
Table plugin APIs, see: Table plugin - APIs.
-
Table plugin commands, see: Table plugin - Commands.
To simplify creating custom components and plugins, the icon look-up is now case-insensitive. This will assist with adding icons to custom toolbar buttons, menu sections, and menu items.
For list of icons provided with {productname}, see: Available icons.
For information on:
-
Creating custom UI components, see: User interface components.
-
Creating and adding a custom icon pack, see: Create an icon pack for TinyMCE.
The block_unsupported_drop option blocks unsupported images and files from being dropped into the editor. This option is enabled by default. If this option is disabled (false), users can drop an unsupported file into the editor, which will cause the browser to navigate away from the page containing the editor.
For information on the block_unsupported_drop option, see: Image & file options - block_unsupported_drop.
The following premium plugin updates were released alongside {productname} 5.4.
The {productname} 5.4 release includes an accompanying release of the Advanced Code Editor premium plugin.
Advanced Code Editor 2.1.0 provides the following improvements:
-
Added search/replace support.
-
Fixed the editor
referrer_policyoption not working when loading additional resources.
For information on the Advanced Code Editor plugin, see: Advanced Code Editor plugin.
The {productname} 5.4 release includes an accompanying release of the PowerPaste premium plugin.
PowerPaste 5.3.1 provides the following improvements:
-
Fixed PowerPaste not able to load the
wordimport.jsresource when bundled. -
Fixed the editor
referrer_policyoption not working when loading additional resources.
For information on the PowerPaste plugin, see: PowerPaste plugin.
The {productname} 5.4 release includes accompanying changes affecting the {productname} self-hosted services for the following plugins:
-
The Enhanced Media Embed plugin (
mediaembed) -
The Image Tools plugin (
imagetools) -
The Link Checker plugin (
linkchecker) -
The Spell Checker Pro plugin (
tinymcespellchecker)
The Java server-side components (ephox-spelling.war, ephox-hyperlinking.war, and ephox-image-proxy.war) have been updated to version 2.5.0.
This version requires Java 8 or higher. For information on the removal of Java 7 support, see: Removal of Java 7 support for TinyMCE 5.3 and later.
For information on:
-
The Spell Checker Pro plugin, see: Spell Checker Pro plugin.
-
The Link Checker plugin, see: Link Checker plugin.
-
The Image Tools plugin, see: Image Tools plugin.
-
The Enhanced Media Embed plugin, see: Enhanced Media Embed plugin.
-
Deploying the server-side components, see: Server-side component installation.
Version 2.5.0 provides security updates for the Java-based server-side components. To deploy the updated version of the server-side components:
-
Update your Java Application Server to the new minimum required version:
-
Eclipse Jetty 9.4 or later
-
Apache Tomcat:
-
9 or later
-
8.5.12+
-
8.0.42+
-
7.0.76+
-
-
-
Replace the existing server-side
.warfiles with the version 2.5.0.warfiles bundled with {productname} 5.4 or later.
For information on:
-
Deploying the server-side components, see: Server-side component installation.
-
Deploying the server-side components using Docker, see: Containerized service deployments.
{productname} 5.4 introduces the following minor changes:
-
Added keyboard navigation support to menus and toolbars when the editor is in a ShadowRoot.
-
Added the ability for menus to be clicked when the editor is in an open shadow root.
-
Added the
Editor.ui.styleSheetLoaderAPI for loading stylesheets within the Document or ShadowRoot containing the editor UI. -
Added the
StyleSheetLoadermodule to the public API. -
Added Oxide variables for styling the
selectelement and headings in dialog content. -
Added font related Oxide variables for secondary buttons, allowing for custom styling.
-
Changed
advlisttoolbar buttons to only show a dropdown list if there is more than one option. -
Changed stylesheet loading, so that UI skin stylesheets can load in a ShadowRoot if required.
-
Changed the DOM location of menus so that they display correctly when the editor is in a ShadowRoot.
-
Changed the table plugin to correctly detect all valid header row structures.
{productname} 5.4 provides fixes for the following bugs:
-
Fixed tables with no defined width being converted to a
fixedwidth table when modifying the table. -
Fixed the
autosaveisEmptyAPI incorrectly detecting non-empty content as empty. -
Fixed table
Paste row afterandPaste row beforemenu items not disabled when nothing was available to paste. -
Fixed a selection performance issue with large tables on Microsoft Internet Explorer and Edge.
-
Fixed filters for screening commands from the undo stack to be case-insensitive.
-
Fixed
fullscreenplugin now removes all classes when the editor is closed. -
Fixed handling of mixed-case icon identifiers (names) for UI elements.
-
Fixed leading and trailing spaces lost when using
editor.selection.getContent({ format: 'text' }). -
Fixed an issue where changing the URL with the quicklink toolbar caused unexpected undo behavior.
-
Fixed an issue where removing formatting within a table cell would cause Internet Explorer 11 to scroll to the end of the table.
-
Fixed an issue where the
allow_html_data_urlssetting was not correctly applied. -
Fixed the
autolinkfeature so that it no longer treats a string with multiple "@" characters as an email address. -
Fixed an issue where removing the editor would leave unexpected attributes on the target element.
-
Fixed the
linkplugin now suggestmailto:when the text contains an '@' and no slashes (/). -
Fixed the
valid_childrencheck of custom elements now allows a wider range of characters in names. -
Fixed the Search and Replace plugin incorrectly including zero-width caret characters in search results.
-
Fixed dragging and dropping unsupported files navigating the browser away from the editor.
-
Fixed undo levels not created on browser handled drop or paste events.
-
Fixed Oxide checklist styles not showing when printing.
-
Fixed bug with
scopeattribute not being added to the cells of header rows.
{productname} 5.4 provides fixes for the following security issues:
-
Fixed content in an iframe element parsing as DOM elements instead of text content.
The following features have been deprecated with the release of {productname} 5.4:
The free {productname} Spell Checker plugin (spellchecker) has been deprecated and will be removed in a future major release of {productname}. This includes both the editor plugin and the PHP backend program.
This change does not affect:
To develop and maintain a new spellchecking plugin based on the free {productname} Spell Checker plugin:
-
Fork the PHP backend program from the tinymce/tinymce_spellchecker_php GitHub repository.
-
Extract the Spell Checker user interface from the Spellchecker plugin directory in the tinymce/tinymce GitHub repository.
The table_responsive_width option has been deprecated with the release of {productname} 5.4. This option has been replaced by table_sizing_mode.
This section describes issues that users of {productname} 5.4 may encounter, as well as possible workarounds for these issues.
Outline
This issue affects the following options:
-
anchor_top -
anchor_bottom
When these options are set to false, the relevant anchors should not appear as autocomplete options in the link dialog. These anchors will appear in the autocomplete list when these options are set to false in {productname} 5.4.0 and {productname} 5.4.1.
For information on:
-
The
anchor_topoption, see: URL handling options -anchor_top. -
The
anchor_bottomoption, see: URL handling options -anchor_bottom.
To disable all autocomplete/typeahead URLs in the link dialog, set the typeahead_urls option to false.
For example:
tinymce.init({
selector: 'textarea',
typeahead_urls: false
});For information on the typeahead_urls option, see: Advanced editing behaviors - typeahead_urls.