Se aplica una clase staff al elemento <body>.
Así, puedes apuntar a cualquier botón como:
body:not(.staff) .d-editor-button-bar {
/* Oculta todo
* (botones visibles, incluido el botón del menú emergente)
*/
button,
.toolbar-popup-menu-options {
display: none;
}
}
body:not(.staff) .d-editor-button-bar {
/* Ocultar botones específicos */
button {
/* Botones en línea */
&.align_justify_button,
&.align_right_button
/* ... */
{
display: none;
}
/* Menú emergente */
&.toolbar-popup-menu-options {
[data-name="Float left"],
/* ... */ {
display: none;
}
}
}
}
¿Eso ayudaría?
Como nota aparte, podrías estar interesado en este componente: