Skip to content

Commit 933ded7

Browse files
author
ephox
committed
Added version 5.6.0 release.
1 parent a436d25 commit 933ded7

File tree

118 files changed

+13659
-2109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+13659
-2109
lines changed

changelog.txt

+42
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
Version 5.6.0 (2020-11-18)
2+
Added new `BeforeOpenNotification` and `OpenNotification` events which allow internal notifications to be captured and modified before display #TINY-6528
3+
Added support for `block` and `unblock` methods on inline dialogs #TINY-6487
4+
Added new `TableModified` event which is fired whenever changes are made to a table #TINY-6629
5+
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
6+
Added support for `images_file_types` setting in the image file uploader to determine which image file extensions are valid for upload #TINY-6224
7+
Added new `format_empty_lines` setting to control if empty lines are formatted in a ranged selection #TINY-6483
8+
Added template support to the `autocompleter` for customizing the autocompleter items #TINY-6505
9+
Added new user interface `enable`, `disable`, and `isDisabled` methods #TINY-6397
10+
Added new `closest` formatter API to get the closest matching selection format from a set of formats #TINY-6479
11+
Added new `emojiimages` emoticons database that uses the twemoji CDN by default #TINY-6021
12+
Added new `emoticons_database` setting to configure which emoji database to use #TINY-6021
13+
Added new `name` field to the `style_formats` setting object to enable specifying a name for the format #TINY-4239
14+
Changed `readonly` mode to allow hyperlinks to be clickable #TINY-6248
15+
Fixed the `change` event not firing after a successful image upload #TINY-6586
16+
Fixed the type signature for the `entity_encoding` setting not accepting delimited lists #TINY-6648
17+
Fixed layout issues when empty `tr` elements were incorrectly removed from tables #TINY-4679
18+
Fixed image file extensions lost when uploading an image with an alternative extension, such as `.jfif` #TINY-6622
19+
Fixed a security issue where URLs in attributes weren't correctly sanitized #TINY-6518
20+
Fixed `DOMUtils.getParents` incorrectly including the shadow root in the array of elements returned #TINY-6540
21+
Fixed an issue where the root document could be scrolled while an editor dialog was open inside a shadow root #TINY-6363
22+
Fixed `getContent` with text format returning a new line when the editor is empty #TINY-6281
23+
Fixed table column and row resizers not respecting the `data-mce-resize` attribute #TINY-6600
24+
Fixed inserting a table via the `mceInsertTable` command incorrectly creating 2 undo levels #TINY-6656
25+
Fixed nested tables with `colgroup` elements incorrectly always resizing the inner table #TINY-6623
26+
Fixed the `visualchars` plugin causing the editor to steal focus when initialized #TINY-6282
27+
Fixed `fullpage` plugin altering text content in `editor.getContent()` #TINY-6541
28+
Fixed `fullscreen` plugin not working correctly with multiple editors and shadow DOM #TINY-6280
29+
Fixed font size keywords such as `medium` not displaying correctly in font size menus #TINY-6291
30+
Fixed an issue where some attributes in table cells were not copied over to new rows or columns #TINY-6485
31+
Fixed incorrectly removing formatting on adjacent spaces when removing formatting on a ranged selection #TINY-6268
32+
Fixed the `Cut` menu item not working in the latest version of Mozilla Firefox #TINY-6615
33+
Fixed some incorrect types in the new TypeScript declaration file #TINY-6413
34+
Fixed a regression where a fake offscreen selection element was incorrectly created for the editor root node #TINY-6555
35+
Fixed an issue where menus would incorrectly collapse in small containers #TINY-3321
36+
Fixed an issue where only one table column at a time could be converted to a header #TINY-6326
37+
Fixed some minor memory leaks that prevented garbage collection for editor instances #TINY-6570
38+
Fixed resizing a `responsive` table not working when using the column resize handles #TINY-6601
39+
Fixed incorrectly calculating table `col` widths when resizing responsive tables #TINY-6646
40+
Fixed an issue where spaces were not preserved in pre-blocks when getting text content #TINY-6448
41+
Fixed a regression that caused the selection to be difficult to see in tables with backgrounds #TINY-6495
42+
Fixed content pasted multiple times in the editor when using Microsoft Internet Explorer 11. Patch contributed by mattford #GH-4905
143
Version 5.5.1 (2020-10-01)
244
Fixed pressing the down key near the end of a document incorrectly raising an exception #TINY-6471
345
Fixed incorrect Typescript types for the `Tools` API #TINY-6475

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tinymce/tinymce",
3-
"version": "5.5.1",
3+
"version": "5.6.0",
44
"description": "Web based JavaScript HTML WYSIWYG editor control.",
55
"license": [
66
"LGPL-2.1-only"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tinymce",
3-
"version": "5.5.1",
3+
"version": "5.6.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/tinymce/tinymce-dist.git"

plugins/advlist/plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* For LGPL see License.txt in the project root for license information.
55
* For commercial licenses see https://www.tiny.cloud/
66
*
7-
* Version: 5.5.1 (2020-10-01)
7+
* Version: 5.6.0 (2020-11-18)
88
*/
99
(function () {
1010
'use strict';

plugins/advlist/plugin.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/anchor/plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* For LGPL see License.txt in the project root for license information.
55
* For commercial licenses see https://www.tiny.cloud/
66
*
7-
* Version: 5.5.1 (2020-10-01)
7+
* Version: 5.6.0 (2020-11-18)
88
*/
99
(function () {
1010
'use strict';

plugins/anchor/plugin.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/autolink/plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* For LGPL see License.txt in the project root for license information.
55
* For commercial licenses see https://www.tiny.cloud/
66
*
7-
* Version: 5.5.1 (2020-10-01)
7+
* Version: 5.6.0 (2020-11-18)
88
*/
99
(function () {
1010
'use strict';

plugins/autolink/plugin.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/autoresize/plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* For LGPL see License.txt in the project root for license information.
55
* For commercial licenses see https://www.tiny.cloud/
66
*
7-
* Version: 5.5.1 (2020-10-01)
7+
* Version: 5.6.0 (2020-11-18)
88
*/
99
(function () {
1010
'use strict';

plugins/autoresize/plugin.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/autosave/plugin.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* For LGPL see License.txt in the project root for license information.
55
* For commercial licenses see https://www.tiny.cloud/
66
*
7-
* Version: 5.5.1 (2020-10-01)
7+
* Version: 5.6.0 (2020-11-18)
88
*/
99
(function () {
1010
'use strict';
@@ -110,10 +110,8 @@
110110
};
111111
var startStoreDraft = function (editor) {
112112
var interval = getAutoSaveInterval(editor);
113-
global$1.setInterval(function () {
114-
if (!editor.removed) {
115-
storeDraft(editor);
116-
}
113+
global$1.setEditorInterval(editor, function () {
114+
storeDraft(editor);
117115
}, interval);
118116
};
119117
var restoreLastDraft = function (editor) {

0 commit comments

Comments
 (0)