@Panda You should be able to expose the CSS for these using F12 to get into console
3591518c-e3a3-4ada-a43c-6b32a5e0359c-image.png
a2b8ed46-4157-4ff2-85f0-576543380107-image.png
That should then expose the element once selected
89d9c545-a47a-40d1-98f4-80cf3b958e8f-image.png
Here’s the below CSS you need based on the screenshot provided.
.composer .formatting-bar .formatting-group li[data-format="picture-o"], .composer .formatting-bar .formatting-group li[data-format="spoiler"] { display: none; }