From a5d2305fe3fcda69c6320d4b282694860aca5f1a Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 11 Dec 2023 13:26:49 +1000 Subject: [PATCH 1/2] DOC-2224: TinyMCE 6.8.2 community release. (#3024) * DOC-2224: Added 6.8.2-specific entry to . * Update modules/ROOT/pages/changelog.adoc * Update changelog.md * DOC-2224: api version bump. --- .api-version | 2 +- changelog.md | 4 ++++ modules/ROOT/pages/changelog.adoc | 9 +++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.api-version b/.api-version index 23863d3def..295ec490e5 100644 --- a/.api-version +++ b/.api-version @@ -1 +1 @@ -6.8.1 \ No newline at end of file +6.8.2 \ No newline at end of file diff --git a/changelog.md b/changelog.md index 075ecd39c1..b56e1fc058 100644 --- a/changelog.md +++ b/changelog.md @@ -8,6 +8,10 @@ The format is loosely based on [Keep a Changelog](https://keepachangelog.com/en/ - DOC-2230: add new `How to fix invalid API key in TinyMCE` page to `tinymce/docs` project. +### 2023-12-11 + +- DOC-2180: Added 6.8.2-specific entry to `changelog.adoc`. + ### 2023-12-06 - DOC-2181: add `new feature` documentation for TINY-10290 to the 6.8.1 release notes. diff --git a/modules/ROOT/pages/changelog.adoc b/modules/ROOT/pages/changelog.adoc index 714fa6a0b5..6fb10cd402 100644 --- a/modules/ROOT/pages/changelog.adoc +++ b/modules/ROOT/pages/changelog.adoc @@ -4,6 +4,15 @@ 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]. +== 6.8.2 - 2023-12-11 + +=== Fixed +* Bespoke select toolbar buttons including `fontfamily`, `fontsize`, `blocks`, and `styles` incorrectly used plural words in their accessible names. +* The `align` bespoke select toolbar button had an accessible name that was misleading and grammatically incorrect in certain cases. +* Accessible names of bespoke select toolbar buttons including `align`,`fontfamily`, `fontsize`, `blocks`, and `styles` were incorrectly translated. +* Clicking inside table cells with heavily nested content could cause the browser to hang. +* Toggling a list that contains an LI element having another list as its first child would remove the remaining content within that LI element. + == 6.8.1 - 2023-11-29 === Improved From 5b9086fcbe61265bc12f96a2e1e8a9654447e617 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Wed, 13 Dec 2023 14:16:44 +1000 Subject: [PATCH 2/2] DOC-2225: TinyMCE 6.8.2 release notes. (#3029) (#3031) * DOC-2225: TinyMCE 6.8.2 release notes. * DOC-2225: added fix documentation for TINY-9967, TINY-10380 & TINY-10414. * DOC-2225: add fix documentation for TINY-10426, TINY-10435 and TINY-10435. including removal of duplicate 6.7.2 entry in changelog.adoc. * Update modules/ROOT/pages/6.8.2-release-notes.adoc * Update modules/ROOT/pages/6.8.2-release-notes.adoc * Update modules/ROOT/pages/6.8.2-release-notes.adoc * Update modules/ROOT/pages/6.8.2-release-notes.adoc * Update modules/ROOT/pages/6.8.2-release-notes.adoc * Update modules/ROOT/pages/6.8.2-release-notes.adoc * Update modules/ROOT/pages/6.8.2-release-notes.adoc --------- Co-authored-by: spocke Co-authored-by: mkzhx --- changelog.md | 6 ++ modules/ROOT/nav.adoc | 4 + modules/ROOT/pages/6.8.2-release-notes.adoc | 89 +++++++++++++++++++++ modules/ROOT/pages/changelog.adoc | 8 -- modules/ROOT/pages/release-notes.adoc | 6 ++ 5 files changed, 105 insertions(+), 8 deletions(-) create mode 100644 modules/ROOT/pages/6.8.2-release-notes.adoc diff --git a/changelog.md b/changelog.md index b56e1fc058..a4ecfb1903 100644 --- a/changelog.md +++ b/changelog.md @@ -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-11 diff --git a/modules/ROOT/nav.adoc b/modules/ROOT/nav.adoc index 19a17b7837..f1c21463ad 100644 --- a/modules/ROOT/nav.adoc +++ b/modules/ROOT/nav.adoc @@ -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] diff --git a/modules/ROOT/pages/6.8.2-release-notes.adoc b/modules/ROOT/pages/6.8.2-release-notes.adoc new file mode 100644 index 0000000000..ac5b0525bb --- /dev/null +++ b/modules/ROOT/pages/6.8.2-release-notes.adoc @@ -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. +// #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 fixes: + +=== 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 value selected, which more clearly indicates the currently selected text alignment. + +=== 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 labels of the bespoke select toolbar buttons 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. + +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 internationalized. + +=== 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 algorithm that was causing the browser to hang. + +As a result, the browser no longer hangs, when clicking inside table cells with heavily nested content. + +=== 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[bugfix] for lists, some element structures would not recreate the `
  • ` tags when a list element was toggled using the `bullist` button in the toolbar. + +.Example structure +[source, html] +---- +
  • +
      ...
    + +
  • +---- + +As a consequence, any tags nested within the `
  • ` would be deleted from the {productname} document, resulting in content loss for the user. + +{productname} 6.8.2 addresses this by improving the representation of the list to manage this case. + +As a result, now, when toggling `
  • ` elements using the `bullist` button, content within a list is now correctly recreated the content is retained as expected. \ No newline at end of file diff --git a/modules/ROOT/pages/changelog.adoc b/modules/ROOT/pages/changelog.adoc index 6fb10cd402..ca3cc82d9d 100644 --- a/modules/ROOT/pages/changelog.adoc +++ b/modules/ROOT/pages/changelog.adoc @@ -82,14 +82,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 —
  • — 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 —
  • — 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 diff --git a/modules/ROOT/pages/release-notes.adoc b/modules/ROOT/pages/release-notes.adoc index c4d79241b1..7ffe40984f 100644 --- a/modules/ROOT/pages/release-notes.adoc +++ b/modules/ROOT/pages/release-notes.adoc @@ -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]