From 77dd6ae846a70ab188cd678b4b778528ce7534a9 Mon Sep 17 00:00:00 2001 From: Farzad Hayat Date: Tue, 2 Apr 2024 09:52:33 +1000 Subject: [PATCH 1/8] DOC-2354: Add TINY-10760 release note entry (#3197) --- modules/ROOT/pages/7.0.1-release-notes.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/ROOT/pages/7.0.1-release-notes.adoc b/modules/ROOT/pages/7.0.1-release-notes.adoc index 731c39f1d2..d83509c8e1 100644 --- a/modules/ROOT/pages/7.0.1-release-notes.adoc +++ b/modules/ROOT/pages/7.0.1-release-notes.adoc @@ -60,6 +60,21 @@ For information on the **** plugin, see xref: The {productname} {release-version} release includes an accompanying release of the **** premium plugin. From 8019660de89fd82b3b401f1498cc75baab26ac50 Mon Sep 17 00:00:00 2001 From: Farzad Hayat Date: Tue, 2 Apr 2024 11:41:38 +1000 Subject: [PATCH 2/8] DOC-2354: Add TINY-10682 release note entry (#3192) * DOC-2354: Add TINY-10682 release note entry * Improve CCFR and add example of before/after fix. * Added an example to TINY-10789 * Apply suggestions from Shan's code review Co-authored-by: shanmen-tiny * Add live demo examples for TINY-10789 * Add live demo example for TINY-10682 --------- Co-authored-by: shanmen-tiny --- .../live-demos/tiny-10682-after/index.html | 9 ++++++ .../live-demos/tiny-10682-after/index.js | 8 +++++ .../live-demos/tiny-10682-before/index.html | 9 ++++++ .../live-demos/tiny-10682-before/index.js | 8 +++++ .../live-demos/tiny-10682-initial/index.html | 9 ++++++ .../live-demos/tiny-10682-initial/index.js | 8 +++++ .../live-demos/tiny-10789-after/index.html | 9 ++++++ .../live-demos/tiny-10789-after/index.js | 8 +++++ .../live-demos/tiny-10789-before/index.html | 9 ++++++ .../live-demos/tiny-10789-before/index.js | 8 +++++ modules/ROOT/pages/7.0.1-release-notes.adoc | 31 +++++++++++++++++-- 11 files changed, 114 insertions(+), 2 deletions(-) create mode 100644 modules/ROOT/examples/live-demos/tiny-10682-after/index.html create mode 100644 modules/ROOT/examples/live-demos/tiny-10682-after/index.js create mode 100644 modules/ROOT/examples/live-demos/tiny-10682-before/index.html create mode 100644 modules/ROOT/examples/live-demos/tiny-10682-before/index.js create mode 100644 modules/ROOT/examples/live-demos/tiny-10682-initial/index.html create mode 100644 modules/ROOT/examples/live-demos/tiny-10682-initial/index.js create mode 100644 modules/ROOT/examples/live-demos/tiny-10789-after/index.html create mode 100644 modules/ROOT/examples/live-demos/tiny-10789-after/index.js create mode 100644 modules/ROOT/examples/live-demos/tiny-10789-before/index.html create mode 100644 modules/ROOT/examples/live-demos/tiny-10789-before/index.js diff --git a/modules/ROOT/examples/live-demos/tiny-10682-after/index.html b/modules/ROOT/examples/live-demos/tiny-10682-after/index.html new file mode 100644 index 0000000000..75b238b50b --- /dev/null +++ b/modules/ROOT/examples/live-demos/tiny-10682-after/index.html @@ -0,0 +1,9 @@ +
+
+

Table of Contents

+ +
+

My Heading

+
diff --git a/modules/ROOT/examples/live-demos/tiny-10682-after/index.js b/modules/ROOT/examples/live-demos/tiny-10682-after/index.js new file mode 100644 index 0000000000..3d68c5fcc6 --- /dev/null +++ b/modules/ROOT/examples/live-demos/tiny-10682-after/index.js @@ -0,0 +1,8 @@ +tinymce.init({ + selector: 'div#tiny-10682-after', + plugins: 'tableofcontents', + menubar: false, + inline: true, + toolbar: false, + readonly: true +}); \ No newline at end of file diff --git a/modules/ROOT/examples/live-demos/tiny-10682-before/index.html b/modules/ROOT/examples/live-demos/tiny-10682-before/index.html new file mode 100644 index 0000000000..20b95df7e3 --- /dev/null +++ b/modules/ROOT/examples/live-demos/tiny-10682-before/index.html @@ -0,0 +1,9 @@ +
+
+

Table of <em>Contents</em>

+ +
+

My Heading

+
diff --git a/modules/ROOT/examples/live-demos/tiny-10682-before/index.js b/modules/ROOT/examples/live-demos/tiny-10682-before/index.js new file mode 100644 index 0000000000..a25d8b5d80 --- /dev/null +++ b/modules/ROOT/examples/live-demos/tiny-10682-before/index.js @@ -0,0 +1,8 @@ +tinymce.init({ + selector: 'div#tiny-10682-before', + plugins: 'tableofcontents', + menubar: false, + inline: true, + toolbar: false, + readonly: true +}); \ No newline at end of file diff --git a/modules/ROOT/examples/live-demos/tiny-10682-initial/index.html b/modules/ROOT/examples/live-demos/tiny-10682-initial/index.html new file mode 100644 index 0000000000..75b238b50b --- /dev/null +++ b/modules/ROOT/examples/live-demos/tiny-10682-initial/index.html @@ -0,0 +1,9 @@ +
+
+

Table of Contents

+ +
+

My Heading

+
diff --git a/modules/ROOT/examples/live-demos/tiny-10682-initial/index.js b/modules/ROOT/examples/live-demos/tiny-10682-initial/index.js new file mode 100644 index 0000000000..01e33b5edb --- /dev/null +++ b/modules/ROOT/examples/live-demos/tiny-10682-initial/index.js @@ -0,0 +1,8 @@ +tinymce.init({ + selector: 'div#tiny-10682-initial', + plugins: 'tableofcontents', + menubar: false, + inline: true, + toolbar: false, + readonly: true +}); \ No newline at end of file diff --git a/modules/ROOT/examples/live-demos/tiny-10789-after/index.html b/modules/ROOT/examples/live-demos/tiny-10789-after/index.html new file mode 100644 index 0000000000..0857f1bd4b --- /dev/null +++ b/modules/ROOT/examples/live-demos/tiny-10789-after/index.html @@ -0,0 +1,9 @@ +
+
+

Table of Contents

+ +
+

My <em>Heading</em>

+
diff --git a/modules/ROOT/examples/live-demos/tiny-10789-after/index.js b/modules/ROOT/examples/live-demos/tiny-10789-after/index.js new file mode 100644 index 0000000000..0888f52699 --- /dev/null +++ b/modules/ROOT/examples/live-demos/tiny-10789-after/index.js @@ -0,0 +1,8 @@ +tinymce.init({ + selector: 'div#tiny-10789-after', + plugins: 'tableofcontents', + menubar: false, + inline: true, + toolbar: false, + readonly: true +}); \ No newline at end of file diff --git a/modules/ROOT/examples/live-demos/tiny-10789-before/index.html b/modules/ROOT/examples/live-demos/tiny-10789-before/index.html new file mode 100644 index 0000000000..1d99c7c8c6 --- /dev/null +++ b/modules/ROOT/examples/live-demos/tiny-10789-before/index.html @@ -0,0 +1,9 @@ +
+
+

Table of Contents

+ +
+

My <em>Heading</em>

+
diff --git a/modules/ROOT/examples/live-demos/tiny-10789-before/index.js b/modules/ROOT/examples/live-demos/tiny-10789-before/index.js new file mode 100644 index 0000000000..ee7f031245 --- /dev/null +++ b/modules/ROOT/examples/live-demos/tiny-10789-before/index.js @@ -0,0 +1,8 @@ +tinymce.init({ + selector: 'div#tiny-10789-before', + plugins: 'tableofcontents', + menubar: false, + inline: true, + toolbar: false, + readonly: true +}); \ No newline at end of file diff --git a/modules/ROOT/pages/7.0.1-release-notes.adoc b/modules/ROOT/pages/7.0.1-release-notes.adoc index d83509c8e1..23d89cf59d 100644 --- a/modules/ROOT/pages/7.0.1-release-notes.adoc +++ b/modules/ROOT/pages/7.0.1-release-notes.adoc @@ -93,13 +93,40 @@ The {productname} {release-version} release includes an accompanying release of This **Table of Contents** release includes the following fixes. -==== Encode header title for literal display in table of contents. +==== Encoding header of Table of Contents causing HTML source to be revealed on refresh. +// #TINY-10682 + +Previously in {productname}, the **Table of Contents** (ToC) header encoding caused special characters to be incorrectly displayed as code instead of their HTML representation. + +To address this issue, the HTML encoding has been removed. As a result, the ToC header now renders correctly as HTML even after refreshing, displaying as intended. + +For example, if the **Table of Contents** (ToC) header contained the following content with "_Contents_" emphasized as follows: + +liveDemo::tiny-10682-initial[] + +Upon refreshing the ToC, the header would change to display the HTML tags literally, exposing the underlying HTML: + +liveDemo::tiny-10682-before[] + +Now, the header maintains the intended HTML rendering even after refreshing: + +liveDemo::tiny-10682-after[] + +==== Encode header title for literal display in Table of Contents. // #TINY-10789 -Previously in {productname}, during Table of Contents (ToC) generation, heading elements containing HTML tags such as `` for italics were incorrectly rendered within the ToC itself. +Previously in {productname}, during Table of Contents (ToC) generation, heading elements containing HTML tags such as `` for italics were incorrectly rendered within the ToC itself. {productname} {release-version} addresses this issue by encoding the heading element during ToC generation. This ensures that any HTML tags present within the heading element are treated as plain text and displayed literally. +For example, if your document contained a heading element with HTML tags as string in the heading content, the ToC would previously render the heading element as follows: + +liveDemo::tiny-10789-before[] + +Now, the ToC maintains the HTML tags within the heading element as plain text, matching the heading element itself: + +liveDemo::tiny-10789-after[] + For information on the **Table of Contents** plugin, see: xref:tableofcontents.adoc[Table of Contents]. From 9824a8816a4f99ac46dd4d260c4a84c7d252eeff Mon Sep 17 00:00:00 2001 From: Farzad Hayatbakhsh Date: Thu, 4 Apr 2024 17:11:56 +1000 Subject: [PATCH 3/8] remove some unnecessary sections --- modules/ROOT/nav.adoc | 6 -- modules/ROOT/pages/7.0.1-release-notes.adoc | 77 --------------------- 2 files changed, 83 deletions(-) diff --git a/modules/ROOT/nav.adoc b/modules/ROOT/nav.adoc index c8499f0897..eddc58ac74 100644 --- a/modules/ROOT/nav.adoc +++ b/modules/ROOT/nav.adoc @@ -400,14 +400,8 @@ ** xref:release-notes.adoc[Release notes for {productname} {productmajorversion}] *** TinyMCE 7.0.1 **** xref:7.0.1-release-notes.adoc#overview[Overview] -**** xref:7.0.1-release-notes.adoc#new-premium-plugin[New Premium Plugin] -**** xref:7.0.1-release-notes.adoc#new-open-source-plugin[New Open Source Plugin] **** xref:7.0.1-release-notes.adoc#accompanying-premium-plugin-changes[Accompanying Premium Plugin changes] -**** xref:7.0.1-release-notes.adoc#accompanying-premium-plugin-end-of-life-announcement[Accompanying Premium Plugin end-of-life announcement] -**** xref:7.0.1-release-notes.adoc#accompanying-open-source-plugin-end-of-life-announcement[Accompanying Open Source Plugin end-of-life announcement] -**** xref:7.0.1-release-notes.adoc#accompanying-enhanced-skins-and-icon-packs-changes[Accompanying Enhanced Skins & Icon Packs changes] **** xref:7.0.1-release-notes.adoc#improvements[Improvements] -**** xref:7.0.1-release-notes.adoc#additions[Additions] **** xref:7.0.1-release-notes.adoc#changes[Changes] **** xref:7.0.1-release-notes.adoc#removed[Removed] **** xref:7.0.1-release-notes.adoc#bug-fixes[Bug fixes] diff --git a/modules/ROOT/pages/7.0.1-release-notes.adoc b/modules/ROOT/pages/7.0.1-release-notes.adoc index 23d89cf59d..c86a4e62b4 100644 --- a/modules/ROOT/pages/7.0.1-release-notes.adoc +++ b/modules/ROOT/pages/7.0.1-release-notes.adoc @@ -13,16 +13,8 @@ include::partial$misc/admon-releasenotes-for-stable.adoc[] {productname} {release-version} was released for {enterpriseversion} and {cloudname} on Wednesday, April 10^th^, 2024. These release notes provide an overview of the changes for {productname} {release-version}, including: -// Remove sections and section boilerplates as necessary. -// Pluralise as necessary or remove the placeholder plural marker. -* xref:new-premium-plugin[New Premium plugin] -* xref:new-open-source-plugin[New Open Source plugin] * xref:accompanying-premium-plugin-changes[Accompanying Premium plugin changes] -* xref:accompanying-premium-plugin-end-of-life-announcement[Accompanying Premium plugin end-of-life announcement] -* xref:accompanying-open-source-plugin-end-of-life-announcement[Accompanying open source plugin end-of-life-announcement] -* xref:accompanying-enhanced-skins-and-icon-packs-changes[Accompanying Enhanced Skins & Icon Packs changes] * xref:improvements[Improvements] -* xref:additions[Additions] * xref:changes[Changes] * xref:removed[Removed] * xref:bug-fixes[Bug fixes] @@ -31,30 +23,6 @@ include::partial$misc/admon-releasenotes-for-stable.adoc[] * xref:known-issues[Known issues] -[[new-premium-plugin]] -New Premium plugin - -The following new Premium plugin was released alongside {productname} {release-version}. - -=== - -The new Premium plugin, **** // description here. - -For information on the **** plugin, see xref:.adoc[]. - - -[[new-open-source-plugin]] -== New Open Source plugin - -The following new Open Source plugin was released alongside {productname} {release-version}. - -=== - -The new open source plugin, **** // description here. - -For information on the **** plugin, see xref:.adoc[]. - - [[accompanying-premium-plugin-changes]] == Accompanying Premium plugin changes @@ -130,40 +98,6 @@ liveDemo::tiny-10789-after[] For information on the **Table of Contents** plugin, see: xref:tableofcontents.adoc[Table of Contents]. -[[accompanying-premium-plugin-end-of-life-announcement]] -== Accompanying Premium plugin end-of-life announcement - -The following Premium plugin has been announced as reaching its end-of-life: - -=== - -{productname}’s xref:.adoc[] plugin will be deactivated on
, , and is no longer available for purchase. - - -[[accompanying-open-source-plugin-end-of-life-announcement]] -== Accompanying open source plugin end-of-life announcement - -The following open source plugin has been announced as reaching its end-of-life: - -=== - -{productname}’s xref:.adoc[] plugin will be deactivated on
, , and is no longer available for purchase. - - -[[accompanying-enhanced-skins-and-icon-packs-changes]] -== Accompanying Enhanced Skins & Icon Packs changes - -The {productname} {release-version} release includes an accompanying release of the **Enhanced Skins & Icon Packs**. - -=== Enhanced Skins & Icon Packs - -The **Enhanced Skins & Icon Packs** release includes the following updates: - -The **Enhanced Skins & Icon Packs** were rebuilt to pull in the changes also incorporated into the default {productname} {release-version} skin, Oxide. - -For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-and-icon-packs.adoc[Enhanced Skins & Icon Packs]. - - [[improvements]] == Improvements @@ -175,17 +109,6 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a // CCFR here. -[[additions]] -== Additions - -{productname} {release-version} also includes the following addition: - -=== -// #TINY-vwxyz1 - -// CCFR here. - - [[changes]] == Changes From 4beef8588d85421ef71ea87b17cf8508058cc862 Mon Sep 17 00:00:00 2001 From: Farzad Hayat Date: Fri, 5 Apr 2024 09:42:33 +1000 Subject: [PATCH 4/8] DOC-2354: Add TINY-10785 release note entry (#3193) * DOC-2354: Add TINY-10785 release note entry * Apply suggestions from Karl's code review Co-authored-by: Karl Kemister-Sheppard * Update entry heading Co-authored-by: tiny-ben-tran --------- Co-authored-by: Karl Kemister-Sheppard Co-authored-by: tiny-ben-tran --- modules/ROOT/pages/7.0.1-release-notes.adoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/modules/ROOT/pages/7.0.1-release-notes.adoc b/modules/ROOT/pages/7.0.1-release-notes.adoc index c86a4e62b4..4c6485886c 100644 --- a/modules/ROOT/pages/7.0.1-release-notes.adoc +++ b/modules/ROOT/pages/7.0.1-release-notes.adoc @@ -43,6 +43,23 @@ In {productname} {release-version}, this issue has been fixed. Now, when `advcod For information on the **Enhanced Code Editor** plugin, see: xref:advcode.adoc[Enhanced Code Editor]. +=== Revision History + +The {productname} {release-version} release includes an accompanying release of the **Revision History** premium plugin. + +This **Revision History** release includes the following fix. + +==== Reduce the chance of diff annotation styles being overridden by inline styles. +// #TINY-10785 + +Previously in **Revision History**, the inline CSS styles of content took precedence over the diff annotation styles. As a consequence, the changes highlighted were not distinguishable to the users. + +{productname} {release-version} addresses this issue by adding an `!important` declaration to the default annotation styles. As a result, the annotation styling properties will take precedence over the inline styles, ensuring that the changes are clearly visible to the users. + +NOTE: This fix assumes that the inline styles are not using `!important` declarations. If the inline styles are using `!important` declarations, the annotation styles will be overridden. + +For information on the **Revision History** plugin, see: xref:revisionhistory.adoc[Revision History]. + === The {productname} {release-version} release includes an accompanying release of the **** premium plugin. From bb3c8356687038aa53264b9c2090e662ffbc839b Mon Sep 17 00:00:00 2001 From: Farzad Hayat Date: Fri, 5 Apr 2024 09:44:37 +1000 Subject: [PATCH 5/8] DOC-2354: Add TINY-10784 release note entry (#3200) * DOC-2354: Add TINY-10784 release note entry * Improve release note entry to be more accurate --- modules/ROOT/pages/7.0.1-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/7.0.1-release-notes.adoc b/modules/ROOT/pages/7.0.1-release-notes.adoc index 4c6485886c..f912221582 100644 --- a/modules/ROOT/pages/7.0.1-release-notes.adoc +++ b/modules/ROOT/pages/7.0.1-release-notes.adoc @@ -34,6 +34,13 @@ The {productname} {release-version} release includes an accompanying release of This **Enhanced Code Editor** release includes the following fixes. +==== Text inside code editor was not properly rendered when using a dark {productname} skin. +// #TINY-10784 + +In previous versions of the **Enhanced Code Editor**, the text color of the code editor was inherited from the {productname} skin. This caused the light theme of the code editor to display white text on a white background when using a dark skin, such as `oxide-dark`. + +In {productname} {release-version}, this issue has been resolved. Now, the light theme of the Enhanced Code Editor will always use a dark text color, regardless of the skin being used. As a result, the light mode will render correctly and be easily readable when using a dark skin. + ==== Light mode background with `advcode_inline: true` had the wrong color when {productname} was used with a dark skin. // #TINY-10760 From 69ea862ffd2ca948789b817b137dfee82e81b755 Mon Sep 17 00:00:00 2001 From: Farzad Hayat Date: Fri, 5 Apr 2024 09:44:56 +1000 Subject: [PATCH 6/8] DOC-2354: Add TINY-10684 release note entry (#3208) --- modules/ROOT/pages/7.0.1-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/7.0.1-release-notes.adoc b/modules/ROOT/pages/7.0.1-release-notes.adoc index f912221582..7dd37c81ed 100644 --- a/modules/ROOT/pages/7.0.1-release-notes.adoc +++ b/modules/ROOT/pages/7.0.1-release-notes.adoc @@ -160,6 +160,13 @@ For information on the **Table of Contents** plugin, see: xref:tableofcontents.a {productname} {release-version} also includes the following bug fix: +=== An inline editor toolbar now behaves correctly in horizontally scrolled containers. +// #TINY-10684 + +Previously in {productname}, when using an inline editor within a horizontally scrollable container, the calculation of the inline toolbar's width was incorrect. This resulted in the toolbar's maximum width being set too small or the toolbar displaying unexpected overflow behavior. + +{productname} {release-version} resolves this issue, now, the toolbar's maximum width calculation has been fixed to span the available viewport space. As a result, the inline toolbar will now behave correctly, displaying all items when there's enough space, or hiding them behind the overflow toolbar button when necessary. + === // #TINY-vwxyz1 From 8357d4582081d9da1b5e7557048b97401d5552fb Mon Sep 17 00:00:00 2001 From: Farzad Hayat Date: Fri, 5 Apr 2024 09:47:26 +1000 Subject: [PATCH 7/8] DOC-2354: Add TINY-10715 release note entry (#3195) --- modules/ROOT/pages/7.0.1-release-notes.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/ROOT/pages/7.0.1-release-notes.adoc b/modules/ROOT/pages/7.0.1-release-notes.adoc index 7dd37c81ed..9399465a97 100644 --- a/modules/ROOT/pages/7.0.1-release-notes.adoc +++ b/modules/ROOT/pages/7.0.1-release-notes.adoc @@ -67,6 +67,21 @@ NOTE: This fix assumes that the inline styles are not using `!important` declara For information on the **Revision History** plugin, see: xref:revisionhistory.adoc[Revision History]. +=== Mentions + +The {productname} {release-version} release includes an accompanying release of the **Mentions** premium plugin. + +This **Mentions** release includes the following fix. + +=== Tapping inside a composed text on Firefox Android would not close the autocompleter. +// #TINY-10715 + +Previously in **Mentions**, when typing Korean on Firefox Android and moving the caret inside the word being typed, the auto completer menu did not close. This issue was caused by Gboard triggering an extra input even after the composition had ended. As a result, the autocompleter mistakenly interpreted it as the user starting to type again. + +In {productname} {release-version}, this issue has been fixed. Now, the autocompleter menu is properly closed when tapping inside the word being typed on Firefox Android. + +For information on the **Mentions** plugin, see: xref:mentions.adoc[Mentions]. + === The {productname} {release-version} release includes an accompanying release of the **** premium plugin. From 9f49dad495d01b5e4c441bc03f43c320c3af2b8b Mon Sep 17 00:00:00 2001 From: Farzad Hayat Date: Fri, 5 Apr 2024 09:51:23 +1000 Subject: [PATCH 8/8] DOC-2354: Add TINY-10488 release note entry (#3201) * DOC-2354: Add TINY-10488 release note entry * Apply suggestions from Mitch's code review Co-authored-by: Mitchell Crompton --------- Co-authored-by: Mitchell Crompton --- modules/ROOT/pages/7.0.1-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/7.0.1-release-notes.adoc b/modules/ROOT/pages/7.0.1-release-notes.adoc index 9399465a97..d3949c3ab0 100644 --- a/modules/ROOT/pages/7.0.1-release-notes.adoc +++ b/modules/ROOT/pages/7.0.1-release-notes.adoc @@ -175,6 +175,13 @@ For information on the **Table of Contents** plugin, see: xref:tableofcontents.a {productname} {release-version} also includes the following bug fix: +=== Toggle list behavior generated wrong HTML when the `forced_root_block` option was set to `div`. +// #TINY-10488 + +Previously in {productname}, when creating a new list item, the editor only considered default root nodes. This caused the caret to be placed incorrectly and resulted in the editor generating a new list instead of adding a list item to the existing list. + +In {productname} {release-version}, this issue has been fixed. The editor now checks for non-default root nodes, such as when `forced_root_block` is set to `div`, when creating new list items. As a result, the caret is placed correctly after the creation of the new list item, allowing the editor to add a list item instead of generating a new list. + === An inline editor toolbar now behaves correctly in horizontally scrolled containers. // #TINY-10684