Skip to content

Commit

Permalink
Added version 5.6.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ephox committed Nov 18, 2020
1 parent a436d25 commit 933ded7
Show file tree
Hide file tree
Showing 118 changed files with 13,659 additions and 2,109 deletions.
42 changes: 42 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
Version 5.6.0 (2020-11-18)
Added new `BeforeOpenNotification` and `OpenNotification` events which allow internal notifications to be captured and modified before display #TINY-6528
Added support for `block` and `unblock` methods on inline dialogs #TINY-6487
Added new `TableModified` event which is fired whenever changes are made to a table #TINY-6629
Added new `images_file_types` setting to determine which image file formats will be automatically processed into `img` tags on paste when using the `paste` plugin #TINY-6306
Added support for `images_file_types` setting in the image file uploader to determine which image file extensions are valid for upload #TINY-6224
Added new `format_empty_lines` setting to control if empty lines are formatted in a ranged selection #TINY-6483
Added template support to the `autocompleter` for customizing the autocompleter items #TINY-6505
Added new user interface `enable`, `disable`, and `isDisabled` methods #TINY-6397
Added new `closest` formatter API to get the closest matching selection format from a set of formats #TINY-6479
Added new `emojiimages` emoticons database that uses the twemoji CDN by default #TINY-6021
Added new `emoticons_database` setting to configure which emoji database to use #TINY-6021
Added new `name` field to the `style_formats` setting object to enable specifying a name for the format #TINY-4239
Changed `readonly` mode to allow hyperlinks to be clickable #TINY-6248
Fixed the `change` event not firing after a successful image upload #TINY-6586
Fixed the type signature for the `entity_encoding` setting not accepting delimited lists #TINY-6648
Fixed layout issues when empty `tr` elements were incorrectly removed from tables #TINY-4679
Fixed image file extensions lost when uploading an image with an alternative extension, such as `.jfif` #TINY-6622
Fixed a security issue where URLs in attributes weren't correctly sanitized #TINY-6518
Fixed `DOMUtils.getParents` incorrectly including the shadow root in the array of elements returned #TINY-6540
Fixed an issue where the root document could be scrolled while an editor dialog was open inside a shadow root #TINY-6363
Fixed `getContent` with text format returning a new line when the editor is empty #TINY-6281
Fixed table column and row resizers not respecting the `data-mce-resize` attribute #TINY-6600
Fixed inserting a table via the `mceInsertTable` command incorrectly creating 2 undo levels #TINY-6656
Fixed nested tables with `colgroup` elements incorrectly always resizing the inner table #TINY-6623
Fixed the `visualchars` plugin causing the editor to steal focus when initialized #TINY-6282
Fixed `fullpage` plugin altering text content in `editor.getContent()` #TINY-6541
Fixed `fullscreen` plugin not working correctly with multiple editors and shadow DOM #TINY-6280
Fixed font size keywords such as `medium` not displaying correctly in font size menus #TINY-6291
Fixed an issue where some attributes in table cells were not copied over to new rows or columns #TINY-6485
Fixed incorrectly removing formatting on adjacent spaces when removing formatting on a ranged selection #TINY-6268
Fixed the `Cut` menu item not working in the latest version of Mozilla Firefox #TINY-6615
Fixed some incorrect types in the new TypeScript declaration file #TINY-6413
Fixed a regression where a fake offscreen selection element was incorrectly created for the editor root node #TINY-6555
Fixed an issue where menus would incorrectly collapse in small containers #TINY-3321
Fixed an issue where only one table column at a time could be converted to a header #TINY-6326
Fixed some minor memory leaks that prevented garbage collection for editor instances #TINY-6570
Fixed resizing a `responsive` table not working when using the column resize handles #TINY-6601
Fixed incorrectly calculating table `col` widths when resizing responsive tables #TINY-6646
Fixed an issue where spaces were not preserved in pre-blocks when getting text content #TINY-6448
Fixed a regression that caused the selection to be difficult to see in tables with backgrounds #TINY-6495
Fixed content pasted multiple times in the editor when using Microsoft Internet Explorer 11. Patch contributed by mattford #GH-4905
Version 5.5.1 (2020-10-01)
Fixed pressing the down key near the end of a document incorrectly raising an exception #TINY-6471
Fixed incorrect Typescript types for the `Tools` API #TINY-6475
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.5.1",
"version": "5.6.0",
"description": "Web based JavaScript HTML WYSIWYG editor control.",
"license": [
"LGPL-2.1-only"
Expand Down
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.5.1",
"version": "5.6.0",
"repository": {
"type": "git",
"url": "https://github.com/tinymce/tinymce-dist.git"
Expand Down
2 changes: 1 addition & 1 deletion 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.5.1 (2020-10-01)
* Version: 5.6.0 (2020-11-18)
*/
(function () {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion plugins/advlist/plugin.min.js

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

2 changes: 1 addition & 1 deletion plugins/anchor/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.5.1 (2020-10-01)
* Version: 5.6.0 (2020-11-18)
*/
(function () {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion plugins/anchor/plugin.min.js

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

2 changes: 1 addition & 1 deletion plugins/autolink/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.5.1 (2020-10-01)
* Version: 5.6.0 (2020-11-18)
*/
(function () {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion plugins/autolink/plugin.min.js

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

2 changes: 1 addition & 1 deletion plugins/autoresize/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.5.1 (2020-10-01)
* Version: 5.6.0 (2020-11-18)
*/
(function () {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion plugins/autoresize/plugin.min.js

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

8 changes: 3 additions & 5 deletions plugins/autosave/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.5.1 (2020-10-01)
* Version: 5.6.0 (2020-11-18)
*/
(function () {
'use strict';
Expand Down Expand Up @@ -110,10 +110,8 @@
};
var startStoreDraft = function (editor) {
var interval = getAutoSaveInterval(editor);
global$1.setInterval(function () {
if (!editor.removed) {
storeDraft(editor);
}
global$1.setEditorInterval(editor, function () {
storeDraft(editor);
}, interval);
};
var restoreLastDraft = function (editor) {
Expand Down
Loading

0 comments on commit 933ded7

Please sign in to comment.