Skip to content

Commit 2d6b370

Browse files
Merge branch 'feature/7.6.0/DOC-2578' into feature/7.6.0/DOC-2578_TINY-11504
2 parents 706d548 + 2bc796e commit 2d6b370

File tree

4 files changed

+84
-5
lines changed

4 files changed

+84
-5
lines changed

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

Lines changed: 56 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,48 @@ 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+
=== Accessibility Checker
61+
62+
The {productname} {release-version} release includes an accompanying release of the **Accessibility Checker** premium plugin.
63+
64+
**Accessibility Checker** Premium plugin includes the following fixes and improvements.
65+
66+
==== Improve editor content highlighting when using accessibility checker
67+
// #TINY-11463
68+
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+
6075
=== Comments
6176

6277
The {productname} {release-version} release includes an accompanying release of the **Comments** premium plugin.
6378

6479
**Comments** includes the following fixes and improvements.
6580

6681
==== Allow mentions in comments dropdown to flow freely outside of the editor container
82+
// #TINY-11504
6783

6884
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.
6985

7086
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.
7187

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.
99+
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+
72102
For information on the **Comments** plugin, see: xref:introduction-to-tiny-comments.adoc[Introduction to {companyname} Comments].
73103

74104

@@ -114,8 +144,20 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
114144
=== <TINY-vwxyz 1 changelog entry>
115145
// #TINY-vwxyz1
116146

117-
// CCFR here.
147+
== New `+disabled+` option for disabling all user interactions
148+
149+
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.
118150

151+
.Example disabling all user interactions with the editor
152+
[source,js]
153+
----
154+
tinymce.init({
155+
selector: 'textarea', // Specify the target HTML element
156+
disabled: true // Disables all interactions with the editor
157+
});
158+
----
159+
160+
For more information on the `+disabled+` option, see xref:editor-important-options.adoc#disabled[Disabled] option.
119161

120162
[[additions]]
121163
== Additions
@@ -153,12 +195,21 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
153195
[[bug-fixes]]
154196
== Bug fixes
155197

156-
{productname} {release-version} also includes the following bug fix<es>:
198+
{productname} {release-version} also includes the following bug fixes:
157199

158-
=== <TINY-vwxyz 1 changelog entry>
159-
// #TINY-vwxyz1
200+
=== Tooltip would not show for group toolbar button.
201+
// #TINY-11391
160202

161-
// CCFR here.
203+
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.
204+
205+
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.
206+
207+
=== Numbered table context menu not properly applying changes
208+
// #TINY-11383
209+
210+
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.
211+
212+
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.
162213

163214

164215
[[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)