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
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,11 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
104
104
105
105
// CCFR here.
106
106
107
+
=== Split button component architecture
108
+
// #TINY-8665
109
+
110
+
Split buttons in {productname} {release-version} now render as two independent, focusable components instead of a single composite component. The main button handles primary actions while the chevron button controls dropdown functionality. This architectural change improves accessibility by providing separate focus targets and ARIA labels for each component. The `+setTooltip+` method has been enhanced to update both main and chevron button tooltips simultaneously.
111
+
107
112
108
113
[[additions]]
109
114
== Additions
@@ -115,6 +120,13 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
115
120
116
121
// CCFR here.
117
122
123
+
=== Split button tooltip configuration
124
+
// #TINY-8665
125
+
126
+
The `+chevronTooltip+` property provides custom tooltip text for the chevron button portion of split buttons. When `+chevronTooltip+` is not specified, {productname} automatically generates tooltip text using the pattern `+"{tooltip} menu"+`. The enhanced `+setTooltip+` method intelligently updates both main and chevron tooltips to maintain consistency.
127
+
128
+
For more information, see xref:custom-split-toolbar-button.adoc[Split toolbar buttons].
129
+
118
130
119
131
[[changes]]
120
132
== Changes
@@ -126,6 +138,11 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
126
138
127
139
// CCFR here.
128
140
141
+
=== Split button DOM structure changes
142
+
// #TINY-8665
143
+
144
+
The internal DOM structure of split buttons has been updated to support the new component architecture. Split button components now use `+.tox-split-button__main+` and `+.tox-split-button__chevron+` CSS classes instead of the previous composite structure. Each component renders as a separate DOM element with independent event handling and focus management. Custom CSS targeting split button internals may require updates to accommodate the new structure.
The typical workflow involves copying variables from the theme folder into the skins `skin.less` file and modifying them as needed.
70
+
71
+
NOTE: As of {productname} 8.0, split buttons use `.tox-split-button__main` and `.tox-split-button__chevron` CSS classes. If your skin targets split button components, you may need to update your CSS selectors.
|tooltip |string |Primary button |optional |Text displayed when hovering over the main button. If `+chevronTooltip+` is not provided, this will be used to auto-generate the chevron tooltip as `+"{tooltip} menu"+`.
17
+
|chevronTooltip |string |Chevron button |optional |Text displayed when hovering over the chevron button. If not provided, auto-generates as `+"{tooltip} menu"+`.
16
18
|onAction |`+(api) => void+` |Primary button |required |Function invoked when the basic button section is clicked.
17
19
|select |`+(value: string) => boolean+` |Choice menu items |optional |default: `false` - Function run on each option when the menu is opened to determine if it should be highlighted as active.
18
20
|columns |number or `+'auto'+` |Drop-down menu |optional |default: `1` - Number of columns for the list of options. When set to more than 1 column, only the icon for each item will be shown.
0 commit comments