Skip to content

Commit f790887

Browse files
Merge branch 'feature/7.7.0/DOC-3132' into feature/7.7.0/DOC-3132_TINY-11762
2 parents e25c581 + 1ae98f1 commit f790887

File tree

7 files changed

+157
-5
lines changed

7 files changed

+157
-5
lines changed

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

Lines changed: 57 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,50 @@ Previously in the **Image Optimizer** premium plugin, a fallback mechanism cause
163163

164164
For information on the **Image Optimizer** plugin, see: xref:uploadcare.adoc[Image Optimizer].
165165

166+
=== Revision History
167+
168+
The {productname} {release-version} release includes an accompanying release of the **Revision History** premium plugin.
169+
170+
**Revision History** includes the following addition.
171+
172+
==== New `revisionhistory_allow_restore` option to control restoration of old revisions
173+
// #TINY-11746
174+
175+
{productname} {release-version} introduces a new `revisionhistory_allow_restore` option, which provides a way to control if a user can restore revisions. By default, it is set to `+true+`, setting it to `+false+` prevents users from restoring previous versions.
176+
177+
This improvement enhances access control within the **Revision History** plugin, providing greater flexibility for managing revision restoration.
178+
179+
For more information on the **Revision History** plugin, see: xref:revisionhistory.adoc[Revision History].
180+
181+
=== Accessibility Checker
182+
183+
The {productname} {release-version} release includes an accompanying release of the **Accessibility Checker** premium plugin.
184+
185+
**Accessibility Checker** includes the following fix.
186+
187+
==== Update form validation error message color to be the same as the error text color.
188+
// #TINY-11657
189+
190+
In previous versions of the **Accessibility Checker** premium plugin, the form validation error message had insufficient color contrast in dark mode, failing to meet link:https://www.w3.org/WAI/WCAG2AA-Conformance[WCAG AA] standards and reducing visibility.
191+
192+
With the release of {productname} {release-version}, this issue has been resolved by updating the error message color to be the same as the error text color, ensuring improved visibility and compliance with link:https://www.w3.org/WAI/WCAG2AA-Conformance[WCAG AA] contrast standards.
193+
194+
For information on the **Accessibility Checker** plugin, see: xref:a11ychecker.adoc[Accessibility Checker].
195+
166196
[[improvements]]
167197
== Improvements
168198

169-
{productname} {release-version} also includes the following improvement<s>:
199+
{productname} {release-version} also includes the following improvements:
170200

171-
=== <TINY-vwxyz 1 changelog entry>
172-
// #TINY-vwxyz1
201+
=== Extended the `forceReadOnly` functionality to support the new `disabled` option in addition to readonly mode.
202+
// #TINY-11490
173203

174-
// CCFR here.
204+
In previous versions of {productname}, the editor would transition to read-only mode if the API key was missing, invalid, or if the domain was invalid. With the release of {productname} {release-version}, this behavior has been updated to instead activate disabled mode in these scenarios.
175205

206+
=== Added `link_attributes_postprocess` option that allows overriding attributes of a link inserted through the link dialog.
207+
// #TINY-11707
208+
209+
Previously in the xref:link.adoc[Link] plugin, there was no ability to override attributes of a link. With the release of {productname} {release-version}, a new option xref:link.adoc#link_attributes_postprocess[link_attributes_postprocess] has been added that allows this functionality.
176210

177211
[[additions]]
178212
== Additions
@@ -190,6 +224,11 @@ For information on the **Image Optimizer** plugin, see: xref:uploadcare.adoc[Ima
190224

191225
{productname} <x.y[.z]> also includes the following bug fix<es>:
192226

227+
=== Dialog menu dropdowns now close when scrolling the editor container.
228+
// #TINY-11398
229+
230+
Previously, dialog menu dropdowns were not positioned correctly after scrolling the editor container, causing them to remain visible even when the editor was no longer in view. This resulted in dropdowns being displayed without their corresponding dialog context. {productname} {release-version} updates the behavior to ensure that dialog menu dropdowns close on the window scroll event, preventing them from appearing out of context.
231+
193232
=== The `insertContent` API was not replacing selected non-editable elements correctly.
194233
// #TINY-11714
195234

@@ -237,6 +276,20 @@ Previously, an issue was identified where keyboard navigation using the Tab key
237276

238277
In {productname} {release-version}, this issue has been resolved by implementing more precise filtering of viable tab targets. As a result, keyboard navigation now functions smoothly without getting stuck.
239278

279+
=== The `float` property was not properly removed from the image when converting an image into a captioned image.
280+
// #TINY-11670
281+
282+
Previously, an issue occurred where toggling a caption on a floating image did not remove the float property from the image, causing the caption text to be incorrectly positioned.
283+
284+
In {productname} {release-version}, this issue has been resolved by ensuring that the float property is removed when toggling the caption. As a result, the image and caption text now align correctly.
285+
286+
=== Fixed keyboard navigation for size inputs in context forms.
287+
// #TINY-11394
288+
289+
Previously, input and slider elements in the context toolbar did not support keyboard navigation, preventing users from accessing and adjusting these elements via the keyboard.
290+
291+
With the release of {productname} {release-version}, keyboard navigation has been implemented for these elements, ensuring seamless accessibility and improved usability.
292+
240293
[[known-issues]]
241294
== Known issues
242295

modules/ROOT/pages/changelog.adoc

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,52 @@
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+
== xref:7.7.0-release-notes.adoc[7.7.0 - 2025-02-19]
8+
9+
=== Added
10+
* `link_attributes_postprocess` option that allows overriding attributes of a link that would be inserted through the link dialog.
11+
// #TINY-11707
12+
13+
=== Improved
14+
* Improved visual indication of a keyboard focus for a comment annotation when there is an image inside.
15+
// #TINY-11596
16+
* Not specifying a notification type (or specifying incorrect one) now defaults to 'info'.
17+
// #TINY-11661
18+
* Improved visual separation of comments side panel header.
19+
// #TINY-11715
20+
21+
=== Changed
22+
- Changed the `link` plugin behavior to move the cursor behind a link when inserted or edited via the UI. Patch contributed by Philipp91.
23+
// ##GH-9998
24+
25+
=== Fixed
26+
* Keyboard navigation for size inputs in context forms.
27+
// #TINY-11394
28+
* Keyboard navigation for context form sliders.
29+
// #TINY-11482
30+
* The `insertContent` API was not replacing selected non-editable elements correctly.
31+
// #TINY-11714
32+
* Context toolbar inputs had incorrect margins.
33+
// #TINY-11624
34+
* Iframe aria text used to suggest to open help dialog even when the help plugin was not enabled.
35+
// #TINY-11672
36+
* Preview Dialog incorrectly opened anchor links in a new tab.
37+
// #TINY-11740
38+
* The `float` property was not properly removed on the image when converting a image into a captioned image.
39+
// #TINY-11670
40+
* Expanding selection to a word didn't work inside inline editing host elements.
41+
// #TINY-11304
42+
* The `semantics` element in MathML was not properly retained when `annotation` elements was allowed.
43+
// #TINY-11755
44+
* It was possible to tab to a toolbar group that had all children disabled.
45+
// #TINY-11665
46+
* Keyboard navigation would get stuck on the 'more' toolbar button.
47+
// #TINY-11762
48+
* Toolbar groups had both a `title` attribute and a custom tooltip, causing overlapping tooltips.
49+
// #TINY-11768
50+
* Toolbar text field was properly rendering focus.
51+
// #TINY-11658
52+
753
== xref:7.6.1-release-notes.adoc[7.6.1 - 2025-01-22]
854

955
=== Fixed

modules/ROOT/pages/cloud-troubleshooting.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,6 @@ This message is shown when {productname} is loaded from a domain that has not be
175175

176176
==== Solution
177177

178-
Please request that your admin add this domain to the approved domains in the Customer Portal. For more information see xref:cloud-troubleshooting.adoc#domain-not-registered[Domain not registered]
178+
Please request that your admin add this domain to the approved domains in the Customer Portal. For more information see xref:cloud-troubleshooting.adoc#domain-not-registered[Domain not registered]
179+
180+
NOTE: From xref:7.6.0-release-notes.adoc[{productname} 7.6.0] onwards, the editor uses disabled mode instead of read-only mode.

modules/ROOT/pages/link.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ include::partial$configuration/link_rel_list.adoc[leveloffset=+1]
4646

4747
include::partial$configuration/link_target_list.adoc[leveloffset=+1]
4848

49+
include::partial$configuration/link_attributes_postprocess.adoc[leveloffset=+1]
50+
4951
include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[]
5052

5153
include::partial$misc/plugin-menu-item-id-boilerplate.adoc[]

modules/ROOT/pages/revisionhistory.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ include::partial$configuration/revisionhistory_fetch.adoc[leveloffset=+1]
109109

110110
include::partial$configuration/revisionhistory_fetch_revision.adoc[leveloffset=+1]
111111

112+
include::partial$configuration/revisionhistory_allow_restore.adoc[leveloffset=+1]
113+
112114
include::partial$configuration/revisionhistory_author.adoc[leveloffset=+1]
113115

114116
include::partial$configuration/revisionhistory_display_author.adoc[leveloffset=+1]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[[link_attributes_postprocess]]
2+
== `+link_attributes_postprocess+`
3+
4+
This option allows overriding attributes of an inserted link.
5+
6+
*Type:* `+Function+`
7+
8+
*Default value:* `+undefined+`
9+
10+
=== Example: using `+link_attributes_postprocess+`
11+
12+
[source,js]
13+
----
14+
tinymce.init({
15+
selector: 'textarea', // change this value according to your HTML
16+
plugins: 'link',
17+
toolbar: 'link',
18+
link_attributes_postprocess: (attrs) => {
19+
console.log(attrs);
20+
if (attrs.rel) {
21+
attrs.rel += 'noreferrer';
22+
}
23+
}
24+
});
25+
26+
----
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[[revisionhistory_allow_restore]]
2+
== `revisionhistory_allow_restore`
3+
4+
The `revisionhistory_allow_restore` option enables or disables the ability to restore a revision.
5+
6+
*Type:* `+Boolean+`
7+
8+
*Default vale:* `+true+`
9+
10+
=== Example: Using `revisionhistory_allow_restore`
11+
12+
[source,js]
13+
----
14+
tinymce.init({
15+
selector: 'textarea', // change this value according to your HTML
16+
plugins: 'revisionhistory',
17+
toolbar: 'revisionhistory',
18+
revisionhistory_fetch: () => Promise.resolve([]), // Required option for the plugin - replace with actual API request
19+
revisionhistory_allow_restore: false
20+
});
21+
----

0 commit comments

Comments
 (0)