How can we either hide or grey out the upload icon in the Edit window? We have uploading disabled

How can we either hide or grey out the upload icon in the Edit window?

We have uploading disabled.

I’m hoping there is an option in the Admin panel our administrator can use.

I am a moderator on https://boards.straightdope.com/

Thank you in advanced.

1 Like

How did you do that? I think when all filetypes are removed from the authorized extensions site setting the button is hidden automatically.

I’ll have to ask, I can’t see the settings. The Admin that set this up in 2020 is no longer with us sadly.

I take it that is the only way to hide it then?

No, there are also other ways. You can, for example, hide it with CSS (Making custom CSS changes on your site).

This is how I hid the “center” button

button.center_ui_button.toolbar__button {
display: none !important;
}

Italics

button.italic.toolbar__button {
display: none !important;
}

So you’d just have to find whatever the upload button is called in console, swap it in the above, and put it in the CSS common for your themes

2 Likes