Skip to content

Commit 5ec510e

Browse files
authored
DOC-3243: Errors when creating new comments made the save button stuck in a saving state. (#4030)
* Docs: DOC-3243 - Errors when creating new comments made the save button stuck in a saving state. * Docs: DOC-3243 - Fix release note placement per review
1 parent 5a76d84 commit 5ec510e

1 file changed

Lines changed: 23 additions & 16 deletions

File tree

modules/ROOT/pages/8.4.0-release-notes.adoc

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,6 @@ For information on the **<Open source plugin name>** plugin, see xref:<plugincod
5757

5858
The following premium plugin updates were released alongside {productname} {release-version}.
5959

60-
=== Full Page HTML
61-
62-
The {productname} {release-version} release includes an accompanying release of the **Full Page HTML** premium plugin.
63-
64-
**Full Page HTML** includes the following addition.
65-
66-
==== New argument `fullpagehtml` to `editor.getContent()` and `editor.setContent()` APIs to only get/set the body of the content while the full page plugin is active.
67-
// #TINY-13744
68-
69-
Previously, setting and getting the editor content while the Full Page HTML plugin was active could be troublesome due to the presence of the full HTML document on all API calls, even when not needed. Attempting to get and act only on the body content (for example, for saving) was undocumented and required workarounds.
70-
71-
In {productname} {release-version}, the `fullpagehtml` option has been added to the `editor.getContent()` and `editor.setContent()` APIs. When set to `false`, this option allows getting and setting only the body content while the Full Page HTML plugin is active, without interfering with the full document structure. The document is now more resistant to accidental changes, and content can be retrieved or updated without including the full HTML document. For details, see xref:fullpagehtml.adoc#fullpagehtml-getcontent-setcontent[`fullpagehtml` option for getContent/setContent].
72-
73-
For information on the **Full Page HTML** plugin, see: xref:fullpagehtml.adoc[Full Page HTML].
74-
7560
=== Media Optimizer
7661

7762
The {productname} {release-version} release includes an accompanying release of the **Media Optimizer** premium plugin.
@@ -91,7 +76,7 @@ For information on the **Media Optimizer** plugin, see: xref:uploadcare.adoc[Med
9176

9277
The {productname} {release-version} release includes an accompanying release of the **Full Page HTML** premium plugin.
9378

94-
**Full Page HTML** includes the following fix.
79+
**Full Page HTML** includes the following fixes.
9580

9681
==== Pasting an HTML document was vulnerable to XSS attacks
9782
// #TINY-13673
@@ -100,8 +85,30 @@ A cross-site scripting (XSS) vulnerability was discovered in the Full Page HTML
10085

10186
This vulnerability has been patched in {productname} {release-version} by ensuring that content in the document `<head>` is properly encoded.
10287

88+
==== New argument `fullpagehtml` to `editor.getContent()` and `editor.setContent()` APIs to only get/set the body of the content while the full page plugin is active.
89+
// #TINY-13744
90+
91+
Previously, setting and getting the editor content while the Full Page HTML plugin was active could be troublesome due to the presence of the full HTML document on all API calls, even when not needed. Attempting to get and act only on the body content (for example, for saving) was undocumented and required workarounds.
92+
93+
In {productname} {release-version}, the `fullpagehtml` option has been added to the `editor.getContent()` and `editor.setContent()` APIs. When set to `false`, this option allows getting and setting only the body content while the Full Page HTML plugin is active, without interfering with the full document structure. The document is now more resistant to accidental changes, and content can be retrieved or updated without including the full HTML document. For details, see xref:fullpagehtml.adoc#fullpagehtml-getcontent-setcontent[`fullpagehtml` option for getContent/setContent].
94+
10395
For information on the **Full Page HTML** plugin, see: xref:fullpagehtml.adoc[Full Page HTML].
10496

97+
=== Comments
98+
99+
The {productname} {release-version} release includes an accompanying release of the **Comments** premium plugin.
100+
101+
**Comments** includes the following fix.
102+
103+
==== Errors when creating new comments made the save button stuck in a saving state.
104+
// #TINY-12224
105+
106+
Previously, when creating or editing a comment in Comments, the save button could remain in a saving state indefinitely if the save operation failed or if the component was not replaced. The saving state had no way to reset to false except by recreating the component, which misled users into thinking the operation was still in progress.
107+
108+
In {productname} {release-version}, the save logic now resets the saving state to false after the save operation completes, whether the operation succeeds or fails. The save button no longer remains stuck in a saving state.
109+
110+
For information on the **Comments** plugin, see: xref:introduction-to-tiny-comments.adoc[Comments].
111+
105112
[[accompanying-premium-plugin-end-of-life-announcement]]
106113
== Accompanying Premium plugin end-of-life announcement
107114

0 commit comments

Comments
 (0)