Skip to content

Commit

Permalink
Added version 5.4.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ephox committed Jun 30, 2020
1 parent d61fb3a commit aa17e50
Show file tree
Hide file tree
Showing 103 changed files with 14,205 additions and 12,862 deletions.
35 changes: 35 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
Version 5.4.0 (2020-06-30)
Added keyboard navigation support to menus and toolbars when the editor is in a ShadowRoot #TINY-6152
Added the ability for menus to be clicked when the editor is in an open shadow root #TINY-6091
Added the `Editor.ui.styleSheetLoader` API for loading stylesheets within the Document or ShadowRoot containing the editor UI #TINY-6089
Added the `StyleSheetLoader` module to the public API #TINY-6100
Added Oxide variables for styling the `select` element and headings in dialog content #TINY-6070
Added icons for `table` column and row cut, copy, and paste toolbar buttons #TINY-6062
Added all `table` menu items to the UI registry, so they can be used by name in other menus #TINY-4866
Added new `mceTableApplyCellStyle` command to the `table` plugin #TINY-6004
Added new `table` cut, copy, and paste column editor commands and menu items #TINY-6006
Added font related Oxide variables for secondary buttons, allowing for custom styling #TINY-6061
Added new `table_header_type` setting to control how table header rows are structured #TINY-6007
Added new `table_sizing_mode` setting to replace the `table_responsive_width` setting, which has now been deprecated #TINY-6051
Added new `mceTableSizingMode` command for changing the sizing mode of a table #TINY-6000
Added new `mceTableRowType`, `mceTableColType`, and `mceTableCellType` commands and value queries #TINY-6150
Changed `advlist` toolbar buttons to only show a dropdown list if there is more than one option #TINY-3194
Changed `mceInsertTable` command and `insertTable` API method to take optional header rows and columns arguments #TINY-6012
Changed stylesheet loading, so that UI skin stylesheets can load in a ShadowRoot if required #TINY-6089
Changed the DOM location of menus so that they display correctly when the editor is in a ShadowRoot #TINY-6093
Changed the table plugin to correctly detect all valid header row structures #TINY-6007
Fixed tables with no defined width being converted to a `fixed` width table when modifying the table #TINY-6051
Fixed the `autosave` `isEmpty` API incorrectly detecting non-empty content as empty #TINY-5953
Fixed table `Paste row after` and `Paste row before` menu items not disabled when nothing was available to paste #TINY-6006
Fixed a selection performance issue with large tables on Microsoft Internet Explorer and Edge #TINY-6057
Fixed filters for screening commands from the undo stack to be case-insensitive #TINY-5946
Fixed `fullscreen` plugin now removes all classes when the editor is closed #TINY-4048
Fixed handling of mixed-case icon identifiers (names) for UI elements #TINY-3854
Fixed leading and trailing spaces lost when using `editor.selection.getContent({ format: 'text' })` #TINY-5986
Fixed an issue where changing the URL with the quicklink toolbar caused unexpected undo behavior #TINY-5952
Fixed an issue where removing formatting within a table cell would cause Internet Explorer 11 to scroll to the end of the table #TINY-6049
Fixed an issue where the `allow_html_data_urls` setting was not correctly applied #TINY-5951
Fixed the `autolink` feature so that it no longer treats a string with multiple "@" characters as an email address #TINY-4773
Fixed an issue where removing the editor would leave unexpected attributes on the target element #TINY-4001
Fixed the `link` plugin now suggest `mailto:` when the text contains an '@' and no slashes (`/`) #TINY-5941
Fixed the `valid_children` check of custom elements now allows a wider range of characters in names #TINY-5971
Version 5.3.2 (2020-06-10)
Fixed a regression introduced in 5.3.0, where `images_dataimg_filter` was no-longer called #TINY-6086
Version 5.3.1 (2020-05-27)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tinymce/tinymce",
"version": "5.3.2",
"version": "5.4.0",
"description": "Web based JavaScript HTML WYSIWYG editor control.",
"license": [
"LGPL-2.1-only"
Expand Down
10 changes: 8 additions & 2 deletions icons/default/icons.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion icons/default/icons.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tinymce",
"version": "5.3.2",
"version": "5.4.0",
"repository": {
"type": "git",
"url": "https://github.com/tinymce/tinymce-dist.git"
Expand Down
7 changes: 3 additions & 4 deletions plugins/advlist/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.3.2 (2020-06-10)
* Version: 5.4.0 (2020-06-30)
*/
(function () {
'use strict';
Expand Down Expand Up @@ -253,7 +253,7 @@
});
};
var addControl = function (editor, id, tooltip, cmd, nodeName, styles) {
if (styles.length > 0) {
if (styles.length > 1) {
addSplitButton(editor, id, tooltip, cmd, nodeName, styles);
} else {
addButton(editor, id, tooltip, cmd, nodeName);
Expand All @@ -267,8 +267,7 @@
function Plugin () {
global.add('advlist', function (editor) {
var hasPlugin = function (editor, plugin) {
var plugins = editor.settings.plugins ? editor.settings.plugins : '';
return global$1.inArray(plugins.split(/[ ,]/), plugin) !== -1;
return global$1.inArray(editor.getParam('plugins', '', 'string').split(/[ ,]/), plugin) !== -1;
};
if (hasPlugin(editor, 'lists')) {
register$1(editor);
Expand Down
Loading

0 comments on commit aa17e50

Please sign in to comment.