Skip to content

Commit 43c733f

Browse files
Farzad Hayatkemister85MitchC1999
authored
DOC-2465: TinyMCE 7.2.1 Release Documentation (#3367)
* DOC-2465: TinyMCE 7.2.1 Release Documentation * DOC-2466: TinyMCE 7.2.1 Release notes & community changelog (#3368) * DOC-2466: TinyMCE 7.2.1 Release notes & community changelog * DOC-2466: Add TINY-10127 release note entry (#3372) * DOC-2466: update changelog.adoc for TinyMCE 7.2.1. * DOC-2466: `Open Link` button was disabled when selection partially covered a link or when multiple links were selected. (#3379) * DOC-2466: Open Link button was disabled when selection partially covered a link or when multiple links were selected. * Update modules/ROOT/pages/7.2.1-release-notes.adoc Co-authored-by: Mitchell Crompton <[email protected]> --------- Co-authored-by: Mitchell Crompton <[email protected]> * DOC-2466: Long translations of the bottom help text would cause minor graphical issues. (#3376) * DOC-2466: Long translations of the bottom help text would cause minor graphical issues. * Update modules/ROOT/pages/7.2.1-release-notes.adoc Co-authored-by: Farzad Hayat <[email protected]> --------- Co-authored-by: Farzad Hayat <[email protected]> * DOC-2466: Text content could move unexpectedly when deleting a paragraph. (#3375) * Update modules/ROOT/pages/changelog.adoc --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> Co-authored-by: Mitchell Crompton <[email protected]> --------- Co-authored-by: Karl Kemister-Sheppard <[email protected]> Co-authored-by: Mitchell Crompton <[email protected]>
1 parent 603bf10 commit 43c733f

File tree

4 files changed

+105
-0
lines changed

4 files changed

+105
-0
lines changed

modules/ROOT/nav.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,9 @@
405405
** xref:tinymce-and-cors.adoc[Cross-Origin Resource Sharing (CORS)]
406406
* Release information
407407
** xref:release-notes.adoc[Release notes for {productname} {productmajorversion}]
408+
*** {productname} 7.2.1
409+
**** xref:7.2.1-release-notes.adoc#overview[Overview]
410+
**** xref:7.2.1-release-notes.adoc#bug-fixes[Bug fixes]
408411
*** {productname} 7.2
409412
**** xref:7.2-release-notes.adoc#overview[Overview]
410413
**** xref:7.2-release-notes.adoc#accompanying-premium-self-hosted-server-side-component-changes[Accompanying Premium self-hosted server-side component changes]
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
= {productname} {release-version}
2+
:release-version: 7.2.1
3+
:navtitle: {productname} {release-version}
4+
:description: Release notes for {productname} {release-version}
5+
:keywords: releasenotes, new, changes, bugfixes
6+
:page-toclevels: 1
7+
8+
include::partial$misc/admon-releasenotes-for-stable.adoc[]
9+
10+
11+
[[overview]]
12+
== Overview
13+
14+
{productname} {release-version} was released for {enterpriseversion} and {cloudname} on Wednesday, July 3^rd^, 2024. These release notes provide an overview of the changes for {productname} {release-version}, including:
15+
16+
* xref:bug-fixes[Bug fixes]
17+
18+
19+
[[bug-fixes]]
20+
== Bug fixes
21+
22+
{productname} {release-version} also includes the following bug fixes:
23+
24+
=== Text content could move unexpectedly when deleting a paragraph.
25+
// #TINY-10590
26+
27+
Previously, pressing backspace within specific block elements could cause the HTML structure to change unexpectedly. This issue arose because pressing the backspace key would merge content before and after a tag boundary, leading to unintended restructuring of elements within a `+<div>+`.
28+
29+
.Example of Original Content Structure
30+
[source, html]
31+
----
32+
<div>Hi ,<br><br>Thank you for contacting support.<br>
33+
<p class="p1">Pasted text.</p>
34+
<br><br>Best regards.</div>
35+
<div>Bli ,<br><br>Thank you for contacting support.<br>
36+
<p class="p1">Pasted text.</p>
37+
<br><br>Best regards.</div>
38+
----
39+
40+
after pressing backspace, the content was merged into a single `+<div>+`, which resulted in a disrupted layout and structure such as the below.
41+
42+
.Example of Unintended Merged Content Structure After Pressing Backspace
43+
[source, html]
44+
----
45+
<div>
46+
<p class="p1">Pasted text.Hi ,<br><br>Thank you for contacting support.</p>
47+
<br><br>Best regards.</div>
48+
<div>Bli ,<br><br>Thank you for contacting support.<br>
49+
<p class="p1">Pasted text.</p>
50+
<br><br>Best regards.</div>
51+
----
52+
53+
As a consequence, the content before the `+<p>+` tag was merged into the `+<p>+` tag.
54+
55+
In {productname} {release-version}, this issue has been addressed by preventing the merging of content across tag boundaries, ensuring the intended HTML structure is maintained. In addition to this change, adjustments were made to handle line breaks more effectively.
56+
57+
As a result, pressing backspace no longer reduces the number of `+<br>+` tags before `+<p>+` tag, such as "Best regards," preserving the original HTML layout.
58+
59+
=== Long translations of the bottom help text would cause minor graphical issues.
60+
// #TINY-10961
61+
62+
Previously, resizing the editor caused the statusbar to render the help text incorrectly if it was too long. This was particularly problematic for long translations, as the statusbar did not handle extended text properly, leading to visual misalignment and hiding important elements.
63+
64+
To fix this, the statusbar's CSS was updated to handle this by retaining the help text on one line and hiding any overflowing text.
65+
66+
As a result, the help text now overflows without disrupting the statusbar layout, ensuring a consistent appearance and visibility.
67+
68+
=== Open Link button was disabled when selection partially covered a link or when multiple links were selected.
69+
// #TINY-11009
70+
71+
Previously, the “Open link” toolbar button and menu item were disabled when a link was partially selected or when the selection included multiple links.
72+
73+
{productname} {release-version} addresses this issue. Now, the "Open link" toolbar button and menu item are enabled when any part of a link or multiple links are within the selection.
74+
75+
=== Cursor would shift to the start of the editor body when focus was shifted to a noneditable cell of a table.
76+
// #TINY-10127
77+
78+
Previously in {productname}, when the editor did not have focus and a non-editable cell of a table was clicked, the selection was set to the non-editable cell of the table instead of the offscreen element.
79+
80+
As a consequence, placing the selection on the non-editable cell caused the cursor to be incorrectly placed in the editor body and unexpectedly scroll to the top of the editor.
81+
82+
In {productname} {release-version}, the selection handling logic has been updated. Now, the selection is maintained on the offscreen div when necessary to prevent the selection from being changed.
83+
84+
As a result, the selection correctly shifts to the offscreen element when required, maintaining the cursor position and no longer causing the editor to scroll unexpectedly.

modules/ROOT/pages/changelog.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44

55
NOTE: This is the {productname} Community version changelog. For information about the latest {cloudname} or {enterpriseversion} Release, see: xref:release-notes.adoc[{productname} Release Notes].
66

7+
== 7.2.1 - 2024-07-03
8+
9+
=== Fixed
10+
* Text content could move unexpectedly when deleting a paragraph.
11+
// #TINY-10590
12+
* Cursor would shift to the start of the editor body when focus was shifted to a noneditable cell of a table.
13+
// #TINY-10127
14+
* Long translations of the bottom help text would cause minor graphical issues.
15+
// #TINY-10961
16+
* Open Link button was disabled when selection partially covered a link or when multiple links were selected.
17+
// #TINY-11009
18+
719
== 7.2.0 - 2024-06-19
820

921
=== Added

modules/ROOT/pages/release-notes.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ This section lists the releases for {productname} 7 and the changes made in each
99
[cols="1,1"]
1010
|===
1111

12+
a|
13+
[.lead]
14+
xref:7.2.1-release-notes.adoc#overview[{productname} 7.2.1]
15+
16+
Release notes for {productname} 7.2.1
17+
1218
a|
1319
[.lead]
1420
xref:7.2-release-notes.adoc#overview[{productname} 7.2]

0 commit comments

Comments
 (0)