A staff
class is applied to the <body>
element.
So, you can target any buttons like:
body:not(.staff) .d-editor-button-bar {
/* Hides everything
* (visible buttons, including the popup menu button)
*/
button,
.toolbar-popup-menu-options {
display: none;
}
}
body:not(.staff) .d-editor-button-bar {
/* Hide specific buttons */
button {
/* Inline buttons */
&.align_justify_button,
&.align_right_button
/* ... */
{
display: none;
}
/* Popup menu */
&.toolbar-popup-menu-options {
[data-name="Float left"],
/* ... */ {
display: none;
}
}
}
}
Would that help?
On a side-note, you might be interested in this component: