You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/8.0-release-notes.adoc
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -275,6 +275,19 @@ tinymce.init({
275
275
276
276
For more information, see: xref:user-formatting-options.adoc#list_max_depth[User formatting - List max depth].
277
277
278
+
=== Added support for `skip_focus` option in ToggleToolbarDrawer command
279
+
// #TINY-12044
280
+
281
+
The `ToggleToolbarDrawer` command now supports the standard `skip_focus` option, which allows opening the toolbar drawer without focusing the editor. This provides consistent behavior with other editor commands.
For more information on the `ToggleToolbarDrawer` command, see: xref:editor-command-identifiers.adoc[Available Commands].
290
+
278
291
=== The translate API now automatically replaces three dots in a row with an ellipsis character.
279
292
// #TINY-12155
280
293
@@ -518,6 +531,27 @@ For information about setting up containerized server-side components using Dock
518
531
519
532
// CCFR here.
520
533
534
+
=== The `ToggleToolbarDrawer` command's `skipFocus` option has been deprecated
535
+
// #TINY-12044
536
+
537
+
The `ToggleToolbarDrawer` command previously accepted a non-standard `skipFocus` option to prevent the editor from receiving focus when the command was executed. This behavior differed from other editor commands, which use the generic `skip_focus` option for the same purpose. As a result, the inconsistency lead to confusion when implementing or maintaining command logic.
538
+
539
+
To resolve this, support for the standard `skip_focus` option has been added to the `ToggleToolbarDrawer` command. The `skipFocus` option is now **deprecated** in {productname} {release-version} and will be removed in a future release.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/editor-command-identifiers.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,7 +155,7 @@ The commands in the following table are provided by the {productname} editor and
155
155
|mceTogglePlainTextPaste |Toggles paste as plain text.
156
156
|mceToggleVisualAid |Toggles the visual aids for: tables without borders and anchors.
157
157
|ToggleSidebar |Closes the current sidebar, or toggles the sidebar if the sidebar name is provided as a value (`_<sidebar-name>_`).
158
-
|ToggleToolbarDrawer |Toggles the Toolbar Drawer. For information on toolbars, see: xref:toolbar-configuration-options.adoc#toolbar[User interface options - Toolbar].
158
+
|ToggleToolbarDrawer |Toggles the Toolbar Drawer. Can be used with the `skip_focus` option to prevent focusing the editor. For information on toolbars, see: xref:toolbar-configuration-options.adoc#toolbar[User interface options - Toolbar].
@@ -614,7 +614,7 @@ The following command states can be queried using the xref:apis/tinymce.editor.a
614
614
|Strikethrough |Returns `+true+` if the content is formatted using the same markup as the {productname} `+Strikethrough+` command.
615
615
|Subscript |Returns `+true+` if the content is formatted using the same markup as the {productname} `+Subscript+` command.
616
616
|Superscript |Returns `+true+` if the content is formatted using the same markup as the {productname} `+Superscript+` command.
617
-
|ToggleToolbarDrawer |Returns `+true+` if the Toolbar Drawer is open. The state can be controlled by the {productname} `+ToggleToolbarDrawer+` command.
617
+
|ToggleToolbarDrawer |Returns `+true+` if the Toolbar Drawer is open. The state can be controlled by the {productname} `+ToggleToolbarDrawer+` command. When controlling the state, use the `skip_focus` option (recommended) instead of the deprecated `skipFocus` option.
618
618
|Underline |Returns `+true+` if the content is formatted using the same markup as the {productname} `+Underline+` command.
0 commit comments