Skip to content

Commit a1c375d

Browse files
authored
Merge branch 'feature/7.6.0/DOC-2578' into feature/7.6.0/DOC-2578_TINY-11592
2 parents 1cda116 + b746993 commit a1c375d

File tree

4 files changed

+81
-3
lines changed

4 files changed

+81
-3
lines changed

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

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ The {productname} {release-version} release includes an accompanying release of
6464
**Accessibility Checker** Premium plugin includes the following fixes and improvements.
6565

6666
==== Improve editor content highlighting when using accessibility checker
67+
// #TINY-11463
6768

6869
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.
6970

@@ -75,9 +76,23 @@ For information on the **Accessibility Checker** plugin, see: xref:a11ychecker.a
7576

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

78-
**Comments** Premium plugin includes the following improvements.
79+
**Comments** includes the following fixes and improvements.
7980

80-
=== Pressing Shift+Enter in Mentions in Comments dropdown should accept the active menu item
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
8196
// #TINY-11455
8297

8398
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.
@@ -91,6 +106,17 @@ Previously, the **Comments** plugin used a `14px` font size for the comment body
91106

92107
This issue has been resolved in {productname} {release-version} by setting the comment body font size to `16px`, ensuring font size consistency between the **Comments** plugin and the editor UI.
93108

109+
==== Editor Focus after Deleting a Comment
110+
// #TINY-11293
111+
112+
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.
113+
114+
In {productname} {release-version}, the focus behaviour has now been improved in the following situations:
115+
116+
* Deleting a comment now returns the focus to the conversation card that contained the deleted comment.
117+
* Creating a new comment within an existing conversation now brings the focus to the corresponding conversation card.
118+
* Starting a new conversation now brings the focus to the newly created conversation card.
119+
94120
For information on the **Comments** plugin, see: xref:introduction-to-tiny-comments.adoc[Introduction to {companyname} Comments].
95121

96122

@@ -136,7 +162,20 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
136162
=== <TINY-vwxyz 1 changelog entry>
137163
// #TINY-vwxyz1
138164

165+
== New `+disabled+` option for disabling all user interactions
166+
167+
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.
168+
169+
.Example disabling all user interactions with the editor
170+
[source,js]
171+
----
172+
tinymce.init({
173+
selector: 'textarea', // Specify the target HTML element
174+
disabled: true // Disables all interactions with the editor
175+
});
176+
----
139177

178+
For more information on the `+disabled+` option, see xref:editor-important-options.adoc#disabled[Disabled] option.
140179

141180
[[additions]]
142181
== Additions
@@ -176,6 +215,18 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
176215

177216
{productname} {release-version} also includes the following bug fixes:
178217

218+
=== Removed title attribute from dialog tree elements as they already have a tooltip.
219+
// #TINY-11470
220+
221+
Previously, an issue was identified with tooltips for tree structures where multiple tooltip systems displayed the same text simultaneously:
222+
223+
. The browser's native tooltip, triggered by the `title` attribute, displayed the text.
224+
. {productname}'s custom tooltip functionality also displayed the text.
225+
226+
As a consequence, this caused two tooltips with identical content to appear at the same time, leading to a confusing user experience, where the desired behavior was to show only the custom tooltip provided by {productname}.
227+
228+
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.
229+
179230
=== Tooltip would not show for group toolbar button.
180231
// #TINY-11391
181232

@@ -190,7 +241,6 @@ Previously, there was an issue where changes to the row type in numbered tables
190241

191242
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.
192243

193-
194244
[[security-fixes]]
195245
== Security fixes
196246

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)