Skip to content

Commit 8b80729

Browse files
Merge branch 'feature/7.6.0/DOC-2578' into feature/7.6.0/DOC-2578_TINY-11470
2 parents aa56616 + 728e153 commit 8b80729

File tree

4 files changed

+103
-7
lines changed

4 files changed

+103
-7
lines changed

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

Lines changed: 75 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,60 @@ 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-
=== <Premium plugin name 1> <Premium plugin name 1 version>
60+
=== Accessibility Checker
6161

62-
The {productname} {release-version} release includes an accompanying release of the **<Premium plugin name 1>** premium plugin.
62+
The {productname} {release-version} release includes an accompanying release of the **Accessibility Checker** premium plugin.
6363

64-
**<Premium plugin name 1>** <Premium plugin name 1 version> includes the following <fixes, changes, improvements>.
64+
**Accessibility Checker** Premium plugin includes the following fixes and improvements.
6565

66-
==== <Premium plugin name 1 change 1>
66+
==== Improve editor content highlighting when using accessibility checker
67+
// #TINY-11463
6768

68-
// CCFR here.
69+
Previously, an issue involving the accessibility checker was identified where the content area highlights did not properly meet accessibility standards. This issue caused users with vision impairments to encounter difficulty in identifying the currently focused element.
70+
71+
In {productname} {release-version}, this issue has been resolved by unifying the color palette to meet accessibility color contrast standards, ensuring that all users can easily locate the currently focused element.
72+
73+
For information on the **Accessibility Checker** plugin, see: xref:a11ychecker.adoc[Accessibility Checker].
74+
75+
=== Comments
76+
77+
The {productname} {release-version} release includes an accompanying release of the **Comments** premium plugin.
78+
79+
**Comments** includes the following fixes and improvements.
80+
81+
==== Allow mentions in comments dropdown to flow freely outside of the editor container
82+
// #TINY-11504
83+
84+
An issue was identified where the mentions in comments dropdown didn't freely expand to the available space alongside mentions in the editor. This was due to the dropdown being restricted within the sidebar area.
85+
86+
In {productname} {release-version}, this issue has been resolved by allowing the mentions in comments dropdown to expand outside the sidebar area, making full use of the available space outside the editor and improving the overall user experience.
87+
88+
==== Scroll to show action buttons when replying/editing a comment.
89+
// #TINY-11402
90+
91+
Previously, if a selected conversation card was positioned near the bottom of the sidebar, the reply/edit input field would be below the bottom of the sidebar resulting in the comment input field not being visible to the user.
92+
93+
{productname} {release-version} addresses this issue. Now, the sidebar scrolls to display the comment input field if the selected conversation card is positioned near the bottom of the sidebar. This ensures that the comment input field is always visible to the user.
94+
95+
==== Pressing Shift+Enter in Mentions in Comments dropdown should accept the active menu item
96+
// #TINY-11455
97+
98+
In previous versions of {productname}, the `Shift+Enter` key was not properly handled when used with mentions in comments. This led to a new line being inserted while the mentions dropdown remained open, resulting in inconsistent behavior compared to mentions within the editor.
6999

70-
For information on the **<Premium plugin name 1>** plugin, see: xref:<plugincode>.adoc[<Premium plugin name 1>].
100+
In {productname} {release-version}, mentions in comments now handle the `Shift+Enter` key by inserting the highlighted user into the comment text area and closing the dropdown, ensuring consistent functionality across the editor and comment areas.
101+
102+
==== Editor Focus after Deleting a Comment
103+
// #TINY-11293
104+
105+
Previously, the focus behaviour in the comments sidebar was observed to be inconsistent. When a user deleted a comment, the focus exited the comments sidebar and returned to the editor instead of returning to the conversation card. This also occurred when a new comment was created inside an existing conversation, and when an entire new conversation was created.
106+
107+
In {productname} {release-version}, the focus behaviour has now been improved in the following situations:
108+
109+
* Deleting a comment now returns the focus to the conversation card that contained the deleted comment.
110+
* Creating a new comment within an existing conversation now brings the focus to the corresponding conversation card.
111+
* Starting a new conversation now brings the focus to the newly created conversation card.
112+
113+
For information on the **Comments** plugin, see: xref:introduction-to-tiny-comments.adoc[Introduction to {companyname} Comments].
71114

72115

73116
[[accompanying-premium-plugin-end-of-life-announcement]]
@@ -112,8 +155,20 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
112155
=== <TINY-vwxyz 1 changelog entry>
113156
// #TINY-vwxyz1
114157

115-
// CCFR here.
158+
== New `+disabled+` option for disabling all user interactions
159+
160+
A new `+disabled+` option has been introduced to {productname} in version {release-version}. This option allows integrators to disable all user interactions with the editor, including cursor placement, content modifications, and UI components. When set to `+true+`, the editor behaves similarly to the readonly mode changes introduced in {productname} 7.4.0 but ensures complete non-interactivity.
116161

162+
.Example disabling all user interactions with the editor
163+
[source,js]
164+
----
165+
tinymce.init({
166+
selector: 'textarea', // Specify the target HTML element
167+
disabled: true // Disables all interactions with the editor
168+
});
169+
----
170+
171+
For more information on the `+disabled+` option, see xref:editor-important-options.adoc#disabled[Disabled] option.
117172

118173
[[additions]]
119174
== Additions
@@ -165,6 +220,19 @@ As a consequence, this caused two tooltips with identical content to appear at t
165220

166221
In {productname} {release-version}, this issue has been resolved. The `title` attribute is now automatically removed when the custom tooltip is applied, ensuring that only the custom tooltip is displayed.
167222

223+
=== Tooltip would not show for group toolbar button.
224+
// #TINY-11391
225+
226+
Previously, an issue was identified where tooltips were not displayed when hovering over toolbar group buttons. This was due to replacing the `title` attribute with an `aria-label` attribute in xref:7.0-release-notes.adoc#improved-accessibility-for-interactive-elements-with-custom-tooltips[{productname} 7.0.0] without implementing the custom tooltip behavior for the toolbar group buttons.
227+
228+
In {productname} {release-version}, this issue has been resolved by applying the custom tooltip behavior to the toolbar group buttons, ensuring that tooltips are now displayed on hover.
229+
230+
=== Numbered table context menu not properly applying changes
231+
// #TINY-11383
232+
233+
Previously, there was an issue where changes to the row type in numbered tables were not properly applied. This occurred because the action of modifying the row type from a `+contentEditable="false"+` cell was being deliberately blocked.
234+
235+
In {productname} {release-version}, this issue has been resolved by removing the restriction on changing the row type from a `+contentEditable="false"+` cell. As a result, changes to the row type are now correctly applied.
168236

169237
[[security-fixes]]
170238
== Security fixes

modules/ROOT/pages/editor-important-options.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ include::partial$configuration/external_plugins.adoc[leveloffset=+1]
3535

3636
include::partial$configuration/readonly.adoc[leveloffset=+1]
3737

38+
== Setting the editor in a disabled state
39+
40+
include::partial$configuration/disabled.adoc[leveloffset=+1]
41+
3842
== Executing custom functions while the editor starts (initializes)
3943

4044
include::partial$configuration/setup.adoc[leveloffset=+1]

modules/ROOT/pages/events.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ The following events are provided by the {productname} editor.
160160
|ObjectResized |`+{ target: HTMLElement, width: number, height: number, origin: string }+` |Fired when an object (such as an image) has finished being resized.
161161
|ObjectResizeStart |`+{ target: HTMLElement, width: number, height: number, origin: string }+` |Fired when an object (such as an image) is about to be resized.
162162
|SwitchMode |`+{ mode: string }+` |Fired when the editor mode is changed. The available modes are "design" and "readonly". Additional modes can be registered using {productname} API xref:apis/tinymce.editormode.adoc#register['tinymce.activeEditor.mode.register()'].
163+
|DisabledStateChange |+{ state: boolean }+ |Fired when the editor disabled mode state changes.
163164
|ScrollWindow |(Same data as the native https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll_event[scroll event]) |Fired when the window has scrolled.
164165
|ResizeWindow |(Same data as the native https://developer.mozilla.org/en-US/docs/Web/API/Window/resize_event[resize event]) |Fired when the window is resized.
165166
|BeforeExecCommand |`+{ command: string, ui?: boolean, value?: any }+` |Fired before a command is executed.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[[disabled]]
2+
3+
== `+disabled+`
4+
5+
Disables all user interactions with the editor (including cursor placement, content modifications, UI components). This option provides behavior similar to the changes made to {productname} in 7.4.0 readonly mode. When enabled, the editor becomes completely non-interactive.
6+
7+
To programmatically enable/disable the editor, use `+tinymce.activeEditor.options.set('disabled', false/true)+`.
8+
9+
*Type:* `+Boolean+`
10+
11+
*Default value:* `+false+`
12+
13+
*Possible values:* `+true+`, `+false+`
14+
15+
=== Example: using `+disabled+`
16+
17+
[source,js]
18+
----
19+
tinymce.init({
20+
selector: 'textarea', // change this value according to your HTML
21+
disabled: true
22+
});
23+
----

0 commit comments

Comments
 (0)