Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC-2225: TinyMCE 6.8.2 release notes. #3029

Merged
merged 10 commits into from
Dec 13, 2023
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is loosely based on [Keep a Changelog](https://keepachangelog.com/en/

### Unreleased

### 2023-12-13

- DOC-2225: added `6.8.2-release-notes.adoc` to project; updated `changelog.adoc`, `nav.adoc` and `release-notes.adoc` for the TinyMCE 6.8.2 release.

### 2023-12-08

- DOC-2230: add new `How to fix invalid API key in TinyMCE` page to `tinymce/docs` project.

### 2023-12-06
Expand Down
4 changes: 4 additions & 0 deletions modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,10 @@
** xref:tinymce-and-cors.adoc[Cross-Origin Resource Sharing (CORS)]
* Release information
** xref:release-notes.adoc[Release notes for TinyMCE 6]
*** TinyMCE 6.8.2
**** xref:6.8.2-release-notes.adoc#overview[Overview]
**** xref:6.8.2-release-notes.adoc#accompanying-premium-plugin-changes[Accompanying Premium Plugin changes]
**** xref:6.8.2-release-notes.adoc#bug-fixes[Bug fixes]
*** TinyMCE 6.8.1
**** xref:6.8.1-release-notes.adoc#overview[Overview]
**** xref:6.8.1-release-notes.adoc#accompanying-premium-plugin-changes[Accompanying Premium Plugin changes]
Expand Down
89 changes: 89 additions & 0 deletions modules/ROOT/pages/6.8.2-release-notes.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
= {productname} 6.8.2
:navtitle: {productname} 6.8.2
:description: Release notes for {productname} 6.8.2
:keywords: releasenotes, new, changes, bugfixes
:page-toclevels: 1

include::partial$misc/admon-releasenotes-for-stable.adoc[]

[[overview]]
== Overview

{productname} 6.8.2 was released for {enterpriseversion} and {cloudname} on Wednesday, December 13^th^, 2023. These release notes provide an overview of the changes for {productname} 6.8.2, including:

* xref:accompanying-premium-plugin-changes[Accompanying Premium plugin changes]
* xref:bug-fixes[Bug fixes]


[[accompanying-premium-plugin-changes]]
== Accompanying Premium plugin changes

The following premium plugin updates were released alongside {productname} 6.8.2.

=== PowerPaste 6.2.4

The {productname} 6.8.2 release includes an accompanying release of the **PowerPaste** premium plugin.

**PowerPaste** 6.2.4 includes the following fix.

==== `white-space-collapse` CSS property was not correctly supported when pasting from Google Docs.
kemister85 marked this conversation as resolved.
Show resolved Hide resolved
// #TINY-9967
From major version 114, Google Chrome and Microsoft Edge added support for the CSS4 shorthand `white-space` property. The shorthand `white-space` property would be expanded into the `white-space-collapse` and `text-wrap` properties. This resulted in PowerPaste not being able to remove the `white-space-collapse` and `text-wrap` properties from the emitted content even after `white-space: pre` is removed. This issue was particularly noticeable when copying content from Google Docs.

As of {productname} 6.8.2, PowerPaste now supports working with the shorthand `white-space` property by removing the expanded `white-space-collapse` and `text-wrap` properties when present from Google Docs content.

For information on the **PowerPaste** plugin, see: xref:introduction-to-powerpaste.adoc[PowerPaste].


[[bug-fixes]]
== Bug fixes

{productname} 6.8.2 also includes the following bug fix<es>:
kemister85 marked this conversation as resolved.
Show resolved Hide resolved

=== Bespoke select toolbar buttons including `fontfamily`, `fontsize`, `blocks`, and `styles` incorrectly used plural words in their accessible names.
// #TINY-10426

As of {productname} 6.8.1, the accessible labels of bespoke select toolbar buttons announced both the name of the button and the current value of the visible selected option. However, some bespoke button names, including `fontfamily`, `fontsize`, `blocks`, and `styles` have plural names, such as “Fonts”. This resulted in incorrect grammar when combined with the current value, an example being "Fonts Arial".

As of {productname} 6.8.2, the accessible labels of `fontfamily`, `fontsize`, `blocks`, and `styles` bespoke buttons use singular words for the names. This results in grammatically correct labels such as “Font Arial”.

=== The `align` bespoke select toolbar button had an accessible name that was misleading and grammatically incorrect in certain cases.
// #TINY-10435

As of {productname} 6.8.1, the accessible label of the `align` bespoke select toolbar button announced both the name of the button, “Align”, and the currently selected value. This would result in the accessible label of the select button to be “Align left”, “Align right”, “Align center”, or “Align justify” depending on the value selected. However, the problem with the first three labels is that they are the same as the normal align toolbar buttons. This is misleading as unlike the normal align buttons, the bespoke button does not result in the aligning action, and instead opens a dropdown. The problem with “Align justify” is that the two verbs do not make grammatical sense in terms of describing the text alignment.

As of {productname} 6.8.2, the name of the `align` bespoke select button is changed to “Alignment”, followed by the currently selected value. This results in the accessible labels being “Alignment left”, “Alignment right”, “Alignment center”, or “Alignment justify” depending on the values selected, which more clearly indicates the currently selected text alignment.
kemister85 marked this conversation as resolved.
Show resolved Hide resolved

=== Accessible names of bespoke select toolbar buttons including `align`, `fontfamily`, `fontsize`, `blocks`, and `styles` were incorrectly translated.
// #TINY-10426 #TINY-10435

As of {productname} 6.8.1, the accessible label of the `align` bespoke select toolbar button announced both the name of the button and the currently selected value, for example “Block Paragraph”. However, corresponding translation strings with placeholders were not added. This resulted in the current value being translated as expected, but not the name of the button.
kemister85 marked this conversation as resolved.
Show resolved Hide resolved

In {productname} 6.8.2, new translation strings were added to ensure names of the bespoke select toolbar buttons are translated as well, making their accessible labels appropriately translated.
kemister85 marked this conversation as resolved.
Show resolved Hide resolved

=== Clicking inside table cells with heavily nested content could cause the browser to hang.
// #TINY-10380
Previously when clicking below content that is heavily nested inside a block such as a table cell, would cause the browser to hang.

{productname} 6.8.2 addresses this, by optimizing the code responsible for the hang while updating the algorithm.
kemister85 marked this conversation as resolved.
Show resolved Hide resolved

As a result, the browser no longer hangs, when clicking inside table cells with heavily nested content.
kemister85 marked this conversation as resolved.
Show resolved Hide resolved

=== Toggling a list that contains an LI element having another list as its first child would remove the remaining content within that LI element.
// #TINY-10414
In a previous xref:6.7.2-release-notes.adoc#toggling-a-list-that-contained-a-list-item-element-li-which-in-turn-contained-another-list-item-element-as-its-first-child-removed-other-content-within-the-first-list-item-element[fix] _(toggling-a-list-that-contained-a-list-item-element-li-which-in-turn-contained-another-list-item-element-as-its-first-child-removed-other-content-within-the-first-list-item-element)_ for lists, some element structures would not recreate the `<li>` tags when a list element was toggled using the `bullist` button in the toolbar.
kemister85 marked this conversation as resolved.
Show resolved Hide resolved

.Example structure
[source, html]
----
<li>
<ul>...</ul>
<something-else/>
</li>
----

As a consequence, any tags nested within the `li` would be deleted from the {productname} document, resulting in content loss for the user.
kemister85 marked this conversation as resolved.
Show resolved Hide resolved

{productname} 6.8.2 addresses this by improving the representation of the list to manage this case.

As a result, now, when toggling `<li>` elements using the `bullist` button, content within a list is now correctly recreated the content is retained as expected.
8 changes: 0 additions & 8 deletions modules/ROOT/pages/changelog.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,6 @@ NOTE: This is the {productname} Community version changelog. For information abo
* Removed use of async for editor rendering which caused visual blinking when reloading the editor in-place.
* Toggling a list that contained a list item element — <li> — which, in turn, contained another list item element as its first child, removed other content within the first list item element.

== 6.7.2 - 2023-10-25

=== Fixed
* The function `getModifierState` did not work on events passed through the editor as expected.
* Indenting or outdenting a list item that contained non list item siblings after it would result in those siblings being removed.
* Removed use of async for editor rendering which caused visual blinking when reloading the editor in-place.
* Toggling a list that contained a list item element — <li> — which, in turn, contained another list item element as its first child, removed other content within the first list item element.

== 6.7.1 - 2023-10-19

=== Fixed
Expand Down
6 changes: 6 additions & 0 deletions modules/ROOT/pages/release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ This section lists the releases for {productname} 6 and the changes made in each
[cols="1,1"]
|===

a|
[.lead]
xref:6.8.2-release-notes.adoc#overview[{productname} 6.8.2]

Release notes for {productname} 6.8.2

a|
[.lead]
xref:6.8.1-release-notes.adoc#overview[{productname} 6.8.1]
Expand Down
Loading